Searched defs:cond (Results 1 - 10 of 10) sorted by relevance

/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_marker.c137 struct timespec lag, cond; local
139 cond = ns_to_timespec((s64) us * 1000);
141 return (timespec_compare(&lag, &cond) < 1);
/drivers/net/fddi/skfp/
H A Dsrf.c187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) argument
196 if (code == SMT_COND_MAC_DUP_ADDR && cond) {
211 if (*evc->evc_cond_state == cond)
220 DB_SMT("SRF: condition is %s\n",cond ? "ON":"OFF",0) ;
221 if (cond) {
H A Dcfm.c216 int cond ; local
246 cond = FALSE ;
254 cond = TRUE ;
256 if (cond != smc->mib.fddiSMTPeerWrapFlag)
257 smt_srf_event(smc,SMT_COND_SMT_PEER_WRAP,0,cond) ;
H A Dpcmplc.c1083 int cond ; local
1141 cond = (mib->fddiPORTLer_Estimate <= mib->fddiPORTLer_Alarm) ?
1144 smt_ler_alarm_check(smc,phy,cond) ;
1146 if (cond != mib->fddiPORTLerFlag) {
1148 (int) (INDEX_PORT+ phy->np) ,cond) ;
H A Dsmt.c288 int cond ; local
311 cond =
317 if (cond != mib->fddiMACFrameErrorFlag)
319 INDEX_MAC,cond) ;
328 cond =
335 if (cond != mib->fddiMACNotCopiedFlag)
337 INDEX_MAC,cond) ;
358 cond = (phy->mib->fddiPORTEBError_Ct -
365 (int) (INDEX_PORT+ phy->np) ,cond) ;
817 int cond ; local
[all...]
/drivers/usb/gadget/
H A Du_serial.c823 int cond; local
827 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf);
830 return cond;
1155 int cond; local
1158 cond = (port->open_count == 0) && !port->openclose;
1160 return cond;
/drivers/i2c/busses/
H A Di2c-designware-core.c184 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset) argument
191 if (cond)
/drivers/hid/usbhid/
H A Dhid-pidff.c417 struct ff_condition_effect *cond = &effect->u.condition[i]; local
420 ret |= cond->center != old_cond->center ||
421 cond->right_coeff != old_cond->right_coeff ||
422 cond->left_coeff != old_cond->left_coeff ||
423 cond->right_saturation != old_cond->right_saturation ||
424 cond->left_saturation != old_cond->left_saturation ||
425 cond->deadband != old_cond->deadband;
/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c587 io_flag_condition_met(struct nvbios *bios, uint16_t offset, uint8_t cond) argument
599 uint16_t condptr = bios->io_flag_condition_tbl_ptr + cond * IO_FLAG_CONDITION_SIZE;
626 bios_condition_met(struct nvbios *bios, uint16_t offset, uint8_t cond) argument
634 uint16_t condptr = bios->condition_tbl_ptr + cond * CONDITION_SIZE;
641 offset, cond, reg, mask);
652 io_condition_met(struct nvbios *bios, uint16_t offset, uint8_t cond) argument
661 uint16_t condptr = bios->io_condition_tbl_ptr + cond * IO_CONDITION_SIZE;
1099 uint8_t cond = bios->data[offset + 1]; local
1104 if (io_flag_condition_met(bios, offset, cond))
1128 uint8_t cond local
1826 uint8_t cond = bios->data[offset + 1]; local
2949 uint8_t cond = bios->data[offset + 1]; local
2980 uint8_t cond = bios->data[offset + 1]; local
[all...]
/drivers/dma/
H A Dpl330.c712 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) argument
719 if (cond == SINGLE)
721 else if (cond == BURST)
725 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A'));
731 enum pl330_cond cond, u8 peri)
738 if (cond == BURST)
746 cond == SINGLE ? 'S' : 'B', peri >> 3);
771 enum pl330_cond cond; member in struct:_arg_LPEND
780 enum pl330_cond cond local
730 _emit_LDP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument
878 _emit_ST(unsigned dry_run, u8 buf[], enum pl330_cond cond) argument
896 _emit_STP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument
950 _emit_WFP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument
[all...]

Completed in 227 milliseconds