Home
last modified time | relevance | path

Searched refs:prop_addr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/video/backlight/
H A Dqcom-wled.c1309 const __be32 *prop_addr; in wled_configure() local
1401 prop_addr = of_get_address(dev->of_node, 0, NULL, NULL); in wled_configure()
1402 if (!prop_addr) { in wled_configure()
1406 wled->ctrl_addr = be32_to_cpu(*prop_addr); in wled_configure()
1435 prop_addr = of_get_address(dev->of_node, 1, NULL, NULL); in wled_configure()
1436 if (!prop_addr) { in wled_configure()
1440 wled->sink_addr = be32_to_cpu(*prop_addr); in wled_configure()
1455 prop_addr = of_get_address(dev->of_node, 1, NULL, NULL); in wled_configure()
1456 if (!prop_addr) { in wled_configure()
1460 wled->sink_addr = be32_to_cpu(*prop_addr); in wled_configure()
/linux/drivers/net/ethernet/apple/
H A Dbmac.c1237 const unsigned char *prop_addr; in bmac_probe() local
1247 prop_addr = of_get_property(macio_get_of_node(mdev), in bmac_probe()
1249 if (prop_addr == NULL) { in bmac_probe()
1250 prop_addr = of_get_property(macio_get_of_node(mdev), in bmac_probe()
1252 if (prop_addr == NULL) { in bmac_probe()
1257 memcpy(addr, prop_addr, sizeof(addr)); in bmac_probe()