/linux/drivers/usb/host/ |
A D | xhci-tegra.c | 462 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 470 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 482 value = fpci_readl(tegra, tegra->soc->mbox.cmd); in tegra_xusb_mbox_send() 484 fpci_writel(tegra, value, tegra->soc->mbox.cmd); in tegra_xusb_mbox_send() 678 value = fpci_readl(tegra, tegra->soc->mbox.cmd); in tegra_xusb_mbox_thread() 680 fpci_writel(tegra, value, tegra->soc->mbox.cmd); in tegra_xusb_mbox_thread() 869 tegra->fw.virt = dma_alloc_coherent(tegra->dev, tegra->fw.size, in tegra_xusb_request_firmware() 878 memcpy(tegra->fw.virt, fw->data, tegra->fw.size); in tegra_xusb_request_firmware() 1357 tegra->usbphy = devm_kcalloc(tegra->dev, tegra->num_usb_phys, in tegra_xusb_init_usb_phy() 1616 tegra->hcd->regs = tegra->regs; in tegra_xusb_probe() [all …]
|
/linux/drivers/devfreq/ |
A D | tegra30-devfreq.c | 268 u32 val = tegra->cur_freq * tegra->devfreq->profile->polling_ms; in tegra_devfreq_update_wmark() 386 actmon_isr_device(tegra, tegra->devices + i); in actmon_thread_isr() 548 if (!tegra->devfreq->profile->polling_ms || !tegra->started) in tegra_actmon_resume() 551 actmon_writel(tegra, tegra->devfreq->profile->polling_ms - 1, in tegra_actmon_resume() 567 tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; in tegra_actmon_resume() 570 tegra_actmon_configure_device(tegra, &tegra->devices[i]); in tegra_actmon_resume() 616 if (!tegra->devfreq->profile->polling_ms || !tegra->started) in tegra_actmon_pause() 811 tegra); in devm_tegra_devfreq_init_hw() 834 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_devfreq_probe() 835 if (!tegra) in tegra_devfreq_probe() [all …]
|
/linux/drivers/ata/ |
A D | ahci_tegra.c | 187 if (tegra->sata_aux_regs && !tegra->soc->supports_devslp) { in tegra_ahci_handle_quirks() 244 tegra->supplies); in tegra_ahci_power_on() 250 tegra->sata_clk, in tegra_ahci_power_on() 251 tegra->sata_rst); in tegra_ahci_power_on() 275 regulator_bulk_disable(tegra->soc->num_supplies, tegra->supplies); in tegra_ahci_power_on() 294 regulator_bulk_disable(tegra->soc->num_supplies, tegra->supplies); in tegra_ahci_power_off() 358 if (tegra->soc->ops && tegra->soc->ops->init) in tegra_ahci_controller_init() 524 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_ahci_probe() 525 if (!tegra) in tegra_ahci_probe() 530 tegra->pdev = pdev; in tegra_ahci_probe() [all …]
|
/linux/drivers/clk/tegra/ |
A D | clk-tegra124-emc.c | 180 if (tegra->emc) in emc_ensure_emc_driver() 181 return tegra->emc; in emc_ensure_emc_driver() 183 if (!tegra->prepare_timing_change || !tegra->complete_timing_change) in emc_ensure_emc_driver() 200 if (!tegra->emc) { in emc_ensure_emc_driver() 205 return tegra->emc; in emc_ensure_emc_driver() 453 tegra->timings = krealloc(tegra->timings, size, GFP_KERNEL); in load_timings_from_dt() 457 timings_ptr = tegra->timings + tegra->num_timings; in load_timings_from_dt() 495 tegra = kcalloc(1, sizeof(*tegra), GFP_KERNEL); in tegra124_clk_register_emc() 496 if (!tegra) in tegra124_clk_register_emc() 500 tegra->lock = lock; in tegra124_clk_register_emc() [all …]
|
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/clk/tegra/built-in.a; /usr/bin/ccache /home/tes…
|
/linux/drivers/soc/tegra/ |
A D | regulators-tegra20.c | 62 if (tegra->core_min_uV > 0) in tegra20_core_limit() 63 return tegra->core_min_uV; in tegra20_core_limit() 84 return tegra->core_min_uV; in tegra20_core_limit() 267 if (!tegra->cpu_min_uV) in tegra20_cpu_voltage_update() 322 tegra->sys_reboot_mode = READ_ONCE(tegra->sys_reboot_mode_req); in tegra20_regulator_balance_voltage() 342 if (!tegra->core_rdev || !tegra->rtc_rdev || !tegra->cpu_rdev) in tegra20_regulator_prepare_reboot() 389 !tegra->core_rdev) { in tegra20_regulator_attach() 395 !tegra->rtc_rdev) { in tegra20_regulator_attach() 396 tegra->rtc_rdev = rdev; in tegra20_regulator_attach() 401 !tegra->cpu_rdev) { in tegra20_regulator_attach() [all …]
|
A D | regulators-tegra30.c | 62 if (tegra->core_min_uV > 0) in tegra30_core_limit() 63 return tegra->core_min_uV; in tegra30_core_limit() 84 return tegra->core_min_uV; in tegra30_core_limit() 196 if (!tegra->cpu_min_uV) in tegra30_voltage_update() 294 tegra->sys_reboot_mode = READ_ONCE(tegra->sys_reboot_mode_req); in tegra30_regulator_balance_voltage() 304 if (!tegra->core_rdev || !tegra->cpu_rdev) in tegra30_regulator_prepare_reboot() 351 !tegra->core_rdev) { in tegra30_regulator_attach() 352 tegra->core_rdev = rdev; in tegra30_regulator_attach() 357 !tegra->cpu_rdev) { in tegra30_regulator_attach() 358 tegra->cpu_rdev = rdev; in tegra30_regulator_attach() [all …]
|
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/soc/tegra/built-in.a; /usr/bin/ccache /home/tes…
|
/linux/drivers/thermal/tegra/ |
A D | tegra-bpmp-thermal.c | 20 struct tegra_bpmp_thermal *tegra; member 157 struct tegra_bpmp_thermal *tegra; in tegra_bpmp_thermal_probe() local 162 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_bpmp_thermal_probe() 163 if (!tegra) in tegra_bpmp_thermal_probe() 166 tegra->dev = &pdev->dev; in tegra_bpmp_thermal_probe() 167 tegra->bpmp = bpmp; in tegra_bpmp_thermal_probe() 178 if (!tegra->zones) in tegra_bpmp_thermal_probe() 190 zone->tegra = tegra; in tegra_bpmp_thermal_probe() 211 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe() 215 tegra); in tegra_bpmp_thermal_probe() [all …]
|
A D | soctherm.c | 1510 if (!tegra->clock_soctherm || !tegra->clock_tsensor) in soctherm_clk_enable() 2029 if (tegra->edp_irq < 0) { in soctherm_interrupts_init() 2035 tegra->thermal_irq, in soctherm_interrupts_init() 2040 tegra); in soctherm_interrupts_init() 2047 tegra->edp_irq, in soctherm_interrupts_init() 2052 tegra); in soctherm_interrupts_init() 2133 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_soctherm_probe() 2134 if (!tegra) in tegra_soctherm_probe() 2140 tegra->soc = soc; in tegra_soctherm_probe() 2183 if (!tegra->calib) in tegra_soctherm_probe() [all …]
|
A D | Makefile | 2 obj-$(CONFIG_TEGRA_SOCTHERM) += tegra-soctherm.o 3 obj-$(CONFIG_TEGRA_BPMP_THERMAL) += tegra-bpmp-thermal.o 6 tegra-soctherm-y := soctherm.o soctherm-fuse.o 7 tegra-soctherm-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124-soctherm.o 8 tegra-soctherm-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-soctherm.o 9 tegra-soctherm-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-soctherm.o
|
/linux/drivers/gpu/drm/tegra/ |
A D | drm.c | 76 if (tegra->hub) { in tegra_atomic_commit_tail() 1122 tegra = kzalloc(sizeof(*tegra), GFP_KERNEL); in host1x_drm_probe() 1123 if (!tegra) { in host1x_drm_probe() 1145 tegra->drm = drm; in host1x_drm_probe() 1195 tegra->carveout.shift = iova_shift(&tegra->carveout.domain); in host1x_drm_probe() 1196 tegra->carveout.limit = carveout_end >> tegra->carveout.shift; in host1x_drm_probe() 1211 if (tegra->hub) { in host1x_drm_probe() 1243 if (tegra->hub) in host1x_drm_probe() 1263 kfree(tegra); in host1x_drm_probe() 1282 if (tegra->hub) in host1x_drm_remove() [all …]
|
A D | plane.c | 327 struct tegra_dc_state *tegra; in tegra_plane_state_add() local 345 tegra = to_dc_state(crtc_state); in tegra_plane_state_add() 347 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add() 598 drm_for_each_plane(plane, tegra->base.dev) { in tegra_plane_check_transparency() 602 if (p == tegra || p->dc != tegra->dc) in tegra_plane_check_transparency() 646 if (p == tegra || p->dc != tegra->dc) in tegra_plane_update_transparency() 649 index = tegra_plane_get_overlap_index(tegra, p); in tegra_plane_update_transparency() 685 err = tegra_plane_check_transparency(tegra, state); in tegra_plane_setup_transparency() 693 drm_for_each_plane(plane, tegra->base.dev) { in tegra_plane_setup_transparency() 697 if (p->dc != tegra->dc) in tegra_plane_setup_transparency() [all …]
|
/linux/drivers/pinctrl/tegra/ |
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/pinctrl/tegra/built-in.a; /usr/bin/ccache /home…
|
/linux/drivers/soc/tegra/fuse/ |
A D | .built-in.a.cmd | 1 …tegra/fuse/built-in.a := echo >/dev/null; rm -f drivers/soc/tegra/fuse/built-in.a; /usr/bin/ccache…
|
/linux/drivers/memory/tegra/ |
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 13 obj-$(CONFIG_TEGRA_MC) += tegra-mc.o
|
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/memory/tegra/built-in.a; /usr/bin/ccache /home/…
|
/linux/drivers/firmware/tegra/ |
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/firmware/tegra/built-in.a; /usr/bin/ccache /hom…
|
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_DEBUG_FS) += bpmp-debugfs.o 8 obj-$(CONFIG_TEGRA_BPMP) += tegra-bpmp.o
|
/linux/drivers/phy/tegra/ |
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
|
A D | .built-in.a.cmd | 1 …tegra/built-in.a := echo >/dev/null; rm -f drivers/phy/tegra/built-in.a; /usr/bin/ccache /home/tes…
|
/linux/drivers/soc/ |
A D | built-in.a | 76 tegra/fuse/fuse-tegra.o/ 77 tegra/fuse/fuse-tegra30.o/ 78 tegra/fuse/tegra-apbmisc.o/ 79 tegra/fuse/speedo-tegra124.o/ 80 tegra/fuse/speedo-tegra210.o/ 81 tegra/common.o/ 82 tegra/flowctrl.o/ 83 tegra/pmc.o/ 84 tegra/powergate-bpmp.o/ 85 tegra/ari-tegra186.o/
|
/linux/drivers/memory/ |
A D | built-in.a | 6 tegra/mc.o/ 7 tegra/tegra124.o/ 8 tegra/tegra210.o/ 9 tegra/tegra186.o/ 10 tegra/tegra194.o/ 11 tegra/tegra186-emc.o/
|
/linux/drivers/clk/ |
A D | built-in.a | 311 tegra/clk.o/ 313 tegra/clk-dfll.o/ 318 tegra/clk-pll.o/ 321 tegra/clk-super.o/ 322 tegra/clk-tegra-audio.o/ 323 tegra/clk-tegra-periph.o/ 324 tegra/clk-tegra-fixed.o/ 325 tegra/clk-tegra-super-cclk.o/ 326 tegra/clk-tegra-super-gen4.o/ 329 tegra/cvb.o/ [all …]
|
/linux/sound/soc/tegra/ |
A D | Makefile | 3 snd-soc-tegra-pcm-objs := tegra_pcm.o 4 snd-soc-tegra-utils-objs += tegra_asoc_utils.o 22 obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o 41 snd-soc-tegra-wm8903-objs := tegra_wm8903.o 42 snd-soc-tegra-machine-objs := tegra_asoc_machine.o 43 snd-soc-tegra-audio-graph-card-objs := tegra_audio_graph_card.o 45 obj-$(CONFIG_SND_SOC_TEGRA_WM8903) += snd-soc-tegra-wm8903.o 46 obj-$(CONFIG_SND_SOC_TEGRA_MACHINE_DRV) += snd-soc-tegra-machine.o 47 obj-$(CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD) += snd-soc-tegra-audio-graph-card.o
|