Home
last modified time | relevance | path

Searched refs:bar_no (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dof_address.h56 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no,
85 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument
153 static inline const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, in of_get_pci_address() argument
156 return __of_get_address(dev, -1, bar_no, size, flags); in of_get_pci_address()
/linux-6.3-rc2/drivers/of/
A Daddress.c27 int bar_no, struct resource *r);
670 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument
684 if (strcmp(bus->name, "pci") && (bar_no >= 0)) { in __of_get_address()
703 if (((bar_no >= 0) && ((val & 0xff) == ((bar_no * 4) + PCI_BASE_ADDRESS_0))) || in __of_get_address()
837 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource() argument
846 addrp = __of_get_address(dev, index, bar_no, &size, &flags); in __of_address_to_resource()
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A Dofdrm.c429 int bar_no, unsigned long offset, unsigned long size) in get_cmap_address_of() argument
437 addr_p = of_get_pci_address(of_node, bar_no, &max_size, &flags); in get_cmap_address_of()
439 addr_p = of_get_address(of_node, bar_no, &max_size, &flags); in get_cmap_address_of()

Completed in 12 milliseconds