Searched refs:bar_no (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
A D | of_address.h | 54 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, 83 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument 151 static inline const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, in of_get_pci_address() argument 154 return __of_get_address(dev, -1, bar_no, size, flags); in of_get_pci_address()
|
/linux/drivers/of/ |
A D | address.c | 27 int bar_no, struct resource *r); 627 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument 641 if (strcmp(bus->name, "pci") && (bar_no >= 0)) { in __of_get_address() 660 if (((bar_no >= 0) && ((val & 0xff) == ((bar_no * 4) + PCI_BASE_ADDRESS_0))) || in __of_get_address() 794 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource() argument 803 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
|
Completed in 8 milliseconds