Lines Matching refs:rt3883_pci_w32

90 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc,  in rt3883_pci_w32()  function
113 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_read_cfg32()
128 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32()
129 rt3883_pci_w32(rpc, val, RT3883_PCI_REG_CFGDATA); in rt3883_pci_write_cfg32()
165 rt3883_pci_w32(rpc, t | BIT(d->hwirq), RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_unmask()
178 rt3883_pci_w32(rpc, t & ~BIT(d->hwirq), RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_mask()
217 rt3883_pci_w32(rpc, 0, RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_init()
250 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_config_read()
284 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_config_write()
301 rt3883_pci_w32(rpc, data, RT3883_PCI_REG_CFGDATA); in rt3883_pci_config_write()
378 rt3883_pci_w32(rpc, t, RT3883_PCI_REG_PCICFG); in rt3883_pci_preinit()
411 rt3883_pci_w32(rpc, 0x79, RT3883_PCI_REG_ARBCTL); in rt3883_pci_preinit()
512 rt3883_pci_w32(rpc, rpc->mem_res.start, RT3883_PCI_REG_MEMBASE); in rt3883_pci_probe()
513 rt3883_pci_w32(rpc, rpc->io_res.start, RT3883_PCI_REG_IOBASE); in rt3883_pci_probe()
519 rt3883_pci_w32(rpc, 0x03ff0000, RT3883_PCI_REG_BAR0SETUP(0)); in rt3883_pci_probe()
520 rt3883_pci_w32(rpc, RT3883_MEMORY_BASE, RT3883_PCI_REG_IMBASEBAR0(0)); in rt3883_pci_probe()
521 rt3883_pci_w32(rpc, 0x08021814, RT3883_PCI_REG_ID(0)); in rt3883_pci_probe()
522 rt3883_pci_w32(rpc, 0x00800001, RT3883_PCI_REG_CLASS(0)); in rt3883_pci_probe()
523 rt3883_pci_w32(rpc, 0x28801814, RT3883_PCI_REG_SUBID(0)); in rt3883_pci_probe()
526 rt3883_pci_w32(rpc, 0x03ff0000, RT3883_PCI_REG_BAR0SETUP(1)); in rt3883_pci_probe()
527 rt3883_pci_w32(rpc, RT3883_MEMORY_BASE, RT3883_PCI_REG_IMBASEBAR0(1)); in rt3883_pci_probe()
528 rt3883_pci_w32(rpc, 0x08021814, RT3883_PCI_REG_ID(1)); in rt3883_pci_probe()
529 rt3883_pci_w32(rpc, 0x06040001, RT3883_PCI_REG_CLASS(1)); in rt3883_pci_probe()
530 rt3883_pci_w32(rpc, 0x28801814, RT3883_PCI_REG_SUBID(1)); in rt3883_pci_probe()
547 rt3883_pci_w32(rpc, 0x03ff0001, RT3883_PCI_REG_BAR0SETUP(0)); in rt3883_pci_probe()
548 rt3883_pci_w32(rpc, 0x03ff0001, RT3883_PCI_REG_BAR0SETUP(1)); in rt3883_pci_probe()