Home
last modified time | relevance | path

Searched refs:commonring (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c36 void brcmf_commonring_register_cb(struct brcmf_commonring *commonring, in brcmf_commonring_register_cb() argument
43 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb()
44 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb()
45 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb()
46 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb()
47 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb()
48 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb()
52 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument
55 commonring->depth = depth; in brcmf_commonring_config()
56 commonring->item_len = item_len; in brcmf_commonring_config()
[all …]
Dcommonring.h43 void brcmf_commonring_register_cb(struct brcmf_commonring *commonring,
49 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth,
51 void brcmf_commonring_lock(struct brcmf_commonring *commonring);
52 void brcmf_commonring_unlock(struct brcmf_commonring *commonring);
53 bool brcmf_commonring_write_available(struct brcmf_commonring *commonring);
54 void *brcmf_commonring_reserve_for_write(struct brcmf_commonring *commonring);
56 brcmf_commonring_reserve_for_write_multiple(struct brcmf_commonring *commonring,
58 int brcmf_commonring_write_complete(struct brcmf_commonring *commonring);
59 void brcmf_commonring_write_cancel(struct brcmf_commonring *commonring,
61 void *brcmf_commonring_get_read_ptr(struct brcmf_commonring *commonring,
[all …]
Dmsgbuf.c429 struct brcmf_commonring *commonring; in brcmf_msgbuf_tx_ioctl() local
435 commonring = msgbuf->commonrings[BRCMF_H2D_MSGRING_CONTROL_SUBMIT]; in brcmf_msgbuf_tx_ioctl()
436 brcmf_commonring_lock(commonring); in brcmf_msgbuf_tx_ioctl()
437 ret_ptr = brcmf_commonring_reserve_for_write(commonring); in brcmf_msgbuf_tx_ioctl()
440 brcmf_commonring_unlock(commonring); in brcmf_msgbuf_tx_ioctl()
465 err = brcmf_commonring_write_complete(commonring); in brcmf_msgbuf_tx_ioctl()
466 brcmf_commonring_unlock(commonring); in brcmf_msgbuf_tx_ioctl()
582 struct brcmf_commonring *commonring; in brcmf_msgbuf_flowring_create_worker() local
605 commonring = msgbuf->commonrings[BRCMF_H2D_MSGRING_CONTROL_SUBMIT]; in brcmf_msgbuf_flowring_create_worker()
606 brcmf_commonring_lock(commonring); in brcmf_msgbuf_flowring_create_worker()
[all …]
Dpcie.c252 struct brcmf_commonring commonring; member
870 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_write_rptr() local
875 brcmf_dbg(PCIE, "W r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_write_rptr()
876 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_write_rptr()
878 brcmf_pcie_write_tcm16(devinfo, ring->r_idx_addr, commonring->r_ptr); in brcmf_pcie_ring_mb_write_rptr()
888 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_write_wptr() local
893 brcmf_dbg(PCIE, "W w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_write_wptr()
894 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_write_wptr()
896 brcmf_pcie_write_tcm16(devinfo, ring->w_idx_addr, commonring->w_ptr); in brcmf_pcie_ring_mb_write_wptr()
920 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_update_rptr() local
[all …]
DMakefile42 commonring.o \