Searched refs:sdiodev (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 65 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler() local 72 if (sdiodev->irq_en) { in brcmf_sdiod_oob_irqhandler() 74 sdiodev->irq_en = false; in brcmf_sdiod_oob_irqhandler() 77 brcmf_sdio_isr(sdiodev->bus, true); in brcmf_sdiod_oob_irqhandler() 85 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler() local 89 brcmf_sdio_isr(sdiodev->bus, false); in brcmf_sdiod_ib_irqhandler() 97 int brcmf_sdiod_intr_register(struct brcmf_sdio_dev *sdiodev) in brcmf_sdiod_intr_register() argument 104 pdata = &sdiodev->settings->bus.sdio; in brcmf_sdiod_intr_register() 108 spin_lock_init(&sdiodev->irq_en_lock); in brcmf_sdiod_intr_register() 109 sdiodev->irq_en = true; in brcmf_sdiod_intr_register() [all …]
|
H A D | sdio.h | 288 int brcmf_sdiod_intr_register(struct brcmf_sdio_dev *sdiodev); 289 void brcmf_sdiod_intr_unregister(struct brcmf_sdio_dev *sdiodev); 293 #define brcmf_sdiod_func0_rb(sdiodev, addr, r) \ argument 294 sdio_f0_readb((sdiodev)->func1, (addr), (r)) 296 #define brcmf_sdiod_func0_wb(sdiodev, addr, v, ret) \ argument 297 sdio_f0_writeb((sdiodev)->func1, (v), (addr), (ret)) 300 #define brcmf_sdiod_readb(sdiodev, addr, r) \ argument 301 sdio_readb((sdiodev)->func1, (addr), (r)) 303 #define brcmf_sdiod_writeb(sdiodev, addr, v, ret) \ argument 304 sdio_writeb((sdiodev)->func1, (v), (addr), (ret)) [all …]
|
H A D | sdio.c | 438 struct brcmf_sdio_dev *sdiodev; /* sdio device handler */ member 706 sdio_retune_crc_disable(bus->sdiodev->func1); in brcmf_sdio_kso_control() 710 sdio_retune_hold_now(bus->sdiodev->func1); in brcmf_sdio_kso_control() 714 brcmf_sdiod_writeb(bus->sdiodev, SBSDIO_FUNC1_SLEEPCSR, wr_val, &err); in brcmf_sdio_kso_control() 748 rd_val = brcmf_sdiod_readb(bus->sdiodev, SBSDIO_FUNC1_SLEEPCSR, in brcmf_sdio_kso_control() 760 brcmf_sdiod_writeb(bus->sdiodev, SBSDIO_FUNC1_SLEEPCSR, wr_val, in brcmf_sdio_kso_control() 773 sdio_retune_release(bus->sdiodev->func1); in brcmf_sdio_kso_control() 775 sdio_retune_crc_enable(bus->sdiodev->func1); in brcmf_sdio_kso_control() 803 brcmf_sdiod_writeb(bus->sdiodev, SBSDIO_FUNC1_CHIPCLKCSR, in brcmf_sdio_htclk() 811 clkctl = brcmf_sdiod_readb(bus->sdiodev, in brcmf_sdio_htclk() [all …]
|