Home
last modified time | relevance | path

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

12

/drivers/staging/rtl8723au/hal/
DHalHWImg8723A_RF.c23 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 >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
DHalHWImg8723A_MAC.c23 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 >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
DHalHWImg8723A_BB.c23 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 >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
/drivers/staging/rtl8188eu/hal/
Drf_cfg.c31 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 >>= 8; in check_condition()
42 if ((_interface & cond) == 0 && cond != 0x07) in check_condition()
45 cond = condition & 0x00FF0000; in check_condition()
46 cond >>= 16; in check_condition()
47 if ((_platform & cond) == 0 && cond != 0x0F) in check_condition()
/drivers/gpu/drm/nouveau/include/nvif/
Ddevice.h22 #define nvif_nsec(d,n,cond...) ({ \ argument
28 cond \
35 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument
36 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtimer.h40 #define nvkm_nsec(d,n,cond...) ({ \ argument
48 cond \
60 #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) argument
61 #define nvkm_msec(d,m,cond...) nvkm_usec((d), (m) * 1000, ##cond) argument
/drivers/gpu/host1x/hw/
Dhost1x01_hardware.h59 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()
Dhost1x02_hardware.h59 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()
Dhost1x04_hardware.h59 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()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h56 #define LASSERTF(cond, fmt, ...) \ argument
58 if (unlikely(!(cond))) { \
61 "ASSERTION( %s ) failed: " fmt, #cond, \
67 #define LASSERT(cond) LASSERTF(cond, "\n") argument
381 #define CLASSERT(cond) do {switch (42) {case (cond): case 0: break; } } while (0) argument
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c477 init_condition_met(struct nvbios_init *init, u8 cond) in init_condition_met() argument
482 u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0); in init_condition_met()
483 u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4); in init_condition_met()
484 u32 val = nvbios_rd32(bios, table + (cond * 12) + 8); in init_condition_met()
486 cond, reg, msk, val); in init_condition_met()
493 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met() argument
498 u16 port = nvbios_rd16(bios, table + (cond * 5) + 0); in init_io_condition_met()
499 u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); in init_io_condition_met()
500 u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3); in init_io_condition_met()
501 u8 value = nvbios_rd08(bios, table + (cond * 5) + 4); in init_io_condition_met()
[all …]
/drivers/net/wireless/zd1211rw/
Dzd_def.h39 # 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/phy/
Dphy-qcom-ufs-i.h27 #define readl_poll_timeout(addr, val, cond, sleep_us, timeout_us) \ argument
33 if (cond) \
42 (cond) ? 0 : -ETIMEDOUT; \
/drivers/dma/
Dpl330.c598 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_LD() argument
605 if (cond == SINGLE) in _emit_LD()
607 else if (cond == BURST) in _emit_LD()
611 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD()
617 enum pl330_cond cond, u8 peri) in _emit_LDP() argument
624 if (cond == BURST) in _emit_LDP()
632 cond == SINGLE ? 'S' : 'B', peri >> 3); in _emit_LDP()
657 enum pl330_cond cond; member
666 enum pl330_cond cond = arg->cond; in _emit_LPEND() local
682 if (cond == SINGLE) in _emit_LPEND()
[all …]
/drivers/md/bcache/
Dbcache.h781 #define btree_bug_on(cond, b, ...) \ argument
783 if (cond) \
787 #define cache_bug_on(cond, c, ...) \ argument
789 if (cond) \
793 #define cache_set_err_on(cond, c, ...) \ argument
795 if (cond) \
/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h317 #define __LASSERT(cond) \ argument
319 if (unlikely(!(cond))) { \
321 cfs_trace_assertion_failed("ASSERTION("#cond") failed", \
/drivers/net/fddi/skfp/
Dsrf.c187 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()
Dsmt.c288 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 …]
Dcfm.c216 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/scsi/csiostor/
Dcsio_defs.h113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c123 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/
Diss.h240 #define iss_poll_condition_timeout(cond, timeout, min_ival, max_ival) \ argument
246 while (!(__cond = (cond))) { \
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c291 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/realtek/rtlwifi/rtl8723be/
Dphy.c163 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/
Du_serial.c829 int cond; in gs_writes_finished() local
833 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished()
836 return cond; in gs_writes_finished()
1073 int cond; in gs_closed() local
1076 cond = (port->port.count == 0) && !port->openclose; in gs_closed()
1078 return cond; in gs_closed()

12