Home
last modified time | relevance | path

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

/linux-6.12.1/include/soc/tegra/
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,
138 int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
140 void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
142 bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq);
144 static inline struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get()
[all …]
Dmc.h202 struct tegra_bpmp *bpmp;
/linux-6.12.1/drivers/firmware/tegra/
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()
171 static void tegra186_bpmp_teardown_channels(struct tegra_bpmp *bpmp) in tegra186_bpmp_teardown_channels()
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()
274 static int tegra186_bpmp_setup_channels(struct tegra_bpmp *bpmp) in tegra186_bpmp_setup_channels()
[all …]
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);
Dbpmp.c31 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops()
36 struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get()
40 struct tegra_bpmp *bpmp; in tegra_bpmp_get()
60 void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put()
70 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index()
182 static int tegra_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra_bpmp_ring_doorbell()
207 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read()
243 tegra_bpmp_write_threaded(struct tegra_bpmp *bpmp, unsigned int mrq, in tegra_bpmp_write_threaded()
308 int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer_atomic()
354 int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer()
[all …]
Dbpmp-debugfs.c70 static const char *get_filename(struct tegra_bpmp *bpmp, in get_filename()
107 static int mrq_debug_open(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_open()
146 static int mrq_debug_close(struct tegra_bpmp *bpmp, u32 fd) in mrq_debug_close()
177 static int mrq_debug_read(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_read()
242 static int mrq_debug_write(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_write()
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()
[all …]
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()
/linux-6.12.1/drivers/pmdomain/tegra/
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()
115 static char *tegra_bpmp_powergate_get_name(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_get_name()
143 static inline bool tegra_bpmp_powergate_is_powered(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_is_powered()
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()
[all …]
/linux-6.12.1/drivers/reset/tegra/
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()
/linux-6.12.1/drivers/clk/tegra/
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()
352 static int tegra_bpmp_clk_get_info(struct tegra_bpmp *bpmp, unsigned int id, in tegra_bpmp_clk_get_info()
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()
[all …]
/linux-6.12.1/drivers/thermal/tegra/
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()
/linux-6.12.1/drivers/cpufreq/
Dtegra186-cpufreq.c130 struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_vhint_table()
221 struct tegra_bpmp *bpmp; in tegra186_cpufreq_probe()
Dtegra194-cpufreq.c615 tegra_cpufreq_bpmp_read_lut(struct platform_device *pdev, struct tegra_bpmp *bpmp, in tegra_cpufreq_bpmp_read_lut()
712 struct tegra_bpmp *bpmp; in tegra194_cpufreq_probe()
/linux-6.12.1/drivers/i2c/busses/
Di2c-tegra-bpmp.c32 struct tegra_bpmp *bpmp;
/linux-6.12.1/drivers/memory/tegra/
Dtegra186-emc.c22 struct tegra_bpmp *bpmp;
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-tegra194.c249 struct tegra_bpmp *bpmp;