Searched refs:prop_buf (Results 1 - 4 of 4) sorted by relevance

/drivers/staging/android/switch/
H A Dswitch_class.c64 char *prop_buf; local
72 prop_buf = (char *)get_zeroed_page(GFP_KERNEL);
73 if (prop_buf) {
74 length = name_show(sdev->dev, NULL, prop_buf);
76 if (prop_buf[length - 1] == '\n')
77 prop_buf[length - 1] = 0;
79 "SWITCH_NAME=%s", prop_buf);
82 length = state_show(sdev->dev, NULL, prop_buf);
84 if (prop_buf[length - 1] == '\n')
85 prop_buf[lengt
[all...]
/drivers/switch/
H A Dswitch_class.c64 char *prop_buf; local
72 prop_buf = (char *)get_zeroed_page(GFP_KERNEL);
73 if (prop_buf) {
74 length = name_show(sdev->dev, NULL, prop_buf);
76 if (prop_buf[length - 1] == '\n')
77 prop_buf[length - 1] = 0;
79 "SWITCH_NAME=%s", prop_buf);
82 length = state_show(sdev->dev, NULL, prop_buf);
84 if (prop_buf[length - 1] == '\n')
85 prop_buf[lengt
[all...]
/drivers/power/
H A Dpower_supply_sysfs.c253 char *prop_buf; local
269 prop_buf = (char *)get_zeroed_page(GFP_KERNEL);
270 if (!prop_buf)
279 ret = power_supply_show_property(dev, attr, prop_buf);
290 line = strchr(prop_buf, '\n');
300 dev_dbg(dev, "prop %s=%s\n", attrname, prop_buf);
302 ret = add_uevent_var(env, "POWER_SUPPLY_%s=%s", attrname, prop_buf);
309 free_page((unsigned long)prop_buf);
/drivers/net/ethernet/sun/
H A Dniu.c8128 u8 *prop_buf; local
8147 prop_buf = NULL;
8150 prop_buf = np->vpd.model;
8154 prop_buf = np->vpd.board_model;
8158 prop_buf = np->vpd.version;
8162 prop_buf = np->vpd.local_mac;
8166 prop_buf = &np->vpd.mac_num;
8170 prop_buf = np->vpd.phy_type;
8180 if (prop_buf) {
8188 *prop_buf
[all...]

Completed in 82 milliseconds