Lines Matching refs:mdr
43 static int iosf_mbi_pci_read_mdr(u32 mcrx, u32 mcr, u32 *mdr) in iosf_mbi_pci_read_mdr() argument
61 result = pci_read_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_read_mdr()
72 static int iosf_mbi_pci_write_mdr(u32 mcrx, u32 mcr, u32 mdr) in iosf_mbi_pci_write_mdr() argument
79 result = pci_write_config_dword(mbi_pdev, MBI_MDR_OFFSET, mdr); in iosf_mbi_pci_write_mdr()
101 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr) in iosf_mbi_read() argument
117 ret = iosf_mbi_pci_read_mdr(mcrx, mcr, mdr); in iosf_mbi_read()
124 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) in iosf_mbi_write() argument
140 ret = iosf_mbi_pci_write_mdr(mcrx, mcr, mdr); in iosf_mbi_write()
147 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) in iosf_mbi_modify() argument
174 mdr &= mask; in iosf_mbi_modify()
175 value |= mdr; in iosf_mbi_modify()