/drivers/video/fbdev/nvidia/ |
H A D | nv_of.c | 45 const char *pname; local 50 pname = of_get_property(dp, "name", NULL); 51 if (!pname) 53 len = strlen(pname); 54 if ((pname[len-1] == 'A' && conn == 1) || 55 (pname[len-1] == 'B' && conn == 2)) {
|
/drivers/regulator/ |
H A D | ti-abb-regulator.c | 424 char *pname = "ti,settling-time"; local 427 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); 429 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); 435 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); 439 pname = "ti,clock-cycles"; 440 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); 442 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); 447 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); 511 char *pname = "ti,abb_info"; local 522 num_entries = of_property_count_u32_elems(dev->of_node, pname); 707 char *pname; local [all...] |
/drivers/clk/samsung/ |
H A D | clk.h | 73 #define FRATE(_id, cname, pname, f, frate) \ 77 .parent_name = pname, \ 100 #define FFACTOR(_id, cname, pname, m, d, f) \ 104 .parent_name = pname, \ 191 #define __DIV(_id, dname, cname, pname, o, s, w, f, df, a, t) \ 196 .parent_name = pname, \ 206 #define DIV(_id, cname, pname, o, s, w) \ 207 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, NULL, NULL) 209 #define DIV_A(_id, cname, pname, o, s, w, a) \ 210 __DIV(_id, NULL, cname, pname, [all...] |
H A D | clk-pll.h | 101 const char *pname, const void __iomem *reg_base,
|
H A D | clk-s3c64xx.c | 53 #define GATE_BUS(_id, cname, pname, o, b) \ 54 GATE(_id, cname, pname, o, b, 0, 0) 55 #define GATE_SCLK(_id, cname, pname, o, b) \ 56 GATE(_id, cname, pname, o, b, CLK_SET_RATE_PARENT, 0) 57 #define GATE_ON(_id, cname, pname, o, b) \ 58 GATE(_id, cname, pname, o, b, CLK_IGNORE_UNUSED, 0)
|
H A D | clk-pll.c | 914 const char *pname, const void __iomem *reg_base, 930 init.parent_names = &pname; 913 samsung_clk_register_pll2550x(const char *name, const char *pname, const void __iomem *reg_base, const unsigned long offset) argument
|
/drivers/clk/rockchip/ |
H A D | clk.h | 206 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ 212 .parent_names = (const char *[]){ pname }, \ 224 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ 230 .parent_names = (const char *[]){ pname }, \ 280 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ 285 .parent_names = (const char *[]){ pname }, \ 312 #define DIV(_id, cname, pname, f, o, s, w, df) \ 317 .parent_names = (const char *[]){ pname }, \ 327 #define DIVTBL(_id, cname, pname, f, o, s, w, df, dt) \ 332 .parent_names = (const char *[]){ pname }, \ [all...] |
/drivers/mtd/devices/ |
H A D | phram.c | 175 static int parse_name(char **pname, const char *token) argument 188 *pname = name;
|
/drivers/of/ |
H A D | fdt.c | 241 const char *pname; local 244 if (!(p = fdt_getprop_by_offset(blob, offset, &pname, &sz))) { 249 if (pname == NULL) { 253 if (strcmp(pname, "name") == 0) 263 if ((strcmp(pname, "phandle") == 0) || 264 (strcmp(pname, "linux,phandle") == 0)) { 271 if (strcmp(pname, "ibm,phandle") == 0) 273 pp->name = (char *)pname;
|
/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 130 const char *pname; local 137 pname = of_get_property(dp, "name", NULL); 138 if (!pname) 140 len = strlen(pname); 142 pname, pname[len-1], head_no); 143 if (pname[len-1] == 'A' && head_no == 0) { 151 } else if (pname[len-1] == 'B' && head_no == 1)
|
/drivers/pinctrl/ |
H A D | pinctrl-tegra.c | 572 const char *pname = "unknown"; local 577 pname = cfg_params[i].property; 582 seq_printf(s, "%s=%d", strip_prefix(pname), arg);
|
H A D | pinmux.c | 421 const char *pname; local 424 pname = desc ? desc->name : "non-existing"; 430 pins[i], pname, gname,
|
H A D | core.c | 1357 const char *pname; local 1370 pname = pin_get_name(pctldev, pins[i]); 1371 if (WARN_ON(!pname)) { 1375 seq_printf(s, "pin %d (%s)\n", pins[i], pname);
|
/drivers/hwmon/ |
H A D | g762.c | 648 const char *pname, 655 if (of_property_read_u32(client->dev.of_node, pname, &pval)) 658 dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); 661 dev_err(&client->dev, "unable to set %s (%d)\n", pname, pval); 647 g762_of_prop_import_one(struct i2c_client *client, const char *pname, int (*psetter)(struct device *dev, unsigned long val)) argument
|
/drivers/staging/rtl8192e/ |
H A D | rtllib_wx.c | 58 char *pname = proto_name; local 93 sprintf(pname, rtllib_modes[i].mode_string, 95 pname += rtllib_modes[i].mode_size; 98 *pname = '\0';
|
/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_wx.c | 61 char *pname = proto_name; local 90 sprintf(pname,ieee80211_modes[i].mode_string,ieee80211_modes[i].mode_size); 91 pname +=ieee80211_modes[i].mode_size; 94 *pname = '\0';
|
/drivers/macintosh/ |
H A D | smu.c | 1015 char pname[32]; local 1021 sprintf(pname, "sdb-partition-%02x", id); 1033 part = of_get_property(smu->of_node, pname, size);
|
/drivers/message/fusion/ |
H A D | mptbase.c | 2059 char pname[32]; local 2080 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/summary", ioc->name); 2081 remove_proc_entry(pname, NULL); 2082 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/info", ioc->name); 2083 remove_proc_entry(pname, NULL); 2084 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s", ioc->name); 2085 remove_proc_entry(pname, NULL);
|