| /linux/drivers/usb/host/ |
| A D | xhci-tegra.c | 567 value = ops->mbox_reg_readl(tegra, tegra->soc->mbox.cmd); in tegra_xusb_mbox_send() 965 tegra->fw.virt = dma_alloc_coherent(tegra->dev, tegra->fw.size, in tegra_xusb_request_firmware() 974 memcpy(tegra->fw.virt, fw->data, tegra->fw.size); in tegra_xusb_request_firmware() 1456 if (tegra->usbphy[i] && usbphy == tegra->usbphy[i]) in tegra_xusb_get_usb2_port() 1492 tegra->usbphy = devm_kcalloc(tegra->dev, tegra->num_usb_phys, in tegra_xusb_init_usb_phy() 1549 if (!tegra) in tegra_xusb_probe() 1713 tegra->num_usb_phys = tegra->soc->phy_types[i].num; in tegra_xusb_probe() 1714 tegra->num_phys += tegra->soc->phy_types[i].num; in tegra_xusb_probe() 1752 tegra->hcd->regs = tegra->regs; in tegra_xusb_probe() 1918 tegra_xusb_powerdomain_remove(tegra->dev, tegra); in tegra_xusb_disable() [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() 850 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_devfreq_probe() 851 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() 206 return tegra->emc; in emc_ensure_emc_driver() 454 tegra->timings = krealloc(tegra->timings, size, GFP_KERNEL); in load_timings_from_dt() 458 timings_ptr = tegra->timings + tegra->num_timings; in load_timings_from_dt() 497 tegra = kcalloc(1, sizeof(*tegra), GFP_KERNEL); in tegra124_clk_register_emc() 498 if (!tegra) in tegra124_clk_register_emc() 519 kfree(tegra); in tegra124_clk_register_emc() [all …]
|
| /linux/drivers/clocksource/ |
| A D | timer-tegra186.c | 118 tmr->parent = tegra; in tegra186_tmr_create() 321 tegra->tsc.name = "tsc"; in tegra186_timer_tsc_init() 322 tegra->tsc.rating = 300; in tegra186_timer_tsc_init() 340 tegra->osc.name = "osc"; in tegra186_timer_osc_init() 341 tegra->osc.rating = 300; in tegra186_timer_osc_init() 360 tegra->usec.rating = 300; in tegra186_timer_usec_init() 387 tegra = devm_kzalloc(dev, sizeof(*tegra), GFP_KERNEL); in tegra186_timer_probe() 388 if (!tegra) in tegra186_timer_probe() 393 tegra->dev = dev; in tegra186_timer_probe() 396 if (IS_ERR(tegra->regs)) in tegra186_timer_probe() [all …]
|
| /linux/drivers/soc/tegra/ |
| A D | regulators-tegra20.c | 67 if (tegra->core_min_uV > 0) in tegra20_core_limit() 68 return tegra->core_min_uV; in tegra20_core_limit() 89 return tegra->core_min_uV; in tegra20_core_limit() 299 if (!tegra->cpu_min_uV) in tegra20_cpu_voltage_update() 359 tegra->sys_reboot_mode = READ_ONCE(tegra->sys_reboot_mode_req); in tegra20_regulator_balance_voltage() 360 tegra->sys_suspend_mode = READ_ONCE(tegra->sys_suspend_mode_req); in tegra20_regulator_balance_voltage() 380 if (!tegra->core_rdev || !tegra->rtc_rdev || !tegra->cpu_rdev) in tegra20_regulator_prepare_suspend() 437 if (!tegra->core_rdev || !tegra->rtc_rdev || !tegra->cpu_rdev) in tegra20_regulator_prepare_reboot() 484 !tegra->core_rdev) { in tegra20_regulator_attach() 490 !tegra->rtc_rdev) { in tegra20_regulator_attach() [all …]
|
| A D | regulators-tegra30.c | 66 if (tegra->core_min_uV > 0) in tegra30_core_limit() 67 return tegra->core_min_uV; in tegra30_core_limit() 88 return tegra->core_min_uV; in tegra30_core_limit() 251 if (!tegra->cpu_min_uV) in tegra30_voltage_update() 354 tegra->sys_reboot_mode = READ_ONCE(tegra->sys_reboot_mode_req); in tegra30_regulator_balance_voltage() 355 tegra->sys_suspend_mode = READ_ONCE(tegra->sys_suspend_mode_req); in tegra30_regulator_balance_voltage() 365 if (!tegra->core_rdev || !tegra->cpu_rdev) in tegra30_regulator_prepare_suspend() 422 if (!tegra->core_rdev || !tegra->cpu_rdev) in tegra30_regulator_prepare_reboot() 469 !tegra->core_rdev) { in tegra30_regulator_attach() 475 !tegra->cpu_rdev) { in tegra30_regulator_attach() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| A D | drm.c | 79 if (tegra->hub) { in tegra_atomic_commit_tail() 1148 tegra = kzalloc(sizeof(*tegra), GFP_KERNEL); in host1x_drm_probe() 1149 if (!tegra) { in host1x_drm_probe() 1171 tegra->drm = drm; in host1x_drm_probe() 1217 tegra->carveout.shift = iova_shift(&tegra->carveout.domain); in host1x_drm_probe() 1218 tegra->carveout.limit = carveout_end >> tegra->carveout.shift; in host1x_drm_probe() 1233 if (tegra->hub) { in host1x_drm_probe() 1278 if (tegra->hub) in host1x_drm_probe() 1296 kfree(tegra); in host1x_drm_probe() 1314 if (tegra->hub) in host1x_drm_remove() [all …]
|
| 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() 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() 679 if (p == tegra || p->dc != tegra->dc) in tegra_plane_update_transparency() 682 index = tegra_plane_get_overlap_index(tegra, p); in tegra_plane_update_transparency() 718 err = tegra_plane_check_transparency(tegra, state); in tegra_plane_setup_transparency() 726 drm_for_each_plane(plane, tegra->base.dev) { in tegra_plane_setup_transparency() 730 if (p->dc != tegra->dc) in tegra_plane_setup_transparency() [all …]
|
| A D | gem.c | 247 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map() 266 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map() 273 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map() 283 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap() 286 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap() 378 if (tegra->domain) { in tegra_bo_alloc() 383 err = tegra_bo_iommu_map(tegra, bo); in tegra_bo_alloc() 482 if (tegra->domain) { in tegra_bo_import() 483 err = tegra_bo_iommu_map(tegra, bo); in tegra_bo_import() 519 if (tegra->domain) in tegra_bo_free_object() [all …]
|
| /linux/drivers/thermal/tegra/ |
| A D | tegra-bpmp-thermal.c | 20 struct tegra_bpmp_thermal *tegra; member 216 struct tegra_bpmp_thermal *tegra; in tegra_bpmp_thermal_probe() local 233 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_bpmp_thermal_probe() 234 if (!tegra) in tegra_bpmp_thermal_probe() 237 tegra->dev = &pdev->dev; in tegra_bpmp_thermal_probe() 238 tegra->bpmp = bpmp; in tegra_bpmp_thermal_probe() 249 if (!tegra->zones) in tegra_bpmp_thermal_probe() 261 zone->tegra = tegra; in tegra_bpmp_thermal_probe() 287 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe() 291 tegra); in tegra_bpmp_thermal_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
|
| A D | soctherm.c | 1469 if (!tegra->clock_soctherm || !tegra->clock_tsensor) in soctherm_clk_enable() 1988 if (tegra->edp_irq < 0) { in soctherm_interrupts_init() 1994 tegra->thermal_irq, in soctherm_interrupts_init() 1999 tegra); in soctherm_interrupts_init() 2006 tegra->edp_irq, in soctherm_interrupts_init() 2011 tegra); in soctherm_interrupts_init() 2092 tegra = devm_kzalloc(&pdev->dev, sizeof(*tegra), GFP_KERNEL); in tegra_soctherm_probe() 2093 if (!tegra) in tegra_soctherm_probe() 2099 tegra->soc = soc; in tegra_soctherm_probe() 2142 if (!tegra->calib) in tegra_soctherm_probe() [all …]
|
| /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 12 tegra-mc-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra186.o tegra234.o [all …]
|
| /linux/drivers/crypto/tegra/ |
| 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/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 10 phy-tegra-xusb-$(CONFIG_ARCH_TEGRA_234_SOC) += xusb-tegra186.o
|
| /linux/drivers/firmware/tegra/ |
| 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/Documentation/devicetree/bindings/sound/ |
| A D | nvidia,tegra-audio-max98090.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-max98090.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 20 - pattern: '^[a-z0-9]+,tegra-audio-max98090(-[a-z0-9]+)+$' 21 - const: nvidia,tegra-audio-max98090 24 - nvidia,tegra-audio-max98090-nyan-big 25 - nvidia,tegra-audio-max98090-nyan-blaze 26 - const: nvidia,tegra-audio-max98090-nyan 27 - const: nvidia,tegra-audio-max98090 78 compatible = "nvidia,tegra-audio-max98090-venice2", 79 "nvidia,tegra-audio-max98090";
|
| A D | nvidia,tegra-audio-max9808x.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-max9808x.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 20 - pattern: '^[a-z0-9]+,tegra-audio-max98088(-[a-z0-9]+)+$' 21 - const: nvidia,tegra-audio-max98088 23 - pattern: '^[a-z0-9]+,tegra-audio-max98089(-[a-z0-9]+)+$' 24 - const: nvidia,tegra-audio-max98089 65 #include <dt-bindings/soc/tegra-pmc.h> 67 compatible = "lg,tegra-audio-max98089-p895", 68 "nvidia,tegra-audio-max98089";
|
| A D | nvidia,tegra-audio-wm8903.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8903.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 20 - pattern: '^[a-z0-9]+,tegra-audio-wm8903(-[a-z0-9]+)+$' 21 - const: nvidia,tegra-audio-wm8903 23 - pattern: ad,tegra-audio-plutux 24 - const: nvidia,tegra-audio-wm8903 69 compatible = "nvidia,tegra-audio-wm8903-harmony", 70 "nvidia,tegra-audio-wm8903"; 71 nvidia,model = "tegra-wm8903-harmony";
|
| A D | nvidia,tegra-audio-wm8753.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8753.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-wm8753(-[a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-wm8753 66 compatible = "nvidia,tegra-audio-wm8753-whistler", 67 "nvidia,tegra-audio-wm8753"; 68 nvidia,model = "tegra-wm8753-harmony";
|
| A D | nvidia,tegra-audio-rt5631.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-rt5631 63 #include <dt-bindings/soc/tegra-pmc.h> 65 compatible = "asus,tegra-audio-rt5631-tf700t", 66 "nvidia,tegra-audio-rt5631";
|
| A D | nvidia,tegra-audio-wm9712.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm9712.yaml# 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-wm9712([-_][a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-wm9712 61 compatible = "nvidia,tegra-audio-wm9712-colibri_t20", 62 "nvidia,tegra-audio-wm9712";
|
| /linux/sound/soc/tegra/ |
| A D | Makefile | 3 snd-soc-tegra-pcm-y := tegra_pcm.o 4 snd-soc-tegra-utils-y += tegra_asoc_utils.o 24 obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o 45 snd-soc-tegra-wm8903-y := tegra_wm8903.o 46 snd-soc-tegra-machine-y := tegra_asoc_machine.o 47 snd-soc-tegra-audio-graph-card-y := tegra_audio_graph_card.o 49 obj-$(CONFIG_SND_SOC_TEGRA_WM8903) += snd-soc-tegra-wm8903.o 50 obj-$(CONFIG_SND_SOC_TEGRA_MACHINE_DRV) += snd-soc-tegra-machine.o 51 obj-$(CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD) += snd-soc-tegra-audio-graph-card.o
|
| /linux/drivers/staging/media/tegra-video/ |
| 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
|