Searched defs:pname (Results 1 - 8 of 8) sorted by relevance

/drivers/video/nvidia/
H A Dnv_of.c45 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/mtd/devices/
H A Dphram.c175 static int parse_name(char **pname, const char *token) argument
190 *pname = name;
/drivers/staging/rtl8192e/
H A Drtllib_wx.c58 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 Dieee80211_wx.c61 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/of/
H A Dfdt.c238 char *pname; local
254 pname = of_fdt_get_string(blob, noff);
255 if (pname == NULL) {
259 if (strcmp(pname, "name") == 0)
261 l = strlen(pname) + 1;
270 if ((strcmp(pname, "phandle") == 0) ||
271 (strcmp(pname, "linux,phandle") == 0)) {
278 if (strcmp(pname, "ibm,phandle") == 0)
280 pp->name = pname;
/drivers/video/aty/
H A Dradeon_monitor.c130 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/macintosh/
H A Dsmu.c1019 char pname[32]; local
1025 sprintf(pname, "sdb-partition-%02x", id);
1037 part = of_get_property(smu->of_node, pname, size);
/drivers/message/fusion/
H A Dmptbase.c2063 char pname[32]; local
2084 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/summary", ioc->name);
2085 remove_proc_entry(pname, NULL);
2086 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s/info", ioc->name);
2087 remove_proc_entry(pname, NULL);
2088 sprintf(pname, MPT_PROCFS_MPTBASEDIR "/%s", ioc->name);
2089 remove_proc_entry(pname, NULL);

Completed in 247 milliseconds