/drivers/staging/rtl8188eu/hal/ |
D | rf_cfg.c | 18 u32 cond = condition; in check_condition() local 23 cond = condition & 0x000000FF; in check_condition() 24 if ((_board == cond) && cond != 0x00) in check_condition() 27 cond = condition & 0x0000FF00; in check_condition() 28 cond >>= 8; in check_condition() 29 if ((_interface & cond) == 0 && cond != 0x07) in check_condition() 32 cond = condition & 0x00FF0000; in check_condition() 33 cond >>= 16; in check_condition() 34 if ((_platform & cond) == 0 && cond != 0x0F) in check_condition()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | device.h | 31 #define nvif_nsec(d,n,cond...) ({ \ argument 37 cond \ 44 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument 45 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | timer.h | 52 #define nvkm_nsec(d,n,cond...) ({ \ argument 59 cond \ 66 #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) argument 67 #define nvkm_msec(d,m,cond...) nvkm_usec((d), (m) * 1000, ##cond) argument
|
/drivers/block/ |
D | null_blk_zoned.c | 45 zone->cond = BLK_ZONE_COND_NOT_WP; in null_zone_init() 56 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_init() 125 switch (zone->cond) { in null_zone_write() 136 if (zone->cond == BLK_ZONE_COND_EMPTY) in null_zone_write() 137 zone->cond = BLK_ZONE_COND_IMP_OPEN; in null_zone_write() 141 zone->cond = BLK_ZONE_COND_FULL; in null_zone_write() 163 zone[i].cond = BLK_ZONE_COND_EMPTY; in null_zone_reset() 171 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_reset()
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | pp_debug.h | 37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument 39 if (!(cond)) { \ 45 #define PP_ASSERT(cond, msg) \ argument 47 if (!(cond)) { \
|
/drivers/dma/ |
D | pl330.c | 600 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_LD() argument 607 if (cond == SINGLE) in _emit_LD() 609 else if (cond == BURST) in _emit_LD() 613 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD() 619 enum pl330_cond cond, u8 peri) in _emit_LDP() argument 626 if (cond == BURST) in _emit_LDP() 634 cond == SINGLE ? 'S' : 'B', peri >> 3); in _emit_LDP() 659 enum pl330_cond cond; member 668 enum pl330_cond cond = arg->cond; in _emit_LPEND() local 684 if (cond == SINGLE) in _emit_LPEND() [all …]
|
/drivers/gpu/host1x/hw/ |
D | host1x04_hardware.h | 48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 50 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x01_hardware.h | 48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 50 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x02_hardware.h | 48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 50 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x05_hardware.h | 48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 50 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x06_hardware.h | 49 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 51 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x07_hardware.h | 49 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 51 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 479 init_condition_met(struct nvbios_init *init, u8 cond) in init_condition_met() argument 484 u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0); in init_condition_met() 485 u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4); in init_condition_met() 486 u32 val = nvbios_rd32(bios, table + (cond * 12) + 8); in init_condition_met() 488 cond, reg, msk, val); in init_condition_met() 495 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met() argument 500 u16 port = nvbios_rd16(bios, table + (cond * 5) + 0); in init_io_condition_met() 501 u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); in init_io_condition_met() 502 u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3); in init_io_condition_met() 503 u8 value = nvbios_rd08(bios, table + (cond * 5) + 4); in init_io_condition_met() [all …]
|
/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_def.h | 27 # 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/ |
D | phy.c | 19 struct rtw_phy_cond cond; member 776 struct rtw_phy_cond cond = {0}; in rtw_phy_setup_phy_cond() local 778 cond.cut = hal->cut_version ? hal->cut_version : 15; in rtw_phy_setup_phy_cond() 779 cond.pkg = pkg ? pkg : 15; in rtw_phy_setup_phy_cond() 780 cond.plat = 0x04; in rtw_phy_setup_phy_cond() 781 cond.rfe = efuse->rfe_option; in rtw_phy_setup_phy_cond() 785 cond.intf = INTF_USB; in rtw_phy_setup_phy_cond() 788 cond.intf = INTF_SDIO; in rtw_phy_setup_phy_cond() 792 cond.intf = INTF_PCIE; in rtw_phy_setup_phy_cond() 796 hal->phy_cond = cond; in rtw_phy_setup_phy_cond() [all …]
|
/drivers/net/fddi/skfp/ |
D | srf.c | 181 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument 190 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event() 205 if (*evc->evc_cond_state == cond) in smt_srf_event() 214 DB_SMT("SRF: condition is %s", cond ? "ON" : "OFF"); in smt_srf_event() 215 if (cond) { in smt_srf_event()
|
D | smt.c | 283 int cond ; in smt_event() local 306 cond = in smt_event() 312 if (cond != mib->fddiMACFrameErrorFlag) in smt_event() 314 INDEX_MAC,cond) ; in smt_event() 323 cond = in smt_event() 330 if (cond != mib->fddiMACNotCopiedFlag) in smt_event() 332 INDEX_MAC,cond) ; in smt_event() 353 cond = (phy->mib->fddiPORTEBError_Ct - in smt_event() 360 (int) (INDEX_PORT+ phy->np) ,cond) ; in smt_event() 812 int cond ; in update_dac() local [all …]
|
/drivers/scsi/csiostor/ |
D | csio_defs.h | 113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
|
/drivers/md/bcache/ |
D | bcache.h | 844 #define btree_bug_on(cond, b, ...) \ argument 846 if (cond) \ 850 #define cache_bug_on(cond, c, ...) \ argument 852 if (cond) \ 856 #define cache_set_err_on(cond, c, ...) \ argument 858 if (cond) \
|
/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.h | 111 #define gmu_poll_timeout(gmu, addr, val, cond, interval, timeout) \ argument 112 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
|
/drivers/i2c/busses/ |
D | i2c-brcmstb.c | 466 u32 cond, cond_per_msg; in brcmstb_i2c_xfer() local 480 cond = ~COND_START_STOP; in brcmstb_i2c_xfer() 482 cond = COND_RESTART | COND_NOSTOP; in brcmstb_i2c_xfer() 484 brcmstb_set_i2c_start_stop(dev, cond); in brcmstb_i2c_xfer() 497 cond_per_msg = cond; in brcmstb_i2c_xfer() 508 cond_per_msg = cond; in brcmstb_i2c_xfer()
|
/drivers/nfc/ |
D | nfcsim.c | 62 u8 cond; member 87 link->cond = 1; in nfcsim_link_recv_wake() 134 link->cond, in nfcsim_link_recv_skb() 165 link->cond = 0; in nfcsim_link_recv_skb()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_marker.c | 123 u64 cond = (u64) us * NSEC_PER_USEC; in vmw_lag_lt() local 125 return vmw_fifo_lag(queue) <= cond; in vmw_lag_lt()
|
/drivers/misc/habanalabs/ |
D | habanalabs.h | 1058 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ argument 1070 if (cond) \ 1079 (cond) ? 0 : -ETIMEDOUT; \ 1094 #define hl_poll_timeout_memory(hdev, addr, val, cond, sleep_us, timeout_us, \ argument 1111 if (cond) \ 1122 (cond) ? 0 : -ETIMEDOUT; \ 1125 #define hl_poll_timeout_device_memory(hdev, addr, val, cond, sleep_us, \ argument 1138 if (cond) \ 1147 (cond) ? 0 : -ETIMEDOUT; \
|
/drivers/gpu/drm/lima/ |
D | lima_mmu.c | 17 #define lima_mmu_send_command(cmd, addr, val, cond) \ argument 23 cond, 0, 100); \
|