| /linux/drivers/usb/host/ |
| A D | u132-hcd.c | 811 endp->usb_endp, endp->toggle_bits, in u132_hcd_bulk_input_recv() 1308 if (endp->queue_next == endp->queue_last) { in u132_hcd_ring_work_scheduler() 2399 "\n", urb, endp->endp_number, endp, endp->ring->number, in dequeue_from_overflow_chain() 2401 endp->usb_endp, endp->usb_addr, endp->queue_size, in dequeue_from_overflow_chain() 2402 endp->queue_next, endp->queue_last); in dequeue_from_overflow_chain() 2421 endp->endp_number, endp, endp->ring->number, in u132_endp_urb_dequeue() 2423 endp->usb_endp, endp->usb_addr); in u132_endp_urb_dequeue() 2483 endp->endp_number, endp, endp->ring->number, in u132_endp_urb_dequeue() 2485 endp->output ? 'O' : ' ', endp->usb_endp, in u132_endp_urb_dequeue() 2486 endp->usb_addr, endp->queue_size, in u132_endp_urb_dequeue() [all …]
|
| /linux/drivers/media/i2c/ccs/ |
| A D | ccs-data.c | 64 const void *endp) in ccs_data_parse_length_specifier() argument 68 if (!is_contained(__len, endp)) in ccs_data_parse_length_specifier() 138 if (v + 1 != endp) in ccs_data_parse_version() 186 endp); in ccs_data_block_parse_header() 232 if (!is_contained(r, endp)) in ccs_data_parse_regs() 249 if (!is_contained(r2, endp)) in ccs_data_parse_regs() 399 if (__entry != endp) in ccs_data_parse_ffd() 427 __pdaf + 1, endp, dev); in ccs_data_parse_pdaf_readout() 447 while (__next_rule < endp) { in ccs_data_parse_rules() 782 if (__end + 1 != endp) { in ccs_data_parse_end() [all …]
|
| /linux/drivers/usb/misc/ |
| A D | usb_u132.h | 68 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 69 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 73 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 74 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 78 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 79 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 83 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 84 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, 88 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, 89 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, [all …]
|
| A D | ftdi-elan.c | 126 void *endp; member 138 void (*callback)(void *endp, struct urb *urb, u8 *buf, int len, 844 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback() 1457 target->endp = endp; in ftdi_elan_edset_setup() 1522 target->endp = endp; in ftdi_elan_edset_input() 1579 target->endp = endp; in ftdi_elan_edset_empty() 1658 target->endp = endp; in ftdi_elan_edset_output() 1723 target->endp = endp; in ftdi_elan_edset_single() 1752 void *endp) in ftdi_elan_edset_flush() argument 1798 void *endp) in usb_ftdi_elan_edset_flush() argument [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| A D | string.c | 84 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 103 if (endp) in simple_strtoull() 104 *endp = (char *)cp; in simple_strtoull() 109 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument 112 return -simple_strtoull(cp + 1, endp, base); in simple_strtol() 114 return simple_strtoull(cp, endp, base); in simple_strtol()
|
| /linux/arch/s390/boot/ |
| A D | string.c | 71 unsigned long long simple_strtoull(const char *cp, char **endp, in simple_strtoull() argument 91 if (endp) in simple_strtoull() 92 *endp = (char *)cp; in simple_strtoull() 97 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument 100 return -simple_strtoull(cp + 1, endp, base); in simple_strtol() 102 return simple_strtoull(cp, endp, base); in simple_strtol()
|
| A D | ipl_parm.c | 210 char *endp; in modify_fac_list() local 219 val = simple_strtoull(str, &endp, 0); in modify_fac_list() 220 if (str == endp) in modify_fac_list() 222 str = endp; in modify_fac_list() 225 endval = simple_strtoull(str, &endp, 0); in modify_fac_list() 226 if (str == endp) in modify_fac_list() 228 str = endp; in modify_fac_list()
|
| A D | pgm_check_info.c | 40 char *endp; in findsym() local 44 start = simple_strtoull(pivot, &endp, 16); in findsym() 45 size = simple_strtoull(endp + 1, &endp, 16); in findsym() 56 return endp + 1; in findsym()
|
| /linux/drivers/mtd/devices/ |
| A D | block2mtd.c | 332 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument 334 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() 335 switch (**endp) { in ustrtoul() 346 if ((*endp)[1] == 'i') { in ustrtoul() 347 if ((*endp)[2] == 'B') in ustrtoul() 348 (*endp) += 3; in ustrtoul() 350 (*endp) += 2; in ustrtoul() 359 char *endp; in parse_num() local 362 n = (size_t) ustrtoul(token, &endp, 0); in parse_num() 363 if (*endp) in parse_num()
|
| /linux/arch/powerpc/platforms/pseries/ |
| A D | lparcfg.c | 658 char *endp; in lparcfg_write() local 659 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 660 if (endp == tmp) in lparcfg_write() 665 char *endp; in lparcfg_write() local 666 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 667 if (endp == tmp) in lparcfg_write() 672 char *endp; in lparcfg_write() local 674 if (endp == tmp) in lparcfg_write() 679 char *endp; in lparcfg_write() local 680 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); in lparcfg_write() [all …]
|
| /linux/arch/x86/boot/ |
| A D | string.c | 120 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 139 if (endp) in simple_strtoull() 140 *endp = (char *)cp; in simple_strtoull() 145 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument 148 return -simple_strtoull(cp + 1, endp, base); in simple_strtol() 150 return simple_strtoull(cp, endp, base); in simple_strtol()
|
| /linux/init/ |
| A D | do_mounts_initrd.c | 35 char *endp; in early_initrdmem() local 37 start = memparse(p, &endp); in early_initrdmem() 38 if (*endp == ',') { in early_initrdmem() 39 size = memparse(endp + 1, NULL); in early_initrdmem()
|
| /linux/tools/power/x86/x86_energy_perf_policy/ |
| A D | x86_energy_perf_policy.c | 378 char *startp, *endp; in parse_cmdline_cpu() local 402 if (startp == endp) in parse_cmdline_cpu() 411 startp = endp; in parse_cmdline_cpu() 447 if (startp == endp) in parse_cmdline_cpu() 452 startp = endp; in parse_cmdline_cpu() 461 char *startp, *endp; in parse_cmdline_pkg() local 482 if (startp == endp) in parse_cmdline_pkg() 491 startp = endp; in parse_cmdline_pkg() 504 startp = endp; in parse_cmdline_pkg() 850 char *endp; in get_epb() local [all …]
|
| /linux/tools/power/cpupower/lib/ |
| A D | cpupower.c | 74 char *endp; in cpupower_is_cpu_online() local 102 value = strtoull(linebuf, &endp, 0); in cpupower_is_cpu_online() 113 char *endp; in sysfs_topology_read_file() local 120 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file() 121 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
|
| /linux/drivers/macintosh/ |
| A D | windfarm_core.c | 196 char *endp; in wf_store_control() local 198 val = simple_strtoul(buf, &endp, 0); in wf_store_control() 199 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) in wf_store_control() 200 ++endp; in wf_store_control() 201 if (endp - buf < count) in wf_store_control()
|
| /linux/arch/riscv/include/asm/ |
| A D | set_memory.h | 19 static __always_inline int set_kernel_memory(char *startp, char *endp, in set_kernel_memory() argument 24 unsigned long end = (unsigned long)endp; in set_kernel_memory() 35 static inline int set_kernel_memory(char *startp, char *endp, in set_kernel_memory() argument
|
| /linux/drivers/s390/char/ |
| A D | sclp_cpi_sys.c | 333 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()
|
| /linux/tools/power/cpupower/utils/helpers/ |
| A D | misc.c | 52 char *endp; in cpupower_intel_get_perf_bias() local 62 val = strtol(linebuf, &endp, 0); in cpupower_intel_get_perf_bias() 63 if (endp == linebuf || errno == ERANGE) in cpupower_intel_get_perf_bias()
|
| A D | sysfs.c | 54 char *endp; in sysfs_is_cpu_online() local 82 value = strtoull(linebuf, &endp, 0); in sysfs_is_cpu_online() 210 char *endp; in sysfs_idlestate_get_one_value() local 221 value = strtoull(linebuf, &endp, 0); in sysfs_idlestate_get_one_value() 223 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
|
| /linux/arch/arm/mach-mvebu/ |
| A D | board-v7.c | 73 const __be32 *reg, *endp; in mvebu_scan_mem() local 85 endp = reg + (l / sizeof(__be32)); in mvebu_scan_mem() 86 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in mvebu_scan_mem()
|
| /linux/arch/arm/boot/compressed/ |
| A D | fdt_check_mem_start.c | 67 const fdt32_t *usable, *reg, *endp; in fdt_check_mem_start() local 118 for (endp = reg + (len / sizeof(fdt32_t)); in fdt_check_mem_start() 119 endp - reg >= addr_cells + size_cells; in fdt_check_mem_start()
|
| /linux/scripts/kconfig/ |
| A D | conf.c | 93 char *endp; in set_randconfig_seed() local 95 seed = strtol(env, &endp, 0); in set_randconfig_seed() 96 if (*endp == '\0') in set_randconfig_seed() 191 char *endp; in conf_set_all_new_symbols() local 192 int tmp = strtol(env, &endp, 10); in conf_set_all_new_symbols() 201 env = (*endp == ':') ? endp + 1 : endp; in conf_set_all_new_symbols()
|
| /linux/drivers/media/tuners/ |
| A D | tuner-xc2028.c | 305 const unsigned char *p, *endp; in load_all_firmwares() local 313 endp = p + fw->size; in load_all_firmwares() 344 while (p < endp) { in load_all_firmwares() 368 if (endp - p < sizeof(size)) in load_all_firmwares() 375 if (!size || size > endp - p) { in load_all_firmwares() 547 unsigned char *p, *endp, buf[MAX_XFER_SIZE]; in load_firmware() local 564 endp = p + priv->firm[pos].size; in load_firmware() 566 while (p < endp) { in load_firmware() 570 if (p + sizeof(size) > endp) { in load_firmware() 616 if ((size + p > endp)) { in load_firmware() [all …]
|
| /linux/arch/arm/mach-shmobile/ |
| A D | setup-rcar-gen2.c | 135 const __be32 *reg, *endp; in rcar_gen2_scan_mem() local 150 endp = reg + (l / sizeof(__be32)); in rcar_gen2_scan_mem() 151 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in rcar_gen2_scan_mem()
|
| /linux/drivers/net/usb/ |
| A D | ipheth.c | 434 struct usb_endpoint_descriptor *endp; in ipheth_probe() local 462 endp = &hintf->endpoint[i].desc; in ipheth_probe() 463 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe() 464 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe() 465 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe() 466 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
|