Home
last modified time | relevance | path

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

/linux-6.1.9/include/soc/tegra/
Dbpmp.h40 struct tegra_bpmp *bpmp;
59 struct tegra_bpmp { struct
110 struct tegra_bpmp *tegra_bpmp_get(struct device *dev); argument
111 void tegra_bpmp_put(struct tegra_bpmp *bpmp);
112 int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp,
114 int tegra_bpmp_transfer(struct tegra_bpmp *bpmp,
119 int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
121 void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
123 bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq);
125 static inline struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get()
[all …]
/linux-6.1.9/drivers/soc/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.1.9/drivers/firmware/tegra/
Dbpmp.c28 static inline struct tegra_bpmp *
31 return container_of(client, struct tegra_bpmp, mbox.client); in mbox_client_to_bpmp()
37 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops()
42 struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get()
45 struct tegra_bpmp *bpmp; in tegra_bpmp_get()
71 void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put()
81 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index()
193 static int tegra_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra_bpmp_ring_doorbell()
218 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read()
254 tegra_bpmp_write_threaded(struct tegra_bpmp *bpmp, unsigned int mrq, in tegra_bpmp_write_threaded()
[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-tegra186.c17 struct tegra_bpmp *parent;
31 static inline struct tegra_bpmp *
81 static int tegra186_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra186_bpmp_ring_doorbell()
97 struct tegra_bpmp *bpmp = data; in tegra186_bpmp_ivc_notify()
107 struct tegra_bpmp *bpmp, in tegra186_bpmp_channel_init()
158 struct tegra_bpmp *bpmp = mbox_client_to_bpmp(client); in mbox_handle_rx()
163 static int tegra186_bpmp_init(struct tegra_bpmp *bpmp) in tegra186_bpmp_init()
261 static void tegra186_bpmp_deinit(struct tegra_bpmp *bpmp) in tegra186_bpmp_deinit()
278 static int tegra186_bpmp_resume(struct tegra_bpmp *bpmp) in tegra186_bpmp_resume()
Dbpmp-debugfs.c74 static const char *get_filename(struct tegra_bpmp *bpmp, in get_filename()
111 static int mrq_debug_open(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_open()
150 static int mrq_debug_close(struct tegra_bpmp *bpmp, uint32_t fd) in mrq_debug_close()
181 static int mrq_debug_read(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_read()
244 static int mrq_debug_write(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_write()
307 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()
161 static int tegra210_bpmp_init(struct tegra_bpmp *bpmp) in tegra210_bpmp_init()
/linux-6.1.9/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.1.9/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()
313 static int tegra_bpmp_clk_get_max_id(struct tegra_bpmp *bpmp) in tegra_bpmp_clk_get_max_id()
334 static int tegra_bpmp_clk_get_info(struct tegra_bpmp *bpmp, unsigned int id, in tegra_bpmp_clk_get_info()
363 static void tegra_bpmp_clk_info_dump(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_info_dump()
403 static int tegra_bpmp_probe_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_probe_clocks()
484 tegra_bpmp_clk_register(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_register()
561 static void tegra_bpmp_register_clocks_one(struct tegra_bpmp *bpmp, in tegra_bpmp_register_clocks_one()
598 static int tegra_bpmp_register_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_register_clocks()
617 static void tegra_bpmp_unregister_clocks(struct tegra_bpmp *bpmp) in tegra_bpmp_unregister_clocks()
[all …]
/linux-6.1.9/drivers/thermal/tegra/
Dtegra-bpmp-thermal.c28 struct tegra_bpmp *bpmp;
136 static int tegra_bpmp_thermal_get_num_zones(struct tegra_bpmp *bpmp, in tegra_bpmp_thermal_get_num_zones()
172 struct tegra_bpmp *bpmp = dev_get_drvdata(pdev->dev.parent); in tegra_bpmp_thermal_probe()
/linux-6.1.9/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.c441 init_freq_table(struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_freq_table()
516 struct tegra_bpmp *bpmp; in tegra194_cpufreq_probe()
/linux-6.1.9/drivers/memory/tegra/
Dtegra186-emc.c20 struct tegra_bpmp *bpmp;
/linux-6.1.9/drivers/i2c/busses/
Di2c-tegra-bpmp.c32 struct tegra_bpmp *bpmp;
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-tegra194.c255 struct tegra_bpmp *bpmp;