Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c41 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 …]
Dcommonring.h10 u16 r_ptr; member
Dmsgbuf.c1360 if (commonring->r_ptr == 0) in brcmf_msgbuf_process_rx()
1459 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read()
1462 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read()
1465 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read()
1468 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read()
1471 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read()
1486 i, commonring->r_ptr, commonring->w_ptr, in brcmf_msgbuf_stats_read()
Dpcie.c901 brcmf_dbg(PCIE, "W r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_write_rptr()
904 devinfo->write_ptr(devinfo, ring->r_idx_addr, commonring->r_ptr); in brcmf_pcie_ring_mb_write_rptr()
920 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_write_wptr()
953 commonring->r_ptr = devinfo->read_ptr(devinfo, ring->r_idx_addr); in brcmf_pcie_ring_mb_update_rptr()
955 brcmf_dbg(PCIE, "R r_ptr %d (%d), ring %d\n", commonring->r_ptr, in brcmf_pcie_ring_mb_update_rptr()
974 commonring->r_ptr, ring->id); in brcmf_pcie_ring_mb_update_wptr()
/drivers/gpu/drm/mgag200/
Dmgag200_mode.c40 u16 *r_ptr, *g_ptr, *b_ptr; in mga_crtc_load_lut() local
51 r_ptr = crtc->gamma_store; in mga_crtc_load_lut()
52 g_ptr = r_ptr + crtc->gamma_size; in mga_crtc_load_lut()
65 r = *r_ptr++ >> 8; in mga_crtc_load_lut()
67 r_ptr++; in mga_crtc_load_lut()
71 r = *r_ptr++ >> 8; in mga_crtc_load_lut()
83 WREG8(DAC_INDEX + MGA1064_COL_PAL, *r_ptr++ >> 8); in mga_crtc_load_lut()