Lines Matching refs:sdiodev

284 int brcmf_sdiod_intr_register(struct brcmf_sdio_dev *sdiodev);
285 void brcmf_sdiod_intr_unregister(struct brcmf_sdio_dev *sdiodev);
289 #define brcmf_sdiod_func0_rb(sdiodev, addr, r) \ argument
290 sdio_f0_readb((sdiodev)->func1, (addr), (r))
292 #define brcmf_sdiod_func0_wb(sdiodev, addr, v, ret) \ argument
293 sdio_f0_writeb((sdiodev)->func1, (v), (addr), (ret))
296 #define brcmf_sdiod_readb(sdiodev, addr, r) \ argument
297 sdio_readb((sdiodev)->func1, (addr), (r))
299 #define brcmf_sdiod_writeb(sdiodev, addr, v, ret) \ argument
300 sdio_writeb((sdiodev)->func1, (v), (addr), (ret))
302 u32 brcmf_sdiod_readl(struct brcmf_sdio_dev *sdiodev, u32 addr, int *ret);
303 void brcmf_sdiod_writel(struct brcmf_sdio_dev *sdiodev, u32 addr, u32 data,
317 int brcmf_sdiod_send_pkt(struct brcmf_sdio_dev *sdiodev,
319 int brcmf_sdiod_send_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes);
321 int brcmf_sdiod_recv_pkt(struct brcmf_sdio_dev *sdiodev, struct sk_buff *pkt);
322 int brcmf_sdiod_recv_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes);
323 int brcmf_sdiod_recv_chain(struct brcmf_sdio_dev *sdiodev,
340 int brcmf_sdiod_ramrw(struct brcmf_sdio_dev *sdiodev, bool write, u32 address,
344 int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func);
346 void brcmf_sdiod_sgtable_alloc(struct brcmf_sdio_dev *sdiodev);
347 void brcmf_sdiod_change_state(struct brcmf_sdio_dev *sdiodev,
350 bool brcmf_sdiod_freezing(struct brcmf_sdio_dev *sdiodev);
351 void brcmf_sdiod_try_freeze(struct brcmf_sdio_dev *sdiodev);
352 void brcmf_sdiod_freezer_count(struct brcmf_sdio_dev *sdiodev);
353 void brcmf_sdiod_freezer_uncount(struct brcmf_sdio_dev *sdiodev);
355 static inline bool brcmf_sdiod_freezing(struct brcmf_sdio_dev *sdiodev) in brcmf_sdiod_freezing() argument
359 static inline void brcmf_sdiod_try_freeze(struct brcmf_sdio_dev *sdiodev) in brcmf_sdiod_try_freeze() argument
362 static inline void brcmf_sdiod_freezer_count(struct brcmf_sdio_dev *sdiodev) in brcmf_sdiod_freezer_count() argument
365 static inline void brcmf_sdiod_freezer_uncount(struct brcmf_sdio_dev *sdiodev) in brcmf_sdiod_freezer_uncount() argument
370 int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev);
371 int brcmf_sdiod_remove(struct brcmf_sdio_dev *sdiodev);
373 struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev);