Lines Matching refs:commonring

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
1079 commonring->r_ptr = devinfo->read_ptr(devinfo, ring->r_idx_addr); in brcmf_pcie_ring_mb_update_rptr()
1081 brcmf_dbg(PCIE, "R r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_update_rptr()
1082 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_update_rptr()
1092 struct brcmf_commonring *commonring = &ring->commonring; in brcmf_pcie_ring_mb_update_wptr() local
1097 commonring->w_ptr = devinfo->read_ptr(devinfo, ring->w_idx_addr); in brcmf_pcie_ring_mb_update_wptr()
1099 brcmf_dbg(PCIE, "R w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_update_wptr()
1100 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_update_wptr()
1162 brcmf_commonring_config(&ring->commonring, brcmf_ring_max_item[ring_id], in brcmf_pcie_alloc_dma_and_ring()
1166 brcmf_commonring_register_cb(&ring->commonring, in brcmf_pcie_alloc_dma_and_ring()
1186 dma_buf = ring->commonring.buf_addr; in brcmf_pcie_release_ringbuffer()
1188 size = ring->commonring.depth * ring->commonring.item_len; in brcmf_pcie_release_ringbuffer()
1358 brcmf_commonring_register_cb(&ring->commonring, in brcmf_pcie_init_ringbuffers()
2193 &devinfo->shared.commonrings[i]->commonring; in brcmf_pcie_setup()
2201 flowrings[i] = &devinfo->shared.flowrings[i].commonring; in brcmf_pcie_setup()