Searched refs:sdma_mask (Results 1 – 5 of 5) sorted by relevance
530 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 …]
292 u32 sdma_mask; member
268 { SDMA0_HWIP, adev->sdma.sdma_mask }, in aqua_vanjaram_ip_map_init()625 u32 mask, inst_mask = adev->sdma.sdma_mask; in aqua_vanjaram_init_soc_config()630 adev->sdma.num_instances = NUM_SDMA(adev->sdma.sdma_mask); in aqua_vanjaram_init_soc_config()
108 uint32_t sdma_mask; member
654 adev->sdma.sdma_mask &= in amdgpu_discovery_read_from_harvest_table()937 harvest = ((1 << inst) & adev->sdma.sdma_mask) == 0; in amdgpu_discovery_get_harvest_info()1226 adev->sdma.sdma_mask = 0; in amdgpu_discovery_reg_base_init()1296 adev->sdma.sdma_mask |= in amdgpu_discovery_reg_base_init()