Lines Matching refs:op
16 struct platform_device *op = of_find_device_by_node(node); in irq_of_parse_and_map() local
18 if (!op || index >= op->archdata.num_irqs) in irq_of_parse_and_map()
21 return op->archdata.irqs[index]; in irq_of_parse_and_map()
28 struct platform_device *op = of_find_device_by_node(node); in of_address_to_resource() local
30 if (!op || index >= op->num_resources) in of_address_to_resource()
33 memcpy(r, &op->archdata.resource[index], sizeof(*r)); in of_address_to_resource()
40 struct platform_device *op = of_find_device_by_node(node); in of_iomap() local
43 if (!op || index >= op->num_resources) in of_iomap()
46 r = &op->archdata.resource[index]; in of_iomap()
62 struct platform_device *op = of_find_device_by_node(dp); in of_propagate_archdata() local
64 op->dev.archdata.iommu = bus_sd->iommu; in of_propagate_archdata()
65 op->dev.archdata.stc = bus_sd->stc; in of_propagate_archdata()
66 op->dev.archdata.host_controller = bus_sd->host_controller; in of_propagate_archdata()
67 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata()
70 of_propagate_archdata(op); in of_propagate_archdata()