Home
last modified time | relevance | path

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

12

/drivers/media/i2c/ccs/
A Dccs-data.c65 const void *endp) in ccs_data_parse_length_specifier() argument
69 if (!is_contained(__len, endp)) in ccs_data_parse_length_specifier()
139 if (v + 1 != endp) in ccs_data_parse_version()
187 endp); in ccs_data_block_parse_header()
233 if (!is_contained(r, endp)) in ccs_data_parse_regs()
250 if (!is_contained(r2, endp)) in ccs_data_parse_regs()
400 if (__entry != endp) in ccs_data_parse_ffd()
428 __pdaf + 1, endp, dev); in ccs_data_parse_pdaf_readout()
448 while (__next_rule < endp) { in ccs_data_parse_rules()
794 if (__end + 1 != endp) { in ccs_data_parse_end()
[all …]
/drivers/firmware/efi/libstub/
A Dstring.c133 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument
152 if (endp) in simple_strtoull()
153 *endp = (char *)cp; in simple_strtoull()
158 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument
161 return -simple_strtoull(cp + 1, endp, base); in simple_strtol()
163 return simple_strtoull(cp, endp, base); in simple_strtol()
/drivers/mtd/devices/
A Dblock2mtd.c353 static int ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
355 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
356 switch (**endp) { in ustrtoul()
367 if ((*endp)[1] == 'i') { in ustrtoul()
368 if ((*endp)[2] == 'B') in ustrtoul()
369 (*endp) += 3; in ustrtoul()
371 (*endp) += 2; in ustrtoul()
380 char *endp; in parse_num() local
383 n = (size_t) ustrtoul(token, &endp, 0); in parse_num()
384 if (*endp) in parse_num()
/drivers/macintosh/
A Dwindfarm_core.c194 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()
/drivers/s390/char/
A 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()
/drivers/gpio/
A Dgpiolib-acpi-quirks.c78 char *endp; in acpi_gpio_in_ignore_list() local
101 pin = simple_strtoul(pin_str + 1, &endp, 10); in acpi_gpio_in_ignore_list()
102 if (*endp != 0 && *endp != ',') in acpi_gpio_in_ignore_list()
/drivers/media/tuners/
A Dxc2028.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()
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 …]
A Dxc4000.c707 const unsigned char *p, *endp; in xc4000_fwupload() local
744 endp = p + fw->size; in xc4000_fwupload()
775 while (p < endp) { in xc4000_fwupload()
787 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) in xc4000_fwupload()
799 if (endp - p < sizeof(size)) in xc4000_fwupload()
806 if (!size || size > endp - p) { in xc4000_fwupload()
809 endp - p, size); in xc4000_fwupload()
/drivers/video/fbdev/
A Dsh_mobile_lcdcfb.c1201 char *endp; in overlay_alpha_store() local
1204 if (isspace(*endp)) in overlay_alpha_store()
1205 endp++; in overlay_alpha_store()
1239 char *endp; in overlay_mode_store() local
1243 endp++; in overlay_mode_store()
1277 char *endp; in overlay_position_store() local
1282 if (*endp != ',') in overlay_position_store()
1285 pos_y = simple_strtol(endp + 1, &endp, 10); in overlay_position_store()
1287 endp++; in overlay_position_store()
1319 char *endp; in overlay_rop3_store() local
[all …]
/drivers/net/usb/
A Dipheth.c577 struct usb_endpoint_descriptor *endp; in ipheth_probe() local
607 endp = &hintf->endpoint[i].desc; in ipheth_probe()
608 if (usb_endpoint_is_bulk_in(endp)) in ipheth_probe()
609 dev->bulk_in = endp->bEndpointAddress; in ipheth_probe()
610 else if (usb_endpoint_is_bulk_out(endp)) in ipheth_probe()
611 dev->bulk_out = endp->bEndpointAddress; in ipheth_probe()
A Dhso.c187 struct usb_endpoint_descriptor *endp; member
1425 tiocmget->endp-> in tiocmget_submit_urb()
1430 tiocmget->endp->bInterval); in tiocmget_submit_urb()
2639 tiocmget->endp = hso_get_ep(interface, in hso_create_bulk_serial_device()
2642 if (!tiocmget->endp) { in hso_create_bulk_serial_device()
3145 struct usb_endpoint_descriptor *endp; in hso_get_ep() local
3148 endp = &iface->endpoint[i].desc; in hso_get_ep()
3149 if (((endp->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == dir) && in hso_get_ep()
3150 (usb_endpoint_type(endp) == type)) in hso_get_ep()
3151 return endp; in hso_get_ep()
/drivers/spi/
A Dspi-tle62x0.c154 char *endp; in tle62x0_gpio_store() local
156 val = simple_strtoul(buf, &endp, 0); in tle62x0_gpio_store()
157 if (buf == endp) in tle62x0_gpio_store()
/drivers/mtd/ubi/
A Dbuild.c1214 char *endp; in open_mtd_device() local
1216 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1217 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1434 char *endp; in bytes_str_to_int() local
1437 result = simple_strtoul(str, &endp, 0); in bytes_str_to_int()
1438 if (str == endp || result >= INT_MAX) { in bytes_str_to_int()
1443 switch (*endp) { in bytes_str_to_int()
/drivers/of/
A Dfdt.c852 const __be32 *prop, *endp; in early_init_dt_check_for_usable_mem_range() local
865 endp = prop + (len / sizeof(__be32)); in early_init_dt_check_for_usable_mem_range()
866 for (i = 0; i < MAX_USABLE_RANGES && prop < endp; i++) { in early_init_dt_check_for_usable_mem_range()
1005 const __be32 *reg, *endp; in early_init_dt_scan_memory() local
1022 endp = reg + (l / sizeof(__be32)); in early_init_dt_scan_memory()
1028 while ((endp - reg) >= (dt_root_addr_cells + dt_root_size_cells)) { in early_init_dt_scan_memory()
/drivers/mtd/
A Dmtdoops.c408 char *endp; in mtdoops_init() local
425 mtd_index = simple_strtoul(mtddev, &endp, 0); in mtdoops_init()
426 if (*endp == '\0') in mtdoops_init()
/drivers/clk/sunxi/
A Dclk-sunxi.c964 char *endp; in sunxi_divs_clk_setup() local
968 endp = strchr(clk_name, '_'); in sunxi_divs_clk_setup()
969 if (endp) { in sunxi_divs_clk_setup()
970 derived_name = kstrndup(clk_name, endp - clk_name, in sunxi_divs_clk_setup()
/drivers/scsi/
A Dscsi_transport_spi.c448 char *endp; in store_spi_transport_period_helper() local
450 picosec = simple_strtoul(buf, &endp, 10) * 1000; in store_spi_transport_period_helper()
451 if (*endp == '.') { in store_spi_transport_period_helper()
454 endp++; in store_spi_transport_period_helper()
455 if (!isdigit(*endp)) in store_spi_transport_period_helper()
457 picosec += (*endp - '0') * mult; in store_spi_transport_period_helper()
/drivers/usb/storage/
A Dtransport.c230 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() local
233 endp |= USB_DIR_IN; in usb_stor_clear_halt()
237 USB_ENDPOINT_HALT, endp, in usb_stor_clear_halt()
241 usb_reset_endpoint(us->pusb_dev, endp); in usb_stor_clear_halt()
/drivers/char/ipmi/
A Dipmi_watchdog.c179 char *endp; in set_param_timeout() local
185 l = simple_strtoul(val, &endp, 0); in set_param_timeout()
186 if (endp == val) in set_param_timeout()
/drivers/usb/serial/
A Dkeyspan.c2882 int endp; in keyspan_port_probe() local
2921 endp = d_details->indat_endpoints[port_num]; in keyspan_port_probe()
2922 for (i = 0; i <= d_details->indat_endp_flip; ++i, ++endp) { in keyspan_port_probe()
2923 p_priv->in_urbs[i] = keyspan_setup_urb(serial, endp, in keyspan_port_probe()
2930 endp = d_details->outdat_endpoints[port_num]; in keyspan_port_probe()
2931 for (i = 0; i <= d_details->outdat_endp_flip; ++i, ++endp) { in keyspan_port_probe()
2932 p_priv->out_urbs[i] = keyspan_setup_urb(serial, endp, in keyspan_port_probe()
/drivers/pci/hotplug/
A Dcpqphp_core.c86 void __iomem *endp; in detect_SMBIOS_pointer() local
90 endp = (end - sizeof(u32) + 1); in detect_SMBIOS_pointer()
92 for (fp = begin; fp <= endp; fp += 16) { in detect_SMBIOS_pointer()
A Dcpqphp_pci.c45 void __iomem *endp; in detect_HRT_floating_pointer() local
49 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer()
51 for (fp = begin; fp <= endp; fp += 16) { in detect_HRT_floating_pointer()
/drivers/block/
A Damiflop.c782 ushort *ptr = (ushort *)raw, *endp = (ushort *)end; in scan_sync() local
784 while (ptr < endp && *ptr++ != 0x4489) in scan_sync()
786 if (ptr < endp) { in scan_sync()
787 while (*ptr == 0x4489 && ptr < endp) in scan_sync()
/drivers/usb/core/
A Dmessage.c1210 int endp = usb_pipeendpoint(pipe); in usb_clear_halt() local
1213 endp |= USB_DIR_IN; in usb_clear_halt()
1221 USB_ENDPOINT_HALT, endp, NULL, 0, in usb_clear_halt()
1236 usb_reset_endpoint(dev, endp); in usb_clear_halt()
/drivers/ata/
A Dlibata-core.c6466 char *id, *val, *endp; in ata_parse_force_one() local
6496 force_ent->device = simple_strtoul(p, &endp, 10); in ata_parse_force_one()
6497 if (p == endp || *endp != '\0') { in ata_parse_force_one()
6503 force_ent->port = simple_strtoul(id, &endp, 10); in ata_parse_force_one()
6504 if (id == endp || *endp != '\0') { in ata_parse_force_one()

Completed in 100 milliseconds

12