Searched refs:r_ptr (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | commonring.c | 41 commonring->r_ptr = 0; in brcmf_commonring_config() 74 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_write_available() 76 commonring->r_ptr; in brcmf_commonring_write_available() 115 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_reserve_for_write() 117 commonring->r_ptr; in brcmf_commonring_reserve_for_write() 151 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_reserve_for_write_multiple() 153 commonring->r_ptr; in brcmf_commonring_reserve_for_write_multiple() 215 (commonring->depth - commonring->r_ptr); in brcmf_commonring_get_read_ptr() 228 commonring->r_ptr += n_items; in brcmf_commonring_read_complete() 229 if (commonring->r_ptr == commonring->depth) in brcmf_commonring_read_complete() [all …]
|
H A D | commonring.h | 10 u16 r_ptr; member
|
H A D | msgbuf.c | 1364 if (commonring->r_ptr == 0) in brcmf_msgbuf_process_rx() 1481 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1484 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1487 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1490 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1493 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1508 i, commonring->r_ptr, commonring->w_ptr, in brcmf_msgbuf_stats_read()
|
H A D | pcie.c | 1027 brcmf_dbg(PCIE, "W r_ptr %d (%d), ring %d\n", commonring->r_ptr, 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() 1046 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_write_wptr() 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() 1100 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_update_wptr()
|