/drivers/staging/rtl8723au/hal/ |
D | HalHWImg8723A_MAC.c | 23 u32 cond = Condition; in CheckCondition() local 28 cond = Condition & 0x000000FF; in CheckCondition() 29 if ((_board == cond) && cond != 0x00) in CheckCondition() 32 cond = Condition & 0x0000FF00; in CheckCondition() 33 cond = cond >> 8; in CheckCondition() 34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition() 37 cond = Condition & 0x00FF0000; in CheckCondition() 38 cond = cond >> 16; in CheckCondition() 39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
|
D | HalHWImg8723A_RF.c | 23 u32 cond = Condition; in CheckCondition() local 28 cond = Condition & 0x000000FF; in CheckCondition() 29 if ((_board == cond) && cond != 0x00) in CheckCondition() 32 cond = Condition & 0x0000FF00; in CheckCondition() 33 cond = cond >> 8; in CheckCondition() 34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition() 37 cond = Condition & 0x00FF0000; in CheckCondition() 38 cond = cond >> 16; in CheckCondition() 39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
|
D | HalHWImg8723A_BB.c | 23 u32 cond = Condition; in CheckCondition() local 28 cond = Condition & 0x000000FF; in CheckCondition() 29 if ((_board == cond) && cond != 0x00) in CheckCondition() 32 cond = Condition & 0x0000FF00; in CheckCondition() 33 cond = cond >> 8; in CheckCondition() 34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition() 37 cond = Condition & 0x00FF0000; in CheckCondition() 38 cond = cond >> 16; in CheckCondition() 39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
|
/drivers/staging/rtl8188eu/hal/ |
D | rf_cfg.c | 31 u32 cond = condition; in check_condition() local 36 cond = condition & 0x000000FF; in check_condition() 37 if ((_board == cond) && cond != 0x00) in check_condition() 40 cond = condition & 0x0000FF00; in check_condition() 41 cond = cond >> 8; in check_condition() 42 if ((_interface & cond) == 0 && cond != 0x07) in check_condition() 45 cond = condition & 0x00FF0000; in check_condition() 46 cond = cond >> 16; in check_condition() 47 if ((_platform & cond) == 0 && cond != 0x0F) in check_condition()
|
/drivers/gpu/host1x/hw/ |
D | host1x04_hardware.h | 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x02_hardware.h | 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x01_hardware.h | 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt() 115 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 118 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | init.c | 442 init_condition_met(struct nvbios_init *init, u8 cond) in init_condition_met() argument 447 u32 reg = nv_ro32(bios, table + (cond * 12) + 0); in init_condition_met() 448 u32 msk = nv_ro32(bios, table + (cond * 12) + 4); in init_condition_met() 449 u32 val = nv_ro32(bios, table + (cond * 12) + 8); in init_condition_met() 451 cond, reg, msk, val); in init_condition_met() 458 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met() argument 463 u16 port = nv_ro16(bios, table + (cond * 5) + 0); in init_io_condition_met() 464 u8 index = nv_ro08(bios, table + (cond * 5) + 2); in init_io_condition_met() 465 u8 mask = nv_ro08(bios, table + (cond * 5) + 3); in init_io_condition_met() 466 u8 value = nv_ro08(bios, table + (cond * 5) + 4); in init_io_condition_met() [all …]
|
/drivers/net/wireless/zd1211rw/ |
D | zd_def.h | 39 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ argument 40 bool __cond = !!(cond); \ 47 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) argument
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 60 #define LASSERTF(cond, fmt, ...) \ argument 62 if (unlikely(!(cond))) { \ 65 "ASSERTION( %s ) failed: " fmt, #cond, \ 71 #define LASSERT(cond) LASSERTF(cond, "\n") argument 411 #define CLASSERT(cond) do {switch (42) {case (cond): case 0: break; } } while (0) argument
|
/drivers/dma/ |
D | pl330.c | 588 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_LD() argument 595 if (cond == SINGLE) in _emit_LD() 597 else if (cond == BURST) in _emit_LD() 601 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD() 607 enum pl330_cond cond, u8 peri) in _emit_LDP() argument 614 if (cond == BURST) in _emit_LDP() 622 cond == SINGLE ? 'S' : 'B', peri >> 3); in _emit_LDP() 647 enum pl330_cond cond; member 656 enum pl330_cond cond = arg->cond; in _emit_LPEND() local 672 if (cond == SINGLE) in _emit_LPEND() [all …]
|
/drivers/staging/unisys/include/ |
D | timskmod.h | 76 #define ASSERT(cond) \ argument 77 do { if (!(cond)) \ 79 __stringify(cond)); \
|
/drivers/staging/lustre/lustre/libcfs/ |
D | tracefile.h | 321 #define __LASSERT(cond) \ argument 323 if (unlikely(!(cond))) { \ 325 cfs_trace_assertion_failed("ASSERTION("#cond") failed", \
|
/drivers/net/fddi/skfp/ |
D | srf.c | 187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument 196 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event() 211 if (*evc->evc_cond_state == cond) in smt_srf_event() 220 DB_SMT("SRF: condition is %s\n",cond ? "ON":"OFF",0) ; in smt_srf_event() 221 if (cond) { in smt_srf_event()
|
D | smt.c | 288 int cond ; in smt_event() local 311 cond = in smt_event() 317 if (cond != mib->fddiMACFrameErrorFlag) in smt_event() 319 INDEX_MAC,cond) ; in smt_event() 328 cond = in smt_event() 335 if (cond != mib->fddiMACNotCopiedFlag) in smt_event() 337 INDEX_MAC,cond) ; in smt_event() 358 cond = (phy->mib->fddiPORTEBError_Ct - in smt_event() 365 (int) (INDEX_PORT+ phy->np) ,cond) ; in smt_event() 817 int cond ; in update_dac() local [all …]
|
D | cfm.c | 216 int cond ; in cfm() local 246 cond = FALSE ; in cfm() 254 cond = TRUE ; in cfm() 256 if (cond != smc->mib.fddiSMTPeerWrapFlag) in cfm() 257 smt_srf_event(smc,SMT_COND_SMT_PEER_WRAP,0,cond) ; in cfm()
|
/drivers/md/bcache/ |
D | bcache.h | 797 #define btree_bug_on(cond, b, ...) \ argument 799 if (cond) \ 803 #define cache_bug_on(cond, c, ...) \ argument 805 if (cond) \ 809 #define cache_set_err_on(cond, c, ...) \ argument 811 if (cond) \
|
D | util.h | 21 #define EBUG_ON(cond) BUG_ON(cond) argument 27 #define EBUG_ON(cond) do { if (cond); } while (0) argument
|
/drivers/scsi/csiostor/ |
D | csio_defs.h | 113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
|
/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/staging/media/omap4iss/ |
D | iss.h | 236 #define iss_poll_condition_timeout(cond, timeout, min_ival, max_ival) \ argument 242 while (!(__cond = (cond))) { \
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | phy.c | 291 u32 cond = condition; in _rtl88e_check_condition() local 296 cond = condition & 0xFF; in _rtl88e_check_condition() 297 if ((_board & cond) == 0 && cond != 0x1F) in _rtl88e_check_condition() 300 cond = condition & 0xFF00; in _rtl88e_check_condition() 301 cond = cond >> 8; in _rtl88e_check_condition() 302 if ((_interface & cond) == 0 && cond != 0x07) in _rtl88e_check_condition() 305 cond = condition & 0xFF0000; in _rtl88e_check_condition() 306 cond = cond >> 16; in _rtl88e_check_condition() 307 if ((_platform & cond) == 0 && cond != 0x0F) in _rtl88e_check_condition()
|
/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | phy.c | 163 u32 cond = condition; in _rtl8723be_check_condition() local 168 cond = condition & 0xFF; in _rtl8723be_check_condition() 169 if ((_board & cond) == 0 && cond != 0x1F) in _rtl8723be_check_condition() 172 cond = condition & 0xFF00; in _rtl8723be_check_condition() 173 cond = cond >> 8; in _rtl8723be_check_condition() 174 if ((_interface & cond) == 0 && cond != 0x07) in _rtl8723be_check_condition() 177 cond = condition & 0xFF0000; in _rtl8723be_check_condition() 178 cond = cond >> 16; in _rtl8723be_check_condition() 179 if ((_platform & cond) == 0 && cond != 0x0F) in _rtl8723be_check_condition()
|
/drivers/usb/gadget/function/ |
D | u_serial.c | 818 int cond; in gs_writes_finished() local 822 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished() 825 return cond; in gs_writes_finished() 1062 int cond; in gs_closed() local 1065 cond = (port->port.count == 0) && !port->openclose; in gs_closed() 1067 return cond; in gs_closed()
|
/drivers/hid/usbhid/ |
D | hid-pidff.c | 417 struct ff_condition_effect *cond = &effect->u.condition[i]; in pidff_needs_set_condition() local 420 ret |= cond->center != old_cond->center || in pidff_needs_set_condition() 421 cond->right_coeff != old_cond->right_coeff || in pidff_needs_set_condition() 422 cond->left_coeff != old_cond->left_coeff || in pidff_needs_set_condition() 423 cond->right_saturation != old_cond->right_saturation || in pidff_needs_set_condition() 424 cond->left_saturation != old_cond->left_saturation || in pidff_needs_set_condition() 425 cond->deadband != old_cond->deadband; in pidff_needs_set_condition()
|