Home
last modified time | relevance | path

Searched refs:con_priv (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/mailbox/
Darm_mhuv2.c263 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_rx_startup()
273 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_rx_shutdown()
281 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_read_data()
291 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_last_tx_done()
300 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_send_data()
328 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_rx_startup()
342 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_rx_shutdown()
351 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_read_data()
388 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_tx_startup()
401 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_tx_shutdown()
[all …]
Dmailbox-sti.c88 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()
302 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_shutdown_chan()
318 chan->con_priv = NULL; in sti_mbox_shutdown_chan()
[all …]
Darm_mhu.c43 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()
Dplatform_mhu.c49 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()
Darm_mhu_db.c67 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()
Darmada-37xx-rwtm-mailbox.c45 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()
Dmailbox-mpfs.c84 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_send_data()
130 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_rx_data()
179 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_inbox_isr()
191 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_startup()
206 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_shutdown()
245 mbox->chans[0].con_priv = mbox; in mpfs_mbox_probe()
Dhi6220-mailbox.c111 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()
Dapple-mailbox.c167 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_send_data()
248 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_peek_data()
261 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_flush()
278 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_startup()
300 struct apple_mbox *apple_mbox = chan->con_priv; in apple_mbox_chan_shutdown()
362 mbox->chan.con_priv = mbox; in apple_mbox_probe()
Dmailbox-xgene-slimpro.c120 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()
Dti-msgmgr.c247 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_rx_poll_timeout()
277 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_rx_interrupt()
320 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_peek_data()
347 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_last_tx_done()
379 qinst = chan->con_priv; in ti_msgmgr_chan_has_polled_queue_rx()
395 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_send_data()
507 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_startup()
551 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_shutdown()
687 chan->con_priv = qinst; in ti_msgmgr_queue_setup()
Dhi3660-mailbox.c86 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_check_state()
134 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_acquire_channel()
175 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_send_data()
262 chan[ch].con_priv = (void *)ch; in hi3660_mbox_probe()
Dzynqmp-ipi-mailbox.c191 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()
594 chans[IPI_MB_CHNL_TX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_TX]; in zynqmp_ipi_mbox_probe()
595 chans[IPI_MB_CHNL_RX].con_priv = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; in zynqmp_ipi_mbox_probe()
Dtegra-hsp.c300 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_send_data()
309 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_startup()
347 struct tegra_hsp_doorbell *db = chan->con_priv; in tegra_hsp_doorbell_shutdown()
455 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_send_data()
478 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_flush()
504 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_startup()
547 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_shutdown()
605 if (!chan->con_priv) { in tegra_hsp_db_xlate()
607 chan->con_priv = db; in tegra_hsp_db_xlate()
685 mb->channel.chan->con_priv = mb; in tegra_hsp_add_mailboxes()
Dqcom-ipcc.c149 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()
179 mchan = chan->con_priv; in qcom_ipcc_mbox_xlate()
197 chan->con_priv = mchan; in qcom_ipcc_mbox_xlate()
Dstm32-ipcc.c147 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()
Dmailbox-altera.c54 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()
Dimx-mailbox.c87 struct imx_mu_con_priv con_priv[IMX_MU_CHANS]; member
486 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_isr()
543 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_send_data()
551 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_startup()
593 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_shutdown()
719 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_generic()
724 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_generic()
754 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_specific()
759 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_specific()
Dqcom-apcs-ipc-mailbox.c68 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()
Dsprd-mailbox.c199 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()
Dmtk-cmdq-mailbox.c339 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_send_data()
408 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_shutdown()
445 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_flush()
506 thread = (struct cmdq_thread *)mbox->chans[ind].con_priv; in cmdq_xlate()
605 cmdq->mbox.chans[i].con_priv = (void *)&cmdq->thread[i]; in cmdq_probe()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c319 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui()
336 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_ds_ports()
352 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_dpcd()
381 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_get_panel_mode()
415 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_set_link_config()
417 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_set_link_config()
440 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_mode_valid_helper()
442 dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_mode_valid_helper()
459 struct amdgpu_connector_atom_dig *dig = amdgpu_connector->con_priv; in amdgpu_atombios_dp_needs_link_train()
475 if (!amdgpu_connector->con_priv) in amdgpu_atombios_dp_set_rx_power_state()
[all …]
Damdgpu_connectors.c63 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()
775 kfree(amdgpu_connector->con_priv); in amdgpu_connector_destroy()
1219 struct amdgpu_connector_atom_dig *amdgpu_dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_dp_get_modes()
1341 struct amdgpu_connector_atom_dig *amdgpu_dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_dp_detect()
1439 struct amdgpu_connector_atom_dig *amdgpu_dig_connector = amdgpu_connector->con_priv; in amdgpu_connector_dp_mode_valid()
1617 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add()
1769 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add()
1825 amdgpu_connector->con_priv = amdgpu_dig_connector; in amdgpu_connector_add()
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
Datombios_dp.c372 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui()
389 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_getdpcd()
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()
[all …]
/linux-6.1.9/include/linux/
Dmailbox_controller.h127 void *con_priv; member

12