Home
last modified time | relevance | path

Searched refs:sdma_mask (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dsdma.c530 return sde->tx_ring[sde->tx_head & sde->sdma_mask]; in get_txhead()
547 head = sde->descq_head & sde->sdma_mask; in sdma_flush_descq()
548 tail = sde->descq_tail & sde->sdma_mask; in sdma_flush_descq()
551 head = ++sde->descq_head & sde->sdma_mask; in sdma_flush_descq()
555 sde->tx_ring[sde->tx_head++ & sde->sdma_mask] = NULL; in sdma_flush_descq()
1385 sde->sdma_mask = (1 << sde->sdma_shift) - 1; in sdma_init()
1684 swhead = sde->descq_head & sde->sdma_mask; in sdma_gethead()
1686 swtail = READ_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_gethead()
1801 swhead = sde->descq_head & sde->sdma_mask; in sdma_make_progress()
1805 swhead = ++sde->descq_head & sde->sdma_mask; in sdma_make_progress()
[all …]
Dsdma.h292 u32 sdma_mask; member
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sdma.h112 uint32_t sdma_mask; member
Daqua_vanjaram.c280 { SDMA0_HWIP, adev->sdma.sdma_mask }, in aqua_vanjaram_ip_map_init()
683 u32 mask, avail_inst, inst_mask = adev->sdma.sdma_mask; in aqua_vanjaram_init_soc_config()
688 adev->sdma.num_instances = NUM_SDMA(adev->sdma.sdma_mask); in aqua_vanjaram_init_soc_config()
Damdgpu_discovery.c716 adev->sdma.sdma_mask &= in amdgpu_discovery_read_from_harvest_table()
1005 harvest = ((1 << inst) & adev->sdma.sdma_mask) == 0; in amdgpu_discovery_get_harvest_info()
1294 adev->sdma.sdma_mask = 0; in amdgpu_discovery_reg_base_init()
1364 adev->sdma.sdma_mask |= in amdgpu_discovery_reg_base_init()