Searched refs:local_dev (Results 1 – 4 of 4) sorted by relevance
219 int local_dev = PCI_DEV(pcie->dev); in mvebu_pcie_read_config_dword() local223 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() local257 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()
289 u32 local_dev, local_bus; in pex_config_read() local293 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()
1447 u32 local_dev, local_bus; in pex_cfg_read() local1471 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()
108 char *local_dev = drmGetRenderDeviceNameFromFd(local_fd); in wsi_x11_check_dri3_compatible() local114 ret = strcmp(local_dev, dri3_dev); in wsi_x11_check_dri3_compatible()116 free(local_dev); in wsi_x11_check_dri3_compatible()