/Linux-v6.1/drivers/usb/host/ |
D | u132-hcd.c | 201 struct u132_endp *endp[MAX_U132_ENDPS]; member 328 struct u132_endp *endp = kref_to_u132_endp(kref); in u132_endp_delete() local 329 struct u132 *u132 = endp->u132; in u132_endp_delete() 330 u8 usb_addr = endp->usb_addr; in u132_endp_delete() 331 u8 usb_endp = endp->usb_endp; in u132_endp_delete() 334 u8 endp_number = endp->endp_number; in u132_endp_delete() 335 struct usb_host_endpoint *hep = endp->hep; in u132_endp_delete() 336 struct u132_ring *ring = endp->ring; in u132_endp_delete() 337 struct list_head *head = &endp->endp_ring; in u132_endp_delete() 339 if (endp == ring->curr_endp) { in u132_endp_delete() [all …]
|
/Linux-v6.1/drivers/media/i2c/ccs/ |
D | ccs-data.c | 54 #define is_contained(var, endp) \ argument 55 (sizeof(*var) <= (endp) - (void *)(var)) 56 #define has_headroom(ptr, headroom, endp) \ argument 57 ((headroom) <= (endp) - (void *)(ptr)) 58 #define is_contained_with_headroom(var, headroom, endp) \ argument 59 (sizeof(*var) + (headroom) <= (endp) - (void *)(var)) 64 const void *endp) in ccs_data_parse_length_specifier() argument 68 if (!is_contained(__len, endp)) in ccs_data_parse_length_specifier() 80 if (!is_contained(__len2, endp)) in ccs_data_parse_length_specifier() 93 if (!is_contained(__len3, endp)) in ccs_data_parse_length_specifier() [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
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 …]
|
D | ftdi-elan.c | 126 void *endp; member 138 void (*callback)(void *endp, struct urb *urb, u8 *buf, int len, 845 (*callback) (target->endp, urb, buffer, length, toggle_bits, in ftdi_elan_do_callback() 1430 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_setup() argument 1431 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in ftdi_elan_edset_setup() 1457 target->endp = endp; in ftdi_elan_edset_setup() 1473 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument 1474 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup() 1479 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup() 1486 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_input() argument [all …]
|
/Linux-v6.1/drivers/firmware/efi/libstub/ |
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-v6.1/arch/s390/boot/ |
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()
|
D | ipl_parm.c | 217 char *endp; in modify_fac_list() local 226 val = simple_strtoull(str, &endp, 0); in modify_fac_list() 227 if (str == endp) in modify_fac_list() 229 str = endp; in modify_fac_list() 232 endval = simple_strtoull(str, &endp, 0); in modify_fac_list() 233 if (str == endp) in modify_fac_list() 235 str = endp; in modify_fac_list()
|
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-v6.1/drivers/mtd/devices/ |
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-v6.1/tools/testing/selftests/gpio/ |
D | gpio-line-name.c | 26 char *endp; in main() local 40 info.offset = strtoul(argv[2], &endp, 10); in main() 41 if (*endp != '\0') { in main()
|
/Linux-v6.1/tools/power/cpupower/lib/ |
D | acpi_cppc.c | 43 char *endp; in acpi_cppc_get_data() local 53 value = strtoull(linebuf, &endp, 0); in acpi_cppc_get_data() 55 if (endp == linebuf || errno == ERANGE) in acpi_cppc_get_data()
|
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-v6.1/init/ |
D | do_mounts_initrd.c | 55 char *endp; in early_initrdmem() local 57 start = memparse(p, &endp); in early_initrdmem() 58 if (*endp == ',') { in early_initrdmem() 59 size = memparse(endp + 1, NULL); in early_initrdmem()
|
/Linux-v6.1/arch/x86/boot/ |
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()
|
D | string.h | 28 extern unsigned long long simple_strtoull(const char *cp, char **endp, 30 long simple_strtol(const char *cp, char **endp, unsigned int base);
|
/Linux-v6.1/arch/riscv/include/asm/ |
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-v6.1/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 746 char *endp; in lparcfg_write() local 747 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 748 if (endp == tmp) in lparcfg_write() 763 char *endp; in lparcfg_write() local 764 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 765 if (endp == tmp) in lparcfg_write() 770 char *endp; in lparcfg_write() local 771 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write() 772 if (endp == tmp) in lparcfg_write() 777 char *endp; in lparcfg_write() local [all …]
|
/Linux-v6.1/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 378 char *startp, *endp; in parse_cmdline_cpu() local 401 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu() 402 if (startp == endp) in parse_cmdline_cpu() 411 startp = endp; in parse_cmdline_cpu() 446 cpu = strtol(startp, &endp, 10); 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 481 end_pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg() 482 if (startp == endp) in parse_cmdline_pkg() [all …]
|
/Linux-v6.1/drivers/macintosh/ |
D | windfarm_core.c | 194 char *endp; in wf_store_control() local 196 val = simple_strtoul(buf, &endp, 0); in wf_store_control() 197 while (endp < buf + count && (*endp == ' ' || *endp == '\n')) in wf_store_control() 198 ++endp; in wf_store_control() 199 if (endp - buf < count) in wf_store_control()
|
/Linux-v6.1/drivers/s390/char/ |
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-v6.1/tools/power/cpupower/utils/helpers/ |
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()
|
D | misc.c | 56 char *endp; in cpupower_intel_get_perf_bias() local 66 val = strtol(linebuf, &endp, 0); in cpupower_intel_get_perf_bias() 67 if (endp == linebuf || errno == ERANGE) in cpupower_intel_get_perf_bias()
|
/Linux-v6.1/arch/arm/mach-mvebu/ |
D | board-v7.c | 70 const __be32 *reg, *endp; in mvebu_scan_mem() local 82 endp = reg + (l / sizeof(__be32)); in mvebu_scan_mem() 83 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in mvebu_scan_mem()
|
/Linux-v6.1/arch/arm/boot/compressed/ |
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-v6.1/arch/arm/mach-shmobile/ |
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()
|