Searched refs:bar_no (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/linux/ |
D | of_address.h | 72 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, 105 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument 184 static inline const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, in of_get_pci_address() argument 187 return __of_get_address(dev, -1, bar_no, size, flags); in of_get_pci_address()
|
/linux-6.6.21/drivers/of/ |
D | address.c | 727 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument 741 if (strcmp(bus->name, "pci") && (bar_no >= 0)) { in __of_get_address() 760 if (((bar_no >= 0) && ((val & 0xff) == ((bar_no * 4) + PCI_BASE_ADDRESS_0))) || in __of_get_address() 1114 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource() argument 1123 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
|
/linux-6.6.21/drivers/gpu/drm/tiny/ |
D | ofdrm.c | 425 int bar_no, unsigned long offset, unsigned long size) in get_cmap_address_of() argument 433 addr_p = of_get_pci_address(of_node, bar_no, &max_size, &flags); in get_cmap_address_of() 435 addr_p = of_get_address(of_node, bar_no, &max_size, &flags); in get_cmap_address_of()
|