Searched refs:commonring (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 15 void brcmf_commonring_register_cb(struct brcmf_commonring *commonring, in brcmf_commonring_register_cb() argument 22 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb() 23 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb() 24 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb() 25 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb() 26 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb() 27 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb() 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 commonring->depth = depth; in brcmf_commonring_config() 35 commonring->item_len = item_len; in brcmf_commonring_config() [all …]
|
D | commonring.h | 35 void brcmf_commonring_register_cb(struct brcmf_commonring *commonring, 41 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, 43 void brcmf_commonring_lock(struct brcmf_commonring *commonring); 44 void brcmf_commonring_unlock(struct brcmf_commonring *commonring); 45 bool brcmf_commonring_write_available(struct brcmf_commonring *commonring); 46 void *brcmf_commonring_reserve_for_write(struct brcmf_commonring *commonring); 48 brcmf_commonring_reserve_for_write_multiple(struct brcmf_commonring *commonring, 50 int brcmf_commonring_write_complete(struct brcmf_commonring *commonring); 51 void brcmf_commonring_write_cancel(struct brcmf_commonring *commonring, 53 void *brcmf_commonring_get_read_ptr(struct brcmf_commonring *commonring, [all …]
|
D | msgbuf.c | 435 struct brcmf_commonring *commonring; in brcmf_msgbuf_tx_ioctl() local 441 commonring = msgbuf->commonrings[BRCMF_H2D_MSGRING_CONTROL_SUBMIT]; in brcmf_msgbuf_tx_ioctl() 442 brcmf_commonring_lock(commonring); in brcmf_msgbuf_tx_ioctl() 443 ret_ptr = brcmf_commonring_reserve_for_write(commonring); in brcmf_msgbuf_tx_ioctl() 446 brcmf_commonring_unlock(commonring); in brcmf_msgbuf_tx_ioctl() 470 err = brcmf_commonring_write_complete(commonring); in brcmf_msgbuf_tx_ioctl() 471 brcmf_commonring_unlock(commonring); in brcmf_msgbuf_tx_ioctl() 588 struct brcmf_commonring *commonring; in brcmf_msgbuf_flowring_create_worker() local 611 commonring = msgbuf->commonrings[BRCMF_H2D_MSGRING_CONTROL_SUBMIT]; in brcmf_msgbuf_flowring_create_worker() 612 brcmf_commonring_lock(commonring); in brcmf_msgbuf_flowring_create_worker() [all …]
|
D | pcie.c | 369 struct brcmf_commonring commonring; member 1022 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_write_rptr() local 1027 brcmf_dbg(PCIE, "W r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_write_rptr() 1028 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_write_rptr() 1030 devinfo->write_ptr(devinfo, ring->r_idx_addr, commonring->r_ptr); in brcmf_pcie_ring_mb_write_rptr() 1040 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_write_wptr() local 1045 brcmf_dbg(PCIE, "W w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_write_wptr() 1046 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_write_wptr() 1048 devinfo->write_ptr(devinfo, ring->w_idx_addr, commonring->w_ptr); in brcmf_pcie_ring_mb_write_wptr() 1074 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_update_rptr() local [all …]
|
D | Makefile | 33 commonring.o \
|