Lines Matching refs:ssb_pcicore

19 static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address);
20 static void ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data);
21 static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address);
22 static void ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device,
26 u32 pcicore_read32(struct ssb_pcicore *pc, u16 offset) in pcicore_read32()
32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) in pcicore_write32()
38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) in pcicore_read16()
44 void pcicore_write16(struct ssb_pcicore *pc, u16 offset, u16 value) in pcicore_write16()
68 static struct ssb_pcicore *extpci_core;
71 static u32 get_cfgspace_addr(struct ssb_pcicore *pc, in get_cfgspace_addr()
110 static int ssb_extpci_read_config(struct ssb_pcicore *pc, in ssb_extpci_read_config()
156 static int ssb_extpci_write_config(struct ssb_pcicore *pc, in ssb_extpci_write_config()
320 static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc) in ssb_pcicore_init_hostmode()
397 static int pcicore_is_in_hostmode(struct ssb_pcicore *pc) in pcicore_is_in_hostmode()
431 static void ssb_pcicore_fix_sprom_core_index(struct ssb_pcicore *pc) in ssb_pcicore_fix_sprom_core_index()
441 static u8 ssb_pcicore_polarity_workaround(struct ssb_pcicore *pc) in ssb_pcicore_polarity_workaround()
446 static void ssb_pcicore_serdes_workaround(struct ssb_pcicore *pc) in ssb_pcicore_serdes_workaround()
459 static void ssb_pcicore_pci_setup_workarounds(struct ssb_pcicore *pc) in ssb_pcicore_pci_setup_workarounds()
485 static void ssb_pcicore_pcie_setup_workarounds(struct ssb_pcicore *pc) in ssb_pcicore_pcie_setup_workarounds()
533 static void ssb_pcicore_init_clientmode(struct ssb_pcicore *pc) in ssb_pcicore_init_clientmode()
552 void ssb_pcicore_init(struct ssb_pcicore *pc) in ssb_pcicore_init()
570 static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address) in ssb_pcie_read()
576 static void ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data) in ssb_pcie_write()
582 static void ssb_pcie_mdio_set_phy(struct ssb_pcicore *pc, u8 phy) in ssb_pcie_mdio_set_phy()
605 static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address) in ssb_pcie_mdio_read()
645 static void ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device, in ssb_pcie_mdio_write()
682 int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc, in ssb_pcicore_dev_irqvecs_enable()