Lines Matching refs:result
45 int result; in iosf_mbi_pci_read_mdr() local
51 result = pci_write_config_dword(mbi_pdev, MBI_MCRX_OFFSET, in iosf_mbi_pci_read_mdr()
53 if (result < 0) in iosf_mbi_pci_read_mdr()
57 result = pci_write_config_dword(mbi_pdev, MBI_MCR_OFFSET, mcr); in iosf_mbi_pci_read_mdr()
58 if (result < 0) in iosf_mbi_pci_read_mdr()
61 result = pci_read_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_read_mdr()
62 if (result < 0) in iosf_mbi_pci_read_mdr()
68 dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result); in iosf_mbi_pci_read_mdr()
69 return result; in iosf_mbi_pci_read_mdr()
74 int result; in iosf_mbi_pci_write_mdr() local
79 result = pci_write_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_write_mdr()
80 if (result < 0) in iosf_mbi_pci_write_mdr()
84 result = pci_write_config_dword(mbi_pdev, MBI_MCRX_OFFSET, in iosf_mbi_pci_write_mdr()
86 if (result < 0) in iosf_mbi_pci_write_mdr()
90 result = pci_write_config_dword(mbi_pdev, MBI_MCR_OFFSET, mcr); in iosf_mbi_pci_write_mdr()
91 if (result < 0) in iosf_mbi_pci_write_mdr()
97 dev_err(&mbi_pdev->dev, "PCI config access failed with %d\n", result); in iosf_mbi_pci_write_mdr()
98 return result; in iosf_mbi_pci_write_mdr()