Searched refs:mbi_pdev (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/arch/x86/platform/intel/ |
D | iosf_mbi.c | 29 static struct pci_dev *mbi_pdev; variable 43 if (!mbi_pdev) in iosf_mbi_pci_read_mdr() 47 result = pci_write_config_dword(mbi_pdev, MBI_MCRX_OFFSET, in iosf_mbi_pci_read_mdr() 53 result = pci_write_config_dword(mbi_pdev, MBI_MCR_OFFSET, mcr); in iosf_mbi_pci_read_mdr() 57 result = pci_read_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_read_mdr() 64 dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result); in iosf_mbi_pci_read_mdr() 72 if (!mbi_pdev) in iosf_mbi_pci_write_mdr() 75 result = pci_write_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_write_mdr() 80 result = pci_write_config_dword(mbi_pdev, MBI_MCRX_OFFSET, in iosf_mbi_pci_write_mdr() 86 result = pci_write_config_dword(mbi_pdev, MBI_MCR_OFFSET, mcr); in iosf_mbi_pci_write_mdr() [all …]
|