Searched refs:prop_len (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/arch/mips/mti-sead3/ |
D | sead3-setup.c | 66 int prop_len; in parse_memsize_param() local 79 prop_value = fdt_getprop(__dtb_start, offset, "reg", &prop_len); in parse_memsize_param()
|
/linux-4.1.27/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 113 int prop_len; in update_local_mac() local 115 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac() 116 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
|
/linux-4.1.27/drivers/of/ |
D | base.c | 339 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local 343 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 346 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property() 347 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 8110 int len, err, prop_len; in niu_pci_vpd_scan_props() local 8126 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props() 8159 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props() 8160 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props() 8170 namebuf, prop_len); in niu_pci_vpd_scan_props() 8171 for (i = 0; i < prop_len; i++) in niu_pci_vpd_scan_props() 9219 int prop_len; in niu_get_of_props() local 9226 phy_type = of_get_property(dp, "phy-type", &prop_len); in niu_get_of_props() 9244 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props() 9250 if (prop_len != dev->addr_len) { in niu_get_of_props() [all …]
|