Home
last modified time | relevance | path

Searched refs:tegra (Results 1 – 25 of 96) sorted by relevance

1234

/linux/drivers/clk/tegra/
H A Dclk-tegra124-emc.c94 struct tegra_clk_emc *tegra; in emc_recalc_rate() local
97 tegra = container_of(hw, struct tegra_clk_emc, hw); in emc_recalc_rate()
105 val = readl(tegra->clk_regs + CLK_SOURCE_EMC); in emc_recalc_rate()
118 struct tegra_clk_emc *tegra; in emc_determine_rate() local
123 tegra = container_of(hw, struct tegra_clk_emc, hw); in emc_determine_rate()
125 for (k = 0; k < tegra->num_timings; k++) { in emc_determine_rate()
126 if (tegra->timings[k].ram_code == ram_code) in emc_determine_rate()
130 for (t = k; t < tegra->num_timings; t++) { in emc_determine_rate()
131 if (tegra->timings[t].ram_code != ram_code) in emc_determine_rate()
136 timing = tegra->timings + i; in emc_determine_rate()
[all …]
H A DMakefile14 obj-y += clk-tegra-audio.o
15 obj-y += clk-tegra-periph.o
16 obj-y += clk-tegra-fixed.o
17 obj-y += clk-tegra-super-cclk.o
18 obj-y += clk-tegra-super-gen4.o
/linux/drivers/soc/tegra/
H A Dregulators-tegra20.c44 static int tegra20_core_limit(struct tegra_regulator_coupler *tegra, in tegra20_core_limit() argument
62 if (tegra_pmc_core_domain_state_synced() && !tegra->sys_reboot_mode) { in tegra20_core_limit()
67 if (tegra->core_min_uV > 0) in tegra20_core_limit()
68 return tegra->core_min_uV; in tegra20_core_limit()
85 tegra->core_min_uV = core_max_uV; in tegra20_core_limit()
87 pr_info("core voltage initialized to %duV\n", tegra->core_min_uV); in tegra20_core_limit()
89 return tegra->core_min_uV; in tegra20_core_limit()
135 static int tegra20_core_rtc_update(struct tegra_regulator_coupler *tegra, in tegra20_core_rtc_update() argument
161 core_min_uV = tegra20_core_limit(tegra, core_rdev); in tegra20_core_rtc_update()
175 if (tegra->sys_suspend_mode) in tegra20_core_rtc_update()
[all …]
H A Dregulators-tegra30.c43 static int tegra30_core_limit(struct tegra_regulator_coupler *tegra, in tegra30_core_limit() argument
61 if (tegra_pmc_core_domain_state_synced() && !tegra->sys_reboot_mode) { in tegra30_core_limit()
66 if (tegra->core_min_uV > 0) in tegra30_core_limit()
67 return tegra->core_min_uV; in tegra30_core_limit()
84 tegra->core_min_uV = core_max_uV; in tegra30_core_limit()
86 pr_info("core voltage initialized to %duV\n", tegra->core_min_uV); in tegra30_core_limit()
88 return tegra->core_min_uV; in tegra30_core_limit()
166 static int tegra30_voltage_update(struct tegra_regulator_coupler *tegra, in tegra30_voltage_update() argument
212 core_min_uV = tegra30_core_limit(tegra, core_rdev); in tegra30_voltage_update()
222 if (tegra->sys_suspend_mode) in tegra30_voltage_update()
[all …]
/linux/drivers/crypto/tegra/
H A DMakefile4 tegra-se-objs := tegra-se-key.o tegra-se-main.o
6 tegra-se-y += tegra-se-aes.o
7 tegra-se-y += tegra-se-hash.o
9 obj-$(CONFIG_CRYPTO_DEV_TEGRA) += tegra-se.o
/linux/drivers/firmware/tegra/
H A DMakefile2 tegra-bpmp-y = bpmp.o
3 tegra-bpmp-$(CONFIG_ARCH_TEGRA_210_SOC) += bpmp-tegra210.o
4 tegra-bpmp-$(CONFIG_ARCH_TEGRA_186_SOC) += bpmp-tegra186.o
5 tegra-bpmp-$(CONFIG_ARCH_TEGRA_194_SOC) += bpmp-tegra186.o
6 tegra-bpmp-$(CONFIG_ARCH_TEGRA_234_SOC) += bpmp-tegra186.o
7 tegra-bpmp-$(CONFIG_ARCH_TEGRA_264_SOC) += bpmp-tegra186.o
8 tegra-bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o
9 obj-$(CONFIG_TEGRA_BPMP) += tegra-bpmp.o
/linux/drivers/phy/tegra/
H A DMakefile2 obj-$(CONFIG_PHY_TEGRA_XUSB) += phy-tegra-xusb.o
4 phy-tegra-xusb-y += xusb.o
5 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_124_SOC) += xusb-tegra124.o
6 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_132_SOC) += xusb-tegra124.o
7 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_210_SOC) += xusb-tegra210.o
8 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_186_SOC) += xusb-tegra186.o
9 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_194_SOC) += xusb-tegra186.o
10 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_234_SOC) += xusb-tegra186.o
/linux/drivers/thermal/tegra/
H A Dsoctherm.c392 static void enable_tsensor(struct tegra_soctherm *tegra, unsigned int i) in enable_tsensor() argument
394 const struct tegra_tsensor *sensor = &tegra->soc->tsensors[i]; in enable_tsensor()
395 void __iomem *base = tegra->regs + sensor->base; in enable_tsensor()
407 writel(tegra->calib[i], base + SENSOR_CONFIG2); in enable_tsensor()
1456 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_debug_init() local
1461 tegra->debugfs_dir = root; in soctherm_debug_init()
1471 struct tegra_soctherm *tegra = platform_get_drvdata(pdev); in soctherm_clk_enable() local
1474 if (!tegra->clock_soctherm || !tegra->clock_tsensor) in soctherm_clk_enable()
1477 reset_control_assert(tegra->reset); in soctherm_clk_enable()
1480 err = clk_prepare_enable(tegra->clock_soctherm); in soctherm_clk_enable()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Dplane.c301 struct tegra_dc_state *tegra; in tegra_plane_state_add() local
319 tegra = to_dc_state(crtc_state); in tegra_plane_state_add()
321 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add()
590 static int tegra_plane_setup_opacity(struct tegra_plane *tegra, in tegra_plane_setup_opacity() argument
617 static int tegra_plane_check_transparency(struct tegra_plane *tegra, in tegra_plane_check_transparency() argument
623 old = drm_atomic_get_old_plane_state(state->base.state, &tegra->base); in tegra_plane_check_transparency()
631 drm_for_each_plane(plane, tegra->base.dev) { in tegra_plane_check_transparency()
635 if (p == tegra || p->dc != tegra->dc) in tegra_plane_check_transparency()
667 static void tegra_plane_update_transparency(struct tegra_plane *tegra, in tegra_plane_update_transparency() argument
679 if (p == tegra || p->dc != tegra->dc) in tegra_plane_update_transparency()
[all …]
H A DMakefile4 tegra-drm-y := \
31 tegra-drm-y += trace.o
33 tegra-drm-$(CONFIG_DRM_FBDEV_EMULATION) += fbdev.o
35 obj-$(CONFIG_DRM_TEGRA) += tegra-drm.o
H A Dnvjpg.c42 struct tegra_drm *tegra = dev->dev_private; in nvjpg_init() local
52 err = tegra_drm_register_client(tegra, drm); in nvjpg_init()
74 struct tegra_drm *tegra = dev->dev_private; in nvjpg_exit() local
81 err = tegra_drm_unregister_client(tegra, drm); in nvjpg_exit()
93 tegra_drm_free(tegra, nvjpg->falcon.firmware.size, in nvjpg_exit()
113 struct tegra_drm *tegra = nvjpg->client.drm; in nvjpg_load_falcon_firmware() local
133 virt = tegra_drm_alloc(tegra, size, &iova); in nvjpg_load_falcon_firmware()
168 tegra_drm_free(tegra, size, virt, iova); in nvjpg_load_falcon_firmware()
H A Ddc.c728 struct tegra_plane *tegra = to_tegra_plane(plane); in tegra_plane_atomic_check() local
754 err = tegra_plane_setup_legacy_state(tegra, plane_state); in tegra_plane_atomic_check()
802 err = tegra_plane_state_add(tegra, new_plane_state); in tegra_plane_atomic_check()
973 struct tegra_plane *tegra = to_tegra_plane(plane); in tegra_cursor_atomic_check() local
998 err = tegra_plane_state_add(tegra, new_plane_state); in tegra_cursor_atomic_check()
1010 struct tegra_drm *tegra = plane->dev->dev_private; in __tegra_cursor_atomic_update() local
1087 value = (src.y1 & tegra->vmask) << 16 | (src.x1 & tegra->hmask); in __tegra_cursor_atomic_update()
1090 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in __tegra_cursor_atomic_update()
1091 (drm_rect_width(&src) & tegra->hmask); in __tegra_cursor_atomic_update()
1099 value = ((y & tegra->vmask) << 16) | (x & tegra->hmask); in __tegra_cursor_atomic_update()
[all …]
H A Dhub.c432 struct tegra_shared_plane *tegra = to_tegra_shared_plane(plane); in tegra_shared_plane_atomic_check() local
477 err = tegra_plane_state_add(&tegra->base, new_plane_state); in tegra_shared_plane_atomic_check()
763 struct tegra_drm *tegra = drm->dev_private; in tegra_shared_plane_create() local
764 struct tegra_display_hub *hub = tegra->hub; in tegra_shared_plane_create()
786 possible_crtcs = BIT(tegra->num_crtcs) - 1; in tegra_shared_plane_create()
866 struct tegra_drm *tegra = drm->dev_private; in tegra_display_hub_atomic_check() local
872 if (!tegra->hub) in tegra_display_hub_atomic_check()
875 hub_state = tegra_display_hub_get_state(tegra->hub, state); in tegra_display_hub_atomic_check()
932 struct tegra_drm *tegra = drm->dev_private; in tegra_display_hub_atomic_commit() local
933 struct tegra_display_hub *hub = tegra->hub; in tegra_display_hub_atomic_commit()
[all …]
H A Dnvdec.c156 struct tegra_drm *tegra = dev->dev_private; in nvdec_init() local
178 err = tegra_drm_register_client(tegra, drm); in nvdec_init()
204 struct tegra_drm *tegra = dev->dev_private; in nvdec_exit() local
211 err = tegra_drm_unregister_client(tegra, drm); in nvdec_exit()
227 tegra_drm_free(tegra, nvdec->falcon.firmware.size, in nvdec_exit()
247 struct tegra_drm *tegra = nvdec->client.drm; in nvdec_load_falcon_firmware() local
267 virt = tegra_drm_alloc(tegra, size, &iova); in nvdec_load_falcon_firmware()
302 tegra_drm_free(tegra, size, virt, iova); in nvdec_load_falcon_firmware()
H A Duapi.c65 static struct tegra_drm_client *tegra_drm_find_client(struct tegra_drm *tegra, u32 class) in tegra_drm_find_client() argument
69 list_for_each_entry(client, &tegra->clients, list) in tegra_drm_find_client()
80 struct tegra_drm *tegra = drm->dev_private; in tegra_drm_ioctl_channel_open() local
93 client = tegra_drm_find_client(tegra, args->host1x_class); in tegra_drm_ioctl_channel_open()
H A Dtrace.h2 #define TRACE_SYSTEM tegra
66 #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/tegra
/linux/Documentation/devicetree/bindings/regulator/
H A Dnvidia,tegra-regulators-coupling.txt24 - nvidia,tegra-core-regulator: Boolean property that designates regulator
26 - nvidia,tegra-rtc-regulator: Boolean property that designates regulator
28 - nvidia,tegra-cpu-regulator: Boolean property that designates regulator
42 nvidia,tegra-core-regulator;
52 nvidia,tegra-rtc-regulator;
62 nvidia,tegra-cpu-regulator;
/linux/sound/hda/controllers/
H A DMakefile3 snd-hda-tegra-y := tegra.o
13 obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o
/linux/drivers/staging/nvec/
H A DREADME13 [1] e.g. https://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=a…
/linux/drivers/media/platform/nvidia/tegra-vde/
H A DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
3 obj-$(CONFIG_VIDEO_TEGRA_VDE) += tegra-vde.o
/linux/drivers/soc/tegra/fuse/
H A DMakefile2 obj-y += fuse-tegra.o
4 obj-y += tegra-apbmisc.o
/linux/Documentation/gpu/
H A Dtegra.rst2 drm/tegra NVIDIA Tegra GPU and display driver
10 Up until, but not including, Tegra124 (aka Tegra K1) the drm/tegra driver
15 The drm/tegra driver supports NVIDIA Tegra SoC generations since Tegra20. It
126 later are supported by the drm/tegra driver.
133 support, though this is currently not implemented in the drm/tegra driver.
138 The userspace interface provided by drm/tegra allows applications to create
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-plutux.dts37 compatible = "ad,tegra-audio-plutux",
38 "nvidia,tegra-audio-wm8903";
H A Dtegra20-tec.dts45 compatible = "ad,tegra-audio-wm8903-tec",
46 "nvidia,tegra-audio-wm8903";
/linux/drivers/media/platform/nvidia/
H A DMakefile3 obj-y += tegra-vde/

1234