Lines Matching full:fabric

110 	const struct tegra234_cbb_fabric *fabric;  member
141 if (!cbb->fabric->firewall_base || in tegra234_cbb_write_access_allowed()
142 !cbb->fabric->firewall_ctl || in tegra234_cbb_write_access_allowed()
143 !cbb->fabric->firewall_wr_ctl) { in tegra234_cbb_write_access_allowed()
148 if ((cbb->fabric->firewall_ctl > FIREWALL_APERTURE_SZ) || in tegra234_cbb_write_access_allowed()
149 (cbb->fabric->firewall_wr_ctl > FIREWALL_APERTURE_SZ)) { in tegra234_cbb_write_access_allowed()
154 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_ctl); in tegra234_cbb_write_access_allowed()
157 * write accesses through the firewall of a fabric is disabled in tegra234_cbb_write_access_allowed()
158 * then CCPLEX can write to the registers of that fabric. in tegra234_cbb_write_access_allowed()
165 * has write access to the fabric's error notifier registers in tegra234_cbb_write_access_allowed()
167 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_wr_ctl); in tegra234_cbb_write_access_allowed()
179 addr = priv->regs + priv->fabric->notifier_offset; in tegra234_cbb_fault_enable()
198 addr = priv->regs + priv->fabric->notifier_offset; in tegra234_cbb_get_status()
207 writel(0x1, cbb->regs + cbb->fabric->off_mask_erd); in tegra234_cbb_mask_serror()
268 const struct tegra234_slave_lookup *map = cbb->fabric->slave_map; in tegra234_lookup_slave_timeout()
275 * using <FABRIC>_SN_<>_SLV_TIMEOUT_STATUS_0_0 register. in tegra234_lookup_slave_timeout()
279 * <FABRIC>_SN_AXI2APB_<>_BLOCK_TMO_STATUS_0 register. in tegra234_lookup_slave_timeout()
281 * <FABRIC>_SN_AXI2APB_<>_BLOCK<index-set-bit>_TMO_0. in tegra234_lookup_slave_timeout()
317 if (type >= cbb->fabric->max_errors) { in tegra234_cbb_print_error()
325 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
334 if (type >= cbb->fabric->max_errors) { in tegra234_cbb_print_error()
342 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
392 if (cbb->type < cbb->fabric->max_errors) in print_errlog_err()
394 cbb->fabric->errors[cbb->type].code); in print_errlog_err()
398 tegra_cbb_print_err(file, "\t MASTER_ID\t\t: %s\n", cbb->fabric->master_id[mstr_id]); in print_errlog_err()
408 strcpy(fabric_name, "psc-fabric"); in print_errlog_err()
410 strcpy(fabric_name, "fsi-fabric"); in print_errlog_err()
412 strcpy(fabric_name, cbb->fabric->name); in print_errlog_err()
423 tegra_cbb_print_err(file, "\t Fabric\t\t: %s\n", fabric_name); in print_errlog_err()
435 if (slave_id >= cbb->fabric->max_slaves) { in print_errlog_err()
440 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) { in print_errlog_err()
445 tegra_cbb_print_err(file, "\t Slave\t\t\t: %s\n", cbb->fabric->slave_map[slave_id].name); in print_errlog_err()
506 cbb->fabric->name, status); in print_err_notifier()
510 unsigned int notifier = cbb->fabric->notifier_offset; in print_err_notifier()
584 smp_processor_id(), priv->fabric->name, in tegra234_cbb_isr()
594 if (priv->fabric->off_mask_erd) { in tegra234_cbb_isr()
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; member
1101 return entry->fabric; in tegra234_cbb_acpi_get_fabric()
1115 const struct tegra234_cbb_fabric *fabric; in tegra234_cbb_probe() local
1121 fabric = of_device_get_match_data(&pdev->dev); in tegra234_cbb_probe()
1127 fabric = tegra234_cbb_acpi_get_fabric(device); in tegra234_cbb_probe()
1128 if (!fabric) { in tegra234_cbb_probe()
1141 cbb->fabric = fabric; in tegra234_cbb_probe()
1154 * Don't enable error reporting for a Fabric if write to it's registers in tegra234_cbb_probe()
1167 if (cbb->fabric->off_mask_erd) in tegra234_cbb_probe()
1179 dev_dbg(dev, "%s resumed\n", cbb->fabric->name); in tegra234_cbb_resume_noirq()