/kernel/linux/linux-5.10/include/soc/tegra/ |
H A D | bpmp.h | 40 struct tegra_bpmp *bpmp; 59 struct tegra_bpmp { struct 110 struct tegra_bpmp *tegra_bpmp_get(struct device *dev); 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_ge [all...] |
/kernel/linux/linux-6.6/include/soc/tegra/ |
H A D | bpmp.h | 53 struct tegra_bpmp *bpmp; 72 struct tegra_bpmp { struct 129 struct tegra_bpmp *tegra_bpmp_get(struct device *dev); 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_ge [all...] |
H A D | mc.h | 225 struct tegra_bpmp *bpmp;
|
/kernel/linux/linux-5.10/drivers/soc/tegra/ |
H A D | powergate-bpmp.c | 22 struct tegra_bpmp *bpmp; 32 static int tegra_bpmp_powergate_set_state(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_set_state() 58 static int tegra_bpmp_powergate_get_state(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_get_state() 88 static int tegra_bpmp_powergate_get_max_id(struct tegra_bpmp *bpmp) in tegra_bpmp_powergate_get_max_id() 116 static char *tegra_bpmp_powergate_get_name(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_get_name() 144 static inline bool tegra_bpmp_powergate_is_powered(struct tegra_bpmp *bpmp, in tegra_bpmp_powergate_is_powered() 153 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_on() 162 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_off() 169 tegra_powergate_add(struct tegra_bpmp *bpmp, in tegra_powergate_add() 201 struct tegra_bpmp *bpm in tegra_powergate_remove() [all...] |
/kernel/linux/linux-6.6/drivers/pmdomain/tegra/ |
H A D | powergate-bpmp.c | 21 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 *bpm in tegra_powergate_remove() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
H A D | bpmp-private.h | 12 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 D | bpmp.c | 28 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 *bpm [all...] |
H A D | bpmp-debugfs.c | 74 static const char *get_filename(struct tegra_bpmp *bpmp, in get_filename() 102 static int mrq_debug_open(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_open() 141 static int mrq_debug_close(struct tegra_bpmp *bpmp, uint32_t fd) in mrq_debug_close() 172 static int mrq_debug_read(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_read() 235 static int mrq_debug_write(struct tegra_bpmp *bpmp, const char *name, in mrq_debug_write() 298 struct tegra_bpmp *bpmp = inode->i_private; in bpmp_debug_show() 325 struct tegra_bpmp *bpmp = inode->i_private; in bpmp_debug_store() 365 static int bpmp_populate_debugfs_inband(struct tegra_bpmp *bpmp, in bpmp_populate_debugfs_inband() 446 static int mrq_debugfs_read(struct tegra_bpmp *bpmp, in mrq_debugfs_read() 485 static int mrq_debugfs_write(struct tegra_bpmp *bpm [all...] |
H A D | bpmp-tegra186.c | 17 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()
|
H A D | bpmp-tegra210.c | 37 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()
|
/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | bpmp-private.h | 12 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 D | bpmp.c | 27 static inline struct tegra_bpmp * 30 return container_of(client, struct tegra_bpmp, mbox.client); in mbox_client_to_bpmp() 36 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops() 41 struct tegra_bpmp *tegra_bpmp_get(struct device *dev) in tegra_bpmp_get() 44 struct tegra_bpmp *bpmp; in tegra_bpmp_get() 70 void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put() 80 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index() 192 static int tegra_bpmp_ring_doorbell(struct tegra_bpmp *bpmp) in tegra_bpmp_ring_doorbell() 217 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read() 253 tegra_bpmp_write_threaded(struct tegra_bpmp *bpm [all...] |
H A D | bpmp-tegra186.c | 19 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 *bpm [all...] |
H A D | bpmp-debugfs.c | 70 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 *bpm [all...] |
H A D | bpmp-tegra210.c | 37 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()
|
/kernel/linux/linux-5.10/drivers/reset/tegra/ |
H A D | reset-bpmp.c | 11 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()
|
/kernel/linux/linux-6.6/drivers/reset/tegra/ |
H A D | reset-bpmp.c | 11 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()
|
/kernel/linux/linux-6.6/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 31 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 *bpm [all...] |
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 31 struct tegra_bpmp *bpmp; 59 static int tegra_bpmp_clk_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_transfer() 308 static int tegra_bpmp_clk_get_max_id(struct tegra_bpmp *bpmp) in tegra_bpmp_clk_get_max_id() 329 static int tegra_bpmp_clk_get_info(struct tegra_bpmp *bpmp, unsigned int id, in tegra_bpmp_clk_get_info() 358 static void tegra_bpmp_clk_info_dump(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_info_dump() 398 static int tegra_bpmp_probe_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_probe_clocks() 465 tegra_bpmp_clk_register(struct tegra_bpmp *bpmp, in tegra_bpmp_clk_register() 542 static int tegra_bpmp_register_clocks(struct tegra_bpmp *bpmp, in tegra_bpmp_register_clocks() 572 static void tegra_bpmp_unregister_clocks(struct tegra_bpmp *bpmp) in tegra_bpmp_unregister_clocks() 584 struct tegra_bpmp *bpm in tegra_bpmp_clk_of_xlate() [all...] |
/kernel/linux/linux-6.6/drivers/thermal/tegra/ |
H A D | tegra-bpmp-thermal.c | 28 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()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
H A D | tegra-bpmp-thermal.c | 28 struct tegra_bpmp *bpmp; 122 static int tegra_bpmp_thermal_get_num_zones(struct tegra_bpmp *bpmp, in tegra_bpmp_thermal_get_num_zones() 156 struct tegra_bpmp *bpmp = dev_get_drvdata(pdev->dev.parent); in tegra_bpmp_thermal_probe()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | tegra194-cpufreq.c | 252 init_freq_table(struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_freq_table() 320 struct tegra_bpmp *bpmp; in tegra194_cpufreq_probe()
|
H A D | tegra186-cpufreq.c | 143 struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_vhint_table() 230 struct tegra_bpmp *bpmp; in tegra186_cpufreq_probe()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | tegra186-cpufreq.c | 130 struct platform_device *pdev, struct tegra_bpmp *bpmp, in init_vhint_table() 221 struct tegra_bpmp *bpmp; in tegra186_cpufreq_probe()
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra186-emc.c | 20 struct tegra_bpmp *bpmp;
|