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
112 uint32_t sdma_mask; member
280 { 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()
716 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()