/linux/drivers/mailbox/ |
A D | arm_mhuv2.c | 262 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_rx_startup() 272 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_rx_shutdown() 280 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_read_data() 290 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_last_tx_done() 552 priv = chan->con_priv; in mhuv2_sender_interrupt() 585 priv = chan[i].con_priv; in mhuv2_sender_interrupt() 629 priv = chan->con_priv; in get_irq_chan_comb_rx() 651 priv = chans[i].con_priv; in get_irq_chan_stat_rx() 687 priv = chan->con_priv; in mhuv2_receiver_interrupt() 898 chans++->con_priv = priv; in mhuv2_allocate_channels() [all …]
|
A D | mailbox-sti.c | 88 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_channel_is_enabled() 105 chan_info = mbox->chans[i].con_priv; in sti_mbox_to_channel() 121 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_enable_channel() 136 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_disable_channel() 151 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_clear_irq() 226 chan_info = chan->con_priv; in sti_mbox_irq_handler() 253 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_tx_is_ready() 276 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_send_data() 318 chan->con_priv = NULL; in sti_mbox_shutdown_chan() 341 chan_info = mbox->chans[i].con_priv; in sti_mbox_xlate() [all …]
|
A D | arm_mhu_db.c | 67 chan_info = mbox->chans[i].con_priv; in mhu_db_mbox_to_channel() 78 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_mbox_clear_irq() 140 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_last_tx_done() 151 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_send_data() 168 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_shutdown() 183 devm_kfree(mbox->dev, chan->con_priv); in mhu_db_shutdown() 184 chan->con_priv = NULL; in mhu_db_shutdown() 215 if (!mbox->chans[i].con_priv) in mhu_db_mbox_xlate() 233 chan->con_priv = chan_info; in mhu_db_mbox_xlate()
|
A D | arm_mhu.c | 43 struct mhu_link *mlink = chan->con_priv; in mhu_rx_interrupt() 59 struct mhu_link *mlink = chan->con_priv; in mhu_last_tx_done() 67 struct mhu_link *mlink = chan->con_priv; in mhu_send_data() 77 struct mhu_link *mlink = chan->con_priv; in mhu_startup() 97 struct mhu_link *mlink = chan->con_priv; in mhu_shutdown() 129 mhu->chan[i].con_priv = &mhu->mlink[i]; in mhu_probe()
|
A D | platform_mhu.c | 49 struct platform_mhu_link *mlink = chan->con_priv; in platform_mhu_rx_interrupt() 65 struct platform_mhu_link *mlink = chan->con_priv; in platform_mhu_last_tx_done() 73 struct platform_mhu_link *mlink = chan->con_priv; in platform_mhu_send_data() 83 struct platform_mhu_link *mlink = chan->con_priv; in platform_mhu_startup() 103 struct platform_mhu_link *mlink = chan->con_priv; in platform_mhu_shutdown() 136 mhu->chan[i].con_priv = &mhu->mlink[i]; in platform_mhu_probe()
|
A D | armada-37xx-rwtm-mailbox.c | 45 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_receive() 59 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_irq_handler() 79 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_send_data() 105 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_startup() 127 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_shutdown() 169 chans[0].con_priv = mbox; in armada_37xx_mbox_probe()
|
A D | mailbox-mpfs.c | 83 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_send_data() 131 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_rx_data() 155 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_inbox_isr() 167 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_startup() 182 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_shutdown() 217 mbox->chans[0].con_priv = mbox; in mpfs_mbox_probe()
|
A D | hi6220-mailbox.c | 111 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_last_tx_done() 124 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_send_data() 174 mchan = chan->con_priv; in hi6220_mbox_interrupt() 195 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_startup() 207 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_shutdown() 248 mchan = chan->con_priv; in hi6220_mbox_xlate() 316 mbox->chan[i].con_priv = &mbox->mchan[i]; in hi6220_mbox_probe()
|
A D | mailbox-xgene-slimpro.c | 120 struct slimpro_mbox_chan *mb_chan = chan->con_priv; in slimpro_mbox_send_data() 128 struct slimpro_mbox_chan *mb_chan = chan->con_priv; in slimpro_mbox_startup() 153 struct slimpro_mbox_chan *mb_chan = chan->con_priv; in slimpro_mbox_shutdown() 202 ctx->chans[i].con_priv = &ctx->mc[i]; in slimpro_mbox_probe()
|
A D | tegra-hsp.c | 303 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_send_data() 312 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_startup() 350 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_shutdown() 377 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_send_data() 405 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_flush() 426 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_startup() 469 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_shutdown() 527 if (!chan->con_priv) { in tegra_hsp_db_xlate() 529 chan->con_priv = db; in tegra_hsp_db_xlate() 598 mb->channel.chan->con_priv = mb; in tegra_hsp_add_mailboxes()
|
A D | zynqmp-ipi-mailbox.c | 191 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_peek_data() 231 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_last_tx_done() 269 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_send_data() 320 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_startup() 362 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_shutdown() 593 chans[IPI_MB_CHNL_TX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_TX]; in zynqmp_ipi_mbox_probe() 594 chans[IPI_MB_CHNL_RX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; in zynqmp_ipi_mbox_probe()
|
A D | hi3660-mailbox.c | 88 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_check_state() 136 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_acquire_channel() 177 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_send_data() 264 chan[ch].con_priv = (void *)ch; in hi3660_mbox_probe()
|
A D | qcom-ipcc.c | 149 struct qcom_ipcc_chan_info *mchan = chan->con_priv; in qcom_ipcc_mbox_send_data() 160 chan->con_priv = NULL; in qcom_ipcc_mbox_shutdown() 176 if (!chan->con_priv) { in qcom_ipcc_mbox_xlate() 180 chan->con_priv = mchan; in qcom_ipcc_mbox_xlate()
|
A D | ti-msgmgr.c | 207 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_rx_interrupt() 287 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_peek_data() 314 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_last_tx_done() 351 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_send_data() 457 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_startup() 501 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_shutdown() 637 chan->con_priv = qinst; in ti_msgmgr_queue_setup()
|
A D | imx-mailbox.c | 75 struct imx_mu_con_priv con_priv[IMX_MU_CHANS]; member 289 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_isr() 343 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_send_data() 351 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_startup() 392 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_shutdown() 487 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_generic() 492 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_generic() 514 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_specific() 519 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_specific()
|
A D | apple-mailbox.c | 156 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_send_data() 224 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_startup() 246 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_shutdown() 306 mbox->chan.con_priv = mbox; in apple_mbox_probe()
|
A D | stm32-ipcc.c | 147 unsigned long chan = (unsigned long)link->con_priv; in stm32_ipcc_send_data() 166 unsigned long chan = (unsigned long)link->con_priv; in stm32_ipcc_startup() 186 unsigned long chan = (unsigned long)link->con_priv; in stm32_ipcc_shutdown() 305 ipcc->controller.chans[i].con_priv = (void *)i; in stm32_ipcc_probe()
|
A D | mailbox-altera.c | 54 if (!chan || !chan->con_priv) in mbox_chan_to_altera_mbox() 57 return (struct altera_mbox *)chan->con_priv; in mbox_chan_to_altera_mbox() 315 chans[0].con_priv = mbox; in altera_mbox_probe()
|
A D | qcom-apcs-ipc-mailbox.c | 68 unsigned long idx = (unsigned long)chan->con_priv; in qcom_apcs_ipc_send_data() 105 apcs->mbox_chans[i].con_priv = (void *)i; in qcom_apcs_ipc_probe()
|
A D | mtk-cmdq-mailbox.c | 344 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_send_data() 413 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_shutdown() 450 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_flush() 517 thread = (struct cmdq_thread *)mbox->chans[ind].con_priv; in cmdq_xlate() 613 cmdq->mbox.chans[i].con_priv = (void *)&cmdq->thread[i]; in cmdq_probe()
|
A D | sprd-mailbox.c | 199 unsigned long id = (unsigned long)chan->con_priv; in sprd_mbox_send_data() 218 unsigned long id = (unsigned long)chan->con_priv; in sprd_mbox_flush() 400 priv->chan[id].con_priv = (void *)id; in sprd_mbox_probe()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | atombios_dp.c | 318 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui() 380 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_get_panel_mode() 414 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_set_link_config() 416 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_set_link_config() 439 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_mode_valid_helper() 441 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_mode_valid_helper() 458 struct amdgpu_connector_atom_dig *dig = amdgpu_connector->con_priv; in amdgpu_atombios_dp_needs_link_train() 474 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_set_rx_power_state() 477 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_set_rx_power_state() 734 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_link_train() [all …]
|
A D | amdgpu_connectors.c | 63 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 125 dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_get_monitor_bpc() 300 struct amdgpu_connector_atom_dig *dig = amdgpu_connector->con_priv; in amdgpu_connector_get_edid() 767 kfree(amdgpu_connector->con_priv); in amdgpu_connector_destroy() 1211 struct amdgpu_connector_atom_dig *amdgpu_dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_dp_get_modes() 1609 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add() 1759 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add() 1814 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add() 1861 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add() 1908 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | atombios_dp.c | 372 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui() 423 if (!radeon_connector->con_priv) in radeon_dp_get_panel_mode() 457 if (!radeon_connector->con_priv) in radeon_dp_set_link_config() 459 dig_connector = radeon_connector->con_priv; in radeon_dp_set_link_config() 486 if (!radeon_connector->con_priv) in radeon_dp_mode_valid_helper() 488 dig_connector = radeon_connector->con_priv; in radeon_dp_mode_valid_helper() 507 struct radeon_connector_atom_dig *dig = radeon_connector->con_priv; in radeon_dp_needs_link_train() 523 if (!radeon_connector->con_priv) in radeon_dp_set_rx_power_state() 526 dig_connector = radeon_connector->con_priv; in radeon_dp_set_rx_power_state() 802 if (!radeon_connector->con_priv) in radeon_dp_link_train() [all …]
|
A D | radeon_connectors.c | 58 radeon_connector->con_priv; in radeon_connector_hotplug() 83 radeon_connector->con_priv; in radeon_connector_hotplug() 147 dig_connector = radeon_connector->con_priv; in radeon_get_monitor_bpc() 315 struct radeon_connector_atom_dig *dig = radeon_connector->con_priv; in radeon_connector_get_edid() 933 kfree(radeon_connector->con_priv); in radeon_connector_destroy() 1949 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector() 2120 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector() 2182 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector() 2237 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector() 2292 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector() [all …]
|