Home
last modified time | relevance | path

Searched refs:edc (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wimax/i2400m/
Di2400m-usb.h86 struct edc { struct
98 static inline void edc_init(struct edc *edc) in edc_init() argument
100 edc->timestart = jiffies; in edc_init()
129 static inline int edc_inc(struct edc *edc, u16 max_err, u16 timeframe) in edc_inc() argument
134 if (now - edc->timestart > timeframe) { in edc_inc()
135 edc->errorcount = 1; in edc_inc()
136 edc->timestart = now; in edc_inc()
137 } else if (++edc->errorcount > max_err) { in edc_inc()
138 edc->errorcount = 0; in edc_inc()
139 edc->timestart = now; in edc_inc()
[all …]
/drivers/usb/wusbcore/
Dwa-hc.h172 struct edc nep_edc;
185 struct edc dti_edc; /* DTI error density counter */
/drivers/uwb/
Dhwa-rc.c86 struct edc neep_edc;
/drivers/mtd/maps/
Dpcmciamtd.c344 t->type, t->edc, t->offset, t->length); in pcmciamtd_cistpl_format()
/drivers/pcmcia/
Dcistpl.c1280 fmt->edc = p[1]; in parse_format()