Lines Matching +full:transfer +full:- +full:function
1 // SPDX-License-Identifier: GPL-2.0-or-later
15 * directly as a normal multi-function PCI device which follows
16 * the PCI-2.2 spec.
24 CS5536_FUNC_START = -1,
53 * write to PCI config space and transfer it to MSR write.
55 void cs5536_pci_conf_write4(int function, int reg, u32 value) in cs5536_pci_conf_write4() argument
57 if ((function <= CS5536_FUNC_START) || (function >= CS5536_FUNC_END)) in cs5536_pci_conf_write4()
62 if (vsm_conf_write[function] != NULL) in cs5536_pci_conf_write4()
63 vsm_conf_write[function](reg, value); in cs5536_pci_conf_write4()
67 * read PCI config space and transfer it to MSR access.
69 u32 cs5536_pci_conf_read4(int function, int reg) in cs5536_pci_conf_read4() argument
73 if ((function <= CS5536_FUNC_START) || (function >= CS5536_FUNC_END)) in cs5536_pci_conf_read4()
80 if (vsm_conf_read[function] != NULL) in cs5536_pci_conf_read4()
81 data = vsm_conf_read[function](reg); in cs5536_pci_conf_read4()