Home
last modified time | relevance | path

Searched refs:tegra_bpmp (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/include/soc/tegra/
H A Dbpmp.h53 struct tegra_bpmp *bpmp;
72 struct tegra_bpmp { struct
129 struct tegra_bpmp *tegra_bpmp_get(struct device *dev); argument
130 void tegra_bpmp_put(struct tegra_bpmp *bpmp);
131 int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp,
133 int tegra_bpmp_transfer(struct tegra_bpmp *bpmp,
186 void tegra_bpmp_handle_rx(struct tegra_bpmp *bpmp);
189 int tegra_bpmp_init_clocks(struct tegra_bpmp *bpmp);
198 int tegra_bpmp_init_resets(struct tegra_bpmp *bpmp);
207 int tegra_bpmp_init_powergates(struct tegra_bpmp *bpmp);
[all …]
H A Dmc.h225 struct tegra_bpmp *bpmp;
/openbmc/linux/drivers/pmdomain/tegra/
H A Dpowergate-bpmp.c21 struct tegra_bpmp *bpmp;
31 static int tegra_bpmp_powergate_set_state(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_set_state()
57 static int tegra_bpmp_powergate_get_state(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_get_state()
87 static int tegra_bpmp_powergate_get_max_id(struct tegra_bpmp *bpmp) in tegra_bpmp_powergate_get_max_id()
152 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_on()
161 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_off()
168 tegra_powergate_add(struct tegra_bpmp *bpmp, in tegra_powergate_add()
200 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_remove()
212 tegra_bpmp_probe_powergates(struct tegra_bpmp *bpmp, in tegra_bpmp_probe_powergates()
252 static int tegra_bpmp_add_powergates(struct tegra_bpmp *bpmp, in tegra_bpmp_add_powergates()
[all …]
/openbmc/linux/drivers/firmware/tegra/
H A Dbpmp-tegra186.c19 struct tegra_bpmp *parent;
36 static inline struct tegra_bpmp *
82 static int tegra186_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra186_bpmp_ring_doorbell()
98 struct tegra_bpmp *bpmp = data; in tegra186_bpmp_ivc_notify()
108 struct tegra_bpmp *bpmp, in tegra186_bpmp_channel_init()
166 struct tegra_bpmp *bpmp = mbox_client_to_bpmp(client); in mbox_handle_rx()
192 static int tegra186_bpmp_dram_init(struct tegra_bpmp *bpmp) in tegra186_bpmp_dram_init()
233 static int tegra186_bpmp_sram_init(struct tegra_bpmp *bpmp) in tegra186_bpmp_sram_init()
325 static int tegra186_bpmp_init(struct tegra_bpmp *bpmp) in tegra186_bpmp_init()
360 static void tegra186_bpmp_deinit(struct tegra_bpmp *bpmp) in tegra186_bpmp_deinit()
[all …]
H A Dbpmp-private.h12 int (*init)(struct tegra_bpmp *bpmp);
13 void (*deinit)(struct tegra_bpmp *bpmp);
22 int (*ring_doorbell)(struct tegra_bpmp *bpmp);
23 int (*resume)(struct tegra_bpmp *bpmp);
H A Dbpmp.c30 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops()
35 struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get()
38 struct tegra_bpmp *bpmp; in tegra_bpmp_get()
64 void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put()
74 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index()
211 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read()
358 int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer()
415 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_mrq_return()
704 struct tegra_bpmp *bpmp; in tegra_bpmp_probe()
813 struct tegra_bpmp *bpmp = dev_get_drvdata(dev); in tegra_bpmp_suspend()
[all …]
H A Dbpmp-debugfs.c70 static const char *get_filename(struct tegra_bpmp *bpmp, in get_filename()
146 static int mrq_debug_close(struct tegra_bpmp *bpmp, u32 fd) in mrq_debug_close()
305 struct tegra_bpmp *bpmp = inode->i_private; in bpmp_debug_show()
370 struct tegra_bpmp *bpmp = inode->i_private; in bpmp_debug_store()
403 static int bpmp_populate_debugfs_inband(struct tegra_bpmp *bpmp, in bpmp_populate_debugfs_inband()
484 static int mrq_debugfs_read(struct tegra_bpmp *bpmp, in mrq_debugfs_read()
523 static int mrq_debugfs_write(struct tegra_bpmp *bpmp, in mrq_debugfs_write()
586 struct tegra_bpmp *bpmp = inode->i_private; in debugfs_show()
637 struct tegra_bpmp *bpmp = inode->i_private; in debugfs_store()
742 static int bpmp_populate_debugfs_shmem(struct tegra_bpmp *bpmp) in bpmp_populate_debugfs_shmem()
[all …]
H A Dbpmp-tegra210.c37 static u32 bpmp_channel_status(struct tegra_bpmp *bpmp, unsigned int index) in bpmp_channel_status()
111 static int tegra210_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra210_bpmp_ring_doorbell()
128 struct tegra_bpmp *bpmp = data; in rx_irq()
136 struct tegra_bpmp *bpmp, in tegra210_bpmp_channel_init()
162 static int tegra210_bpmp_init(struct tegra_bpmp *bpmp) in tegra210_bpmp_init()
/openbmc/linux/drivers/reset/tegra/
H A Dreset-bpmp.c11 static struct tegra_bpmp *to_tegra_bpmp(struct reset_controller_dev *rstc) in to_tegra_bpmp()
13 return container_of(rstc, struct tegra_bpmp, rstc); in to_tegra_bpmp()
20 struct tegra_bpmp *bpmp = to_tegra_bpmp(rstc); in tegra_bpmp_reset_common()
67 int tegra_bpmp_init_resets(struct tegra_bpmp *bpmp) in tegra_bpmp_init_resets()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-bpmp.c31 struct tegra_bpmp *bpmp;
59 static int tegra_bpmp_clk_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_transfer()
331 static int tegra_bpmp_clk_get_max_id(struct tegra_bpmp *bpmp) in tegra_bpmp_clk_get_max_id()
381 static void tegra_bpmp_clk_info_dump(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_info_dump()
421 static int tegra_bpmp_probe_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_probe_clocks()
502 tegra_bpmp_clk_register(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_register()
593 static void tegra_bpmp_register_clocks_one(struct tegra_bpmp *bpmp, in tegra_bpmp_register_clocks_one()
630 static int tegra_bpmp_register_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_register_clocks()
649 static void tegra_bpmp_unregister_clocks(struct tegra_bpmp *bpmp) in tegra_bpmp_unregister_clocks()
661 struct tegra_bpmp *bpmp = data; in tegra_bpmp_clk_of_xlate()
[all …]
/openbmc/linux/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c28 struct tegra_bpmp *bpmp;
141 static int tegra_bpmp_thermal_get_num_zones(struct tegra_bpmp *bpmp, in tegra_bpmp_thermal_get_num_zones()
170 static int tegra_bpmp_thermal_trips_supported(struct tegra_bpmp *bpmp, bool *supported) in tegra_bpmp_thermal_trips_supported()
214 struct tegra_bpmp *bpmp = dev_get_drvdata(pdev->dev.parent); in tegra_bpmp_thermal_probe()
/openbmc/linux/drivers/cpufreq/
H A Dtegra186-cpufreq.c130 struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_vhint_table()
221 struct tegra_bpmp *bpmp; in tegra186_cpufreq_probe()
H A Dtegra194-cpufreq.c591 tegra_cpufreq_bpmp_read_lut(struct platform_device *pdev, struct tegra_bpmp *bpmp, in tegra_cpufreq_bpmp_read_lut()
666 struct tegra_bpmp *bpmp; in tegra194_cpufreq_probe()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-tegra-bpmp.c32 struct tegra_bpmp *bpmp;
/openbmc/linux/drivers/memory/tegra/
H A Dtegra186-emc.c22 struct tegra_bpmp *bpmp;
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-tegra194.c256 struct tegra_bpmp *bpmp;