/drivers/usb/host/ |
D | u132-hcd.c | 207 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/ |
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, struct urb *urb, u8 *buf, int len, [all …]
|
D | ftdi-elan.c | 133 void *endp; member 145 void (*callback)(void *endp, struct urb *urb, u8 *buf, int len, 852 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback() 1488 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_setup() argument 1489 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in ftdi_elan_edset_setup() 1516 target->endp = endp; in ftdi_elan_edset_setup() 1532 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument 1533 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup() 1538 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup() 1545 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_input() argument [all …]
|
/drivers/staging/media/lirc/ |
D | lirc_zilog.c | 140 unsigned char *endp; member 518 unsigned char *endp, unsigned int *val) in read_uint32() argument 520 if (*data + 4 > endp) in read_uint32() 530 unsigned char *endp, unsigned char *val) in read_uint8() argument 532 if (*data + 1 > endp) in read_uint8() 540 unsigned char *endp, unsigned int distance) in skip() argument 542 if (*data + distance > endp) in skip() 552 unsigned char *data, *endp, *diffs, *key_block; in get_key_data() local 561 if (!read_uint32(&data, tx_data->endp, &i)) in get_key_data() 576 endp = pos < tx_data->num_code_sets - 1 ? in get_key_data() [all …]
|
/drivers/mtd/devices/ |
D | block2mtd.c | 304 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument 306 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() 307 switch (**endp) { in ustrtoul() 316 if ((*endp)[1] == 'i') { in ustrtoul() 317 if ((*endp)[2] == 'B') in ustrtoul() 318 (*endp) += 3; in ustrtoul() 320 (*endp) += 2; in ustrtoul() 329 char *endp; in parse_num() local 332 n = (size_t) ustrtoul(token, &endp, 0); in parse_num() 333 if (*endp) in parse_num()
|
/drivers/macintosh/ |
D | windfarm_core.c | 198 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/block/ |
D | dasd_devmap.c | 191 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/s390/char/ |
D | sclp_cpi_sys.c | 334 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/staging/lustre/lustre/libcfs/ |
D | libcfs_string.c | 229 char *endp; in cfs_str2num_check() local 232 *num = strtoul(str, &endp, 0); in cfs_str2num_check() 233 if (endp == str) in cfs_str2num_check() 236 for (; endp < str + nob; endp++) { in cfs_str2num_check() 237 if (!isspace(*endp)) in cfs_str2num_check()
|
/drivers/media/tuners/ |
D | tuner-xc2028.c | 308 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[MAX_XFER_SIZE]; in load_firmware() local 567 endp = p + priv->firm[pos].size; in load_firmware() 569 while (p < endp) { in load_firmware() [all …]
|
D | xc4000.c | 728 const unsigned char *p, *endp; in xc4000_fwupload() local 765 endp = p + fw->size; in xc4000_fwupload() 796 while (p < endp) { in xc4000_fwupload() 809 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload() 821 if (endp - p < sizeof(size)) in xc4000_fwupload() 828 if (!size || size > endp - p) { in xc4000_fwupload() 831 (unsigned)(endp - p), size); in xc4000_fwupload()
|
/drivers/net/usb/ |
D | ipheth.c | 476 struct usb_endpoint_descriptor *endp; in ipheth_probe() local 504 endp = &hintf->endpoint[i].desc; in ipheth_probe() 505 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe() 506 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe() 507 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe() 508 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
|
D | hso.c | 211 struct usb_endpoint_descriptor *endp; member 1443 tiocmget->endp-> in tiocmget_submit_urb() 1448 tiocmget->endp->bInterval); in tiocmget_submit_urb() 2646 tiocmget->endp = hso_get_ep( in hso_create_bulk_serial_device() 3158 struct usb_endpoint_descriptor *endp; in hso_get_ep() local 3161 endp = &iface->endpoint[i].desc; in hso_get_ep() 3162 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep() 3163 (usb_endpoint_type(endp) == type)) in hso_get_ep() 3164 return endp; in hso_get_ep()
|
/drivers/mtd/ubi/ |
D | build.c | 1197 char *endp; in open_mtd_device() local 1199 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device() 1200 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device() 1366 char *endp; in bytes_str_to_int() local 1369 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int() 1370 if (str == endp || result >= INT_MAX) { in bytes_str_to_int() 1375 switch (*endp) { in bytes_str_to_int() 1382 if (endp[1] == 'i' && endp[2] == 'B') in bytes_str_to_int() 1383 endp += 2; in bytes_str_to_int()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_string.h | 105 #define strtoul(str, endp, base) simple_strtoul(str, endp, base) argument
|
/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 1344 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/ |
D | tm6000-video.c | 137 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 …]
|
D | tm6000-input.c | 356 dev->int_in.endp->desc.bEndpointAddress in __tm6000_ir_int_start() 367 dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start() 372 dev->int_in.endp->desc.bInterval); in __tm6000_ir_int_start() 449 if (dev->int_in.endp) { in tm6000_ir_init()
|
/drivers/spi/ |
D | spi-tle62x0.c | 157 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/mtd/ |
D | mtdoops.c | 401 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/lustre/lustre/obdclass/ |
D | obd_config.c | 234 char *endp; in class_parse_value() local 246 endp = strpbrk(buf, ",: /"); in class_parse_value() 247 if (endp == NULL) in class_parse_value() 248 endp = buf + strlen(buf); in class_parse_value() 250 tmp = *endp; in class_parse_value() 251 *endp = '\0'; in class_parse_value() 262 *endp = tmp; in class_parse_value() 266 *endh = endp; in class_parse_value()
|
/drivers/scsi/ |
D | scsi_transport_spi.c | 457 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()
|
/drivers/usb/storage/ |
D | transport.c | 238 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() local 241 endp |= USB_DIR_IN; in usb_stor_clear_halt() 245 USB_ENDPOINT_HALT, endp, in usb_stor_clear_halt() 249 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt()
|
/drivers/of/ |
D | fdt.c | 852 const __be32 *reg, *endp; in early_init_dt_scan_memory() local 872 endp = reg + (l / sizeof(__be32)); in early_init_dt_scan_memory() 877 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
|
/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 194 char *endp; in set_param_timeout() local 200 l = simple_strtoul(val, &endp, 0); in set_param_timeout() 201 if (endp == val) in set_param_timeout()
|