Home
last modified time | relevance | path

Searched refs:cntrl_dev (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/bus/mhi/host/
Dinit.c137 ring->pre_aligned = dma_alloc_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_alloc_aligned_ring()
237 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_deinit_dev_ctxt()
243 dma_free_coherent(mhi_cntrl->cntrl_dev, in mhi_deinit_dev_ctxt()
253 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_deinit_dev_ctxt()
259 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->er_ctxt) * in mhi_deinit_dev_ctxt()
263 dma_free_coherent(mhi_cntrl->cntrl_dev, sizeof(*mhi_ctxt->chan_ctxt) * in mhi_deinit_dev_ctxt()
291 mhi_ctxt->chan_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
323 mhi_ctxt->er_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
370 mhi_ctxt->cmd_ctxt = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_init_dev_ctxt()
405 dma_free_coherent(mhi_cntrl->cntrl_dev, ring->alloc_size, in mhi_init_dev_ctxt()
[all …]
Dpci_generic.c701 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_status_cb()
735 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_is_alive()
750 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_claim()
785 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_get_irqs()
831 return pm_runtime_get(mhi_cntrl->cntrl_dev); in mhi_pci_runtime_get()
839 pm_runtime_mark_last_busy(mhi_cntrl->cntrl_dev); in mhi_pci_runtime_put()
840 pm_runtime_put(mhi_cntrl->cntrl_dev); in mhi_pci_runtime_put()
848 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_recovery_work()
900 dev_err(mhi_cntrl->cntrl_dev, "Device died\n"); in health_check()
930 mhi_cntrl->cntrl_dev = &pdev->dev; in mhi_pci_probe()
Dboot.c306 dma_free_coherent(mhi_cntrl->cntrl_dev, mhi_buf->len, in mhi_free_bhie_table()
343 mhi_buf->buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev, in mhi_alloc_bhie_table()
358 dma_free_coherent(mhi_cntrl->cntrl_dev, mhi_buf->len, in mhi_alloc_bhie_table()
464 buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev, size, &dma_addr, in mhi_fw_load_handler()
474 dma_free_coherent(mhi_cntrl->cntrl_dev, size, buf, dma_addr); in mhi_fw_load_handler()
Dmain.c185 buf_info->p_addr = dma_map_single(mhi_cntrl->cntrl_dev, in mhi_map_single_no_bb()
188 if (dma_mapping_error(mhi_cntrl->cntrl_dev, buf_info->p_addr)) in mhi_map_single_no_bb()
197 void *buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev, buf_info->len, in mhi_map_single_use_bb()
214 dma_unmap_single(mhi_cntrl->cntrl_dev, buf_info->p_addr, buf_info->len, in mhi_unmap_single_no_bb()
224 dma_free_coherent(mhi_cntrl->cntrl_dev, buf_info->len, in mhi_unmap_single_use_bb()
/linux-6.6.21/drivers/accel/qaic/
Dmhi_controller.c446 struct qaic_device *qdev = pci_get_drvdata(to_pci_dev(mhi_cntrl->cntrl_dev)); in mhi_status_cb()
493 mhi_cntrl->cntrl_dev = &pci_dev->dev; in qaic_mhi_register_controller()
570 struct pci_dev *pci_dev = container_of(mhi_cntrl->cntrl_dev, struct pci_dev, dev); in qaic_mhi_reset_done()
Dqaic_drv.c283 qdev = pci_get_drvdata(to_pci_dev(mhi_dev->mhi_cntrl->cntrl_dev)); in qaic_mhi_probe()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dmhi.c326 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath11k_mhi_op_status_cb()
397 mhi_ctrl->cntrl_dev = ab->dev; in ath11k_mhi_register()
/linux-6.6.21/include/linux/
Dmhi_ep.h111 struct device *cntrl_dev; member
Dmhi.h380 struct device *cntrl_dev; member
/linux-6.6.21/drivers/bus/mhi/ep/
Dmain.c1238 dev->parent = mhi_cntrl->cntrl_dev; in mhi_ep_alloc_device()
1258 struct device *dev = mhi_cntrl->cntrl_dev; in mhi_ep_create_device()
1340 struct device *dev = mhi_cntrl->cntrl_dev; in mhi_ep_chan_init()
1399 if (!mhi_cntrl || !mhi_cntrl->cntrl_dev || !mhi_cntrl->mmio || !mhi_cntrl->irq) in mhi_ep_register_controller()
1466 dev_err(mhi_cntrl->cntrl_dev, "Failed to request Doorbell IRQ\n"); in mhi_ep_register_controller()
1473 dev_err(mhi_cntrl->cntrl_dev, "Failed to allocate controller device\n"); in mhi_ep_register_controller()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dmhi.c316 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); in ath12k_mhi_op_status_cb()
365 mhi_ctrl->cntrl_dev = ab->dev; in ath12k_mhi_register()
/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-mhi.c534 mhi_cntrl->cntrl_dev = epc->dev.parent; in pci_epf_mhi_link_up()