Lines Matching refs:fabric

114 	const struct tegra234_cbb_fabric *fabric;  member
145 if (!cbb->fabric->firewall_base || in tegra234_cbb_write_access_allowed()
146 !cbb->fabric->firewall_ctl || in tegra234_cbb_write_access_allowed()
147 !cbb->fabric->firewall_wr_ctl) { in tegra234_cbb_write_access_allowed()
152 if ((cbb->fabric->firewall_ctl > FIREWALL_APERTURE_SZ) || in tegra234_cbb_write_access_allowed()
153 (cbb->fabric->firewall_wr_ctl > FIREWALL_APERTURE_SZ)) { in tegra234_cbb_write_access_allowed()
158 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_ctl); in tegra234_cbb_write_access_allowed()
171 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_wr_ctl); in tegra234_cbb_write_access_allowed()
183 addr = priv->regs + priv->fabric->notifier_offset; in tegra234_cbb_fault_enable()
202 addr = priv->regs + priv->fabric->notifier_offset; in tegra234_cbb_get_status()
211 writel(0x1, cbb->regs + cbb->fabric->off_mask_erd); in tegra234_cbb_mask_serror()
272 const struct tegra234_slave_lookup *map = cbb->fabric->slave_map; in tegra234_lookup_slave_timeout()
321 if (type >= cbb->fabric->max_errors) { in tegra234_cbb_print_error()
329 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
338 if (type >= cbb->fabric->max_errors) { in tegra234_cbb_print_error()
346 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
396 if (cbb->type < cbb->fabric->max_errors) in print_errlog_err()
398 cbb->fabric->errors[cbb->type].code); in print_errlog_err()
402 tegra_cbb_print_err(file, "\t MASTER_ID\t\t: %s\n", cbb->fabric->master_id[mstr_id]); in print_errlog_err()
416 strcpy(fabric_name, cbb->fabric->name); in print_errlog_err()
439 if (slave_id >= cbb->fabric->max_slaves) { in print_errlog_err()
444 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) { in print_errlog_err()
449 tegra_cbb_print_err(file, "\t Slave\t\t\t: %s\n", cbb->fabric->slave_map[slave_id].name); in print_errlog_err()
510 cbb->fabric->name, status); in print_err_notifier()
514 unsigned int notifier = cbb->fabric->notifier_offset; in print_err_notifier()
588 smp_processor_id(), priv->fabric->name, in tegra234_cbb_isr()
598 if (priv->fabric->off_mask_erd) { in tegra234_cbb_isr()
1089 const struct tegra234_cbb_fabric *fabric; member
1105 return entry->fabric; in tegra234_cbb_acpi_get_fabric()
1119 const struct tegra234_cbb_fabric *fabric; in tegra234_cbb_probe() local
1125 fabric = of_device_get_match_data(&pdev->dev); in tegra234_cbb_probe()
1131 fabric = tegra234_cbb_acpi_get_fabric(device); in tegra234_cbb_probe()
1132 if (!fabric) { in tegra234_cbb_probe()
1145 cbb->fabric = fabric; in tegra234_cbb_probe()
1171 if (cbb->fabric->off_mask_erd) in tegra234_cbb_probe()
1188 dev_dbg(dev, "%s resumed\n", cbb->fabric->name); in tegra234_cbb_resume_noirq()