Searched refs:prop_buf (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/arch/powerpc/boot/ |
H A D | fsl-soc.c | 18 static u32 prop_buf[MAX_PROP_LEN / 4]; variable 30 size = getprop(soc, "#address-cells", prop_buf, MAX_PROP_LEN); fsl_get_immr() 32 naddr = prop_buf[0]; fsl_get_immr() 39 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); fsl_get_immr() 43 if (prop_buf[0] != 0) fsl_get_immr() 45 if (naddr == 2 && prop_buf[1] != 0) fsl_get_immr() 48 if (!dt_xlate_addr(soc, prop_buf + naddr, 8, &ret)) fsl_get_immr()
|
H A D | devtree.c | 230 static u32 prop_buf[MAX_PROP_LEN / 4]; variable 257 copy_val(last_addr, prop_buf + offset, naddr); dt_xlate() 259 ret_size = prop_buf[offset + naddr]; dt_xlate() 262 ret_size |= prop_buf[offset + naddr + 1]; dt_xlate() 276 buflen = getprop(node, "ranges", prop_buf, dt_xlate() 277 sizeof(prop_buf)); dt_xlate() 280 if (buflen < 0 || buflen > sizeof(prop_buf)) dt_xlate() 283 offset = find_range(last_addr, prop_buf, prev_naddr, dt_xlate() 289 copy_val(this_addr, prop_buf + offset, prev_naddr); dt_xlate() 294 copy_val(this_addr, prop_buf + offset + prev_naddr, naddr); dt_xlate() 321 reglen = getprop(node, "reg", prop_buf, sizeof(prop_buf)) / 4; dt_xlate_reg() 328 if (buflen > sizeof(prop_buf)) dt_xlate_addr() 331 memcpy(prop_buf, buf, buflen); dt_xlate_addr() 337 char *buf = (char *)prop_buf; dt_is_compatible()
|
H A D | planetcore.c | 105 static char prop_buf[MAX_PROP_LEN]; variable 122 path = get_path(node, prop_buf, MAX_PROP_LEN); planetcore_set_stdout_path()
|
/linux-4.1.27/drivers/power/ |
H A D | power_supply_sysfs.c | 277 char *prop_buf; power_supply_uevent() local 293 prop_buf = (char *)get_zeroed_page(GFP_KERNEL); power_supply_uevent() 294 if (!prop_buf) power_supply_uevent() 303 ret = power_supply_show_property(dev, attr, prop_buf); power_supply_uevent() 314 line = strchr(prop_buf, '\n'); power_supply_uevent() 324 dev_dbg(dev, "prop %s=%s\n", attrname, prop_buf); power_supply_uevent() 326 ret = add_uevent_var(env, "POWER_SUPPLY_%s=%s", attrname, prop_buf); power_supply_uevent() 333 free_page((unsigned long)prop_buf); power_supply_uevent()
|
/linux-4.1.27/drivers/extcon/ |
H A D | extcon.c | 210 char *prop_buf; extcon_update_state() local 232 prop_buf = (char *)get_zeroed_page(GFP_ATOMIC); extcon_update_state() 233 if (prop_buf) { extcon_update_state() 234 length = name_show(&edev->dev, NULL, prop_buf); extcon_update_state() 236 if (prop_buf[length - 1] == '\n') extcon_update_state() 237 prop_buf[length - 1] = 0; extcon_update_state() 239 "NAME=%s", prop_buf); extcon_update_state() 242 length = state_show(&edev->dev, NULL, prop_buf); extcon_update_state() 244 if (prop_buf[length - 1] == '\n') extcon_update_state() 245 prop_buf[length - 1] = 0; extcon_update_state() 247 "STATE=%s", prop_buf); extcon_update_state() 255 free_page((unsigned long)prop_buf); extcon_update_state()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | niu.c | 8112 u8 *prop_buf; niu_pci_vpd_scan_props() local 8131 prop_buf = NULL; niu_pci_vpd_scan_props() 8134 prop_buf = np->vpd.model; niu_pci_vpd_scan_props() 8138 prop_buf = np->vpd.board_model; niu_pci_vpd_scan_props() 8142 prop_buf = np->vpd.version; niu_pci_vpd_scan_props() 8146 prop_buf = np->vpd.local_mac; niu_pci_vpd_scan_props() 8150 prop_buf = &np->vpd.mac_num; niu_pci_vpd_scan_props() 8154 prop_buf = np->vpd.phy_type; niu_pci_vpd_scan_props() 8164 if (prop_buf) { niu_pci_vpd_scan_props() 8172 *prop_buf++ = niu_pci_eeprom_read(np, off + i); niu_pci_vpd_scan_props()
|
Completed in 228 milliseconds