/dports/multimedia/libv4l/linux-5.13-rc2/drivers/firmware/tegra/ |
H A D | bpmp.c | 37 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops() local 59 if (!bpmp) { in tegra_bpmp_get() 73 if (bpmp) in tegra_bpmp_put() 81 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index() local 195 return bpmp->soc->ops->ring_doorbell(bpmp); in tegra_bpmp_ring_doorbell() 218 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read() local 404 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_mrq_return() local 735 err = bpmp->soc->ops->init(bpmp); in tegra_bpmp_probe() 789 tegra_bpmp_free_mrq(bpmp, MRQ_PING, bpmp); in tegra_bpmp_probe() 792 bpmp->soc->ops->deinit(bpmp); in tegra_bpmp_probe() [all …]
|
H A D | bpmp-tegra186.c | 97 struct tegra_bpmp *bpmp = data; in tegra186_bpmp_ivc_notify() local 107 struct tegra_bpmp *bpmp, in tegra186_bpmp_channel_init() argument 128 bpmp); in tegra186_bpmp_channel_init() 136 channel->bpmp = bpmp; in tegra186_bpmp_channel_init() 160 tegra_bpmp_handle_rx(bpmp); in mbox_handle_rx() 173 bpmp->priv = priv; in tegra186_bpmp_init() 174 priv->parent = bpmp; in tegra186_bpmp_init() 202 err = tegra186_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra186_bpmp_init() 207 err = tegra186_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra186_bpmp_init() 216 bpmp, index); in tegra186_bpmp_init() [all …]
|
H A D | bpmp-tegra210.c | 39 struct tegra210_bpmp *priv = bpmp->priv; in bpmp_channel_status() 113 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_ring_doorbell() 128 struct tegra_bpmp *bpmp = data; in rx_irq() local 130 tegra_bpmp_handle_rx(bpmp); in rx_irq() 136 struct tegra_bpmp *bpmp, in tegra210_bpmp_channel_init() argument 139 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_channel_init() 156 channel->bpmp = bpmp; in tegra210_bpmp_channel_init() 173 bpmp->priv = priv; in tegra210_bpmp_init() 185 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init() 190 err = tegra210_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra210_bpmp_init() [all …]
|
H A D | bpmp-debugfs.c | 129 err = tegra_bpmp_transfer(bpmp, &msg); in mrq_debug_open() 163 err = tegra_bpmp_transfer(bpmp, &msg); in mrq_debug_close() 207 err = tegra_bpmp_transfer(bpmp, &msg); in mrq_debug_read() 229 err = mrq_debug_close(bpmp, fd); in mrq_debug_read() 275 err = tegra_bpmp_transfer(bpmp, &msg); in mrq_debug_write() 288 err = mrq_debug_close(bpmp, fd); in mrq_debug_write() 378 if (!bpmp || !parent || !ppath) in bpmp_populate_debugfs_inband() 694 parent, bpmp, in bpmp_populate_dir() 727 err = bpmp_populate_dir(bpmp, &seqbuf, bpmp->debugfs_mirror, 0); in bpmp_populate_debugfs_shmem() 750 if (!bpmp->debugfs_mirror) { in tegra_bpmp_init_debugfs() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/firmware/tegra/ |
H A D | bpmp.c | 37 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops() local 59 if (!bpmp) { in tegra_bpmp_get() 73 if (bpmp) in tegra_bpmp_put() 81 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index() local 195 return bpmp->soc->ops->ring_doorbell(bpmp); in tegra_bpmp_ring_doorbell() 218 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read() local 404 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_mrq_return() local 735 err = bpmp->soc->ops->init(bpmp); in tegra_bpmp_probe() 789 tegra_bpmp_free_mrq(bpmp, MRQ_PING, bpmp); in tegra_bpmp_probe() 792 bpmp->soc->ops->deinit(bpmp); in tegra_bpmp_probe() [all …]
|
H A D | bpmp-tegra186.c | 97 struct tegra_bpmp *bpmp = data; in tegra186_bpmp_ivc_notify() local 107 struct tegra_bpmp *bpmp, in tegra186_bpmp_channel_init() argument 128 bpmp); in tegra186_bpmp_channel_init() 136 channel->bpmp = bpmp; in tegra186_bpmp_channel_init() 160 tegra_bpmp_handle_rx(bpmp); in mbox_handle_rx() 173 bpmp->priv = priv; in tegra186_bpmp_init() 174 priv->parent = bpmp; in tegra186_bpmp_init() 202 err = tegra186_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra186_bpmp_init() 207 err = tegra186_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra186_bpmp_init() 216 bpmp, index); in tegra186_bpmp_init() [all …]
|
H A D | bpmp-tegra210.c | 39 struct tegra210_bpmp *priv = bpmp->priv; in bpmp_channel_status() 113 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_ring_doorbell() 128 struct tegra_bpmp *bpmp = data; in rx_irq() local 130 tegra_bpmp_handle_rx(bpmp); in rx_irq() 136 struct tegra_bpmp *bpmp, in tegra210_bpmp_channel_init() argument 139 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_channel_init() 156 channel->bpmp = bpmp; in tegra210_bpmp_channel_init() 173 bpmp->priv = priv; in tegra210_bpmp_init() 185 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init() 190 err = tegra210_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra210_bpmp_init() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/firmware/tegra/ |
H A D | bpmp.c | 37 struct tegra_bpmp *bpmp = channel->bpmp; in channel_to_ops() local 59 if (!bpmp) { in tegra_bpmp_get() 73 if (bpmp) in tegra_bpmp_put() 81 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_get_thread_index() local 195 return bpmp->soc->ops->ring_doorbell(bpmp); in tegra_bpmp_ring_doorbell() 218 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_channel_read() local 404 struct tegra_bpmp *bpmp = channel->bpmp; in tegra_bpmp_mrq_return() local 735 err = bpmp->soc->ops->init(bpmp); in tegra_bpmp_probe() 789 tegra_bpmp_free_mrq(bpmp, MRQ_PING, bpmp); in tegra_bpmp_probe() 792 bpmp->soc->ops->deinit(bpmp); in tegra_bpmp_probe() [all …]
|
H A D | bpmp-tegra186.c | 97 struct tegra_bpmp *bpmp = data; in tegra186_bpmp_ivc_notify() local 107 struct tegra_bpmp *bpmp, in tegra186_bpmp_channel_init() argument 128 bpmp); in tegra186_bpmp_channel_init() 136 channel->bpmp = bpmp; in tegra186_bpmp_channel_init() 160 tegra_bpmp_handle_rx(bpmp); in mbox_handle_rx() 173 bpmp->priv = priv; in tegra186_bpmp_init() 174 priv->parent = bpmp; in tegra186_bpmp_init() 202 err = tegra186_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra186_bpmp_init() 207 err = tegra186_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra186_bpmp_init() 216 bpmp, index); in tegra186_bpmp_init() [all …]
|
H A D | bpmp-tegra210.c | 39 struct tegra210_bpmp *priv = bpmp->priv; in bpmp_channel_status() 113 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_ring_doorbell() 128 struct tegra_bpmp *bpmp = data; in rx_irq() local 130 tegra_bpmp_handle_rx(bpmp); in rx_irq() 136 struct tegra_bpmp *bpmp, in tegra210_bpmp_channel_init() argument 139 struct tegra210_bpmp *priv = bpmp->priv; in tegra210_bpmp_channel_init() 156 channel->bpmp = bpmp; in tegra210_bpmp_channel_init() 173 bpmp->priv = priv; in tegra210_bpmp_init() 185 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init() 190 err = tegra210_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra210_bpmp_init() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186.dtsi | 56 <&bpmp TEGRA186_CLK_EQOS_AXI>, 57 <&bpmp TEGRA186_CLK_EQOS_RX>, 58 <&bpmp TEGRA186_CLK_EQOS_TX>, 80 <&bpmp TEGRA186_CLK_APB2APE>; 387 nvidia,bpmp = <&bpmp>; 993 nvidia,bpmp = <&bpmp>; 1025 <&bpmp TEGRA186_CLK_AFI>, 1496 label = "cpu-bpmp-tx"; 1502 label = "cpu-bpmp-rx"; 1535 bpmp: bpmp { label [all …]
|
H A D | tegra194.dtsi | 442 nvidia,bpmp = <&bpmp>; 1736 nvidia,bpmp = <&bpmp 1>; 1786 nvidia,bpmp = <&bpmp 2>; 1836 nvidia,bpmp = <&bpmp 3>; 1886 nvidia,bpmp = <&bpmp 4>; 1936 nvidia,bpmp = <&bpmp 0>; 1986 nvidia,bpmp = <&bpmp 5>; 2032 nvidia,bpmp = <&bpmp 4>; 2064 nvidia,bpmp = <&bpmp 0>; 2126 bpmp: bpmp { label [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186.dtsi | 56 <&bpmp TEGRA186_CLK_EQOS_AXI>, 57 <&bpmp TEGRA186_CLK_EQOS_RX>, 58 <&bpmp TEGRA186_CLK_EQOS_TX>, 80 <&bpmp TEGRA186_CLK_APB2APE>; 387 nvidia,bpmp = <&bpmp>; 993 nvidia,bpmp = <&bpmp>; 1025 <&bpmp TEGRA186_CLK_AFI>, 1496 label = "cpu-bpmp-tx"; 1502 label = "cpu-bpmp-rx"; 1535 bpmp: bpmp { label [all …]
|
H A D | tegra194.dtsi | 442 nvidia,bpmp = <&bpmp>; 1736 nvidia,bpmp = <&bpmp 1>; 1786 nvidia,bpmp = <&bpmp 2>; 1836 nvidia,bpmp = <&bpmp 3>; 1886 nvidia,bpmp = <&bpmp 4>; 1936 nvidia,bpmp = <&bpmp 0>; 1986 nvidia,bpmp = <&bpmp 5>; 2032 nvidia,bpmp = <&bpmp 4>; 2064 nvidia,bpmp = <&bpmp 0>; 2126 bpmp: bpmp { label [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186.dtsi | 56 <&bpmp TEGRA186_CLK_EQOS_AXI>, 57 <&bpmp TEGRA186_CLK_EQOS_RX>, 58 <&bpmp TEGRA186_CLK_EQOS_TX>, 80 <&bpmp TEGRA186_CLK_APB2APE>; 387 nvidia,bpmp = <&bpmp>; 993 nvidia,bpmp = <&bpmp>; 1025 <&bpmp TEGRA186_CLK_AFI>, 1496 label = "cpu-bpmp-tx"; 1502 label = "cpu-bpmp-rx"; 1535 bpmp: bpmp { label [all …]
|
H A D | tegra194.dtsi | 442 nvidia,bpmp = <&bpmp>; 1736 nvidia,bpmp = <&bpmp 1>; 1786 nvidia,bpmp = <&bpmp 2>; 1836 nvidia,bpmp = <&bpmp 3>; 1886 nvidia,bpmp = <&bpmp 4>; 1936 nvidia,bpmp = <&bpmp 0>; 1986 nvidia,bpmp = <&bpmp 5>; 2032 nvidia,bpmp = <&bpmp 4>; 2064 nvidia,bpmp = <&bpmp 0>; 2126 bpmp: bpmp { label [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/soc/tegra/ |
H A D | powergate-bpmp.c | 22 struct tegra_bpmp *bpmp; member 49 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_set_state() 79 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_state() 107 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_max_id() 137 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_name() 153 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_on() local 162 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_off() local 183 powergate->bpmp = bpmp; in tegra_powergate_add() 201 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_remove() local 332 struct device *dev = bpmp->dev; in tegra_bpmp_init_powergates() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/soc/tegra/ |
H A D | powergate-bpmp.c | 22 struct tegra_bpmp *bpmp; member 49 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_set_state() 79 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_state() 107 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_max_id() 137 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_name() 153 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_on() local 162 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_off() local 183 powergate->bpmp = bpmp; in tegra_powergate_add() 201 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_remove() local 332 struct device *dev = bpmp->dev; in tegra_bpmp_init_powergates() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/soc/tegra/ |
H A D | powergate-bpmp.c | 22 struct tegra_bpmp *bpmp; member 49 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_set_state() 79 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_state() 107 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_max_id() 137 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_powergate_get_name() 153 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_on() local 162 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_power_off() local 183 powergate->bpmp = bpmp; in tegra_powergate_add() 201 struct tegra_bpmp *bpmp = powergate->bpmp; in tegra_powergate_remove() local 332 struct device *dev = bpmp->dev; in tegra_bpmp_init_powergates() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/soc/tegra/ |
H A D | bpmp.h | 40 struct tegra_bpmp *bpmp; member 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, 129 static inline void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put() argument 137 static inline int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer() argument 167 void tegra_bpmp_handle_rx(struct tegra_bpmp *bpmp); 170 int tegra_bpmp_init_clocks(struct tegra_bpmp *bpmp); 179 int tegra_bpmp_init_resets(struct tegra_bpmp *bpmp); 188 int tegra_bpmp_init_powergates(struct tegra_bpmp *bpmp); [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/soc/tegra/ |
H A D | bpmp.h | 40 struct tegra_bpmp *bpmp; member 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, 129 static inline void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put() argument 137 static inline int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer() argument 167 void tegra_bpmp_handle_rx(struct tegra_bpmp *bpmp); 170 int tegra_bpmp_init_clocks(struct tegra_bpmp *bpmp); 179 int tegra_bpmp_init_resets(struct tegra_bpmp *bpmp); 188 int tegra_bpmp_init_powergates(struct tegra_bpmp *bpmp); [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/soc/tegra/ |
H A D | bpmp.h | 40 struct tegra_bpmp *bpmp; member 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, 129 static inline void tegra_bpmp_put(struct tegra_bpmp *bpmp) in tegra_bpmp_put() argument 137 static inline int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, in tegra_bpmp_transfer() argument 167 void tegra_bpmp_handle_rx(struct tegra_bpmp *bpmp); 170 int tegra_bpmp_init_clocks(struct tegra_bpmp *bpmp); 179 int tegra_bpmp_init_resets(struct tegra_bpmp *bpmp); 188 int tegra_bpmp_init_powergates(struct tegra_bpmp *bpmp); [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 31 struct tegra_bpmp *bpmp; member 86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer() 426 dev_err(bpmp->dev, in tegra_bpmp_probe_clocks() 481 clk->bpmp = bpmp; in tegra_bpmp_clk_register() 549 bpmp->num_clocks = count; in tegra_bpmp_register_clocks() 551 bpmp->clocks = devm_kcalloc(bpmp->dev, count, sizeof(clk), GFP_KERNEL); in tegra_bpmp_register_clocks() 552 if (!bpmp->clocks) in tegra_bpmp_register_clocks() 560 dev_err(bpmp->dev, in tegra_bpmp_register_clocks() 566 bpmp->clocks[i] = clk; in tegra_bpmp_register_clocks() 584 struct tegra_bpmp *bpmp = data; in tegra_bpmp_clk_of_xlate() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 31 struct tegra_bpmp *bpmp; member 86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer() 426 dev_err(bpmp->dev, in tegra_bpmp_probe_clocks() 481 clk->bpmp = bpmp; in tegra_bpmp_clk_register() 549 bpmp->num_clocks = count; in tegra_bpmp_register_clocks() 551 bpmp->clocks = devm_kcalloc(bpmp->dev, count, sizeof(clk), GFP_KERNEL); in tegra_bpmp_register_clocks() 552 if (!bpmp->clocks) in tegra_bpmp_register_clocks() 560 dev_err(bpmp->dev, in tegra_bpmp_register_clocks() 566 bpmp->clocks[i] = clk; in tegra_bpmp_register_clocks() 584 struct tegra_bpmp *bpmp = data; in tegra_bpmp_clk_of_xlate() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-bpmp.c | 31 struct tegra_bpmp *bpmp; member 86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer() 426 dev_err(bpmp->dev, in tegra_bpmp_probe_clocks() 481 clk->bpmp = bpmp; in tegra_bpmp_clk_register() 549 bpmp->num_clocks = count; in tegra_bpmp_register_clocks() 551 bpmp->clocks = devm_kcalloc(bpmp->dev, count, sizeof(clk), GFP_KERNEL); in tegra_bpmp_register_clocks() 552 if (!bpmp->clocks) in tegra_bpmp_register_clocks() 560 dev_err(bpmp->dev, in tegra_bpmp_register_clocks() 566 bpmp->clocks[i] = clk; in tegra_bpmp_register_clocks() 584 struct tegra_bpmp *bpmp = data; in tegra_bpmp_clk_of_xlate() local [all …]
|