Home
last modified time | relevance | path

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

/drivers/staging/csr/
Dunifi_os.h64 #define ASSERT(cond) \ argument
66 if (!(cond)) { \
68 __FUNCTION__, __FILE__, __LINE__, #cond); \
91 #define ASSERT(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()
/drivers/gpu/drm/nouveau/core/subdev/bios/
Dinit.c475 init_condition_met(struct nvbios_init *init, u8 cond) in init_condition_met() argument
480 u32 reg = nv_ro32(bios, table + (cond * 12) + 0); in init_condition_met()
481 u32 msk = nv_ro32(bios, table + (cond * 12) + 4); in init_condition_met()
482 u32 val = nv_ro32(bios, table + (cond * 12) + 8); in init_condition_met()
484 cond, reg, msk, val); in init_condition_met()
491 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met() argument
496 u16 port = nv_ro16(bios, table + (cond * 5) + 0); in init_io_condition_met()
497 u8 index = nv_ro08(bios, table + (cond * 5) + 2); in init_io_condition_met()
498 u8 mask = nv_ro08(bios, table + (cond * 5) + 3); in init_io_condition_met()
499 u8 value = nv_ro08(bios, table + (cond * 5) + 4); in init_io_condition_met()
[all …]
/drivers/md/bcache/
Ddebug.h24 #define EBUG_ON(cond) BUG_ON(cond) argument
32 #define EBUG_ON(cond) do {} while (0) argument
Dbcache.h1080 #define btree_bug_on(cond, b, ...) \ argument
1082 if (cond) \
1086 #define cache_bug_on(cond, c, ...) \ argument
1088 if (cond) \
1092 #define cache_set_err_on(cond, c, ...) \ argument
1094 if (cond) \
Dalloc.c359 #define allocator_wait(ca, cond) \ argument
366 if (cond) \
/drivers/net/wireless/zd1211rw/
Dzd_def.h40 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ argument
41 bool __cond = !!(cond); \
48 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) argument
/drivers/dma/
Dpl330.c715 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_LD() argument
722 if (cond == SINGLE) in _emit_LD()
724 else if (cond == BURST) in _emit_LD()
728 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD()
734 enum pl330_cond cond, u8 peri) in _emit_LDP() argument
741 if (cond == BURST) in _emit_LDP()
749 cond == SINGLE ? 'S' : 'B', peri >> 3); in _emit_LDP()
774 enum pl330_cond cond; member
783 enum pl330_cond cond = arg->cond; in _emit_LPEND() local
799 if (cond == SINGLE) in _emit_LPEND()
[all …]
/drivers/staging/zcache/ramster/
Dmasklog.h207 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
208 if (cond) { \
209 mlog(ML_ERROR, "bug expression: " #cond "\n"); \
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c137 struct timespec lag, cond; in vmw_lag_lt() local
139 cond = ns_to_timespec((s64) us * 1000); in vmw_lag_lt()
141 return (timespec_compare(&lag, &cond) < 1); in vmw_lag_lt()
/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()
Dpcmplc.c1083 int cond ; in lem_evaluate() local
1141 cond = (mib->fddiPORTLer_Estimate <= mib->fddiPORTLer_Alarm) ? in lem_evaluate()
1144 smt_ler_alarm_check(smc,phy,cond) ; in lem_evaluate()
1146 if (cond != mib->fddiPORTLerFlag) { in lem_evaluate()
1148 (int) (INDEX_PORT+ phy->np) ,cond) ; in lem_evaluate()
/drivers/scsi/csiostor/
Dcsio_defs.h113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dphy.c650 u32 cond = condition; in check_cond() local
655 cond = condition & 0xFF; in check_cond()
656 if ((_board & cond) == 0 && cond != 0x1F) in check_cond()
659 cond = condition & 0xFF00; in check_cond()
660 cond = cond >> 8; in check_cond()
661 if ((_interface & cond) == 0 && cond != 0x07) in check_cond()
664 cond = condition & 0xFF0000; in check_cond()
665 cond = cond >> 16; in check_cond()
666 if ((_platform & cond) == 0 && cond != 0x0F) in check_cond()
/drivers/usb/gadget/
Du_serial.c822 int cond; in gs_writes_finished() local
826 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished()
829 return cond; in gs_writes_finished()
1066 int cond; in gs_closed() local
1069 cond = (port->port.count == 0) && !port->openclose; in gs_closed()
1071 return cond; in gs_closed()
/drivers/hid/usbhid/
Dhid-pidff.c417 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()
/drivers/macintosh/
Dvia-cuda.c249 #define WAIT_FOR(cond, what) \ argument
252 for (x = 1000; !(cond); --x) { \
/drivers/i2c/busses/
Di2c-designware-core.c198 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset) in i2c_dw_scl_hcnt() argument
205 if (cond) in i2c_dw_scl_hcnt()
/drivers/net/fddi/skfp/h/
Dcmtdef.h627 void smt_srf_event(struct s_smc *smc, int code, int index, int cond);
630 #define smt_srf_event(smc,code,index,cond) argument
/drivers/net/wireless/iwlwifi/dvm/
Drxon.c866 #define CHK(cond) \ in iwl_full_rxon_required() argument
867 if ((cond)) { \ in iwl_full_rxon_required()
868 IWL_DEBUG_INFO(priv, "need full RXON - " #cond "\n"); \ in iwl_full_rxon_required()
/drivers/usb/atm/
Dueagle-atm.c591 #define uea_wait(sc, cond, timeo) \ argument
594 (cond) || kthread_should_stop(), timeo); \
/drivers/net/wireless/iwlegacy/
Dcommon.c3733 #define CHK(cond) \ in il_full_rxon_required() argument
3734 if ((cond)) { \ in il_full_rxon_required()
3735 D_INFO("need full RXON - " #cond "\n"); \ in il_full_rxon_required()