Lines Matching refs:slot
12 static inline u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() argument
15 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config()
18 PDprintk("%x reading 4 from %x: %x\n", slot, offset, v); in read_pci_config()
22 static inline u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() argument
25 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_byte()
27 PDprintk("%x reading 1 from %x: %x\n", slot, offset, v); in read_pci_config_byte()
31 static inline u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() argument
34 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_16()
36 PDprintk("%x reading 2 from %x: %x\n", slot, offset, v); in read_pci_config_16()
40 static inline void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() argument
43 PDprintk("%x writing to %x: %x\n", slot, offset, val); in write_pci_config()
44 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config()