Home
last modified time | relevance | path

Searched refs:bcma_device (Results 1 – 25 of 28) sorted by relevance

12

/linux/include/linux/bcma/
H A Dbcma.h18 struct bcma_device;
44 u8 (*read8)(struct bcma_device *core, u16 offset);
45 u16 (*read16)(struct bcma_device *core, u16 offset);
46 u32 (*read32)(struct bcma_device *core, u16 offset);
47 void (*write8)(struct bcma_device *core, u16 offset, u8 value);
48 void (*write16)(struct bcma_device *core, u16 offset, u16 value);
49 void (*write32)(struct bcma_device *core, u16 offset, u32 value);
51 void (*block_read)(struct bcma_device *core, void *buffer,
53 void (*block_write)(struct bcma_device *core, const void *buffer,
57 u32 (*aread32)(struct bcma_device *core, u16 offset);
[all …]
H A Dbcma_driver_mips.h35 struct bcma_device;
38 struct bcma_device *core;
H A Dbcma_driver_chipcommon.h580 struct bcma_device *core; /* Can be separated core or just ChipCommon one */
624 struct bcma_device *core;
658 struct bcma_device *core;
H A Dbcma_driver_gmac_cmn.h82 struct bcma_device *core;
H A Dbcma_driver_pcie2.h146 struct bcma_device *core;
H A Dbcma_driver_pci.h226 struct bcma_device *core;
/linux/drivers/bcma/
H A Dmain.c36 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show()
43 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show()
50 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show()
57 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show()
69 ATTRIBUTE_GROUPS(bcma_device);
87 struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, in bcma_find_core_unit()
90 struct bcma_device *core; in bcma_find_core_unit()
100 bool bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, in bcma_wait_value()
121 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in bcma_release_core_dev()
141 struct bcma_device *core) in bcma_of_find_child_device()
[all …]
H A Ddriver_mips.c34 static inline bool bcma_core_mips_bcm47162a0_quirk(struct bcma_device *dev) in bcma_core_mips_bcm47162a0_quirk()
41 static inline bool bcma_core_mips_bcm5357b0_quirk(struct bcma_device *dev) in bcma_core_mips_bcm5357b0_quirk()
49 static u32 bcma_core_mips_irqflag(struct bcma_device *dev) in bcma_core_mips_irqflag()
70 unsigned int bcma_core_mips_irq(struct bcma_device *dev) in bcma_core_mips_irq()
72 struct bcma_device *mdev = dev->bus->drv_mips.core; in bcma_core_mips_irq()
88 static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq) in bcma_core_mips_set_irq()
92 struct bcma_device *mdev = bus->drv_mips.core; in bcma_core_mips_set_irq()
117 struct bcma_device *core; in bcma_core_mips_set_irq()
141 struct bcma_device *core; in bcma_core_mips_set_irq_name()
154 static void bcma_core_mips_print_irq(struct bcma_device *dev, unsigned int irq) in bcma_core_mips_print_irq()
[all …]
H A Dhost_soc.c16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) in bcma_host_soc_read8()
21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset) in bcma_host_soc_read16()
26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset) in bcma_host_soc_read32()
31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset, in bcma_host_soc_write8()
37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset, in bcma_host_soc_write16()
43 static void bcma_host_soc_write32(struct bcma_device *core, u16 offset, in bcma_host_soc_write32()
50 static void bcma_host_soc_block_read(struct bcma_device *core, void *buffer, in bcma_host_soc_block_read()
93 static void bcma_host_soc_block_write(struct bcma_device *core, in bcma_host_soc_block_write()
138 static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset) in bcma_host_soc_aread32()
145 static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset, in bcma_host_soc_awrite32()
H A Dhost_pci.c14 static void bcma_host_pci_switch_core(struct bcma_device *core) in bcma_host_pci_switch_core()
28 static u16 bcma_host_pci_provide_access_to_core(struct bcma_device *core) in bcma_host_pci_provide_access_to_core()
42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset) in bcma_host_pci_read8()
48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset) in bcma_host_pci_read16()
54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset) in bcma_host_pci_read32()
60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset, in bcma_host_pci_write8()
67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset, in bcma_host_pci_write16()
74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset, in bcma_host_pci_write32()
82 static void bcma_host_pci_block_read(struct bcma_device *core, void *buffer, in bcma_host_pci_block_read()
105 static void bcma_host_pci_block_write(struct bcma_device *core, in bcma_host_pci_block_write()
[all …]
H A Dcore.c12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_core_wait_value()
31 bool bcma_core_is_enabled(struct bcma_device *core) in bcma_core_is_enabled()
42 void bcma_core_disable(struct bcma_device *core, u32 flags) in bcma_core_disable()
59 int bcma_core_enable(struct bcma_device *core, u32 flags) in bcma_core_enable()
78 void bcma_core_set_clockmode(struct bcma_device *core, in bcma_core_set_clockmode()
109 void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) in bcma_core_pll_ctl()
140 u32 bcma_core_dma_translation(struct bcma_device *core) in bcma_core_dma_translation()
H A Dbcma_private.h24 bool bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value,
26 void bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core);
172 unsigned int bcma_core_mips_irq(struct bcma_device *dev);
176 static inline unsigned int bcma_core_mips_irq(struct bcma_device *dev) in bcma_core_mips_irq()
H A Dscan.c246 static struct bcma_device *bcma_find_core_by_index(struct bcma_bus *bus, in bcma_find_core_by_index()
249 struct bcma_device *core; in bcma_find_core_by_index()
258 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse()
260 struct bcma_device *core; in bcma_find_core_reverse()
273 struct bcma_device *core) in bcma_get_next_core()
481 struct bcma_device *other_core; in bcma_bus_scan()
482 struct bcma_device *core = kzalloc(sizeof(*core), GFP_KERNEL); in bcma_bus_scan()
H A Ddriver_pci.c153 struct bcma_device *core = pc->core; in bcma_core_pci_fixcfg()
H A Dsprom.c565 struct bcma_device *cc = bus->drv_cc.core; in bcma_sprom_onchip_offset()
/linux/drivers/pci/controller/
H A Dpcie-iproc-bcma.c29 struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev); in iproc_bcma_pcie_map_irq()
34 static int iproc_bcma_pcie_probe(struct bcma_device *bdev) in iproc_bcma_pcie_probe()
74 static void iproc_bcma_pcie_remove(struct bcma_device *bdev) in iproc_bcma_pcie_remove()
/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma-mdio.c16 static bool bcma_mdio_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_mdio_wait_value()
38 struct bcma_device *core; in bcma_mdio_phy_read()
89 struct bcma_device *core; in bcma_mdio_phy_write()
213 struct bcma_device *core = bgmac->bcma.core; in bcma_mdio_mii_register()
H A Dbgmac-bcma.c18 static inline bool bgmac_is_bcm4707_family(struct bcma_device *core) in bgmac_is_bcm4707_family()
124 static int bgmac_probe(struct bcma_device *core) in bgmac_probe()
328 static void bgmac_remove(struct bcma_device *core) in bgmac_remove()
H A Dbgmac.h447 struct bcma_device *core;
449 struct bcma_device *cmn;
/linux/drivers/net/wireless/broadcom/b43/
H A Dbus.h17 struct bcma_device *bdev;
90 struct b43_bus_dev *b43_bus_dev_bcma_init(struct bcma_device *core);
H A Dbus.c75 struct b43_bus_dev *b43_bus_dev_bcma_init(struct bcma_device *core) in b43_bus_dev_bcma_init()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c331 static void brcms_remove(struct bcma_device *pdev) in brcms_remove()
366 static int brcms_request_fw(struct brcms_info *wl, struct bcma_device *pdev) in brcms_request_fw()
534 struct bcma_device *core = wl->wlc->hw->d11core; in brcms_ops_config()
590 struct bcma_device *core = wl->wlc->hw->d11core; in brcms_ops_bss_info_changed()
746 struct bcma_device *core = wl->wlc->hw->d11core; in brcms_ops_configure_filter()
1129 static struct brcms_info *brcms_attach(struct bcma_device *pdev) in brcms_attach()
1224 static int brcms_bcma_probe(struct bcma_device *pdev) in brcms_bcma_probe()
1265 static int brcms_suspend(struct bcma_device *pdev) in brcms_suspend()
1288 static int brcms_resume(struct bcma_device *pdev) in brcms_resume()
H A Dpub.h270 struct bcma_device *core, uint unit,
276 bool brcms_c_chipmatch(struct bcma_device *core);
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_hal.h168 struct bcma_device *d11core, int bandtype,
H A Dphy_cmn.c397 wlc_phy_attach(struct shared_phy *sh, struct bcma_device *d11core, in wlc_phy_attach()
951 struct bcma_device *core = pi->d11core; in wlc_phy_do_dummy_tx()

12