Home
last modified time | relevance | path

Searched refs:w_ptr (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c44 commonring->w_ptr = 0; in brcmf_commonring_config()
74 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_write_available()
75 available = commonring->depth - commonring->w_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()
116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write()
119 available = commonring->r_ptr - commonring->w_ptr; in brcmf_commonring_reserve_for_write()
123 (commonring->w_ptr * commonring->item_len); in brcmf_commonring_reserve_for_write()
124 commonring->w_ptr++; in brcmf_commonring_reserve_for_write()
125 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write()
[all …]
H A Dcommonring.h11 u16 w_ptr; member
H A Dmsgbuf.c1481 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 Dpcie.c1028 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_write_rptr()
1045 brcmf_dbg(PCIE, "W w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_write_wptr()
1048 devinfo->write_ptr(devinfo, ring->w_idx_addr, commonring->w_ptr); in brcmf_pcie_ring_mb_write_wptr()
1082 commonring->w_ptr, ring->id); in brcmf_pcie_ring_mb_update_rptr()
1097 commonring->w_ptr = devinfo->read_ptr(devinfo, ring->w_idx_addr); in brcmf_pcie_ring_mb_update_wptr()
1099 brcmf_dbg(PCIE, "R w_ptr %d (%d), ring %d\n", commonring->w_ptr, in brcmf_pcie_ring_mb_update_wptr()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c471 unsigned int *w_ptr, read_data; in rim_fn() local
484 for (w_ptr = (unsigned int *)chunk_start; in rim_fn()
485 (unsigned long)w_ptr < (unsigned long)(chunk_start) + size; in rim_fn()
486 w_ptr++) { in rim_fn()
488 *pattern_ptr = compute_store_pattern(tid, w_ptr, cur_sweep_id); in rim_fn()
489 *w_ptr = *pattern_ptr; in rim_fn()
496 for (w_ptr = (unsigned int *)chunk_start; in rim_fn()
497 (unsigned long)w_ptr < (unsigned long)(chunk_start) + size; in rim_fn()
498 w_ptr++) { in rim_fn()
506 old_pattern = compute_store_pattern(tid, w_ptr, prev_sweep_id); in rim_fn()
[all …]
/openbmc/qemu/ui/
H A Dvnc-enc-tight.c713 uint32_t color, int *w_ptr, int *h_ptr) in find_best_solid_area() argument
746 *w_ptr = w_best; in find_best_solid_area()
752 int *w_ptr, int *h_ptr) in extend_solid_area() argument
758 cy >= y && check_solid_tile(vs, *x_ptr, cy, *w_ptr, 1, &color, true); in extend_solid_area()
766 check_solid_tile(vs, *x_ptr, cy, *w_ptr, 1, &color, true); in extend_solid_area()
774 *w_ptr += *x_ptr - (cx + 1); in extend_solid_area()
778 for ( cx = *x_ptr + *w_ptr; in extend_solid_area()
782 *w_ptr += cx - (*x_ptr + *w_ptr); in extend_solid_area()
/openbmc/qemu/hw/nvme/
H A Dns.c264 zone->w_ptr = start; in nvme_ns_zoned_init_state()
341 zone->w_ptr = zone->d.wp; in nvme_clear_zone()
H A Dctrl.c1861 uint64_t ezrwa = zone->w_ptr + 2 * ns->zns.zrwas; in nvme_check_zone_write()
1863 if (slba < zone->w_ptr || slba + nlb > ezrwa) { in nvme_check_zone_write()
1864 trace_pci_nvme_err_zone_invalid_write(slba, zone->w_ptr); in nvme_check_zone_write()
1868 if (unlikely(slba != zone->w_ptr)) { in nvme_check_zone_write()
1870 zone->w_ptr); in nvme_check_zone_write()
2004 zone->w_ptr = zone->d.zslba; in nvme_zrm_reset()
2005 zone->d.wp = zone->w_ptr; in nvme_zrm_reset()
2121 zone->w_ptr += nlbc; in nvme_zoned_zrwa_implicit_flush()
2139 uint64_t ezrwa = zone->w_ptr + ns->zns.zrwas - 1; in nvme_finalize_zoned_write()
3066 iocb->zone->w_ptr += nlb; in nvme_copy_in_completed_cb()
[all …]
H A Dnvme.h155 uint64_t w_ptr; member