Lines Matching refs:stream_maps
267 struct apple_dart_atomic_stream_map stream_maps[MAX_DARTS_PER_DEVICE]; member
281 struct apple_dart_stream_map stream_maps[MAX_DARTS_PER_DEVICE]; member
293 for (i = 0, stream_map = &(base)->stream_maps[0]; \
295 stream_map = &(base)->stream_maps[++i])
575 struct apple_dart *dart = cfg->stream_maps[0].dart; in apple_dart_finalize_domain()
586 dart_domain->stream_maps[i].dart = cfg->stream_maps[i].dart; in apple_dart_finalize_domain()
588 atomic_long_set(&dart_domain->stream_maps[i].sidmap[j], in apple_dart_finalize_domain()
589 cfg->stream_maps[i].sidmap[j]); in apple_dart_finalize_domain()
650 return apple_dart_mod_streams(domain->stream_maps, cfg->stream_maps, in apple_dart_domain_add_streams()
662 if (cfg->stream_maps[0].dart->force_bypass && in apple_dart_attach_dev()
665 if (!cfg->stream_maps[0].dart->supports_bypass && in apple_dart_attach_dev()
709 return &cfg->stream_maps[0].dart->iommu; in apple_dart_probe_device()
769 cfg_dart = cfg->stream_maps[0].dart; in apple_dart_of_xlate()
780 if (cfg->stream_maps[i].dart == dart) { in apple_dart_of_xlate()
781 set_bit(sid, cfg->stream_maps[i].sidmap); in apple_dart_of_xlate()
786 if (!cfg->stream_maps[i].dart) { in apple_dart_of_xlate()
787 cfg->stream_maps[i].dart = dart; in apple_dart_of_xlate()
788 set_bit(sid, cfg->stream_maps[i].sidmap); in apple_dart_of_xlate()
823 if (src->stream_maps[1].dart) in apple_dart_merge_master_cfg()
825 if (dst->stream_maps[1].dart) in apple_dart_merge_master_cfg()
827 if (src->stream_maps[0].dart != dst->stream_maps[0].dart) in apple_dart_merge_master_cfg()
830 bitmap_or(dst->stream_maps[0].sidmap, in apple_dart_merge_master_cfg()
831 dst->stream_maps[0].sidmap, in apple_dart_merge_master_cfg()
832 src->stream_maps[0].sidmap, in apple_dart_merge_master_cfg()
833 dst->stream_maps[0].dart->num_streams); in apple_dart_merge_master_cfg()
916 if (cfg->stream_maps[0].dart->force_bypass) in apple_dart_def_domain_type()
918 if (!cfg->stream_maps[0].dart->supports_bypass) in apple_dart_def_domain_type()