Home
last modified time | relevance | path

Searched refs:pname (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v5.4/drivers/regulator/
Dti-abb-regulator.c414 char *pname = "ti,settling-time"; in ti_abb_init_timings() local
417 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); in ti_abb_init_timings()
419 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings()
425 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings()
429 pname = "ti,clock-cycles"; in ti_abb_init_timings()
430 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); in ti_abb_init_timings()
432 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings()
437 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings()
501 char *pname = "ti,abb_info"; in ti_abb_init_table() local
512 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table()
[all …]
/Linux-v5.4/drivers/clk/samsung/
Dclk.h67 #define FRATE(_id, cname, pname, f, frate) \ argument
71 .parent_name = pname, \
94 #define FFACTOR(_id, cname, pname, m, d, f) \ argument
98 .parent_name = pname, \
169 #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ argument
173 .parent_name = pname, \
182 #define DIV(_id, cname, pname, o, s, w) \ argument
183 __DIV(_id, cname, pname, o, s, w, 0, 0, NULL)
185 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ argument
186 __DIV(_id, cname, pname, o, s, w, f, df, NULL)
[all …]
Dclk-s3c64xx.c48 #define GATE_BUS(_id, cname, pname, o, b) \ argument
49 GATE(_id, cname, pname, o, b, 0, 0)
50 #define GATE_SCLK(_id, cname, pname, o, b) \ argument
51 GATE(_id, cname, pname, o, b, CLK_SET_RATE_PARENT, 0)
52 #define GATE_ON(_id, cname, pname, o, b) \ argument
53 GATE(_id, cname, pname, o, b, CLK_IGNORE_UNUSED, 0)
/Linux-v5.4/drivers/video/fbdev/nvidia/
Dnv_of.c42 const char *pname; in nvidia_probe_of_connector() local
47 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector()
48 if (!pname) in nvidia_probe_of_connector()
50 len = strlen(pname); in nvidia_probe_of_connector()
51 if ((pname[len-1] == 'A' && conn == 1) || in nvidia_probe_of_connector()
52 (pname[len-1] == 'B' && conn == 2)) { in nvidia_probe_of_connector()
/Linux-v5.4/drivers/clk/rockchip/
Dclk.h468 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument
474 .parent_names = (const char *[]){ pname }, \
486 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ argument
492 .parent_names = (const char *[]){ pname }, \
562 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ argument
567 .parent_names = (const char *[]){ pname }, \
579 #define COMPOSITE_FRACMUX(_id, cname, pname, f, mo, df, go, gs, gf, ch) \ argument
584 .parent_names = (const char *[]){ pname }, \
597 #define COMPOSITE_FRACMUX_NOGATE(_id, cname, pname, f, mo, df, ch) \ argument
602 .parent_names = (const char *[]){ pname }, \
[all …]
/Linux-v5.4/kernel/bpf/
Dinode.c425 struct filename *pname; in bpf_obj_pin_user() local
430 pname = getname(pathname); in bpf_obj_pin_user()
431 if (IS_ERR(pname)) in bpf_obj_pin_user()
432 return PTR_ERR(pname); in bpf_obj_pin_user()
440 ret = bpf_obj_do_pin(pname, raw, type); in bpf_obj_pin_user()
444 putname(pname); in bpf_obj_pin_user()
483 struct filename *pname; in bpf_obj_get_user() local
492 pname = getname(pathname); in bpf_obj_get_user()
493 if (IS_ERR(pname)) in bpf_obj_get_user()
494 return PTR_ERR(pname); in bpf_obj_get_user()
[all …]
/Linux-v5.4/scripts/package/
Dbuilddeb28 local pname="$1" pdir="$2"
31 mkdir -p "$pdir/usr/share/doc/$pname"
32 cp debian/copyright "$pdir/usr/share/doc/$pname/"
33 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
34 gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
45 dpkg-gencontrol -p$pname -P"$pdir"
/Linux-v5.4/arch/sparc/prom/
Dtree_64.c329 prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument
335 if ((pname == 0) || (value == 0)) in prom_setprop()
340 ldom_set_var(pname, value); in prom_setprop()
348 args[4] = (unsigned long) pname; in prom_setprop()
Dtree_32.c281 int prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument
288 if ((pname == NULL) || (value == NULL)) in prom_setprop()
291 ret = prom_nodeops->no_setprop(node, pname, value, size); in prom_setprop()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_drv.c49 const char *pname = dev_name(&pdev->dev); in virtio_gpu_pci_quirk() local
55 pname); in virtio_gpu_pci_quirk()
93 snprintf(unique, sizeof(unique), "pci:%s", pname); in virtio_gpu_pci_quirk()
/Linux-v5.4/drivers/i2c/busses/
Di2c-opal.c199 const char *pname; in i2c_opal_probe() local
221 pname = of_get_property(pdev->dev.of_node, "ibm,port-name", NULL); in i2c_opal_probe()
222 if (pname) in i2c_opal_probe()
223 strlcpy(adapter->name, pname, sizeof(adapter->name)); in i2c_opal_probe()
/Linux-v5.4/include/trace/events/
Dclk.h129 __string( pname, parent ? parent->name : "none" )
134 __assign_str(pname, parent ? parent->name : "none");
137 TP_printk("%s %s", __get_str(name), __get_str(pname))
Dasoc.h166 __string( pname, path->name ? path->name : DAPM_DIRECT)
175 __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
186 __get_str(pname), DAPM_ARROW(__entry->path_dir),
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_debugfs.c75 const char *pname = pci_name(bp->pdev); in bnxt_debug_dev_init() local
79 bp->debugfs_pdev = debugfs_create_dir(pname, bnxt_debug_mnt); in bnxt_debug_dev_init()
/Linux-v5.4/drivers/of/
Dfdt.c123 const char *pname; in populate_properties() local
126 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); in populate_properties()
132 if (!pname) { in populate_properties()
137 if (!strcmp(pname, "name")) in populate_properties()
151 if (!strcmp(pname, "phandle") || in populate_properties()
152 !strcmp(pname, "linux,phandle")) { in populate_properties()
161 if (!strcmp(pname, "ibm,phandle")) in populate_properties()
164 pp->name = (char *)pname; in populate_properties()
/Linux-v5.4/net/ieee802154/
Dnl-phy.c297 const char *pname = in ieee802154_del_iface() local
299 if (pname[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] in ieee802154_del_iface()
304 phy2 = wpan_phy_find(pname); in ieee802154_del_iface()
/Linux-v5.4/drivers/video/fbdev/aty/
Dradeon_monitor.c131 const char *pname; in radeon_probe_OF_head() local
138 pname = of_get_property(dp, "name", NULL); in radeon_probe_OF_head()
139 if (!pname) in radeon_probe_OF_head()
141 len = strlen(pname); in radeon_probe_OF_head()
143 pname, pname[len-1], head_no); in radeon_probe_OF_head()
144 if (pname[len-1] == 'A' && head_no == 0) { in radeon_probe_OF_head()
152 } else if (pname[len-1] == 'B' && head_no == 1) in radeon_probe_OF_head()
/Linux-v5.4/arch/powerpc/kernel/
Dprom_init.c633 static inline int __init prom_getprop(phandle node, const char *pname, in prom_getprop() argument
636 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
640 static inline int __init prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
642 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
672 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
677 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
686 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
687 add_string(&p, tohex(prom_strlen(pname))); in prom_setprop()
2519 static char pname[MAX_PROPERTY_NAME] __prombss; in scan_dt_build_struct() local
2563 pname) != 1) in scan_dt_build_struct()
[all …]
/Linux-v5.4/drivers/clk/ti/
Dclkctrl.c334 const char * const *pname; in _ti_clkctrl_setup_mux() local
340 pname = data->parents; in _ti_clkctrl_setup_mux()
341 while (*pname) { in _ti_clkctrl_setup_mux()
343 pname++; in _ti_clkctrl_setup_mux()
/Linux-v5.4/drivers/mtd/devices/
Dphram.c171 static int parse_name(char **pname, const char *token) in parse_name() argument
184 *pname = name; in parse_name()
/Linux-v5.4/tools/objtool/
Delf.c298 char pname[MAX_NAME_LEN + 1]; in read_symbols() local
314 strncpy(pname, sym->name, pnamelen); in read_symbols()
315 pname[pnamelen] = '\0'; in read_symbols()
316 pfunc = find_symbol_by_name(elf, pname); in read_symbols()
/Linux-v5.4/drivers/irqchip/
Dirq-pic32-evic.c198 const char *pname = "microchip,external-irqs"; in pic32_ext_irq_of_init() local
200 of_property_for_each_u32(node, pname, prop, p, hwirq) { in pic32_ext_irq_of_init()
/Linux-v5.4/tools/perf/util/
Dpmu.h89 bool pmu_have_event(const char *pname, const char *name);
/Linux-v5.4/drivers/hwmon/
Dg762.c636 const char *pname, in g762_of_prop_import_one() argument
643 if (of_property_read_u32(client->dev.of_node, pname, &pval)) in g762_of_prop_import_one()
646 dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); in g762_of_prop_import_one()
649 dev_err(&client->dev, "unable to set %s (%d)\n", pname, pval); in g762_of_prop_import_one()
/Linux-v5.4/sound/soc/intel/atom/
Dsst-atom-controls.h698 char pname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; member
724 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}
735 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}
745 .instance_id = xinstance, .gain_val = xgain_val, .pname = xpname}

12