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()
249 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_config_read()
283 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_config_write()
300 rt3883_pci_w32(rpc, data, RT3883_PCI_REG_CFGDATA); in rt3883_pci_config_write()
377 rt3883_pci_w32(rpc, t, RT3883_PCI_REG_PCICFG); in rt3883_pci_preinit()
410 rt3883_pci_w32(rpc, 0x79, RT3883_PCI_REG_ARBCTL); in rt3883_pci_preinit()
509 rt3883_pci_w32(rpc, rpc->mem_res.start, RT3883_PCI_REG_MEMBASE); in rt3883_pci_probe()
510 rt3883_pci_w32(rpc, rpc->io_res.start, RT3883_PCI_REG_IOBASE); in rt3883_pci_probe()
516 rt3883_pci_w32(rpc, 0x03ff0000, RT3883_PCI_REG_BAR0SETUP(0)); in rt3883_pci_probe()
517 rt3883_pci_w32(rpc, RT3883_MEMORY_BASE, RT3883_PCI_REG_IMBASEBAR0(0)); in rt3883_pci_probe()
518 rt3883_pci_w32(rpc, 0x08021814, RT3883_PCI_REG_ID(0)); in rt3883_pci_probe()
519 rt3883_pci_w32(rpc, 0x00800001, RT3883_PCI_REG_CLASS(0)); in rt3883_pci_probe()
520 rt3883_pci_w32(rpc, 0x28801814, RT3883_PCI_REG_SUBID(0)); in rt3883_pci_probe()
523 rt3883_pci_w32(rpc, 0x03ff0000, RT3883_PCI_REG_BAR0SETUP(1)); in rt3883_pci_probe()
524 rt3883_pci_w32(rpc, RT3883_MEMORY_BASE, RT3883_PCI_REG_IMBASEBAR0(1)); in rt3883_pci_probe()
525 rt3883_pci_w32(rpc, 0x08021814, RT3883_PCI_REG_ID(1)); in rt3883_pci_probe()
526 rt3883_pci_w32(rpc, 0x06040001, RT3883_PCI_REG_CLASS(1)); in rt3883_pci_probe()
527 rt3883_pci_w32(rpc, 0x28801814, RT3883_PCI_REG_SUBID(1)); in rt3883_pci_probe()
544 rt3883_pci_w32(rpc, 0x03ff0001, RT3883_PCI_REG_BAR0SETUP(0)); in rt3883_pci_probe()
545 rt3883_pci_w32(rpc, 0x03ff0001, RT3883_PCI_REG_BAR0SETUP(1)); in rt3883_pci_probe()