Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 43) sorted by relevance

12

/drivers/usb/host/
Du132-hcd.c207 struct u132_endp *endp[MAX_U132_ENDPS]; member
335 struct u132_endp *endp = kref_to_u132_endp(kref); in u132_endp_delete() local
336 struct u132 *u132 = endp->u132; in u132_endp_delete()
337 u8 usb_addr = endp->usb_addr; in u132_endp_delete()
338 u8 usb_endp = endp->usb_endp; in u132_endp_delete()
341 u8 endp_number = endp->endp_number; in u132_endp_delete()
342 struct usb_host_endpoint *hep = endp->hep; in u132_endp_delete()
343 struct u132_ring *ring = endp->ring; in u132_endp_delete()
344 struct list_head *head = &endp->endp_ring; in u132_endp_delete()
346 if (endp == ring->curr_endp) { in u132_endp_delete()
[all …]
/drivers/usb/misc/
Dusb_u132.h72 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits,
73 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
77 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits,
78 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
82 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits,
83 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
87 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits,
88 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
92 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits,
93 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
[all …]
Dftdi-elan.c130 void *endp; member
142 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len,
857 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback()
1497 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_setup() argument
1498 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in ftdi_elan_edset_setup()
1525 target->endp = endp; in ftdi_elan_edset_setup()
1541 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument
1542 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup()
1547 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup()
1554 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_input() argument
[all …]
/drivers/staging/media/lirc/
Dlirc_zilog.c137 unsigned char *endp; member
517 unsigned char *endp, unsigned int *val) in read_uint32() argument
519 if (*data + 4 > endp) in read_uint32()
529 unsigned char *endp, unsigned char *val) in read_uint8() argument
531 if (*data + 1 > endp) in read_uint8()
539 unsigned char *endp, unsigned int distance) in skip() argument
541 if (*data + distance > endp) in skip()
551 unsigned char *data, *endp, *diffs, *key_block; in get_key_data() local
560 if (!read_uint32(&data, tx_data->endp, &i)) in get_key_data()
575 endp = pos < tx_data->num_code_sets - 1 ? in get_key_data()
[all …]
/drivers/mtd/devices/
Dphram.c144 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
146 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
148 switch (**endp) { in ustrtoul()
156 if ((*endp)[1] == 'i') in ustrtoul()
157 (*endp) += 2; in ustrtoul()
164 char *endp; in parse_num32() local
167 n = ustrtoul(token, &endp, 0); in parse_num32()
168 if (*endp) in parse_num32()
Dblock2mtd.c297 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
299 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
300 switch (**endp) { in ustrtoul()
309 if ((*endp)[1] == 'i') { in ustrtoul()
310 if ((*endp)[2] == 'B') in ustrtoul()
311 (*endp) += 3; in ustrtoul()
313 (*endp) += 2; in ustrtoul()
322 char *endp; in parse_num() local
325 n = (size_t) ustrtoul(token, &endp, 0); in parse_num()
326 if (*endp) in parse_num()
/drivers/video/
Doutput.c49 char *endp; in video_output_store_state() local
51 int request_state = simple_strtoul(buf,&endp,0); in video_output_store_state()
52 size_t size = endp - buf; in video_output_store_state()
54 if (isspace(*endp)) in video_output_store_state()
Dsh_mobile_lcdcfb.c1342 char *endp; in overlay_alpha_store() local
1344 alpha = simple_strtoul(buf, &endp, 10); in overlay_alpha_store()
1345 if (isspace(*endp)) in overlay_alpha_store()
1346 endp++; in overlay_alpha_store()
1348 if (endp - buf != count) in overlay_alpha_store()
1380 char *endp; in overlay_mode_store() local
1382 mode = simple_strtoul(buf, &endp, 10); in overlay_mode_store()
1383 if (isspace(*endp)) in overlay_mode_store()
1384 endp++; in overlay_mode_store()
1386 if (endp - buf != count) in overlay_mode_store()
[all …]
/drivers/s390/block/
Ddasd_devmap.c191 dasd_feature_list(char *str, char **endp) in dasd_feature_list() argument
197 *endp = str; in dasd_feature_list()
232 *endp = str; in dasd_feature_list()
731 char *endp; in dasd_ff_store() local
737 val = simple_strtoul(buf, &endp, 0); in dasd_ff_store()
738 if (((endp + 1) < (buf + count)) || (val > 1)) in dasd_ff_store()
778 char *endp; in dasd_ro_store() local
784 val = simple_strtoul(buf, &endp, 0); in dasd_ro_store()
785 if (((endp + 1) < (buf + count)) || (val > 1)) in dasd_ro_store()
829 char *endp; in dasd_erplog_store() local
[all …]
/drivers/macintosh/
Dwindfarm_core.c198 char *endp; in wf_store_control() local
200 val = simple_strtoul(buf, &endp, 0); in wf_store_control()
201 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) in wf_store_control()
202 ++endp; in wf_store_control()
203 if (endp - buf < count) in wf_store_control()
/drivers/s390/char/
Dsclp_cpi_sys.c334 char *endp; in system_level_store() local
336 level = simple_strtoull(buf, &endp, 16); in system_level_store()
338 if (endp == buf) in system_level_store()
340 if (*endp == '\n') in system_level_store()
341 endp++; in system_level_store()
342 if (*endp) in system_level_store()
/drivers/media/tuners/
Dtuner-xc2028.c308 const unsigned char *p, *endp; in load_all_firmwares() local
316 endp = p + fw->size; in load_all_firmwares()
347 while (p < endp) { in load_all_firmwares()
360 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in load_all_firmwares()
372 if (endp - p < sizeof(size)) in load_all_firmwares()
379 if (!size || size > endp - p) { in load_all_firmwares()
385 (unsigned)(endp - p), size); in load_all_firmwares()
550 unsigned char *p, *endp, buf[priv->ctrl.max_len]; in load_firmware() local
564 endp = p + priv->firm[pos].size; in load_firmware()
566 while (p < endp) { in load_firmware()
[all …]
Dxc4000.c727 const unsigned char *p, *endp; in xc4000_fwupload() local
750 endp = p + fw->size; in xc4000_fwupload()
781 while (p < endp) { in xc4000_fwupload()
794 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload()
806 if (endp - p < sizeof(size)) in xc4000_fwupload()
813 if (!size || size > endp - p) { in xc4000_fwupload()
816 (unsigned)(endp - p), size); in xc4000_fwupload()
/drivers/net/usb/
Dipheth.c462 struct usb_endpoint_descriptor *endp; in ipheth_probe() local
490 endp = &hintf->endpoint[i].desc; in ipheth_probe()
491 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe()
492 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe()
493 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe()
494 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
/drivers/mtd/ubi/
Dbuild.c1192 char *endp; in open_mtd_device() local
1194 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1195 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1344 char *endp; in bytes_str_to_int() local
1347 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int()
1348 if (str == endp || result >= INT_MAX) { in bytes_str_to_int()
1353 switch (*endp) { in bytes_str_to_int()
1360 if (endp[1] == 'i' && endp[2] == 'B') in bytes_str_to_int()
1361 endp += 2; in bytes_str_to_int()
/drivers/misc/
Dds1682.c89 char *endp; in ds1682_store() local
97 val = simple_strtoull(buf, &endp, 0); in ds1682_store()
98 if (buf == endp) { in ds1682_store()
/drivers/media/usb/tm6000/
Dtm6000-video.c137 u8 *ptr = data, *endp = data+len; in copy_streams() local
157 for (ptr = data; ptr < endp;) { in copy_streams()
172 if (ptr + 3 >= endp) { in copy_streams()
174 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams()
180 for (; ptr < endp - 3; ptr++) { in copy_streams()
248 cpysize = (endp - ptr > size) ? size : endp - ptr; in copy_streams()
278 if (ptr + pktsize > endp) { in copy_streams()
287 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams()
288 ptr += endp - ptr; in copy_streams()
588 dev->isoc_in.endp->desc.bEndpointAddress & in tm6000_prepare_isoc()
[all …]
Dtm6000-input.c337 dev->int_in.endp->desc.bEndpointAddress in __tm6000_ir_int_start()
348 dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start()
353 dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start()
430 if (dev->int_in.endp) { in tm6000_ir_init()
/drivers/spi/
Dspi-tle62x0.c158 char *endp; in tle62x0_gpio_store() local
160 val = simple_strtoul(buf, &endp, 0); in tle62x0_gpio_store()
161 if (buf == endp) in tle62x0_gpio_store()
/drivers/mtd/
Dmtdoops.c401 char *endp; in mtdoops_init() local
418 mtd_index = simple_strtoul(mtddev, &endp, 0); in mtdoops_init()
419 if (*endp == '\0') in mtdoops_init()
/drivers/staging/rts5139/
Drts51x_transport.c367 int endp = usb_pipeendpoint(pipe); in rts51x_clear_halt() local
370 endp |= USB_DIR_IN; in rts51x_clear_halt()
374 USB_ENDPOINT_HALT, endp, NULL, 0, 3000); in rts51x_clear_halt()
378 usb_reset_endpoint(chip->usb->pusb_dev, endp); in rts51x_clear_halt()
/drivers/staging/keucr/
Dtransport.c117 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() local
121 endp |= USB_DIR_IN; in usb_stor_clear_halt()
125 USB_ENDPOINT_HALT, endp, in usb_stor_clear_halt()
132 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt()
/drivers/net/wireless/ath/ath9k/
Dhif_usb.c1029 struct usb_endpoint_descriptor *endp; in ath9k_hif_usb_dev_init() local
1045 endp = &alt->endpoint[idx].desc; in ath9k_hif_usb_dev_init()
1046 if ((endp->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in ath9k_hif_usb_dev_init()
1048 endp->bmAttributes &= ~USB_ENDPOINT_XFERTYPE_MASK; in ath9k_hif_usb_dev_init()
1049 endp->bmAttributes |= USB_ENDPOINT_XFER_BULK; in ath9k_hif_usb_dev_init()
1050 endp->bInterval = 0; in ath9k_hif_usb_dev_init()
/drivers/of/
Dfdt.c622 __be32 *reg, *endp; in early_init_dt_scan_memory() local
642 endp = reg + (l / sizeof(__be32)); in early_init_dt_scan_memory()
647 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
/drivers/scsi/
Dscsi_transport_spi.c457 char *endp; in store_spi_transport_period_helper() local
459 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
460 if (*endp == '.') { in store_spi_transport_period_helper()
463 endp++; in store_spi_transport_period_helper()
464 if (!isdigit(*endp)) in store_spi_transport_period_helper()
466 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()

12