Home
last modified time | relevance | path

Searched refs:local_dev (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/pci/
Dpci_mvebu.c219 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_read_config_dword() local
223 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_read_config_dword()
224 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_read_config_dword()
231 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_read_config_dword()
254 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_write_config_dword() local
257 if (PCI_BUS(dev) == local_bus && PCI_DEV(dev) != local_dev) { in mvebu_pcie_write_config_dword()
258 if (local_dev == 0 && PCI_DEV(dev) != 1) { in mvebu_pcie_write_config_dword()
264 } else if (local_dev != 0 && PCI_DEV(dev) != 0) { in mvebu_pcie_write_config_dword()
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dctrl_pex.c289 u32 local_dev, local_bus; in pex_config_read() local
293 local_dev = in pex_config_read()
305 if (local_dev == 0) { in pex_config_read()
310 if ((dev != 1) && (dev != local_dev)) in pex_config_read()
317 if ((dev != 0) && (dev != local_dev)) in pex_config_read()
/external/u-boot/arch/arm/mach-mvebu/serdes/axp/
Dhigh_speed_env_lib.c1447 u32 local_dev, local_bus; in pex_cfg_read() local
1471 local_dev = in pex_cfg_read()
1477 if ((dev != local_dev) || (bus != local_bus)) { in pex_cfg_read()
1490 if (local_dev == 0) { in pex_cfg_read()
1495 if ((dev != 1) && (dev != local_dev)) in pex_cfg_read()
1502 if ((dev != 0) && (dev != local_dev)) in pex_cfg_read()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c108 char *local_dev = drmGetRenderDeviceNameFromFd(local_fd); in wsi_x11_check_dri3_compatible() local
114 ret = strcmp(local_dev, dri3_dev); in wsi_x11_check_dri3_compatible()
116 free(local_dev); in wsi_x11_check_dri3_compatible()