Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 39) 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,
846 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback()
1457 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_setup() argument
1458 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in ftdi_elan_edset_setup()
1485 target->endp = endp; in ftdi_elan_edset_setup()
1501 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument
1502 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup()
1507 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup()
1514 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.c140 unsigned char *endp; member
502 unsigned char *endp, unsigned int *val) in read_uint32() argument
504 if (*data + 4 > endp) in read_uint32()
514 unsigned char *endp, unsigned char *val) in read_uint8() argument
516 if (*data + 1 > endp) in read_uint8()
524 unsigned char *endp, unsigned int distance) in skip() argument
526 if (*data + distance > endp) in skip()
536 unsigned char *data, *endp, *diffs, *key_block; in get_key_data() local
545 if (!read_uint32(&data, tx_data->endp, &i)) in get_key_data()
560 endp = pos < tx_data->num_code_sets - 1 ? in get_key_data()
[all …]
/drivers/mtd/devices/
Dblock2mtd.c331 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
333 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
334 switch (**endp) { in ustrtoul()
343 if ((*endp)[1] == 'i') { in ustrtoul()
344 if ((*endp)[2] == 'B') in ustrtoul()
345 (*endp) += 3; in ustrtoul()
347 (*endp) += 2; in ustrtoul()
356 char *endp; in parse_num() local
359 n = (size_t) ustrtoul(token, &endp, 0); in parse_num()
360 if (*endp) in parse_num()
/drivers/staging/lustre/lnet/libcfs/
Dlibcfs_string.c229 char *endp, cache; in cfs_str2num_check() local
244 for (endp = str; endp < str + nob; endp++) { in cfs_str2num_check()
245 if (!isdigit(*endp)) { in cfs_str2num_check()
250 cache = *endp; in cfs_str2num_check()
251 *endp = '\0'; in cfs_str2num_check()
254 *endp = cache; in cfs_str2num_check()
/drivers/macintosh/
Dwindfarm_core.c197 char *endp; in wf_store_control() local
199 val = simple_strtoul(buf, &endp, 0); in wf_store_control()
200 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) in wf_store_control()
201 ++endp; in wf_store_control()
202 if (endp - buf < count) in wf_store_control()
/drivers/s390/char/
Dsclp_cpi_sys.c333 char *endp; in system_level_store() local
335 level = simple_strtoull(buf, &endp, 16); in system_level_store()
337 if (endp == buf) in system_level_store()
339 if (*endp == '\n') in system_level_store()
340 endp++; in system_level_store()
341 if (*endp) in system_level_store()
/drivers/media/tuners/
Dtuner-xc2028.c307 const unsigned char *p, *endp; in load_all_firmwares() local
315 endp = p + fw->size; in load_all_firmwares()
346 while (p < endp) { in load_all_firmwares()
358 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in load_all_firmwares()
370 if (endp - p < sizeof(size)) in load_all_firmwares()
377 if (!size || size > endp - p) { in load_all_firmwares()
383 (unsigned)(endp - p), size); in load_all_firmwares()
551 unsigned char *p, *endp, buf[MAX_XFER_SIZE]; in load_firmware() local
568 endp = p + priv->firm[pos].size; in load_firmware()
570 while (p < endp) { in load_firmware()
[all …]
Dxc4000.c718 const unsigned char *p, *endp; in xc4000_fwupload() local
755 endp = p + fw->size; in xc4000_fwupload()
786 while (p < endp) { in xc4000_fwupload()
798 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload()
810 if (endp - p < sizeof(size)) in xc4000_fwupload()
817 if (!size || size > endp - p) { in xc4000_fwupload()
820 (unsigned)(endp - p), size); in xc4000_fwupload()
/drivers/net/usb/
Dipheth.c488 struct usb_endpoint_descriptor *endp; in ipheth_probe() local
516 endp = &hintf->endpoint[i].desc; in ipheth_probe()
517 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe()
518 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe()
519 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe()
520 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
Dhso.c202 struct usb_endpoint_descriptor *endp; member
1446 tiocmget->endp-> in tiocmget_submit_urb()
1451 tiocmget->endp->bInterval); in tiocmget_submit_urb()
2636 tiocmget->endp = hso_get_ep(interface, in hso_create_bulk_serial_device()
2639 if (!tiocmget->endp) { in hso_create_bulk_serial_device()
3152 struct usb_endpoint_descriptor *endp; in hso_get_ep() local
3155 endp = &iface->endpoint[i].desc; in hso_get_ep()
3156 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep()
3157 (usb_endpoint_type(endp) == type)) in hso_get_ep()
3158 return endp; in hso_get_ep()
/drivers/mtd/ubi/
Dbuild.c1157 char *endp; in open_mtd_device() local
1159 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1160 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1316 char *endp; in bytes_str_to_int() local
1319 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int()
1320 if (str == endp || result >= INT_MAX) { in bytes_str_to_int()
1325 switch (*endp) { in bytes_str_to_int()
1332 if (endp[1] == 'i' && endp[2] == 'B') in bytes_str_to_int()
1333 endp += 2; in bytes_str_to_int()
/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c1344 char *endp; in overlay_alpha_store() local
1346 alpha = simple_strtoul(buf, &endp, 10); in overlay_alpha_store()
1347 if (isspace(*endp)) in overlay_alpha_store()
1348 endp++; in overlay_alpha_store()
1350 if (endp - buf != count) in overlay_alpha_store()
1382 char *endp; in overlay_mode_store() local
1384 mode = simple_strtoul(buf, &endp, 10); in overlay_mode_store()
1385 if (isspace(*endp)) in overlay_mode_store()
1386 endp++; in overlay_mode_store()
1388 if (endp - buf != count) in overlay_mode_store()
[all …]
/drivers/media/usb/tm6000/
Dtm6000-video.c133 u8 *ptr = data, *endp = data+len; in copy_streams() local
153 for (ptr = data; ptr < endp;) { in copy_streams()
168 if (ptr + 3 >= endp) { in copy_streams()
170 dev->isoc_ctl.tmp_buf_len = endp - ptr; in copy_streams()
176 for (; ptr < endp - 3; ptr++) { in copy_streams()
244 cpysize = (endp - ptr > size) ? size : endp - ptr; in copy_streams()
274 if (ptr + pktsize > endp) { in copy_streams()
283 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams()
284 ptr += endp - ptr; in copy_streams()
584 dev->isoc_in.endp->desc.bEndpointAddress & in tm6000_prepare_isoc()
[all …]
Dtm6000-input.c348 dev->int_in.endp->desc.bEndpointAddress in __tm6000_ir_int_start()
359 dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start()
364 dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start()
441 if (dev->int_in.endp) { in tm6000_ir_init()
/drivers/spi/
Dspi-tle62x0.c157 char *endp; in tle62x0_gpio_store() local
159 val = simple_strtoul(buf, &endp, 0); in tle62x0_gpio_store()
160 if (buf == endp) in tle62x0_gpio_store()
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c125 char *endp; in class_parse_value() local
137 endp = strpbrk(buf, ",: /"); in class_parse_value()
138 if (!endp) in class_parse_value()
139 endp = buf + strlen(buf); in class_parse_value()
141 tmp = *endp; in class_parse_value()
142 *endp = '\0'; in class_parse_value()
153 *endp = tmp; in class_parse_value()
157 *endh = endp; in class_parse_value()
/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/clk/sunxi/
Dclk-sunxi.c987 char *endp; in sunxi_divs_clk_setup() local
991 endp = strchr(clk_name, '_'); in sunxi_divs_clk_setup()
992 if (endp) { in sunxi_divs_clk_setup()
993 derived_name = kstrndup(clk_name, endp - clk_name, in sunxi_divs_clk_setup()
/drivers/scsi/
Dscsi_transport_spi.c454 char *endp; in store_spi_transport_period_helper() local
456 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
457 if (*endp == '.') { in store_spi_transport_period_helper()
460 endp++; in store_spi_transport_period_helper()
461 if (!isdigit(*endp)) in store_spi_transport_period_helper()
463 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
/drivers/usb/storage/
Dtransport.c246 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() local
249 endp |= USB_DIR_IN; in usb_stor_clear_halt()
253 USB_ENDPOINT_HALT, endp, in usb_stor_clear_halt()
257 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt()
/drivers/gpio/
Dgpiolib-acpi.c272 char *endp; in acpi_gpio_in_ignore_list() local
283 pin = simple_strtoul(pin_str + 1, &endp, 10); in acpi_gpio_in_ignore_list()
284 if (*endp != 0 && *endp != ',') in acpi_gpio_in_ignore_list()
/drivers/staging/irda/net/irnet/
Dirnet_ppp.c136 char * endp; in irnet_ctrl_write() local
142 addr = simple_strtoul(begp, &endp, 16); in irnet_ctrl_write()
144 DABORT(endp <= (start + 5), -EINVAL, in irnet_ctrl_write()
/drivers/char/ipmi/
Dipmi_watchdog.c198 char *endp; in set_param_timeout() local
204 l = simple_strtoul(val, &endp, 0); in set_param_timeout()
205 if (endp == val) in set_param_timeout()

12