/drivers/usb/host/ |
H A D | u132-hcd.c | 207 struct u132_endp *endp[MAX_U132_ENDPS]; member in struct:u132 335 struct u132_endp *endp = kref_to_u132_endp(kref); local 336 struct u132 *u132 = endp->u132; 337 u8 usb_addr = endp->usb_addr; 338 u8 usb_endp = endp->usb_endp; 341 u8 endp_number = endp->endp_number; 342 struct usb_host_endpoint *hep = endp->hep; 343 struct u132_ring *ring = endp->ring; 344 struct list_head *head = &endp->endp_ring; 346 if (endp 372 u132_endp_put_kref(struct u132 *u132, struct u132_endp *endp) argument 377 u132_endp_get_kref(struct u132 *u132, struct u132_endp *endp) argument 382 u132_endp_init_kref(struct u132 *u132, struct u132_endp *endp) argument 389 u132_endp_queue_work(struct u132 *u132, struct u132_endp *endp, unsigned int delta) argument 396 u132_endp_cancel_work(struct u132 *u132, struct u132_endp *endp) argument 511 u132_hcd_giveback_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) argument 545 u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) argument 551 u132_hcd_abandon_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) argument 577 edset_input(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 587 edset_setup(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 597 edset_single(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 607 edset_output(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 626 struct u132_endp *endp = data; local 726 struct u132_endp *endp = data; local 777 struct u132_endp *endp = data; local 880 struct u132_endp *endp = data; local 917 struct u132_endp *endp = data; local 989 struct u132_endp *endp = data; local 1026 struct u132_endp *endp = data; local 1084 struct u132_endp *endp = data; local 1125 struct u132_endp *endp = data; local 1168 struct u132_endp *endp = data; local 1205 struct u132_endp *endp = data; local 1257 struct u132_endp *endp = data; local 1317 struct u132_endp *endp = list_entry(scan, local 1366 struct u132_endp *endp = local 1870 struct u132_endp *endp = kmalloc(sizeof(struct u132_endp), mem_flags); local 1935 queue_int_on_old_endpoint(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp, u8 address) argument 1969 struct u132_endp *endp = kmalloc(sizeof(struct u132_endp), mem_flags); local 2034 queue_bulk_on_old_endpoint(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp, u8 address) argument 2065 struct u132_endp *endp = kmalloc(sizeof(struct u132_endp), mem_flags); local 2145 queue_control_on_old_endpoint(struct u132 *u132, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp) argument 2271 struct u132_endp *endp = urb->ep->hcpriv; local 2313 struct u132_endp *endp = urb->ep->hcpriv; local 2346 struct u132_endp *endp = urb->ep->hcpriv; local 2397 dequeue_from_overflow_chain(struct u132 *u132, struct u132_endp *endp, struct urb *urb) argument 2424 u132_endp_urb_dequeue(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) argument 2534 struct u132_endp *endp = u132->endp[endp_number - 1]; local 2538 struct u132_endp *endp = u132->endp[endp_number - 1]; local 2553 struct u132_endp *endp = hep->hcpriv; local 3014 struct u132_endp *endp = u132->endp[endps]; local [all...] |
/drivers/usb/misc/ |
H A D | usb_u132.h | 72 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, struc [all...] |
H A D | ftdi-elan.c | 130 void *endp; member in struct:u132_target 142 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 857 (*callback) (target->endp, urb, buffer, length, toggle_bits, 1497 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 1498 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 1525 target->endp = endp; 1541 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 1542 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 1547 return ftdi_elan_edset_setup(ftdi, ed_number, endp, ur 1496 ftdi_elan_edset_setup(struct usb_ftdi *ftdi, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1540 usb_ftdi_elan_edset_setup(struct platform_device *pdev, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1553 ftdi_elan_edset_input(struct usb_ftdi *ftdi, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1605 usb_ftdi_elan_edset_input(struct platform_device *pdev, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1618 ftdi_elan_edset_empty(struct usb_ftdi *ftdi, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1662 usb_ftdi_elan_edset_empty(struct platform_device *pdev, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1675 ftdi_elan_edset_output(struct usb_ftdi *ftdi, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1741 usb_ftdi_elan_edset_output(struct platform_device *pdev, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1754 ftdi_elan_edset_single(struct usb_ftdi *ftdi, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1806 usb_ftdi_elan_edset_single(struct platform_device *pdev, u8 ed_number, void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) argument 1819 ftdi_elan_edset_flush(struct usb_ftdi *ftdi, u8 ed_number, void *endp) argument 1865 usb_ftdi_elan_edset_flush(struct platform_device *pdev, u8 ed_number, void *endp) argument [all...] |
/drivers/video/ |
H A D | output.c | 49 char *endp; local 51 int request_state = simple_strtoul(buf,&endp,0); 52 size_t size = endp - buf; 54 if (isspace(*endp))
|
/drivers/mtd/devices/ |
H A D | phram.c | 144 static int ustrtoul(const char *cp, char **endp, unsigned int base) argument 146 unsigned long result = simple_strtoul(cp, endp, base); 148 switch (**endp) { 156 if ((*endp)[1] == 'i') 157 (*endp) += 2; 164 char *endp; local 167 n = ustrtoul(token, &endp, 0); 168 if (*endp)
|
H A D | block2mtd.c | 301 static int ustrtoul(const char *cp, char **endp, unsigned int base) argument 303 unsigned long result = simple_strtoul(cp, endp, base); 304 switch (**endp) { 313 if ((*endp)[1] == 'i') { 314 if ((*endp)[2] == 'B') 315 (*endp) += 3; 317 (*endp) += 2; 326 char *endp; local 329 n = (size_t) ustrtoul(token, &endp, 0); 330 if (*endp) [all...] |
/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 137 unsigned char *endp; member in struct:tx_data_struct 517 unsigned char *endp, unsigned int *val) 519 if (*data + 4 > endp) 529 unsigned char *endp, unsigned char *val) 531 if (*data + 1 > endp) 539 unsigned char *endp, unsigned int distance) 541 if (*data + distance > endp) 551 unsigned char *data, *endp, *diffs, *key_block; local 560 if (!read_uint32(&data, tx_data->endp, &i)) 575 endp 516 read_uint32(unsigned char **data, unsigned char *endp, unsigned int *val) argument 528 read_uint8(unsigned char **data, unsigned char *endp, unsigned char *val) argument 538 skip(unsigned char **data, unsigned char *endp, unsigned int distance) argument [all...] |
H A D | lirc_ttusbir.c | 223 int alt_set, endp; local 267 for (endp = 0; endp < interf_desc->bNumEndpoints; endp++) { 268 host_endpoint = &host_interf->endpoint[endp]; 272 ttusbir->endpoint = endp;
|
/drivers/s390/char/ |
H A D | sclp_cpi_sys.c | 335 char *endp; local 337 level = simple_strtoull(buf, &endp, 16); 339 if (endp == buf) 341 if (*endp == '\n') 342 endp++; 343 if (*endp)
|
/drivers/s390/block/ |
H A D | dasd_devmap.c | 192 dasd_feature_list(char *str, char **endp) argument 198 *endp = str; 233 *endp = str; 733 char *endp; local 739 val = simple_strtoul(buf, &endp, 0); 740 if (((endp + 1) < (buf + count)) || (val > 1)) 780 char *endp; local 786 val = simple_strtoul(buf, &endp, 0); 787 if (((endp + 1) < (buf + count)) || (val > 1)) 831 char *endp; local 879 char *endp; local 1146 char *endp; local [all...] |
/drivers/macintosh/ |
H A D | windfarm_core.c | 184 char *endp; local 186 val = simple_strtoul(buf, &endp, 0); 187 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) 188 ++endp; 189 if (endp - buf < count)
|
/drivers/net/usb/ |
H A D | ipheth.c | 449 struct usb_endpoint_descriptor *endp; local 477 endp = &hintf->endpoint[i].desc; 478 if (usb_endpoint_is_bulk_in(endp)) 479 dev->bulk_in = endp->bEndpointAddress; 480 else if (usb_endpoint_is_bulk_out(endp)) 481 dev->bulk_out = endp->bEndpointAddress;
|
/drivers/media/common/tuners/ |
H A D | tuner-xc2028.c | 281 const unsigned char *p, *endp; local 307 endp = p + fw->size; 338 while (p < endp) { 351 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) 363 if (endp - p < sizeof(size)) 370 if (!size || size > endp - p) { 376 (unsigned)(endp - p), size); 540 unsigned char *p, *endp, buf[priv->ctrl.max_len]; local 554 endp = p + priv->firm[pos].size; 556 while (p < endp) { [all...] |
H A D | xc4000.c | 728 const unsigned char *p, *endp; local 751 endp = p + fw->size; 782 while (p < endp) { 795 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) 807 if (endp - p < sizeof(size)) 814 if (!size || size > endp - p) { 817 (unsigned)(endp - p), size);
|
/drivers/net/wireless/bcmdhd/ |
H A D | bcmwifi_channels.c | 99 char *endp = NULL; local 103 channel = strtoul(a, &endp, 10); 106 if (endp == a) 116 a = endp; 408 char *endp = NULL; local 410 val = strtoul(*p, &endp, 10); 412 if (endp == *p) 416 *p = endp;
|
H A D | bcmutils.c | 695 bcm_strtoul(const char *cp, char **endp, uint base) argument 742 if (endp) 743 *endp = DISCARD_QUAL(cp, char); 789 char *endp; local 793 endp = p + size; 795 while (p != endp && (*p++ = *src++) != '\0') 2013 char *endp = buf + SSID_FMT_BUF_LEN; local 2025 p += snprintf(p, (endp - p), "\\x%02X", c); 2029 ASSERT(p < endp);
|
/drivers/misc/ |
H A D | ds1682.c | 89 char *endp; local 97 val = simple_strtoull(buf, &endp, 0); 98 if (buf == endp) {
|
/drivers/mtd/ubi/ |
H A D | build.c | 1155 char *endp; local 1157 mtd_num = simple_strtoul(mtd_dev, &endp, 0); 1158 if (*endp != '\0' || mtd_dev == endp) { 1307 char *endp; local 1310 result = simple_strtoul(str, &endp, 0); 1311 if (str == endp || result >= INT_MAX) { 1317 switch (*endp) { 1324 if (endp[1] == 'i' && endp[ [all...] |
/drivers/spi/ |
H A D | spi-tle62x0.c | 158 char *endp; local 160 val = simple_strtoul(buf, &endp, 0); 161 if (buf == endp)
|
/drivers/media/video/tm6000/ |
H A D | tm6000-input.c | 337 dev->int_in.endp->desc.bEndpointAddress 348 dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval); 353 dev->int_in.endp->desc.bInterval); 429 if (dev->int_in.endp) {
|
H A D | tm6000-video.c | 214 u8 *ptr = data, *endp = data+len, c; local 234 for (ptr = data; ptr < endp;) { 249 if (ptr + 3 >= endp) { 251 dev->isoc_ctl.tmp_buf_len = endp - ptr; 257 for (; ptr < endp - 3; ptr++) { 326 cpysize = (endp - ptr > size) ? size : endp - ptr; 356 if (ptr + pktsize > endp) { 365 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); 366 ptr += endp [all...] |
/drivers/block/ |
H A D | ub.c | 984 int endp; local 993 endp = usb_pipeendpoint(sc->last_pipe); 995 endp |= USB_DIR_IN; 1012 usb_reset_endpoint(sc->dev, endp); 1027 usb_reset_endpoint(sc->dev, endp); 1042 usb_reset_endpoint(sc->dev, endp); 1435 int endp; local 1439 endp = usb_pipeendpoint(stalled_pipe); 1441 endp |= USB_DIR_IN; 1447 cr->wIndex = cpu_to_le16(endp); 2058 int endp; local [all...] |
/drivers/mtd/ |
H A D | mtdoops.c | 418 char *endp; local 435 mtd_index = simple_strtoul(mtddev, &endp, 0); 436 if (*endp == '\0')
|
/drivers/staging/keucr/ |
H A D | transport.c | 117 int endp = usb_pipeendpoint(pipe); local 121 endp |= USB_DIR_IN; 125 USB_ENDPOINT_HALT, endp, 132 usb_reset_endpoint(us->pusb_dev, endp);
|
/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 414 char *endp; local 415 long val = simple_strtol(buf, &endp, 0); 417 if (val < 0 || endp == buf)
|