ptr_mask 51 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c ih->ptr_mask = ih->ring_size - 1; ptr_mask 166 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c ih->rptr &= ih->ptr_mask; ptr_mask 38 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h uint32_t ptr_mask; ptr_mask 314 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c ring->ptr_mask = ring->funcs->support_64bit_ptrs ? ptr_mask 193 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h uint64_t ptr_mask; ptr_mask 294 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h ring->wptr &= ring->ptr_mask; ptr_mask 325 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h ring->wptr &= ring->ptr_mask; ptr_mask 201 drivers/gpu/drm/amd/amdgpu/cik_ih.c wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); ptr_mask 202 drivers/gpu/drm/amd/amdgpu/cik_ih.c ih->rptr = (wptr + 16) & ih->ptr_mask; ptr_mask 207 drivers/gpu/drm/amd/amdgpu/cik_ih.c return (wptr & ih->ptr_mask); ptr_mask 203 drivers/gpu/drm/amd/amdgpu/cz_ih.c wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); ptr_mask 204 drivers/gpu/drm/amd/amdgpu/cz_ih.c ih->rptr = (wptr + 16) & ih->ptr_mask; ptr_mask 209 drivers/gpu/drm/amd/amdgpu/cz_ih.c return (wptr & ih->ptr_mask); ptr_mask 203 drivers/gpu/drm/amd/amdgpu/iceland_ih.c wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); ptr_mask 204 drivers/gpu/drm/amd/amdgpu/iceland_ih.c ih->rptr = (wptr + 16) & ih->ptr_mask; ptr_mask 209 drivers/gpu/drm/amd/amdgpu/iceland_ih.c return (wptr & ih->ptr_mask); ptr_mask 230 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = (wptr + 32) & ih->ptr_mask; ptr_mask 241 drivers/gpu/drm/amd/amdgpu/navi10_ih.c return (wptr & ih->ptr_mask); ptr_mask 115 drivers/gpu/drm/amd/amdgpu/si_ih.c wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); ptr_mask 116 drivers/gpu/drm/amd/amdgpu/si_ih.c ih->rptr = (wptr + 16) & ih->ptr_mask; ptr_mask 121 drivers/gpu/drm/amd/amdgpu/si_ih.c return (wptr & ih->ptr_mask); ptr_mask 205 drivers/gpu/drm/amd/amdgpu/tonga_ih.c wptr, ih->rptr, (wptr + 16) & ih->ptr_mask); ptr_mask 206 drivers/gpu/drm/amd/amdgpu/tonga_ih.c ih->rptr = (wptr + 16) & ih->ptr_mask; ptr_mask 211 drivers/gpu/drm/amd/amdgpu/tonga_ih.c return (wptr & ih->ptr_mask); ptr_mask 404 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = (wptr + 32) & ih->ptr_mask; ptr_mask 424 drivers/gpu/drm/amd/amdgpu/vega10_ih.c return (wptr & ih->ptr_mask); ptr_mask 7512 drivers/gpu/drm/radeon/cik.c wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); ptr_mask 7513 drivers/gpu/drm/radeon/cik.c rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; ptr_mask 7518 drivers/gpu/drm/radeon/cik.c return (wptr & rdev->ih.ptr_mask); ptr_mask 8101 drivers/gpu/drm/radeon/cik.c rptr &= rdev->ih.ptr_mask; ptr_mask 4692 drivers/gpu/drm/radeon/evergreen.c wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); ptr_mask 4693 drivers/gpu/drm/radeon/evergreen.c rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; ptr_mask 4698 drivers/gpu/drm/radeon/evergreen.c return (wptr & rdev->ih.ptr_mask); ptr_mask 4910 drivers/gpu/drm/radeon/evergreen.c rptr &= rdev->ih.ptr_mask; ptr_mask 2956 drivers/gpu/drm/radeon/r100.c count = (rdp + ring->ring_size - wdp) & ring->ptr_mask; ptr_mask 2964 drivers/gpu/drm/radeon/r100.c i = (rdp + j) & ring->ptr_mask; ptr_mask 3477 drivers/gpu/drm/radeon/r600.c rdev->ih.ptr_mask = rdev->ih.ring_size - 1; ptr_mask 4056 drivers/gpu/drm/radeon/r600.c wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); ptr_mask 4057 drivers/gpu/drm/radeon/r600.c rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; ptr_mask 4062 drivers/gpu/drm/radeon/r600.c return (wptr & rdev->ih.ptr_mask); ptr_mask 4324 drivers/gpu/drm/radeon/r600.c rptr &= rdev->ih.ptr_mask; ptr_mask 849 drivers/gpu/drm/radeon/radeon.h uint32_t ptr_mask; ptr_mask 975 drivers/gpu/drm/radeon/radeon.h uint32_t ptr_mask; ptr_mask 2691 drivers/gpu/drm/radeon/radeon.h ring->wptr &= ring->ptr_mask; ptr_mask 89 drivers/gpu/drm/radeon/radeon_ring.c ring->ring_free_dw &= ring->ptr_mask; ptr_mask 314 drivers/gpu/drm/radeon/radeon_ring.c size &= ring->ptr_mask; ptr_mask 328 drivers/gpu/drm/radeon/radeon_ring.c ptr &= ring->ptr_mask; ptr_mask 414 drivers/gpu/drm/radeon/radeon_ring.c ring->ptr_mask = (ring->ring_size / 4) - 1; ptr_mask 508 drivers/gpu/drm/radeon/radeon_ring.c i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask; ptr_mask 516 drivers/gpu/drm/radeon/radeon_ring.c i = (i + 1) & ring->ptr_mask; ptr_mask 6226 drivers/gpu/drm/radeon/si.c wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); ptr_mask 6227 drivers/gpu/drm/radeon/si.c rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; ptr_mask 6232 drivers/gpu/drm/radeon/si.c return (wptr & rdev->ih.ptr_mask); ptr_mask 6436 drivers/gpu/drm/radeon/si.c rptr &= rdev->ih.ptr_mask; ptr_mask 2301 drivers/net/ethernet/sfc/ef10.c (tx_queue->ptr_mask + 1) * ptr_mask 2313 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 2447 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_SIZE, tx_queue->ptr_mask + 1); ptr_mask 2564 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 2601 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 2628 drivers/net/ethernet/sfc/ef10.c old_write_count & tx_queue->ptr_mask); ptr_mask 3075 drivers/net/ethernet/sfc/ef10.c (rx_queue->ptr_mask + 1) * ptr_mask 3098 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_SIZE, rx_queue->ptr_mask + 1); ptr_mask 3185 drivers/net/ethernet/sfc/ef10.c rx_queue->notified_count & rx_queue->ptr_mask); ptr_mask 3190 drivers/net/ethernet/sfc/ef10.c write_count & rx_queue->ptr_mask); ptr_mask 3410 drivers/net/ethernet/sfc/ef10.c unsigned int dropped = (actual - expected) & rx_queue->ptr_mask; ptr_mask 3429 drivers/net/ethernet/sfc/ef10.c rx_desc_ptr = rx_queue->removed_count & rx_queue->ptr_mask; ptr_mask 3660 drivers/net/ethernet/sfc/ef10.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 3707 drivers/net/ethernet/sfc/ef10.c efx_xmit_done(tx_queue, tx_ev_desc_ptr & tx_queue->ptr_mask); ptr_mask 3728 drivers/net/ethernet/sfc/ef10.c if (tx_queue->completed_desc_ptr != tx_queue->ptr_mask) ptr_mask 3734 drivers/net/ethernet/sfc/ef10.c tx_ev_desc_ptr & tx_queue->ptr_mask; ptr_mask 3747 drivers/net/ethernet/sfc/ef10.c tx_queue->completed_desc_ptr = tx_queue->ptr_mask; ptr_mask 277 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 293 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 318 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 339 drivers/net/ethernet/sfc/falcon/farch.c old_write_count & tx_queue->ptr_mask); ptr_mask 368 drivers/net/ethernet/sfc/falcon/farch.c entries = tx_queue->ptr_mask + 1; ptr_mask 498 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->notified_count & rx_queue->ptr_mask); ptr_mask 503 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = rx_queue->added_count & rx_queue->ptr_mask; ptr_mask 514 drivers/net/ethernet/sfc/falcon/farch.c entries = rx_queue->ptr_mask + 1; ptr_mask 844 drivers/net/ethernet/sfc/falcon/farch.c tx_queue->ptr_mask); ptr_mask 956 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->ptr_mask)) { ptr_mask 961 drivers/net/ethernet/sfc/falcon/farch.c expected = rx_queue->removed_count & rx_queue->ptr_mask; ptr_mask 962 drivers/net/ethernet/sfc/falcon/farch.c dropped = (index - expected) & rx_queue->ptr_mask; ptr_mask 1002 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->ptr_mask); ptr_mask 1015 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 1029 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 1080 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 221 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int ptr_mask; ptr_mask 333 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int ptr_mask; ptr_mask 1312 drivers/net/ethernet/sfc/falcon/net_driver.h return tx_queue->insert_count & tx_queue->ptr_mask; ptr_mask 78 drivers/net/ethernet/sfc/falcon/rx.c if (unlikely(rx_buf == ef4_rx_buffer(rx_queue, rx_queue->ptr_mask))) ptr_mask 188 drivers/net/ethernet/sfc/falcon/rx.c index = rx_queue->added_count & rx_queue->ptr_mask; ptr_mask 553 drivers/net/ethernet/sfc/falcon/rx.c (index + n_frags - 1) & rx_queue->ptr_mask, len, ptr_mask 688 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->ptr_mask = entries - 1; ptr_mask 693 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->ptr_mask); ptr_mask 788 drivers/net/ethernet/sfc/falcon/rx.c unsigned index = i & rx_queue->ptr_mask; ptr_mask 362 drivers/net/ethernet/sfc/falcon/tx.c stop_index = (index + 1) & tx_queue->ptr_mask; ptr_mask 363 drivers/net/ethernet/sfc/falcon/tx.c read_ptr = tx_queue->read_count & tx_queue->ptr_mask; ptr_mask 380 drivers/net/ethernet/sfc/falcon/tx.c read_ptr = tx_queue->read_count & tx_queue->ptr_mask; ptr_mask 498 drivers/net/ethernet/sfc/falcon/tx.c EF4_BUG_ON_PARANOID(index > tx_queue->ptr_mask); ptr_mask 535 drivers/net/ethernet/sfc/falcon/tx.c return DIV_ROUND_UP(tx_queue->ptr_mask + 1, PAGE_SIZE >> EF4_TX_CB_ORDER); ptr_mask 547 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->ptr_mask = entries - 1; ptr_mask 551 drivers/net/ethernet/sfc/falcon/tx.c tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask); ptr_mask 619 drivers/net/ethernet/sfc/falcon/tx.c buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; ptr_mask 286 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 302 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 327 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; ptr_mask 348 drivers/net/ethernet/sfc/farch.c old_write_count & tx_queue->ptr_mask); ptr_mask 374 drivers/net/ethernet/sfc/farch.c entries = tx_queue->ptr_mask + 1; ptr_mask 486 drivers/net/ethernet/sfc/farch.c rx_queue->notified_count & rx_queue->ptr_mask); ptr_mask 491 drivers/net/ethernet/sfc/farch.c write_ptr = rx_queue->added_count & rx_queue->ptr_mask; ptr_mask 502 drivers/net/ethernet/sfc/farch.c entries = rx_queue->ptr_mask + 1; ptr_mask 945 drivers/net/ethernet/sfc/farch.c rx_queue->ptr_mask)) { ptr_mask 950 drivers/net/ethernet/sfc/farch.c expected = rx_queue->removed_count & rx_queue->ptr_mask; ptr_mask 951 drivers/net/ethernet/sfc/farch.c dropped = (index - expected) & rx_queue->ptr_mask; ptr_mask 990 drivers/net/ethernet/sfc/farch.c rx_queue->ptr_mask); ptr_mask 1003 drivers/net/ethernet/sfc/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 1017 drivers/net/ethernet/sfc/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 1068 drivers/net/ethernet/sfc/farch.c rx_queue->removed_count & rx_queue->ptr_mask, ptr_mask 248 drivers/net/ethernet/sfc/net_driver.h unsigned int ptr_mask; ptr_mask 372 drivers/net/ethernet/sfc/net_driver.h unsigned int ptr_mask; ptr_mask 1602 drivers/net/ethernet/sfc/net_driver.h return tx_queue->insert_count & tx_queue->ptr_mask; ptr_mask 78 drivers/net/ethernet/sfc/rx.c if (unlikely(rx_buf == efx_rx_buffer(rx_queue, rx_queue->ptr_mask))) ptr_mask 188 drivers/net/ethernet/sfc/rx.c index = rx_queue->added_count & rx_queue->ptr_mask; ptr_mask 542 drivers/net/ethernet/sfc/rx.c (index + n_frags - 1) & rx_queue->ptr_mask, len, ptr_mask 686 drivers/net/ethernet/sfc/rx.c rx_queue->ptr_mask = entries - 1; ptr_mask 691 drivers/net/ethernet/sfc/rx.c rx_queue->ptr_mask); ptr_mask 786 drivers/net/ethernet/sfc/rx.c unsigned index = i & rx_queue->ptr_mask; ptr_mask 613 drivers/net/ethernet/sfc/tx.c stop_index = (index + 1) & tx_queue->ptr_mask; ptr_mask 614 drivers/net/ethernet/sfc/tx.c read_ptr = tx_queue->read_count & tx_queue->ptr_mask; ptr_mask 631 drivers/net/ethernet/sfc/tx.c read_ptr = tx_queue->read_count & tx_queue->ptr_mask; ptr_mask 755 drivers/net/ethernet/sfc/tx.c EFX_WARN_ON_ONCE_PARANOID(index > tx_queue->ptr_mask); ptr_mask 792 drivers/net/ethernet/sfc/tx.c return DIV_ROUND_UP(tx_queue->ptr_mask + 1, PAGE_SIZE >> EFX_TX_CB_ORDER); ptr_mask 804 drivers/net/ethernet/sfc/tx.c tx_queue->ptr_mask = entries - 1; ptr_mask 808 drivers/net/ethernet/sfc/tx.c tx_queue->queue, efx->txq_entries, tx_queue->ptr_mask); ptr_mask 856 drivers/net/ethernet/sfc/tx.c tx_queue->completed_desc_ptr = tx_queue->ptr_mask; ptr_mask 884 drivers/net/ethernet/sfc/tx.c buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask];