/drivers/parport/ |
D | procfs.c | 37 void *result, size_t *lenp, loff_t *ppos) in do_active_device() argument 48 *lenp = 0; in do_active_device() 62 if (len > *lenp) in do_active_device() 63 len = *lenp; in do_active_device() 65 *lenp = len; in do_active_device() 74 void *result, size_t *lenp, loff_t *ppos) in do_autoprobe() argument 85 *lenp = 0; in do_autoprobe() 104 if (len > *lenp) in do_autoprobe() 105 len = *lenp; in do_autoprobe() 107 *lenp = len; in do_autoprobe() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | xtlv.c | 45 u8 *lenp = idp + sizeof(xtlv->id); in brcmf_xtlv_pack_header() local 48 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header() 49 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 52 u8 *lenp = idp + 1; in brcmf_xtlv_pack_header() local 55 *lenp = (u8)len; in brcmf_xtlv_pack_header() 56 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header() 59 u8 *lenp = idp + 1; in brcmf_xtlv_pack_header() local 62 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header() 63 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 66 u8 *lenp = idp + sizeof(u16); in brcmf_xtlv_pack_header() local [all …]
|
/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 481 int lenp, rc; in pmac_cpufreq_init_MacRISC3() local 484 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3() 485 lenp /= sizeof(u32); in pmac_cpufreq_init_MacRISC3() 486 if (freqs == NULL || lenp != 2) { in pmac_cpufreq_init_MacRISC3()
|
/drivers/macintosh/ |
D | mac_hid.c | 186 void *buffer, size_t *lenp, loff_t *ppos) in mac_hid_toggle_emumouse() argument 196 rc = proc_dointvec(table, write, buffer, lenp, ppos); in mac_hid_toggle_emumouse()
|
/drivers/of/ |
D | base.c | 192 const char *name, int *lenp) in __of_find_property() argument 201 if (lenp) in __of_find_property() 202 *lenp = pp->length; in __of_find_property() 212 int *lenp) in of_find_property() argument 218 pp = __of_find_property(np, name, lenp); in of_find_property() 269 const char *name, int *lenp) in __of_get_property() argument 271 struct property *pp = __of_find_property(np, name, lenp); in __of_get_property() 281 int *lenp) in of_get_property() argument 283 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
|
D | of_private.h | 128 const char *name, int *lenp);
|
/drivers/tty/ |
D | moxa.c | 1037 unsigned int a, lenp, lencnt; in moxa_load_fw() local 1089 lenp = 0; /* bios */ in moxa_load_fw() 1093 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw() 1098 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw() 1099 lenp += 2; /* comm */ in moxa_load_fw() 1102 ret = moxa_load_320b(brd, ptr, lens[lenp]); in moxa_load_fw() 1106 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw() 1107 lenp += 2; in moxa_load_fw() 1110 ret = moxa_load_code(brd, ptr, lens[lenp]); in moxa_load_fw()
|
/drivers/crypto/nx/ |
D | nx.c | 363 unsigned int bytes_so_far, i, lenp; in nx_of_update_msc() local 366 lenp = p->length; in nx_of_update_msc() 374 while ((bytes_so_far + sizeof(struct max_sync_cop)) <= lenp) { in nx_of_update_msc() 380 ((bytes_so_far + sizeof(struct msc_triplet)) <= lenp) && in nx_of_update_msc()
|
/drivers/char/ |
D | random.c | 1554 size_t *lenp, loff_t *ppos) in proc_do_uuid() argument 1580 return proc_dostring(&fake_table, 0, buf, lenp, ppos); in proc_do_uuid() 1585 size_t *lenp, loff_t *ppos) in proc_do_rointvec() argument 1587 return write ? 0 : proc_dointvec(table, 0, buf, lenp, ppos); in proc_do_rointvec()
|
/drivers/regulator/ |
D | qcom_spmi-regulator.c | 2385 int ret, lenp; in qcom_spmi_regulator_probe() local 2402 if (of_find_property(node, "qcom,saw-reg", &lenp)) { in qcom_spmi_regulator_probe() 2415 &lenp); in qcom_spmi_regulator_probe() 2452 &lenp); in qcom_spmi_regulator_probe()
|
/drivers/cdrom/ |
D | cdrom.c | 3491 void *buffer, size_t *lenp, loff_t *ppos) in cdrom_sysctl_info() argument 3497 if (!*lenp || (*ppos && !write)) { in cdrom_sysctl_info() 3498 *lenp = 0; in cdrom_sysctl_info() 3567 return proc_dostring(ctl, write, buffer, lenp, ppos); in cdrom_sysctl_info() 3604 void *buffer, size_t *lenp, loff_t *ppos) in cdrom_sysctl_handler() argument 3608 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in cdrom_sysctl_handler()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_port.c | 1750 int err = 0, lenp; in fman_port_probe() local 1797 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe() 1810 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
|
/drivers/net/ethernet/ti/ |
D | cpsw.c | 1295 int lenp; in cpsw_probe_dt() local 1315 parp = of_get_property(slave_node, "phy_id", &lenp); in cpsw_probe_dt() 1335 if (lenp != (sizeof(__be32) * 2)) { in cpsw_probe_dt()
|
/drivers/net/ |
D | vrf.c | 1932 void *buffer, size_t *lenp, loff_t *ppos) in vrf_shared_table_handler() argument 1950 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in vrf_shared_table_handler()
|
/drivers/block/ |
D | rbd.c | 6240 static inline char *dup_token(const char **buf, size_t *lenp) in dup_token() argument 6252 if (lenp) in dup_token() 6253 *lenp = len; in dup_token()
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 5237 static int append_str(char *buf, char **curp, int *lenp, const char *s) in append_str() argument 5240 int len = *lenp; in append_str() 5267 *lenp = len; in append_str()
|