/linux-4.1.27/drivers/video/fbdev/nvidia/ |
H A D | nv_of.c | 42 const char *pname; nvidia_probe_of_connector() local 47 pname = of_get_property(dp, "name", NULL); nvidia_probe_of_connector() 48 if (!pname) nvidia_probe_of_connector() 50 len = strlen(pname); nvidia_probe_of_connector() 51 if ((pname[len-1] == 'A' && conn == 1) || nvidia_probe_of_connector() 52 (pname[len-1] == 'B' && conn == 2)) { nvidia_probe_of_connector()
|
/linux-4.1.27/drivers/clk/samsung/ |
H A D | clk.h | 69 #define FRATE(_id, cname, pname, f, frate) \ 73 .parent_name = pname, \ 96 #define FFACTOR(_id, cname, pname, m, d, f) \ 100 .parent_name = pname, \ 187 #define __DIV(_id, dname, cname, pname, o, s, w, f, df, a, t) \ 192 .parent_name = pname, \ 202 #define DIV(_id, cname, pname, o, s, w) \ 203 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, NULL, NULL) 205 #define DIV_A(_id, cname, pname, o, s, w, a) \ 206 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, a, NULL) 208 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ 209 __DIV(_id, NULL, cname, pname, o, s, w, f, df, NULL, NULL) 211 #define DIV_T(_id, cname, pname, o, s, w, t) \ 212 __DIV(_id, NULL, cname, pname, o, s, w, 0, 0, NULL, t) 238 #define __GATE(_id, dname, cname, pname, o, b, f, gf, a) \ 243 .parent_name = pname, \ 251 #define GATE(_id, cname, pname, o, b, f, gf) \ 252 __GATE(_id, NULL, cname, pname, o, b, f, gf, NULL) 254 #define GATE_A(_id, cname, pname, o, b, f, gf, a) \ 255 __GATE(_id, NULL, cname, pname, o, b, f, gf, a) 257 #define GATE_D(_id, dname, cname, pname, o, b, f, gf) \ 258 __GATE(_id, dname, cname, pname, o, b, f, gf, NULL) 260 #define GATE_DA(_id, dname, cname, pname, o, b, f, gf, a) \ 261 __GATE(_id, dname, cname, pname, o, b, f, gf, a)
|
H A D | clk-pll.h | 105 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 | 925 const char *pname, const void __iomem *reg_base, samsung_clk_register_pll2550x() 941 init.parent_names = &pname; samsung_clk_register_pll2550x() 924 samsung_clk_register_pll2550x(const char *name, const char *pname, const void __iomem *reg_base, const unsigned long offset) samsung_clk_register_pll2550x() argument
|
/linux-4.1.27/drivers/regulator/ |
H A D | ti-abb-regulator.c | 424 char *pname = "ti,settling-time"; ti_abb_init_timings() local 427 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); ti_abb_init_timings() 429 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); ti_abb_init_timings() 435 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); ti_abb_init_timings() 439 pname = "ti,clock-cycles"; ti_abb_init_timings() 440 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); ti_abb_init_timings() 442 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); ti_abb_init_timings() 447 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); ti_abb_init_timings() 511 char *pname = "ti,abb_info"; ti_abb_init_table() local 522 num_entries = of_property_count_u32_elems(dev->of_node, pname); ti_abb_init_table() 524 dev_err(dev, "No '%s' property?\n", pname); ti_abb_init_table() 529 dev_err(dev, "All '%s' list entries need %d vals\n", pname, ti_abb_init_table() 556 of_property_read_u32_index(dev->of_node, pname, i * num_values, ti_abb_init_table() 558 of_property_read_u32_index(dev->of_node, pname, ti_abb_init_table() 560 of_property_read_u32_index(dev->of_node, pname, ti_abb_init_table() 562 of_property_read_u32_index(dev->of_node, pname, ti_abb_init_table() 564 of_property_read_u32_index(dev->of_node, pname, ti_abb_init_table() 566 of_property_read_u32_index(dev->of_node, pname, ti_abb_init_table() 584 pname, *volt_table); ti_abb_init_table() 606 pname, *volt_table, vset_mask); ti_abb_init_table() 707 char *pname; ti_abb_probe() local 728 pname = "base-address"; ti_abb_probe() 729 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 738 pname = "control-address"; ti_abb_probe() 739 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 744 pname = "setup-address"; ti_abb_probe() 745 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 751 pname = "int-address"; ti_abb_probe() 752 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 754 dev_err(dev, "Missing '%s' IO resource\n", pname); ti_abb_probe() 764 dev_err(dev, "Unable to map '%s'\n", pname); ti_abb_probe() 769 pname = "efuse-address"; ti_abb_probe() 770 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 772 dev_dbg(dev, "Missing '%s' IO resource\n", pname); ti_abb_probe() 784 dev_err(dev, "Unable to map '%s'\n", pname); ti_abb_probe() 788 pname = "ldo-address"; ti_abb_probe() 789 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, pname); ti_abb_probe() 791 dev_dbg(dev, "Missing '%s' IO resource\n", pname); ti_abb_probe() 800 pname = "ti,ldovbb-override-mask"; ti_abb_probe() 802 of_property_read_u32(pdev->dev.of_node, pname, ti_abb_probe() 805 dev_err(dev, "Missing '%s' (%d)\n", pname, ret); ti_abb_probe() 809 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); ti_abb_probe() 813 pname = "ti,ldovbb-vset-mask"; ti_abb_probe() 815 of_property_read_u32(pdev->dev.of_node, pname, ti_abb_probe() 818 dev_err(dev, "Missing '%s' (%d)\n", pname, ret); ti_abb_probe() 822 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); ti_abb_probe() 827 pname = "ti,tranxdone-status-mask"; ti_abb_probe() 829 of_property_read_u32(pdev->dev.of_node, pname, ti_abb_probe() 832 dev_err(dev, "Missing '%s' (%d)\n", pname, ret); ti_abb_probe() 836 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); ti_abb_probe()
|
/linux-4.1.27/drivers/clk/rockchip/ |
H A D | clk.h | 237 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ 243 .parent_names = (const char *[]){ pname }, \ 255 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ 261 .parent_names = (const char *[]){ pname }, \ 311 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ 316 .parent_names = (const char *[]){ pname }, \ 343 #define DIV(_id, cname, pname, f, o, s, w, df) \ 348 .parent_names = (const char *[]){ pname }, \ 358 #define DIVTBL(_id, cname, pname, f, o, s, w, df, dt) \ 363 .parent_names = (const char *[]){ pname }, \ 373 #define GATE(_id, cname, pname, f, o, b, gf) \ 378 .parent_names = (const char *[]){ pname }, \ 386 #define MMC(_id, cname, pname, offset, shift) \ 391 .parent_names = (const char *[]){ pname }, \
|
/linux-4.1.27/include/trace/events/ |
H A D | asoc.h | 164 __string( pname, path->name ? path->name : DAPM_DIRECT) 172 __assign_str(pname, path->name ? path->name : DAPM_DIRECT); 181 __get_str(wname), __get_str(pname), __get_str(psname)) 193 __string( pname, path->name ? path->name : DAPM_DIRECT) 201 __assign_str(pname, path->name ? path->name : DAPM_DIRECT); 210 __get_str(wname), __get_str(pname), __get_str(psname))
|
H A D | clk.h | 137 __string( pname, parent->name ) 142 __assign_str(pname, parent->name); 145 TP_printk("%s %s", __get_str(name), __get_str(pname))
|
/linux-4.1.27/arch/sparc/prom/ |
H A D | tree_64.c | 324 /* Set property 'pname' at node 'node' to value 'value' which has a length 328 prom_setprop(phandle node, const char *pname, char *value, int size) prom_setprop() argument 334 if ((pname == 0) || (value == 0)) prom_setprop() 339 ldom_set_var(pname, value); prom_setprop() 347 args[4] = (unsigned long) pname; prom_setprop()
|
H A D | tree_32.c | 277 /* Set property 'pname' at node 'node' to value 'value' which has a length 280 int prom_setprop(phandle node, const char *pname, char *value, int size) prom_setprop() argument 287 if ((pname == NULL) || (value == NULL)) prom_setprop() 290 ret = prom_nodeops->no_setprop(node, pname, value, size); prom_setprop()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-opal.c | 215 const char *pname; i2c_opal_probe() local 237 pname = of_get_property(pdev->dev.of_node, "ibm,port-name", NULL); i2c_opal_probe() 238 if (pname) i2c_opal_probe() 239 strlcpy(adapter->name, pname, sizeof(adapter->name)); i2c_opal_probe()
|
/linux-4.1.27/tools/perf/util/ |
H A D | pmu.h | 70 bool pmu_have_event(const char *pname, const char *name);
|
H A D | pmu.c | 943 bool pmu_have_event(const char *pname, const char *name) pmu_have_event() argument 950 if (strcmp(pname, pmu->name)) pmu_have_event()
|
/linux-4.1.27/net/ieee802154/ |
H A D | nl-phy.c | 302 const char *pname = ieee802154_del_iface() local 304 if (pname[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] ieee802154_del_iface() 309 phy2 = wpan_phy_find(pname); ieee802154_del_iface()
|
/linux-4.1.27/scripts/package/ |
H A D | builddeb | 16 local pname="$1" pdir="$2" 18 cp debian/copyright "$pdir/usr/share/doc/$pname/" 19 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian" 20 gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian" 67 dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch:-$(dpkg --print-architecture)}" -p$pname -P"$pdir"
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | phram.c | 175 static int parse_name(char **pname, const char *token) parse_name() argument 188 *pname = name; parse_name()
|
/linux-4.1.27/drivers/of/ |
H A D | fdt.c | 256 const char *pname; unflatten_dt_node() local 259 if (!(p = fdt_getprop_by_offset(blob, offset, &pname, &sz))) { unflatten_dt_node() 264 if (pname == NULL) { unflatten_dt_node() 268 if (strcmp(pname, "name") == 0) unflatten_dt_node() 278 if ((strcmp(pname, "phandle") == 0) || unflatten_dt_node() 279 (strcmp(pname, "linux,phandle") == 0)) { unflatten_dt_node() 286 if (strcmp(pname, "ibm,phandle") == 0) unflatten_dt_node() 288 pp->name = (char *)pname; unflatten_dt_node()
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 130 const char *pname; radeon_probe_OF_head() local 137 pname = of_get_property(dp, "name", NULL); radeon_probe_OF_head() 138 if (!pname) radeon_probe_OF_head() 140 len = strlen(pname); radeon_probe_OF_head() 142 pname, pname[len-1], head_no); radeon_probe_OF_head() 143 if (pname[len-1] == 'A' && head_no == 0) { radeon_probe_OF_head() 151 } else if (pname[len-1] == 'B' && head_no == 1) radeon_probe_OF_head()
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-tegra.c | 588 const char *pname = "unknown"; tegra_pinconf_config_dbg_show() local 593 pname = cfg_params[i].property; tegra_pinconf_config_dbg_show() 598 seq_printf(s, "%s=%d", strip_prefix(pname), arg); tegra_pinconf_config_dbg_show()
|
H A D | pinmux.c | 421 const char *pname; pinmux_enable_setting() local 424 pname = desc ? desc->name : "non-existing"; pinmux_enable_setting() 430 pins[i], pname, gname, pinmux_enable_setting()
|
H A D | core.c | 1355 const char *pname; pinctrl_groups_show() local 1368 pname = pin_get_name(pctldev, pins[i]); pinctrl_groups_show() 1369 if (WARN_ON(!pname)) { pinctrl_groups_show() 1373 seq_printf(s, "pin %d (%s)\n", pins[i], pname); pinctrl_groups_show()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_wx.c | 58 char *pname = proto_name; rtl819x_translate_scan() local 93 sprintf(pname, rtllib_modes[i].mode_string, rtl819x_translate_scan() 95 pname += rtllib_modes[i].mode_size; rtl819x_translate_scan() 98 *pname = '\0'; rtl819x_translate_scan()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_wx.c | 61 char *pname = proto_name; rtl819x_translate_scan() local 90 sprintf(pname,ieee80211_modes[i].mode_string,ieee80211_modes[i].mode_size); rtl819x_translate_scan() 91 pname +=ieee80211_modes[i].mode_size; rtl819x_translate_scan() 94 *pname = '\0'; rtl819x_translate_scan()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | prom_init.c | 463 static int inline prom_getprop(phandle node, const char *pname, prom_getprop() argument 466 return call_prom("getprop", 4, 1, node, ADDR(pname), prom_getprop() 470 static int inline prom_getproplen(phandle node, const char *pname) prom_getproplen() argument 472 return call_prom("getproplen", 2, 1, node, ADDR(pname)); prom_getproplen() 502 const char *pname, void *value, size_t valuelen) prom_setprop() 507 return call_prom("setprop", 4, 1, node, ADDR(pname), prom_setprop() 516 add_string(&p, tohex(ADDR(pname))); prom_setprop() 517 add_string(&p, tohex(strlen(pname))); prom_setprop() 2091 static char pname[MAX_PROPERTY_NAME]; scan_dt_build_struct() local 2135 pname) != 1) scan_dt_build_struct() 2139 if (strcmp(pname, "name") == 0) { scan_dt_build_struct() 2145 soff = dt_find_string(pname); scan_dt_build_struct() 2148 " <%s>, node %s\n", pname, path); scan_dt_build_struct() 2154 l = call_prom("getproplen", 2, 1, node, pname); scan_dt_build_struct() 2167 call_prom("getprop", 4, 1, node, pname, valp, l); scan_dt_build_struct() 2170 if (!strcmp(pname, "phandle")) scan_dt_build_struct() 501 prom_setprop(phandle node, const char *nodename, const char *pname, void *value, size_t valuelen) prom_setprop() argument
|
/linux-4.1.27/sound/soc/intel/atom/ |
H A D | sst-atom-controls.h | 698 char pname[44]; member in struct:sst_gain_mixer_control 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}
|
H A D | sst-atom-controls.c | 478 mc->pname, gv->l_gain, gv->r_gain); sst_gain_put() 483 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); sst_gain_put() 489 mc->pname, gv->ramp_duration); sst_gain_put()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | g762.c | 648 const char *pname, g762_of_prop_import_one() 655 if (of_property_read_u32(client->dev.of_node, pname, &pval)) g762_of_prop_import_one() 658 dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); g762_of_prop_import_one() 661 dev_err(&client->dev, "unable to set %s (%d)\n", pname, pval); g762_of_prop_import_one() 647 g762_of_prop_import_one(struct i2c_client *client, const char *pname, int (*psetter)(struct device *dev, unsigned long val)) g762_of_prop_import_one() argument
|
/linux-4.1.27/drivers/macintosh/ |
H A D | smu.c | 1013 char pname[32]; __smu_get_sdb_partition() local 1019 sprintf(pname, "sdb-partition-%02x", id); __smu_get_sdb_partition() 1031 part = of_get_property(smu->of_node, pname, size); __smu_get_sdb_partition()
|
/linux-4.1.27/scripts/ |
H A D | analyze_suspend.py | 2600 ' var pname = info[info.length-1];\n'\ 2601 ' pd[pname] = parseFloat(info[info.length-3].slice(1));\n'\ 2602 ' total[0] += pd[pname];\n'\ 2603 ' if(pname.indexOf("suspend") >= 0)\n'\ 2604 ' total[tidx] += pd[pname];\n'\ 2606 ' total[tidx+1] += pd[pname];\n'\ 2626 ' var pname = "<t3 style=\\"font-size:"+fs2+"px\\">"+phases[i].id.replace("_", " ")+"</t3>";\n'\ 2627 ' phases[i].innerHTML = time+pname;\n'\
|
/linux-4.1.27/arch/arm/common/ |
H A D | edma.c | 1518 const char pname[] = "ti,edma-xbar-event-map"; edma_xbar_event_map() local 1538 ret = of_property_read_u16_array(node, pname, (u16 *)xbar_chans, nelm); edma_xbar_event_map()
|
/linux-4.1.27/sound/usb/ |
H A D | quirks-table.h | 2868 #define AU0828_DEVICE(vid, pid, vname, pname) { \ 2877 .product_name = pname, \
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptbase.c | 2059 char pname[32]; mpt_detach() local 2080 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/summary", ioc->name); mpt_detach() 2081 remove_proc_entry(pname, NULL); mpt_detach() 2082 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/info", ioc->name); mpt_detach() 2083 remove_proc_entry(pname, NULL); mpt_detach() 2084 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s", ioc->name); mpt_detach() 2085 remove_proc_entry(pname, NULL); mpt_detach()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | client.c | 1461 CDEBUG(D_RPCTRACE, "Sending RPC pname:cluuid:pid:xid:nid:opc %s:%s:%d:%llu:%s:%d\n", ptlrpc_send_new_req() 1843 "Completed RPC pname:cluuid:pid:xid:nid:opc %s:%s:%d:%llu:%s:%d\n", ptlrpc_check_set()
|
H A D | service.c | 1945 CDEBUG(D_RPCTRACE, "Handling RPC pname:cluuid+ref:pid:xid:nid:opc %s:%s+%d:%d:x%llu:%s:%d\n", ptlrpc_server_handle_request() 1979 CDEBUG(D_RPCTRACE, "Handled RPC pname:cluuid+ref:pid:xid:nid:opc %s:%s+%d:%d:x%llu:%s:%d Request processed in %ldus (%ldus total) trans %llu rc %d/%d\n", ptlrpc_server_handle_request()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_nportdisc.c | 329 "0141 PLOGI Reject: invalid pname\n"); lpfc_rcv_plogi()
|