/kernel/linux/linux-5.10/include/linux/bcma/ |
H A D | bcma.h | 18 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 *cor 267 struct bcma_device { global() struct [all...] |
H A D | bcma_driver_mips.h | 35 struct bcma_device; 38 struct bcma_device *core;
|
/kernel/linux/linux-6.6/include/linux/bcma/ |
H A D | bcma.h | 18 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 *cor 267 struct bcma_device { global() struct [all...] |
H A D | bcma_driver_mips.h | 35 struct bcma_device; 38 struct bcma_device *core;
|
/kernel/linux/linux-5.10/drivers/bcma/ |
H A D | main.c | 35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() 42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() 49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() 56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() 68 ATTRIBUTE_GROUPS(bcma_device); variable 86 struct bcma_device *bcma_find_core_uni [all...] |
H A D | driver_mips.c | 34 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() 62 static u32 bcma_core_mips_irqflag(struct bcma_device *dev) in bcma_core_mips_irqflag() 83 unsigned int bcma_core_mips_irq(struct bcma_device *dev) in bcma_core_mips_irq() 85 struct bcma_device *mdev = dev->bus->drv_mips.core; in bcma_core_mips_irq() 101 static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq) in bcma_core_mips_set_irq() 105 struct bcma_device *mdev = bus->drv_mips.core; in bcma_core_mips_set_irq() 130 struct bcma_device *core; in bcma_core_mips_set_irq() 154 struct bcma_device *core; in bcma_core_mips_set_irq_name() 167 static void bcma_core_mips_print_irq(struct bcma_device *de [all...] |
H A D | host_pci.c | 14 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 *cor [all...] |
H A D | host_soc.c | 16 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 *cor [all...] |
H A D | core.c | 12 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 D | bcma_private.h | 24 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 D | scan.c | 247 static struct bcma_device *bcma_find_core_by_index(struct bcma_bus *bus, in bcma_find_core_by_index() 250 struct bcma_device *core; in bcma_find_core_by_index() 259 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse() 261 struct bcma_device *core; in bcma_find_core_reverse() 274 struct bcma_device *core) in bcma_get_next_core() 482 struct bcma_device *other_core; in bcma_bus_scan() 483 struct bcma_device *core = kzalloc(sizeof(*core), GFP_KERNEL); in bcma_bus_scan()
|
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | main.c | 36 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); variable 87 struct bcma_device *bcma_find_core_uni [all...] |
H A D | driver_mips.c | 34 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 *de [all...] |
H A D | host_pci.c | 14 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 *cor [all...] |
H A D | host_soc.c | 16 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 *cor [all...] |
H A D | core.c | 12 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 D | bcma_private.h | 24 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 D | scan.c | 246 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()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | bcma-hcd.c | 41 struct bcma_device *core; 50 static int bcma_wait_bits(struct bcma_device *dev, u16 reg, u32 bitmask, in bcma_wait_bits() 66 static void bcma_hcd_4716wa(struct bcma_device *dev) in bcma_hcd_4716wa() 100 static void bcma_hcd_init_chip_mips(struct bcma_device *dev) in bcma_hcd_init_chip_mips() 181 struct bcma_device *core = usb_dev->core; in bcma_hcd_usb20_old_arm_init() 183 struct bcma_device *pmu_core; in bcma_hcd_usb20_old_arm_init() 241 static void bcma_hcd_usb20_ns_init_hc(struct bcma_device *dev) in bcma_hcd_usb20_ns_init_hc() 269 struct bcma_device *core = bcma_hcd->core; in bcma_hcd_usb20_ns_init() 284 static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val) in bcma_hci_platform_power_gpio() 300 static struct platform_device *bcma_hcd_create_pdev(struct bcma_device *de [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | bcma-hcd.c | 41 struct bcma_device *core; 50 static int bcma_wait_bits(struct bcma_device *dev, u16 reg, u32 bitmask, in bcma_wait_bits() 66 static void bcma_hcd_4716wa(struct bcma_device *dev) in bcma_hcd_4716wa() 100 static void bcma_hcd_init_chip_mips(struct bcma_device *dev) in bcma_hcd_init_chip_mips() 181 struct bcma_device *core = usb_dev->core; in bcma_hcd_usb20_old_arm_init() 183 struct bcma_device *pmu_core; in bcma_hcd_usb20_old_arm_init() 241 static void bcma_hcd_usb20_ns_init_hc(struct bcma_device *dev) in bcma_hcd_usb20_ns_init_hc() 269 struct bcma_device *core = bcma_hcd->core; in bcma_hcd_usb20_ns_init() 284 static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val) in bcma_hci_platform_power_gpio() 300 static struct platform_device *bcma_hcd_create_pdev(struct bcma_device *de [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | aiutils.c | 444 ai_buscore_setup(struct si_info *sii, struct bcma_device *cc) in ai_buscore_setup() 473 struct bcma_device *cc; in ai_doattach() 545 struct bcma_device *cc; in ai_cc_reg() 563 static uint ai_slowclk_src(struct si_pub *sih, struct bcma_device *cc) in ai_slowclk_src() 573 struct bcma_device *cc) in ai_slowclk_freq() 584 ai_clkctl_setdelay(struct si_pub *sih, struct bcma_device *cc) in ai_clkctl_setdelay() 616 struct bcma_device *cc; in ai_clkctl_init() 639 struct bcma_device *cc; in ai_clkctl_fast_pwrup_delay() 673 struct bcma_device *cc; in ai_clkctl_cc() 686 struct bcma_device *c in ai_epa_4313war() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | aiutils.c | 444 ai_buscore_setup(struct si_info *sii, struct bcma_device *cc) in ai_buscore_setup() 473 struct bcma_device *cc; in ai_doattach() 542 struct bcma_device *cc; in ai_cc_reg() 560 static uint ai_slowclk_src(struct si_pub *sih, struct bcma_device *cc) in ai_slowclk_src() 570 struct bcma_device *cc) in ai_slowclk_freq() 581 ai_clkctl_setdelay(struct si_pub *sih, struct bcma_device *cc) in ai_clkctl_setdelay() 613 struct bcma_device *cc; in ai_clkctl_init() 636 struct bcma_device *cc; in ai_clkctl_fast_pwrup_delay() 670 struct bcma_device *cc; in ai_clkctl_cc() 683 struct bcma_device *c in ai_epa_4313war() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pcie-iproc-bcma.c | 29 struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev); in iproc_pcie_bcma_map_irq() 34 static int iproc_pcie_bcma_probe(struct bcma_device *bdev) in iproc_pcie_bcma_probe() 74 static void iproc_pcie_bcma_remove(struct bcma_device *bdev) in iproc_pcie_bcma_remove()
|
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-iproc-bcma.c | 29 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma-mdio.c | 15 static bool bcma_mdio_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_mdio_wait_value() 37 struct bcma_device *core; in bcma_mdio_phy_read() 88 struct bcma_device *core; in bcma_mdio_phy_write() 212 struct bcma_device *core = bgmac->bcma.core; in bcma_mdio_mii_register()
|