Home
last modified time | relevance | path

Searched refs:pci_root (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/gma500/
Dgma_device.c22 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in gma_get_core_freq() local
28 pci_write_config_dword(pci_root, 0xD0, 0xD0050300); in gma_get_core_freq()
29 pci_read_config_dword(pci_root, 0xD4, &clock); in gma_get_core_freq()
30 pci_dev_put(pci_root); in gma_get_core_freq()
Dpsb_drv.h787 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in MRST_MSG_READ32() local
788 pci_write_config_dword(pci_root, 0xD0, mcr); in MRST_MSG_READ32()
789 pci_read_config_dword(pci_root, 0xD4, &ret_val); in MRST_MSG_READ32()
790 pci_dev_put(pci_root); in MRST_MSG_READ32()
796 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in MRST_MSG_WRITE32() local
797 pci_write_config_dword(pci_root, 0xD4, value); in MRST_MSG_WRITE32()
798 pci_write_config_dword(pci_root, 0xD0, mcr); in MRST_MSG_WRITE32()
799 pci_dev_put(pci_root); in MRST_MSG_WRITE32()
805 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in MDFLD_MSG_READ32() local
806 pci_write_config_dword(pci_root, 0xD0, mcr); in MDFLD_MSG_READ32()
[all …]
Dmid_bios.c35 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in mid_get_fuse_settings() local
47 if (pci_root == NULL) { in mid_get_fuse_settings()
53 pci_write_config_dword(pci_root, 0xD0, FB_REG06); in mid_get_fuse_settings()
54 pci_read_config_dword(pci_root, 0xD4, &fuse_value); in mid_get_fuse_settings()
74 pci_write_config_dword(pci_root, 0xD0, FB_REG09); in mid_get_fuse_settings()
75 pci_read_config_dword(pci_root, 0xD4, &fuse_value); in mid_get_fuse_settings()
98 pci_dev_put(pci_root); in mid_get_fuse_settings()
Dcdv_device.c192 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in CDV_MSG_READ32() local
193 pci_write_config_dword(pci_root, 0xD0, mcr); in CDV_MSG_READ32()
194 pci_read_config_dword(pci_root, 0xD4, &ret_val); in CDV_MSG_READ32()
195 pci_dev_put(pci_root); in CDV_MSG_READ32()
202 struct pci_dev *pci_root = pci_get_bus_and_slot(0, 0); in CDV_MSG_WRITE32() local
203 pci_write_config_dword(pci_root, 0xD4, value); in CDV_MSG_WRITE32()
204 pci_write_config_dword(pci_root, 0xD0, mcr); in CDV_MSG_WRITE32()
205 pci_dev_put(pci_root); in CDV_MSG_WRITE32()
/drivers/acpi/
DMakefile41 acpi-y += pci_root.o pci_link.o pci_irq.o