Searched refs:pciparent (Results 1 – 1 of 1) sorted by relevance
360 struct device_node *pciparent = of_get_parent(dp); in offb_init_palette_hacks() local362 vid = of_get_property(pciparent, "vendor-id", NULL); in offb_init_palette_hacks()363 did = of_get_property(pciparent, "device-id", NULL); in offb_init_palette_hacks()368 par->cmap_adr = offb_map_reg(pciparent, 2, 0, 0x10000); in offb_init_palette_hacks()372 of_node_put(pciparent); in offb_init_palette_hacks()