Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 105) sorted by relevance

12345

/drivers/block/null_blk/
A Dzoned.c157 zone->cond = BLK_ZONE_COND_FULL; in null_init_zoned_dev()
224 blkz.cond = zone->cond; in null_report_zones()
335 switch (zone->cond) { in null_check_zone_resources()
460 switch (zone->cond) { in null_open_zone()
476 switch (zone->cond) { in null_open_zone()
515 switch (zone->cond) { in null_close_zone()
531 switch (zone->cond) { in null_close_zone()
567 switch (zone->cond) { in null_finish_zone()
616 switch (zone->cond) { in null_reset_zone()
758 if (zone->cond == cond) { in null_set_zone_cond()
[all …]
A Dnull_blk.h46 enum blk_zone_cond cond; member
152 size_t count, enum blk_zone_cond cond);
178 enum blk_zone_cond cond) in zone_cond_store() argument
/drivers/gpu/drm/nouveau/include/nvif/
A Dtimer.h22 #define nvif_nsec(d,n,cond...) ({ \ argument
28 cond \
33 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument
34 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
/drivers/gpu/drm/panthor/
A Dpanthor_device.h501 #define gpu_read_poll_timeout(dev, reg, val, cond, delay_us, timeout_us) \ argument
502 read_poll_timeout(gpu_read, val, cond, delay_us, timeout_us, false, \
505 #define gpu_read_poll_timeout_atomic(dev, reg, val, cond, delay_us, \ argument
507 read_poll_timeout_atomic(gpu_read, val, cond, delay_us, timeout_us, \
510 #define gpu_read64_poll_timeout(dev, reg, val, cond, delay_us, timeout_us) \ argument
511 read_poll_timeout(gpu_read64, val, cond, delay_us, timeout_us, false, \
514 #define gpu_read64_poll_timeout_atomic(dev, reg, val, cond, delay_us, \ argument
516 read_poll_timeout_atomic(gpu_read64, val, cond, delay_us, timeout_us, \
521 read_poll_timeout_atomic(gpu_read_relaxed, val, cond, delay_us, \
524 #define gpu_read64_relaxed_poll_timeout(dev, reg, val, cond, delay_us, \ argument
[all …]
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
A Dtimer.h52 #define nvkm_nsec(d,n,cond...) ({ \ argument
59 cond \
66 #define nvkm_usec(d, u, cond...) nvkm_nsec((d), (u) * 1000ULL, ##cond) argument
67 #define nvkm_msec(d, m, cond...) nvkm_usec((d), (m) * 1000ULL, ##cond) argument
/drivers/gpu/drm/amd/pm/powerplay/inc/
A Dpp_debug.h37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument
39 if (!(cond)) { \
45 #define PP_ASSERT(cond, msg) \ argument
47 if (!(cond)) { \
/drivers/dma/
A Dpl330.c615 if (cond == SINGLE) in _emit_LD()
621 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD()
634 if (cond == BURST) in _emit_LDP()
676 enum pl330_cond cond = arg->cond; in _emit_LPEND() local
692 if (cond == SINGLE) in _emit_LPEND()
701 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A'), in _emit_LPEND()
778 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_ST()
791 if (cond == BURST) in _emit_STP()
824 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'P'), peri >> 3); in _emit_WFP()
1216 cond = BURST; in _bursts()
[all …]
/drivers/iommu/riscv/
A Diommu.h81 #define riscv_iommu_readq_timeout(iommu, addr, val, cond, delay_us, timeout_us) \ argument
82 readx_poll_timeout(readq_relaxed, (iommu)->reg + (addr), val, cond, \
85 #define riscv_iommu_readl_timeout(iommu, addr, val, cond, delay_us, timeout_us) \ argument
86 readx_poll_timeout(readl_relaxed, (iommu)->reg + (addr), val, cond, \
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Drunl.h120 #define nvkm_runl_find_engn(engn,runl,cond) nvkm_list_find(engn, &(runl)->engns, head, (cond)) argument
124 #define nvkm_runl_foreach_cond(runl,fifo,cond) nvkm_list_foreach(runl, &(fifo)->runls, head, (cond)) argument
126 #define nvkm_runl_foreach_engn_cond(engn,runl,cond) \ argument
127 nvkm_list_foreach(engn, &(runl)->engns, head, (cond))
A Drunq.h25 #define nvkm_runq_foreach_cond(runq,fifo,cond) nvkm_list_foreach(runq, &(fifo)->runqs, head, (cond)) argument
/drivers/gpu/drm/xe/
A Dxe_macros.h13 #define XE_IOCTL_DBG(xe, cond) ({ \ argument
14 int cond__ = !!(cond); \
18 __FILE__, __LINE__, #cond); \
/drivers/phy/freescale/
A Dphy-fsl-imx8qm-hsio.c291 u32 val, addr, cond; in imx_hsio_pcie_power_on() local
307 cond = HSIO_PM_REQ_CORE_RST; in imx_hsio_pcie_power_on()
309 (val & cond) == 0, in imx_hsio_pcie_power_on()
320 u32 val, cond; in imx_hsio_sata_power_on() local
332 cond = HSIO_REG48_PMA_RDY; in imx_hsio_sata_power_on()
333 ret = read_poll_timeout(readb, val, ((val & cond) == cond), in imx_hsio_sata_power_on()
348 u32 val, cond; in imx_hsio_power_on() local
367 cond = HSIO_LANE1_TX_PLL_LOCK; in imx_hsio_power_on()
373 cond = HSIO_LANE0_TX_PLL_LOCK; in imx_hsio_power_on()
376 val, ((val & cond) == cond), in imx_hsio_power_on()
/drivers/gpu/host1x/hw/
A Dopcodes.h43 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
45 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt()
97 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
100 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
/drivers/block/
A Dzloop.c95 enum blk_zone_cond cond; member
176 zone->cond = BLK_ZONE_COND_EMPTY; in zloop_update_seq_zone()
179 zone->cond = BLK_ZONE_COND_FULL; in zloop_update_seq_zone()
182 zone->cond = BLK_ZONE_COND_CLOSED; in zloop_update_seq_zone()
205 switch (zone->cond) { in zloop_open_zone()
241 switch (zone->cond) { in zloop_close_zone()
247 zone->cond = BLK_ZONE_COND_EMPTY; in zloop_close_zone()
284 zone->cond = BLK_ZONE_COND_EMPTY; in zloop_reset_zone()
328 zone->cond = BLK_ZONE_COND_FULL; in zloop_finish_zone()
437 zone->cond = BLK_ZONE_COND_FULL; in zloop_rw()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dinit.c488 cond, reg, msk, val); in init_condition_met()
505 cond, port, index, mask, value); in init_io_condition_met()
784 trace("IO_FLAG_CONDITION\t0x%02x\n", cond); in init_io_flag_condition()
787 if (!init_io_flag_condition_met(init, cond)) in init_io_flag_condition()
808 switch (cond) { in init_generic_condition()
821 if (!(info.flags & cond)) in init_generic_condition()
1251 if (init_condition_met(init, cond)) in init_condition_time()
1807 trace("CONDITION\t0x%02x\n", cond); in init_condition()
1810 if (!init_condition_met(init, cond)) in init_condition()
1824 trace("IO_CONDITION\t0x%02x\n", cond); in init_io_condition()
[all …]
/drivers/net/wireless/zydas/zd1211rw/
A Dzd_def.h27 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ argument
28 bool __cond = !!(cond); \
35 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) argument
/drivers/net/wireless/realtek/rtw88/
A Dphy.c22 struct rtw_phy_cond cond; member
1092 cond.plat = 0x04; in rtw_phy_setup_phy_cond()
1097 cond.intf = INTF_USB; in rtw_phy_setup_phy_cond()
1110 cond.rfe = 0; in rtw_phy_setup_phy_cond()
1123 hal->phy_cond = cond; in rtw_phy_setup_phy_cond()
1137 if (cond.cut && cond.cut != drv_cond.cut) in check_positive()
1140 if (cond.pkg && cond.pkg != drv_cond.pkg) in check_positive()
1143 if (cond.intf && cond.intf != drv_cond.intf) in check_positive()
1151 if ((cond.rfe & drv_cond.rfe) != cond.rfe) in check_positive()
1184 if (p->cond.pos) { in rtw_parse_tbl_phy_cond()
[all …]
/drivers/gpu/drm/msm/adreno/
A Da6xx_gmu.h158 #define gmu_poll_timeout(gmu, addr, val, cond, interval, timeout) \ argument
159 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
172 #define gmu_poll_timeout_rscc(gmu, addr, val, cond, interval, timeout) \ argument
173 readl_poll_timeout((gmu)->rscc + ((addr) << 2), val, cond, \
/drivers/gpu/drm/i915/
A Di915_gem.h91 #define __GEM_BUG(cond) BUG() argument
93 #define __GEM_BUG(cond) \ argument
94 WARN(1, "%s:%d GEM_BUG_ON(%s)\n", __func__, __LINE__, __stringify(cond))
/drivers/staging/media/atomisp/pci/hive_isp_css_include/
A Dassert_support.h36 static inline void compile_time_assert(unsigned int cond) in compile_time_assert() argument
40 if (!cond) _compile_time_assert(); in compile_time_assert()
/drivers/net/dsa/mv88e6xxx/
A Ddevlink.c697 bool (*cond)(struct mv88e6xxx_chip *chip); member
718 .cond = mv88e6xxx_has_stu,
724 .cond = mv88e6xxx_has_pvt,
764 bool (*cond)(struct mv88e6xxx_chip *chip); in mv88e6xxx_setup_devlink_regions_global() local
774 cond = mv88e6xxx_regions[i].cond; in mv88e6xxx_setup_devlink_regions_global()
776 if (cond && !cond(chip)) in mv88e6xxx_setup_devlink_regions_global()
/drivers/gpu/nova-core/
A Dutil.rs35 pub(crate) fn wait_on<R, F: Fn() -> Option<R>>(timeout: Delta, cond: F) -> Result<R> { in wait_on()
39 if let Some(ret) = cond() { in wait_on()
/drivers/net/fddi/skfp/
A Dsrf.c176 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument
185 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event()
200 if (*evc->evc_cond_state == cond) in smt_srf_event()
209 DB_SMT("SRF: condition is %s", cond ? "ON" : "OFF"); in smt_srf_event()
210 if (cond) { in smt_srf_event()
/drivers/md/dm-vdo/indexer/
A Dindex.c61 struct cond_var cond; member
186 uds_wait_cond(&writer->cond, &writer->mutex); in finish_previous_chapter()
223 uds_broadcast_cond(&writer->cond); in start_closing_chapter()
691 uds_wait_cond(&writer->cond, &writer->mutex); in close_chapters()
727 uds_broadcast_cond(&writer->cond); in close_chapters()
740 uds_broadcast_cond(&writer->cond); in stop_chapter_writer()
775 uds_init_cond(&writer->cond); in make_chapter_writer()
960 uds_broadcast_cond(&index->load_context->cond); in check_for_suspend()
964 uds_wait_cond(&index->load_context->cond, &index->load_context->mutex); in check_for_suspend()
1262 uds_broadcast_cond(&index->load_context->cond); in uds_make_index()
[all …]
/drivers/md/bcache/
A Dbcache.h871 #define btree_bug_on(cond, b, ...) \ argument
873 if (cond) \
877 #define cache_bug_on(cond, c, ...) \ argument
879 if (cond) \
883 #define cache_set_err_on(cond, c, ...) \ argument
885 if (cond) \

Completed in 88 milliseconds

12345