Searched refs:stream_map (Results 1 – 1 of 1) sorted by relevance
189 #define for_each_stream_map(i, base, stream_map) \ argument190 for (i = 0, stream_map = &(base)->stream_maps[0]; \191 i < MAX_DARTS_PER_DEVICE && stream_map->dart; \192 stream_map = &(base)->stream_maps[++i])203 apple_dart_hw_enable_translation(struct apple_dart_stream_map *stream_map) in apple_dart_hw_enable_translation() argument207 for_each_set_bit(sid, &stream_map->sidmap, DART_MAX_STREAMS) in apple_dart_hw_enable_translation()209 stream_map->dart->regs + DART_TCR(sid)); in apple_dart_hw_enable_translation()212 static void apple_dart_hw_disable_dma(struct apple_dart_stream_map *stream_map) in apple_dart_hw_disable_dma() argument216 for_each_set_bit(sid, &stream_map->sidmap, DART_MAX_STREAMS) in apple_dart_hw_disable_dma()217 writel(0, stream_map->dart->regs + DART_TCR(sid)); in apple_dart_hw_disable_dma()[all …]