Home
last modified time | relevance | path

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

12

/drivers/mailbox/
Darm_mhuv2.c262 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()
299 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_doorbell_send_data()
327 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_rx_startup()
341 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_rx_shutdown()
350 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_read_data()
387 struct mhuv2_mbox_chan_priv *priv = chan->con_priv; in mhuv2_data_transfer_tx_startup()
400 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_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()
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()
138 mhu->chan[i].con_priv = &mhu->mlink[i]; in platform_mhu_probe()
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_last_tx_done()
91 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_send_data()
137 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_rx_data()
186 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_inbox_isr()
197 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_startup()
212 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_shutdown()
252 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()
319 mbox->chan[i].con_priv = &mbox->mchan[i]; in hi6220_mbox_probe()
Dtegra-hsp.c303 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()
431 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_startup()
474 struct tegra_hsp_mailbox *mb = chan->con_priv; in tegra_hsp_mailbox_shutdown()
532 if (!chan->con_priv) { in tegra_hsp_db_xlate()
534 chan->con_priv = db; in tegra_hsp_db_xlate()
603 mb->channel.chan->con_priv = mb; in tegra_hsp_add_mailboxes()
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()
204 ctx->chans[i].con_priv = &ctx->mc[i]; in slimpro_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()
Dhi3660-mailbox.c88 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()
266 chan[ch].con_priv = (void *)ch; in hi3660_mbox_probe()
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()
176 if (!chan->con_priv) { in qcom_ipcc_mbox_xlate()
180 chan->con_priv = mchan; in qcom_ipcc_mbox_xlate()
Dimx-mailbox.c67 struct imx_mu_con_priv con_priv[IMX_MU_CHANS]; member
264 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_isr()
321 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_send_data()
329 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_startup()
370 struct imx_mu_con_priv *cp = chan->con_priv; in imx_mu_shutdown()
465 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_generic()
470 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_generic()
491 struct imx_mu_con_priv *cp = &priv->con_priv[i]; in imx_mu_init_scu()
496 priv->mbox_chans[i].con_priv = cp; in imx_mu_init_scu()
Dti-msgmgr.c207 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()
463 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_startup()
507 struct ti_queue_inst *qinst = chan->con_priv; in ti_msgmgr_queue_shutdown()
643 chan->con_priv = qinst; in ti_msgmgr_queue_setup()
Dpcc.c188 pcct_ss = chan->con_priv; in pcc_mbox_irq()
193 struct acpi_pcct_hw_reduced_type2 *pcct2_ss = chan->con_priv; in pcc_mbox_irq()
326 struct acpi_pcct_hw_reduced *pcct_ss = chan->con_priv; in pcc_send_data()
502 pcc_mbox_channels[i].con_priv = pcct_entry; in acpi_pcc_probe()
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()
307 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()
318 chans[0].con_priv = mbox; in altera_mbox_probe()
Dqcom-apcs-ipc-mailbox.c84 unsigned long idx = (unsigned long)chan->con_priv; in qcom_apcs_ipc_send_data()
123 apcs->mbox_chans[i].con_priv = (void *)i; in qcom_apcs_ipc_probe()
Dmtk-cmdq-mailbox.c344 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()
615 cmdq->mbox.chans[i].con_priv = (void *)&cmdq->thread[i]; in cmdq_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()
/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c318 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_probe_oui()
335 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_ds_ports()
351 struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; in amdgpu_atombios_dp_get_dpcd()
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()
[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 …]
/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 …]
Dradeon_connectors.c58 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()
937 kfree(radeon_connector->con_priv); in radeon_connector_destroy()
1540 struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; in radeon_dp_get_modes()
1663 struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; in radeon_dp_detect()
1777 struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; in radeon_dp_mode_valid()
1953 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector()
2124 radeon_connector->con_priv = radeon_dig_connector; in radeon_add_atom_connector()
[all …]

12