Lines Matching refs:fabric
110 const struct tegra234_cbb_fabric *fabric;
141 if (!cbb->fabric->firewall_base ||
142 !cbb->fabric->firewall_ctl ||
143 !cbb->fabric->firewall_wr_ctl) {
148 if ((cbb->fabric->firewall_ctl > FIREWALL_APERTURE_SZ) ||
149 (cbb->fabric->firewall_wr_ctl > FIREWALL_APERTURE_SZ)) {
154 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_ctl);
157 * write accesses through the firewall of a fabric is disabled
158 * then CCPLEX can write to the registers of that fabric.
165 * has write access to the fabric's error notifier registers
167 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_wr_ctl);
179 addr = priv->regs + priv->fabric->notifier_offset;
198 addr = priv->regs + priv->fabric->notifier_offset;
207 writel(0x1, cbb->regs + cbb->fabric->off_mask_erd);
268 const struct tegra234_slave_lookup *map = cbb->fabric->slave_map;
317 if (type >= cbb->fabric->max_errors) {
325 cbb->fabric->errors[type].code);
334 if (type >= cbb->fabric->max_errors) {
342 cbb->fabric->errors[type].code);
392 if (cbb->type < cbb->fabric->max_errors)
394 cbb->fabric->errors[cbb->type].code);
398 tegra_cbb_print_err(file, "\t MASTER_ID\t\t: %s\n", cbb->fabric->master_id[mstr_id]);
408 strcpy(fabric_name, "psc-fabric");
410 strcpy(fabric_name, "fsi-fabric");
412 strcpy(fabric_name, cbb->fabric->name);
435 if (slave_id >= cbb->fabric->max_slaves) {
440 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) {
445 tegra_cbb_print_err(file, "\t Slave\t\t\t: %s\n", cbb->fabric->slave_map[slave_id].name);
506 cbb->fabric->name, status);
510 unsigned int notifier = cbb->fabric->notifier_offset;
584 smp_processor_id(), priv->fabric->name,
594 if (priv->fabric->off_mask_erd) {
688 .desc = "Attempt to access a portion of fabric that is powered down"
703 .name = "aon-fabric",
724 .name = "bpmp-fabric",
801 .name = "cbb-fabric",
824 .name = "dce-fabric",
837 .name = "rce-fabric",
850 .name = "sce-fabric",
907 .desc = "Attempt to access a portion of the fabric that is powered down."
1034 .name = "cbb-fabric",
1059 .name = "bpmp-fabric",
1072 { .compatible = "nvidia,tegra234-cbb-fabric", .data = &tegra234_cbb_fabric },
1073 { .compatible = "nvidia,tegra234-aon-fabric", .data = &tegra234_aon_fabric },
1074 { .compatible = "nvidia,tegra234-bpmp-fabric", .data = &tegra234_bpmp_fabric },
1075 { .compatible = "nvidia,tegra234-dce-fabric", .data = &tegra234_dce_fabric },
1076 { .compatible = "nvidia,tegra234-rce-fabric", .data = &tegra234_rce_fabric },
1077 { .compatible = "nvidia,tegra234-sce-fabric", .data = &tegra234_sce_fabric },
1085 const struct tegra234_cbb_fabric *fabric;
1101 return entry->fabric;
1115 const struct tegra234_cbb_fabric *fabric;
1121 fabric = of_device_get_match_data(&pdev->dev);
1127 fabric = tegra234_cbb_acpi_get_fabric(device);
1128 if (!fabric) {
1141 cbb->fabric = fabric;
1167 if (cbb->fabric->off_mask_erd)
1179 dev_dbg(dev, "%s resumed\n", cbb->fabric->name);