Lines Matching refs:resource
47 const struct ipa_resource *resource; in ipa_resource_limits_valid() local
49 resource = &data->resource_src[i]; in ipa_resource_limits_valid()
51 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid()
60 const struct ipa_resource *resource; in ipa_resource_limits_valid() local
62 resource = &data->resource_dst[i]; in ipa_resource_limits_valid()
64 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid()
93 const struct ipa_resource *resource; in ipa_resource_config_src() local
96 resource = &data->resource_src[resource_type]; in ipa_resource_config_src()
99 ylimits = group_count == 1 ? NULL : &resource->limits[1]; in ipa_resource_config_src()
100 ipa_resource_config_common(ipa, offset, &resource->limits[0], ylimits); in ipa_resource_config_src()
106 ylimits = group_count == 3 ? NULL : &resource->limits[3]; in ipa_resource_config_src()
107 ipa_resource_config_common(ipa, offset, &resource->limits[2], ylimits); in ipa_resource_config_src()
113 ylimits = group_count == 5 ? NULL : &resource->limits[5]; in ipa_resource_config_src()
114 ipa_resource_config_common(ipa, offset, &resource->limits[4], ylimits); in ipa_resource_config_src()
120 ylimits = group_count == 7 ? NULL : &resource->limits[7]; in ipa_resource_config_src()
121 ipa_resource_config_common(ipa, offset, &resource->limits[6], ylimits); in ipa_resource_config_src()
129 const struct ipa_resource *resource; in ipa_resource_config_dst() local
132 resource = &data->resource_dst[resource_type]; in ipa_resource_config_dst()
135 ylimits = group_count == 1 ? NULL : &resource->limits[1]; in ipa_resource_config_dst()
136 ipa_resource_config_common(ipa, offset, &resource->limits[0], ylimits); in ipa_resource_config_dst()
142 ylimits = group_count == 3 ? NULL : &resource->limits[3]; in ipa_resource_config_dst()
143 ipa_resource_config_common(ipa, offset, &resource->limits[2], ylimits); in ipa_resource_config_dst()
149 ylimits = group_count == 5 ? NULL : &resource->limits[5]; in ipa_resource_config_dst()
150 ipa_resource_config_common(ipa, offset, &resource->limits[4], ylimits); in ipa_resource_config_dst()
156 ylimits = group_count == 7 ? NULL : &resource->limits[7]; in ipa_resource_config_dst()
157 ipa_resource_config_common(ipa, offset, &resource->limits[6], ylimits); in ipa_resource_config_dst()