/drivers/regulator/ |
D | ti-abb-regulator.c | 424 char *pname = "ti,settling-time"; in ti_abb_init_timings() local 427 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); in ti_abb_init_timings() 429 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 435 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 439 pname = "ti,clock-cycles"; in ti_abb_init_timings() 440 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); in ti_abb_init_timings() 442 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 447 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 511 char *pname = "ti,abb_info"; in ti_abb_init_table() local 522 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table() [all …]
|
/drivers/clk/samsung/ |
D | clk.h | 70 #define FRATE(_id, cname, pname, f, frate) \ argument 74 .parent_name = pname, \ 97 #define FFACTOR(_id, cname, pname, m, d, f) \ argument 101 .parent_name = pname, \ 188 #define __DIV(_id, dname, cname, pname, o, s, w, f, df, a, t) \ argument 193 .parent_name = pname, \ 203 #define DIV(_id, cname, pname, o, s, w) \ argument 204 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, NULL, NULL) 206 #define DIV_A(_id, cname, pname, o, s, w, a) \ argument 207 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, a, NULL) [all …]
|
D | clk-s3c64xx.c | 52 #define GATE_BUS(_id, cname, pname, o, b) \ argument 53 GATE(_id, cname, pname, o, b, 0, 0) 54 #define GATE_SCLK(_id, cname, pname, o, b) \ argument 55 GATE(_id, cname, pname, o, b, CLK_SET_RATE_PARENT, 0) 56 #define GATE_ON(_id, cname, pname, o, b) \ argument 57 GATE(_id, cname, pname, o, b, CLK_IGNORE_UNUSED, 0)
|
D | clk-pll.h | 107 const char *pname, const void __iomem *reg_base,
|
/drivers/clk/rockchip/ |
D | clk.h | 361 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 367 .parent_names = (const char *[]){ pname }, \ 379 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ argument 385 .parent_names = (const char *[]){ pname }, \ 455 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ argument 460 .parent_names = (const char *[]){ pname }, \ 472 #define COMPOSITE_FRACMUX(_id, cname, pname, f, mo, df, go, gs, gf, ch) \ argument 477 .parent_names = (const char *[]){ pname }, \ 490 #define COMPOSITE_FRACMUX_NOGATE(_id, cname, pname, f, mo, df, ch) \ argument 495 .parent_names = (const char *[]){ pname }, \ [all …]
|
/drivers/video/fbdev/nvidia/ |
D | nv_of.c | 42 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()
|
/drivers/i2c/busses/ |
D | i2c-opal.c | 215 const char *pname; in i2c_opal_probe() local 237 pname = of_get_property(pdev->dev.of_node, "ibm,port-name", NULL); in i2c_opal_probe() 238 if (pname) in i2c_opal_probe() 239 strlcpy(adapter->name, pname, sizeof(adapter->name)); in i2c_opal_probe()
|
/drivers/of/ |
D | fdt.c | 182 const char *pname; in populate_properties() local 185 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); in populate_properties() 191 if (!pname) { in populate_properties() 196 if (!strcmp(pname, "name")) in populate_properties() 210 if (!strcmp(pname, "phandle") || in populate_properties() 211 !strcmp(pname, "linux,phandle")) { in populate_properties() 220 if (!strcmp(pname, "ibm,phandle")) in populate_properties() 223 pp->name = (char *)pname; in populate_properties()
|
/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 130 const char *pname; in radeon_probe_OF_head() local 137 pname = of_get_property(dp, "name", NULL); in radeon_probe_OF_head() 138 if (!pname) in radeon_probe_OF_head() 140 len = strlen(pname); in radeon_probe_OF_head() 142 pname, pname[len-1], head_no); in radeon_probe_OF_head() 143 if (pname[len-1] == 'A' && head_no == 0) { in radeon_probe_OF_head() 151 } else if (pname[len-1] == 'B' && head_no == 1) in radeon_probe_OF_head()
|
/drivers/mtd/devices/ |
D | phram.c | 175 static int parse_name(char **pname, const char *token) in parse_name() argument 188 *pname = name; in parse_name()
|
/drivers/irqchip/ |
D | irq-pic32-evic.c | 202 const char *pname = "microchip,external-irqs"; in pic32_ext_irq_of_init() local 204 of_property_for_each_u32(node, pname, prop, p, hwirq) { in pic32_ext_irq_of_init()
|
/drivers/hwmon/ |
D | g762.c | 652 const char *pname, in g762_of_prop_import_one() argument 659 if (of_property_read_u32(client->dev.of_node, pname, &pval)) in g762_of_prop_import_one() 662 dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); in g762_of_prop_import_one() 665 dev_err(&client->dev, "unable to set %s (%d)\n", pname, pval); in g762_of_prop_import_one()
|
/drivers/pinctrl/ |
D | pinmux.c | 425 const char *pname; in pinmux_enable_setting() local 428 pname = desc ? desc->name : "non-existing"; in pinmux_enable_setting() 434 pins[i], pname, gname, in pinmux_enable_setting()
|
D | core.c | 1411 const char *pname; in pinctrl_groups_show() local 1424 pname = pin_get_name(pctldev, pins[i]); in pinctrl_groups_show() 1425 if (WARN_ON(!pname)) { in pinctrl_groups_show() 1429 seq_printf(s, "pin %d (%s)\n", pins[i], pname); in pinctrl_groups_show()
|
D | pinctrl-lpc18xx.c | 223 #define LPC_N(pname, off, f0, f1, f2, f3, f4, f5, f6, f7, a, t) \ argument 224 static struct lpc18xx_pin_caps lpc18xx_pin_##pname = { \ 441 #define LPC18XX_PIN(pname, n) { \ argument 443 .name = #pname, \ 444 .drv_data = &lpc18xx_pin_##pname \
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 61 char *pname = proto_name; in rtl819x_translate_scan() local 90 sprintf(pname,ieee80211_modes[i].mode_string,ieee80211_modes[i].mode_size); in rtl819x_translate_scan() 91 pname +=ieee80211_modes[i].mode_size; in rtl819x_translate_scan() 94 *pname = '\0'; in rtl819x_translate_scan()
|
/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 54 char *pname = proto_name; in rtl819x_translate_scan() local 89 sprintf(pname, rtllib_modes[i].mode_string, in rtl819x_translate_scan() 91 pname += rtllib_modes[i].mode_size; in rtl819x_translate_scan() 94 *pname = '\0'; in rtl819x_translate_scan()
|
/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 589 const char *pname = "unknown"; in tegra_pinconf_config_dbg_show() local 594 pname = cfg_params[i].property; in tegra_pinconf_config_dbg_show() 599 seq_printf(s, "%s=%d", strip_prefix(pname), arg); in tegra_pinconf_config_dbg_show()
|
/drivers/dma/ |
D | ti-dma-crossbar.c | 384 const char pname[] = "ti,reserved-dma-request-ranges"; in ti_dra7_xbar_probe() local 396 ret = of_property_read_u32_array(node, pname, (u32 *)rsv_events, in ti_dra7_xbar_probe()
|
D | edma.c | 1993 const char pname[] = "ti,edma-xbar-event-map"; in edma_xbar_event_map() local 2013 ret = of_property_read_u16_array(dev->of_node, pname, (u16 *)xbar_chans, in edma_xbar_event_map() 2061 const char pname[] = "ti,edma-memcpy-channels"; in edma_setup_info_from_dt() local 2070 ret = of_property_read_u32_array(dev->of_node, pname, in edma_setup_info_from_dt() 2082 const char pname[] = "ti,edma-reserved-slot-ranges"; in edma_setup_info_from_dt() local 2109 ret = of_property_read_u32_array(dev->of_node, pname, in edma_setup_info_from_dt()
|
/drivers/macintosh/ |
D | smu.c | 1020 char pname[32]; in __smu_get_sdb_partition() local 1026 sprintf(pname, "sdb-partition-%02x", id); in __smu_get_sdb_partition() 1038 part = of_get_property(smu->of_node, pname, size); in __smu_get_sdb_partition()
|
/drivers/message/fusion/ |
D | mptbase.c | 2082 char pname[32]; in mpt_detach() local 2103 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/summary", ioc->name); in mpt_detach() 2104 remove_proc_entry(pname, NULL); in mpt_detach() 2105 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/info", ioc->name); in mpt_detach() 2106 remove_proc_entry(pname, NULL); in mpt_detach() 2107 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s", ioc->name); in mpt_detach() 2108 remove_proc_entry(pname, NULL); in mpt_detach()
|