Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 83) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/usb/host/
Du132-hcd.c201 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 …]
/kernel/linux/linux-5.10/drivers/usb/misc/
Dusb_u132.h68 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 …]
Dftdi-elan.c126 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()
1458 target->endp = endp; in ftdi_elan_edset_setup()
1474 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in usb_ftdi_elan_edset_setup() argument
1475 void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, in usb_ftdi_elan_edset_setup()
1480 return ftdi_elan_edset_setup(ftdi, ed_number, endp, urb, address, in usb_ftdi_elan_edset_setup()
1487 void *endp, struct urb *urb, u8 address, u8 ep_number, u8 toggle_bits, in ftdi_elan_edset_input() argument
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dstring.c84 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()
/kernel/linux/linux-5.10/arch/s390/boot/
Dstring.c70 unsigned long long simple_strtoull(const char *cp, char **endp, in simple_strtoull() argument
90 if (endp) in simple_strtoull()
91 *endp = (char *)cp; in simple_strtoull()
96 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument
99 return -simple_strtoull(cp + 1, endp, base); in simple_strtol()
101 return simple_strtoull(cp, endp, base); in simple_strtol()
Dipl_parm.c197 char *endp; in modify_fac_list() local
206 val = simple_strtoull(str, &endp, 0); in modify_fac_list()
207 if (str == endp) in modify_fac_list()
209 str = endp; in modify_fac_list()
212 endval = simple_strtoull(str, &endp, 0); in modify_fac_list()
213 if (str == endp) in modify_fac_list()
215 str = endp; in modify_fac_list()
/kernel/linux/linux-5.10/init/
Ddo_mounts_initrd.c35 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()
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dblock2mtd.c326 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
328 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
329 switch (**endp) { in ustrtoul()
340 if ((*endp)[1] == 'i') { in ustrtoul()
341 if ((*endp)[2] == 'B') in ustrtoul()
342 (*endp) += 3; in ustrtoul()
344 (*endp) += 2; in ustrtoul()
353 char *endp; in parse_num() local
356 n = (size_t) ustrtoul(token, &endp, 0); in parse_num()
357 if (*endp) in parse_num()
/kernel/linux/linux-5.10/tools/power/cpupower/lib/
Dcpupower.c53 char *endp; in cpupower_is_cpu_online() local
81 value = strtoull(linebuf, &endp, 0); in cpupower_is_cpu_online()
92 char *endp; in sysfs_topology_read_file() local
99 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file()
100 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
Dcpuidle.c140 char *endp; in cpuidle_state_get_one_value() local
151 value = strtoull(linebuf, &endp, 0); in cpuidle_state_get_one_value()
153 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
/kernel/linux/linux-5.10/arch/x86/boot/
Dstring.c120 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dlparcfg.c656 char *endp; in lparcfg_write() local
657 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write()
658 if (endp == tmp) in lparcfg_write()
663 char *endp; in lparcfg_write() local
664 *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); in lparcfg_write()
665 if (endp == tmp) in lparcfg_write()
670 char *endp; in lparcfg_write() local
671 *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); in lparcfg_write()
672 if (endp == tmp) in lparcfg_write()
677 char *endp; in lparcfg_write() local
[all …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_core.c196 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
Dsysfs.c54 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()
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dboard-v7.c73 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()
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c375 char *startp, *endp; in parse_cmdline_cpu() local
398 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
399 if (startp == endp) in parse_cmdline_cpu()
408 startp = endp; in parse_cmdline_cpu()
443 cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
444 if (startp == endp) in parse_cmdline_cpu()
449 startp = endp; in parse_cmdline_cpu()
458 char *startp, *endp; in parse_cmdline_pkg() local
478 end_pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
479 if (startp == endp) in parse_cmdline_pkg()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c135 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()
/kernel/linux/linux-5.10/lib/
Dparser.c128 char *endp; in match_number() local
138 val = simple_strtol(buf, &endp, base); in match_number()
139 if (endp == buf) in match_number()
Ddigsig.c80 const uint8_t *endp; in digsig_verify_rsa() local
108 endp = ukp->data + ukp->datalen; in digsig_verify_rsa()
111 unsigned int remaining = endp - datap; in digsig_verify_rsa()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dtuner-xc2028.c305 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()
356 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in load_all_firmwares()
368 if (endp - p < sizeof(size)) in load_all_firmwares()
375 if (!size || size > endp - p) { in load_all_firmwares()
380 type, (unsigned long long)id, (endp - p), size); 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()
[all …]
/kernel/linux/linux-5.10/drivers/net/usb/
Dipheth.c434 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()
/kernel/linux/linux-5.10/arch/x86/lib/
Datomic64_386_32.S22 .macro endp; \
24 .purgem endp; \
29 #define ENDP endp
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dbuild.c1170 char *endp; in open_mtd_device() local
1172 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1173 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1329 char *endp; in bytes_str_to_int() local
1332 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int()
1333 if (str == endp || result >= INT_MAX) { in bytes_str_to_int()
1338 switch (*endp) { in bytes_str_to_int()
1347 if (endp[1] == 'i' && endp[2] == 'B') in bytes_str_to_int()
1348 endp += 2; in bytes_str_to_int()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c1208 char *endp; in overlay_alpha_store() local
1210 alpha = simple_strtoul(buf, &endp, 10); in overlay_alpha_store()
1211 if (isspace(*endp)) in overlay_alpha_store()
1212 endp++; in overlay_alpha_store()
1214 if (endp - buf != count) in overlay_alpha_store()
1246 char *endp; in overlay_mode_store() local
1248 mode = simple_strtoul(buf, &endp, 10); in overlay_mode_store()
1249 if (isspace(*endp)) in overlay_mode_store()
1250 endp++; in overlay_mode_store()
1252 if (endp - buf != count) in overlay_mode_store()
[all …]

1234