Searched refs:r_ptr (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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() 78 available = commonring->r_ptr - commonring->w_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() 119 available = commonring->r_ptr - commonring->w_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() 155 available = commonring->r_ptr - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple() [all …]
|
D | commonring.h | 10 u16 r_ptr; member
|
D | msgbuf.c | 1355 if (commonring->r_ptr == 0) in brcmf_msgbuf_process_rx() 1454 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1457 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1460 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1463 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1466 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1481 i, commonring->r_ptr, commonring->w_ptr, in brcmf_msgbuf_stats_read()
|
D | pcie.c | 930 brcmf_dbg(PCIE, "W r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_write_rptr() 933 devinfo->write_ptr(devinfo, ring->r_idx_addr, commonring->r_ptr); in brcmf_pcie_ring_mb_write_rptr() 949 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_write_wptr() 982 commonring->r_ptr = devinfo->read_ptr(devinfo, ring->r_idx_addr); in brcmf_pcie_ring_mb_update_rptr() 984 brcmf_dbg(PCIE, "R r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_update_rptr() 1003 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_update_wptr()
|
/Linux-v5.4/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 32 u16 *r_ptr, *g_ptr, *b_ptr; in mga_crtc_load_lut() local 38 r_ptr = crtc->gamma_store; in mga_crtc_load_lut() 39 g_ptr = r_ptr + crtc->gamma_size; in mga_crtc_load_lut() 52 r = *r_ptr++ >> 8; in mga_crtc_load_lut() 54 r_ptr++; in mga_crtc_load_lut() 58 r = *r_ptr++ >> 8; in mga_crtc_load_lut() 70 WREG8(DAC_INDEX + MGA1064_COL_PAL, *r_ptr++ >> 8); in mga_crtc_load_lut()
|