Searched refs:w_ptr (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 54 commonring->w_ptr = 0; in brcmf_commonring_config() 84 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_write_available() 85 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available() 88 available = commonring->r_ptr - commonring->w_ptr; in brcmf_commonring_write_available() 125 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_reserve_for_write() 126 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write() 129 available = commonring->r_ptr - commonring->w_ptr; in brcmf_commonring_reserve_for_write() 133 (commonring->w_ptr * commonring->item_len); in brcmf_commonring_reserve_for_write() 134 commonring->w_ptr++; in brcmf_commonring_reserve_for_write() 135 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write() [all …]
|
D | commonring.h | 21 u16 w_ptr; member
|
D | msgbuf.c | 1397 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1400 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1403 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1406 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1409 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1425 i, commonring->r_ptr, commonring->w_ptr, in brcmf_msgbuf_stats_read()
|
D | pcie.c | 913 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_write_rptr() 930 brcmf_dbg(PCIE, "W w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_write_wptr() 933 devinfo->write_ptr(devinfo, ring->w_idx_addr, commonring->w_ptr); in brcmf_pcie_ring_mb_write_wptr() 967 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_update_rptr() 982 commonring->w_ptr = devinfo->read_ptr(devinfo, ring->w_idx_addr); in brcmf_pcie_ring_mb_update_wptr() 984 brcmf_dbg(PCIE, "R w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_update_wptr()
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-recovery.c | 250 u64 w_ptr = line->cur_sec; in pblk_recov_pad_oob() local 318 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_pad_oob() 319 ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 323 w_ptr += pblk->min_write_pgs; in pblk_recov_pad_oob() 324 ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 328 for (j = 0; j < pblk->min_write_pgs; j++, i++, w_ptr++) { in pblk_recov_pad_oob() 332 dev_ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 335 lba_list[w_ptr] = meta_list[i].lba = addr_empty; in pblk_recov_pad_oob() 397 u64 w_ptr = 0, r_ptr; in pblk_recov_scan_all_oob() local 447 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_scan_all_oob() [all …]
|