Searched refs:cbb (Results 1 – 5 of 5) sorted by relevance
/drivers/soc/tegra/cbb/ |
D | tegra234-cbb.c | 128 static inline struct tegra234_cbb *to_tegra234_cbb(struct tegra_cbb *cbb) in to_tegra234_cbb() argument 130 return container_of(cbb, struct tegra234_cbb, base); in to_tegra234_cbb() 137 tegra234_cbb_write_access_allowed(struct platform_device *pdev, struct tegra234_cbb *cbb) in tegra234_cbb_write_access_allowed() argument 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() 167 val = readl(cbb->regs + cbb->fabric->firewall_base + cbb->fabric->firewall_wr_ctl); in tegra234_cbb_write_access_allowed() [all …]
|
D | tegra194-cbb.c | 176 static inline struct tegra194_cbb *to_tegra194_cbb(struct tegra_cbb *cbb) in to_tegra194_cbb() argument 178 return container_of(cbb, struct tegra194_cbb, base); in to_tegra194_cbb() 1665 static void tegra194_cbb_fault_enable(struct tegra_cbb *cbb) in tegra194_cbb_fault_enable() argument 1667 struct tegra194_cbb *priv = to_tegra194_cbb(cbb); in tegra194_cbb_fault_enable() 1674 static void tegra194_cbb_stall_enable(struct tegra_cbb *cbb) in tegra194_cbb_stall_enable() argument 1676 struct tegra194_cbb *priv = to_tegra194_cbb(cbb); in tegra194_cbb_stall_enable() 1683 static void tegra194_cbb_error_clear(struct tegra_cbb *cbb) in tegra194_cbb_error_clear() argument 1685 struct tegra194_cbb *priv = to_tegra194_cbb(cbb); in tegra194_cbb_error_clear() 1693 static u32 tegra194_cbb_get_status(struct tegra_cbb *cbb) in tegra194_cbb_get_status() argument 1695 struct tegra194_cbb *priv = to_tegra194_cbb(cbb); in tegra194_cbb_get_status() [all …]
|
D | tegra-cbb.c | 66 struct tegra_cbb *cbb = file->private; in tegra_cbb_err_show() local 68 return cbb->ops->debugfs_show(cbb, file, data); in tegra_cbb_err_show() 72 static int tegra_cbb_err_debugfs_init(struct tegra_cbb *cbb) in tegra_cbb_err_debugfs_init() argument 77 root = debugfs_create_file("tegra_cbb_err", 0444, NULL, cbb, &tegra_cbb_err_fops); in tegra_cbb_err_debugfs_init() 87 void tegra_cbb_stall_enable(struct tegra_cbb *cbb) in tegra_cbb_stall_enable() argument 89 if (cbb->ops->stall_enable) in tegra_cbb_stall_enable() 90 cbb->ops->stall_enable(cbb); in tegra_cbb_stall_enable() 93 void tegra_cbb_fault_enable(struct tegra_cbb *cbb) in tegra_cbb_fault_enable() argument 95 if (cbb->ops->fault_enable) in tegra_cbb_fault_enable() 96 cbb->ops->fault_enable(cbb); in tegra_cbb_fault_enable() [all …]
|
D | Makefile | 6 obj-y += tegra-cbb.o 7 obj-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-cbb.o 8 obj-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-cbb.o
|
/drivers/soc/tegra/ |
D | Makefile | 3 obj-y += cbb/
|