| /linux/drivers/usb/host/ |
| H A D | xhci-tegra.c | 221 u32 (*mbox_reg_readl)(struct tegra_xusb *tegra, unsigned int offset); 222 void (*mbox_reg_writel)(struct tegra_xusb *tegra, u32 value, unsigned int offset); 223 u32 (*csb_reg_readl)(struct tegra_xusb *tegra, unsigned int offset); 224 void (*csb_reg_writel)(struct tegra_xusb *tegra, u32 value, unsigned int offset); 325 static inline u32 fpci_readl(struct tegra_xusb *tegra, unsigned int offset) in fpci_readl() argument 327 return readl(tegra->fpci_base + offset); in fpci_readl() 330 static inline void fpci_writel(struct tegra_xusb *tegra, u32 value, in fpci_writel() argument 333 writel(value, tegra->fpci_base + offset); in fpci_writel() 336 static inline u32 ipfs_readl(struct tegra_xusb *tegra, unsigned int offset) in ipfs_readl() argument 338 return readl(tegra->ipfs_base + offset); in ipfs_readl() [all …]
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-tegra124-emc.c | 94 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 D | Makefile | 14 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/clocksource/ |
| H A D | timer-tegra186.c | 113 static struct tegra186_tmr *tegra186_tmr_create(struct tegra186_timer *tegra, in tegra186_tmr_create() argument 119 tmr = devm_kzalloc(tegra->dev, sizeof(*tmr), GFP_KERNEL); in tegra186_tmr_create() 123 tmr->parent = tegra; in tegra186_tmr_create() 124 tmr->regs = tegra->regs + offset; in tegra186_tmr_create() 148 struct tegra186_timer *tegra = wdt->tmr->parent; in tegra186_wdt_enable() local 153 writel(value, tegra->regs + TKEIE(wdt->tmr->hwirq)); in tegra186_wdt_enable() 300 static struct tegra186_wdt *tegra186_wdt_create(struct tegra186_timer *tegra, in tegra186_wdt_create() argument 308 offset += tegra->soc->num_timers * 0x10000 + index * 0x10000; in tegra186_wdt_create() 310 wdt = devm_kzalloc(tegra->dev, sizeof(*wdt), GFP_KERNEL); in tegra186_wdt_create() 314 wdt->regs = tegra->regs + offset; in tegra186_wdt_create() [all …]
|
| /linux/drivers/soc/tegra/ |
| H A D | regulators-tegra20.c | 44 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 D | regulators-tegra30.c | 43 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/gpu/drm/tegra/ |
| H A D | drm.c | 78 struct tegra_drm *tegra = drm->dev_private; in tegra_atomic_commit_tail() local 80 if (tegra->hub) { in tegra_atomic_commit_tail() 462 struct tegra_drm *tegra = drm->dev_private; in tegra_open_channel() local 474 list_for_each_entry(client, &tegra->clients, list) in tegra_open_channel() 857 struct tegra_drm *tegra = drm->dev_private; in tegra_debugfs_iova() local 860 if (tegra->domain) { in tegra_debugfs_iova() 861 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova() 862 drm_mm_print(&tegra->mm, &p); in tegra_debugfs_iova() 863 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova() 909 int tegra_drm_register_client(struct tegra_drm *tegra, in tegra_drm_register_client() argument [all …]
|
| H A D | plane.c | 301 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 D | Makefile | 4 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 D | drm.h | 58 static inline struct host1x *tegra_drm_to_host1x(struct tegra_drm *tegra) in tegra_drm_to_host1x() argument 60 return dev_get_drvdata(tegra->drm->dev->parent); in tegra_drm_to_host1x() 119 int tegra_drm_register_client(struct tegra_drm *tegra, 121 int tegra_drm_unregister_client(struct tegra_drm *tegra, 126 void *tegra_drm_alloc(struct tegra_drm *tegra, size_t size, dma_addr_t *iova); 127 void tegra_drm_free(struct tegra_drm *tegra, size_t size, void *virt,
|
| H A D | nvjpg.c | 42 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 D | vic.c | 122 struct tegra_drm *tegra = dev->dev_private; in vic_init() local 144 err = tegra_drm_register_client(tegra, drm); in vic_init() 170 struct tegra_drm *tegra = dev->dev_private; in vic_exit() local 177 err = tegra_drm_unregister_client(tegra, drm); in vic_exit() 193 tegra_drm_free(tegra, vic->falcon.firmware.size, in vic_exit() 213 struct tegra_drm *tegra = vic->client.drm; in vic_load_firmware() local 241 virt = tegra_drm_alloc(tegra, size, &iova); in vic_load_firmware() 299 tegra_drm_free(tegra, size, virt, iova); in vic_load_firmware()
|
| H A D | nvdec.c | 156 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()
|
| /linux/drivers/memory/tegra/ |
| H A D | Makefile | 2 tegra-mc-y := mc.o 4 tegra-mc-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o 5 tegra-mc-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30.o 6 tegra-mc-$(CONFIG_ARCH_TEGRA_114_SOC) += tegra114.o 7 tegra-mc-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124.o 8 tegra-mc-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra124.o 9 tegra-mc-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o 10 tegra-mc-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186.o 11 tegra-mc-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra186.o tegra194.o 12 tegra-mc-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra186.o tegra234.o [all …]
|
| /linux/drivers/crypto/tegra/ |
| H A D | Makefile | 4 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 D | Makefile | 2 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 D | Makefile | 2 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/staging/media/tegra-video/ |
| H A D | Makefile | 2 tegra-video-objs := \ 8 tegra-video-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o 9 tegra-video-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o 10 obj-$(CONFIG_VIDEO_TEGRA) += tegra-video.o
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | nvidia,tegra-regulators-coupling.txt | 24 - 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 D | Makefile | 3 snd-hda-tegra-y := tegra.o 13 obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o
|
| /linux/drivers/staging/nvec/ |
| H A D | README | 13 [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 D | Makefile | 2 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 D | Makefile | 2 obj-y += fuse-tegra.o 4 obj-y += tegra-apbmisc.o
|
| /linux/drivers/tty/serial/ |
| H A D | Makefile | 88 obj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o 89 obj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o 90 obj-$(CONFIG_SERIAL_TEGRA_UTC) += tegra-utc.o
|
| /linux/drivers/bus/ |
| H A D | Makefile | 34 obj-$(CONFIG_TEGRA_ACONNECT) += tegra-aconnect.o 35 obj-$(CONFIG_TEGRA_GMI) += tegra-gmi.o
|