Searched refs:w_ptr (Results 1 – 5 of 5) sorted by relevance
/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 | 1377 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1380 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1383 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1386 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1389 commonring->r_ptr, commonring->w_ptr, commonring->depth); in brcmf_msgbuf_stats_read() 1405 i, commonring->r_ptr, commonring->w_ptr, in brcmf_msgbuf_stats_read()
|
D | pcie.c | 890 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_write_rptr() 907 brcmf_dbg(PCIE, "W w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_write_wptr() 910 devinfo->write_ptr(devinfo, ring->w_idx_addr, commonring->w_ptr); in brcmf_pcie_ring_mb_write_wptr() 944 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_update_rptr() 959 commonring->w_ptr = devinfo->read_ptr(devinfo, ring->w_idx_addr); in brcmf_pcie_ring_mb_update_wptr() 961 brcmf_dbg(PCIE, "R w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_update_wptr()
|
/drivers/lightnvm/ |
D | pblk-recovery.c | 366 u64 w_ptr = line->cur_sec; in pblk_recov_pad_oob() local 438 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_pad_oob() 439 ppa = addr_to_pblk_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 443 w_ptr += pblk->min_write_pgs; in pblk_recov_pad_oob() 444 ppa = addr_to_pblk_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 448 for (j = 0; j < pblk->min_write_pgs; j++, i++, w_ptr++) { in pblk_recov_pad_oob() 452 dev_ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_oob() 455 lba_list[w_ptr] = meta_list[i].lba = addr_empty; in pblk_recov_pad_oob() 519 u64 w_ptr = 0, r_ptr; in pblk_recov_scan_all_oob() local 572 w_ptr = pblk_alloc_page(pblk, line, pblk->min_write_pgs); in pblk_recov_scan_all_oob() [all …]
|