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()
115 if (commonring->r_ptr <= commonring->w_ptr) in brcmf_commonring_reserve_for_write()
124 commonring->w_ptr++; in brcmf_commonring_reserve_for_write()
126 commonring->w_ptr = 0; in brcmf_commonring_reserve_for_write()
163 commonring->w_ptr += *alloced; in brcmf_commonring_reserve_for_write_multiple()
165 commonring->w_ptr = 0; in brcmf_commonring_reserve_for_write_multiple()
183 if (commonring->f_ptr > commonring->w_ptr) in brcmf_commonring_write_complete()
186 commonring->f_ptr = commonring->w_ptr; in brcmf_commonring_write_complete()
200 if (commonring->w_ptr == 0) in brcmf_commonring_write_cancel()
[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()
489 *w_ptr = *pattern_ptr; in rim_fn()
496 for (w_ptr = (unsigned int *)chunk_start; in rim_fn()
498 w_ptr++) { in rim_fn()
512 dcbf((volatile unsigned int*)w_ptr); //Flush in rim_fn()
515 read_data = *w_ptr; //Load in rim_fn()
539 verify_chunk(tid, w_ptr, cur_sweep_id, 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.c258 zone->w_ptr = start; in nvme_ns_zoned_init_state()
335 zone->w_ptr = zone->d.wp; in nvme_clear_zone()
H A Dnvme.h155 uint64_t w_ptr; member
H A Dctrl.c1844 uint64_t ezrwa = zone->w_ptr + 2 * ns->zns.zrwas; in nvme_check_zone_write()
1846 if (slba < zone->w_ptr || slba + nlb > ezrwa) { in nvme_check_zone_write()
1851 if (unlikely(slba != zone->w_ptr)) { in nvme_check_zone_write()
1987 zone->w_ptr = zone->d.zslba; in nvme_zrm_reset()
1988 zone->d.wp = zone->w_ptr; in nvme_zrm_reset()
2104 zone->w_ptr += nlbc; in nvme_zoned_zrwa_implicit_flush()
3044 iocb->zone->w_ptr += nlb; in nvme_copy_in_completed_cb()
3755 slba = zone->w_ptr; in nvme_do_write()
3795 zone->w_ptr += nlb; in nvme_do_write()
3892 if (zone->w_ptr % ns->zns.zrwafg) { in nvme_open_zone()
[all …]