Lines Matching +full:bit +full:- +full:mask

1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <dt-bindings/memory/tegra124-mc.h>
23 .mask = 0xff,
34 .bit = 1,
39 .mask = 0xff,
50 .bit = 2,
55 .mask = 0xff,
66 .bit = 3,
71 .mask = 0xff,
82 .bit = 4,
87 .mask = 0xff,
98 .bit = 5,
103 .mask = 0xff,
114 .bit = 6,
119 .mask = 0xff,
130 .bit = 14,
135 .mask = 0xff,
146 .bit = 15,
151 .mask = 0xff,
162 .bit = 16,
167 .mask = 0xff,
178 .bit = 17,
183 .mask = 0xff,
194 .bit = 21,
199 .mask = 0xff,
210 .bit = 22,
215 .mask = 0xff,
226 .bit = 23,
231 .mask = 0xff,
242 .bit = 28,
247 .mask = 0xff,
258 .bit = 29,
263 .mask = 0xff,
274 .bit = 30,
279 .mask = 0xff,
290 .bit = 31,
295 .mask = 0xff,
306 .bit = 2,
311 .mask = 0xff,
322 .bit = 3,
327 .mask = 0xff,
338 .bit = 4,
343 .mask = 0xff,
354 .bit = 5,
359 .mask = 0xff,
371 .mask = 0xff,
383 .mask = 0xff,
394 .bit = 11,
399 .mask = 0xff,
410 .bit = 17,
415 .mask = 0xff,
426 .bit = 18,
431 .mask = 0xff,
442 .bit = 21,
447 .mask = 0xff,
458 .bit = 22,
463 .mask = 0xff,
475 .mask = 0xff,
487 .mask = 0xff,
498 .bit = 27,
503 .mask = 0xff,
514 .bit = 28,
519 .mask = 0xff,
530 .bit = 29,
535 .mask = 0xff,
546 .bit = 30,
551 .mask = 0xff,
562 .bit = 31,
567 .mask = 0xff,
578 .bit = 0,
583 .mask = 0xff,
594 .bit = 1,
599 .mask = 0xff,
610 .bit = 4,
615 .mask = 0xff,
626 .bit = 6,
631 .mask = 0xff,
642 .bit = 7,
647 .mask = 0xff,
658 .bit = 10,
663 .mask = 0xff,
674 .bit = 11,
679 .mask = 0xff,
690 .bit = 12,
695 .mask = 0xff,
706 .bit = 13,
711 .mask = 0xff,
722 .bit = 14,
727 .mask = 0xff,
738 .bit = 16,
743 .mask = 0xff,
754 .bit = 17,
759 .mask = 0xff,
770 .bit = 20,
775 .mask = 0xff,
786 .bit = 21,
791 .mask = 0xff,
802 .bit = 22,
807 .mask = 0xff,
818 .bit = 23,
823 .mask = 0xff,
833 /* read-only */
835 .bit = 24,
840 .mask = 0xff,
850 /* read-only */
852 .bit = 25,
857 .mask = 0xff,
868 .bit = 26,
873 .mask = 0xff,
884 .bit = 0,
889 .mask = 0xff,
900 .bit = 1,
905 .mask = 0xff,
916 .bit = 2,
921 .mask = 0xff,
932 .bit = 3,
937 .mask = 0xff,
948 .bit = 4,
953 .mask = 0xff,
964 .bit = 5,
969 .mask = 0xff,
980 .bit = 6,
985 .mask = 0xff,
996 .bit = 7,
1001 .mask = 0xff,
1012 .bit = 12,
1017 .mask = 0xff,
1028 .bit = 13,
1033 .mask = 0xff,
1044 .bit = 18,
1049 .mask = 0xff,
1060 .bit = 19,
1065 .mask = 0xff,
1118 .bit = _bit, \
1158 * ISO clients need to reserve extra bandwidth up-front because in tegra124_mc_icc_aggreate()
1177 unsigned int i, idx = spec->args[0]; in tegra124_mc_of_icc_xlate_extended()
1181 list_for_each_entry(node, &mc->provider.nodes, node_list) { in tegra124_mc_of_icc_xlate_extended()
1182 if (node->id != idx) in tegra124_mc_of_icc_xlate_extended()
1187 return ERR_PTR(-ENOMEM); in tegra124_mc_of_icc_xlate_extended()
1189 client = &mc->soc->clients[idx]; in tegra124_mc_of_icc_xlate_extended()
1190 ndata->node = node; in tegra124_mc_of_icc_xlate_extended()
1192 switch (client->swgroup) { in tegra124_mc_of_icc_xlate_extended()
1198 ndata->tag = TEGRA_MC_ICC_TAG_ISO; in tegra124_mc_of_icc_xlate_extended()
1202 ndata->tag = TEGRA_MC_ICC_TAG_DEFAULT; in tegra124_mc_of_icc_xlate_extended()
1209 for (i = 0; i < mc->soc->num_clients; i++) { in tegra124_mc_of_icc_xlate_extended()
1210 if (mc->soc->clients[i].id == idx) in tegra124_mc_of_icc_xlate_extended()
1211 return ERR_PTR(-EPROBE_DEFER); in tegra124_mc_of_icc_xlate_extended()
1214 dev_err(mc->dev, "invalid ICC client ID %u\n", idx); in tegra124_mc_of_icc_xlate_extended()
1216 return ERR_PTR(-EINVAL); in tegra124_mc_of_icc_xlate_extended()