Home
last modified time | relevance | path

Searched refs:ssb_read32 (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/ssb/
Ddriver_mipscore.c47 return ssb_read32(mcore->dev, offset); in mips_read32()
75 u32 tpsflag = ssb_read32(dev, SSB_TPSFLAG); in ssb_irqflag()
77 return ssb_read32(dev, SSB_TPSFLAG) & SSB_TPSFLAG_BPFLAG; in ssb_irqflag()
113 ipsflag = ssb_read32(bus->mipscore.dev, SSB_IPSFLAG); in ssb_mips_irq()
120 if ((1 << irqflag) & ssb_read32(mdev, SSB_INTVEC)) in ssb_mips_irq()
136 ssb_read32(dev, SSB_IPSFLAG) | in clear_irq()
154 ssb_write32(mdev, SSB_INTVEC, (~(1 << irqflag) & ssb_read32(mdev, SSB_INTVEC))); in set_irq()
160 ssb_write32(mdev, SSB_INTVEC, ((1 << irqflag) | ssb_read32(mdev, SSB_INTVEC))); in set_irq()
162 u32 ipsflag = ssb_read32(mdev, SSB_IPSFLAG); in set_irq()
241 if ((ssb_read32(bus->chipco.dev, SSB_CHIPCO_FLASH_CFG) in ssb_mips_flash_detect()
Dmain.c973 u32 rev = ssb_read32(dev, SSB_IDLOW) & SSB_IDLOW_SSBREV; in ssb_tmslow_reject_bitmask()
1000 val = ssb_read32(dev, SSB_TMSLOW); in ssb_device_is_enabled()
1016 ssb_read32(dev, SSB_TMSLOW); in ssb_flush_tmslow()
1031 if (ssb_read32(dev, SSB_TMSHIGH) & SSB_TMSHIGH_SERR) in ssb_device_enable()
1034 val = ssb_read32(dev, SSB_IMSTATE); in ssb_device_enable()
1061 val = ssb_read32(dev, reg); in ssb_wait_bits()
1082 if (ssb_read32(dev, SSB_TMSLOW) & SSB_TMSLOW_RESET) in ssb_device_disable()
1087 if (ssb_read32(dev, SSB_TMSLOW) & SSB_TMSLOW_CLOCK) { in ssb_device_disable()
1092 if (ssb_read32(dev, SSB_IDLOW) & SSB_IDLOW_INITIATOR) { in ssb_device_disable()
1093 val = ssb_read32(dev, SSB_IMSTATE); in ssb_device_disable()
[all …]
Ddriver_gige.c44 return ssb_read32(dev->dev, offset); in gige_read32()
198 base = ssb_admatch_base(ssb_read32(sdev, SSB_ADMATCH1)); in ssb_gige_probe()
222 tmslow = ssb_read32(sdev, SSB_TMSLOW); in ssb_gige_probe()
223 tmshigh = ssb_read32(sdev, SSB_TMSHIGH); in ssb_gige_probe()
Ddriver_pcicore.c28 return ssb_read32(pc->dev, offset); in pcicore_read32()
471 tmp = ssb_read32(pdev, SSB_IMCFGLO); in ssb_pcicore_pci_setup_workarounds()
722 intvec = ssb_read32(pdev, SSB_INTVEC); in ssb_pcicore_dev_irqvecs_enable()
723 tmp = ssb_read32(dev, SSB_TPSFLAG); in ssb_pcicore_dev_irqvecs_enable()
Ddriver_gpio.c324 u32 val = ssb_read32(extif->dev, SSB_EXTIF_GPIO_IN); in ssb_gpio_irq_extif_handler()
325 u32 mask = ssb_read32(extif->dev, SSB_EXTIF_GPIO_INTMASK); in ssb_gpio_irq_extif_handler()
326 u32 pol = ssb_read32(extif->dev, SSB_EXTIF_GPIO_INTPOL); in ssb_gpio_irq_extif_handler()
Ddriver_extif.c22 return ssb_read32(extif->dev, offset); in extif_read32()
/linux-6.12.1/drivers/usb/host/
Dssb-hcd.c50 ssb_write32(dev, 0x89c, ssb_read32(dev, 0x89c) | 0x1); in ssb_hcd_5354wa()
68 ssb_write32(dev, 0x400, ssb_read32(dev, 0x400) & ~8); in ssb_hcd_usb20wa()
69 ssb_read32(dev, 0x400); in ssb_hcd_usb20wa()
72 ssb_write32(dev, 0x304, ssb_read32(dev, 0x304) & ~0x100); in ssb_hcd_usb20wa()
73 ssb_read32(dev, 0x304); in ssb_hcd_usb20wa()
179 tmp = ssb_read32(dev, SSB_ADMATCH0); in ssb_hcd_probe()
/linux-6.12.1/drivers/net/wireless/broadcom/b43/
Dphy_common.c354 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_put_into_reset()
361 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_put_into_reset()
397 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_take_out_of_reset()
402 ssb_read32(dev->dev->sdev, SSB_TMSLOW); /* flush */ in b43_phy_take_out_of_reset()
405 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_take_out_of_reset()
409 ssb_read32(dev->dev->sdev, SSB_TMSLOW); /* flush */ in b43_phy_take_out_of_reset()
584 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_force_clock()
Dbus.c156 return ssb_read32(dev->sdev, offset); in b43_bus_ssb_read32()
Ddma.c815 tmp = ssb_read32(dev->dev->sdev, SSB_TMSHIGH); in b43_engine_type()
1046 ssb_read32(dev->dev->sdev, SSB_TMSHIGH) & SSB_TMSHIGH_DMA64)) in b43_dma_translation_in_low_word()
Dmain.c2916 (ssb_read32(gpiodev, B43_GPIO_CONTROL) in b43_gpio_init()
3028 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_mac_phy_clock_set()
3938 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_switch_band()
4734 tmp = ssb_read32(dev->dev->sdev, SSB_IMCFGLO); in b43_imcfglo_timeouts_workaround()
5407 tmp = ssb_read32(dev->dev->sdev, SSB_TMSHIGH); in b43_wireless_core_attach()
/linux-6.12.1/drivers/net/wireless/broadcom/b43legacy/
Dmain.c679 tmslow = ssb_read32(dev->dev, SSB_TMSLOW); in b43legacy_wireless_core_reset()
683 ssb_read32(dev->dev, SSB_TMSLOW); /* flush */ in b43legacy_wireless_core_reset()
687 ssb_read32(dev->dev, SSB_TMSLOW); /* flush */ in b43legacy_wireless_core_reset()
1917 (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) in b43legacy_gpio_init()
2237 value32 = ssb_read32(dev->dev, SSB_TMSLOW); in b43legacy_chip_init()
2567 tmslow = ssb_read32(sdev, SSB_TMSLOW); in b43legacy_put_phy_into_reset()
2574 tmslow = ssb_read32(sdev, SSB_TMSLOW); in b43legacy_put_phy_into_reset()
3653 tmshigh = ssb_read32(dev->dev, SSB_TMSHIGH); in b43legacy_wireless_core_attach()
Db43legacy.h821 return ssb_read32(dev->dev, offset); in b43legacy_read32()
/linux-6.12.1/include/linux/ssb/
Dssb_driver_chipcommon.h605 #define chipco_read32(cc, offset) ssb_read32((cc)->dev, offset)
Dssb.h583 static inline u32 ssb_read32(struct ssb_device *dev, u16 offset) in ssb_read32() function
/linux-6.12.1/drivers/net/ethernet/broadcom/
Db44.c166 return ssb_read32(bp->sdev, reg); in br32()