Searched refs:stream_map (Results 1 – 1 of 1) sorted by relevance
179 #define for_each_stream_map(i, base, stream_map) \ argument180 for (i = 0, stream_map = &(base)->stream_maps[0]; \181 i < MAX_DARTS_PER_DEVICE && stream_map->dart; \182 stream_map = &(base)->stream_maps[++i])193 apple_dart_hw_enable_translation(struct apple_dart_stream_map *stream_map) in apple_dart_hw_enable_translation() argument197 for_each_set_bit(sid, &stream_map->sidmap, DART_MAX_STREAMS) in apple_dart_hw_enable_translation()199 stream_map->dart->regs + DART_TCR(sid)); in apple_dart_hw_enable_translation()202 static void apple_dart_hw_disable_dma(struct apple_dart_stream_map *stream_map) in apple_dart_hw_disable_dma() argument206 for_each_set_bit(sid, &stream_map->sidmap, DART_MAX_STREAMS) in apple_dart_hw_disable_dma()207 writel(0, stream_map->dart->regs + DART_TCR(sid)); in apple_dart_hw_disable_dma()[all …]