Home
last modified time | relevance | path

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

/drivers/of/
Daddress.c727 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()
/drivers/gpu/drm/tiny/
Dofdrm.c425 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()