Lines Matching refs:osdev

133 	qdf_update_mem_map_table(soc->osdev, &mem_map_table,  in __dp_ipa_handle_buf_smmu_mapping()
177 !qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_handle_rx_buf_smmu_mapping()
281 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_handle_rx_buf_pool_smmu_mapping()
342 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_handle_rx_buf_pool_smmu_mapping()
397 static QDF_STATUS dp_ipa_get_shared_mem_info(qdf_device_t osdev, in dp_ipa_get_shared_mem_info() argument
407 qdf_mem_set_dma_size(osdev, &shared_mem->mem_info, size); in dp_ipa_get_shared_mem_info()
408 *qdf_mem_get_dma_addr_ptr(osdev, &shared_mem->mem_info) = dma_addr; in dp_ipa_get_shared_mem_info()
410 paddr = qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in dp_ipa_get_shared_mem_info()
411 qdf_mem_set_dma_pa(osdev, &shared_mem->mem_info, paddr); in dp_ipa_get_shared_mem_info()
413 ret = qdf_mem_dma_get_sgtable(osdev->dev, &shared_mem->sgtable, in dp_ipa_get_shared_mem_info()
568 qdf_nbuf_unmap_single(soc->osdev, nbuf, QDF_DMA_BIDIRECTIONAL); in dp_ipa_tx_alt_pool_detach()
648 nbuf = qdf_nbuf_frag_alloc(soc->osdev, alloc_size, 0, in dp_ipa_tx_alt_pool_attach()
664 qdf_nbuf_map_single(soc->osdev, nbuf, in dp_ipa_tx_alt_pool_attach()
704 soc->osdev, &ipa_res->tx_alt_ring, in dp_ipa_tx_alt_ring_get_resource()
710 soc->osdev, &ipa_res->tx_alt_comp_ring, in dp_ipa_tx_alt_ring_get_resource()
715 if (!qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_tx_alt_ring_get_resource()
809 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_map_ring_doorbell_paddr()
810 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_ring_doorbell_paddr()
817 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_ring_doorbell_paddr()
836 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_map_ring_doorbell_paddr()
837 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_ring_doorbell_paddr()
852 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_unmap_ring_doorbell_paddr()
857 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_ring_doorbell_paddr()
863 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_ring_doorbell_paddr()
868 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_ring_doorbell_paddr()
914 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_params()
917 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_params()
926 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_params()
929 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_params()
959 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_smmu_params()
970 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_alt_pipe_smmu_params()
997 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_setup_tx_alt_pipe()
1177 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_map_ring_doorbell_paddr()
1178 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_ring_doorbell_paddr()
1185 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_ring_doorbell_paddr()
1200 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_unmap_ring_doorbell_paddr()
1203 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_ring_doorbell_paddr()
1208 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_ring_doorbell_paddr()
1343 qdf_nbuf_unmap_single(soc->osdev, nbuf, QDF_DMA_BIDIRECTIONAL); in dp_tx_ipa_uc_detach()
1527 nbuf = qdf_nbuf_frag_alloc(soc->osdev, alloc_size, 0, in dp_tx_ipa_uc_attach()
1542 retval = qdf_nbuf_map_single(soc->osdev, nbuf, in dp_tx_ipa_uc_attach()
1706 qdf_mem_paddr_from_dmaaddr(soc->osdev, hp_addr); in dp_ipa_rx_alt_ring_resource_setup()
1841 qdf_mem_paddr_from_dmaaddr(soc->osdev, hp_addr); in dp_ipa_ring_resource_setup()
1888 dp_ipa_get_shared_mem_info(soc->osdev, &ipa_res->rx_alt_rdy_ring, in dp_ipa_rx_alt_ring_get_resource()
1894 soc->osdev, &ipa_res->rx_alt_refill_ring, in dp_ipa_rx_alt_ring_get_resource()
1899 if (!qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_rx_alt_ring_get_resource()
1901 !qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_rx_alt_ring_get_resource()
1933 dp_ipa_get_shared_mem_info(soc->osdev, &ipa_res->tx_ring, in dp_ipa_get_resource()
1938 dp_ipa_get_shared_mem_info(soc->osdev, &ipa_res->tx_comp_ring, in dp_ipa_get_resource()
1943 dp_ipa_get_shared_mem_info(soc->osdev, &ipa_res->rx_rdy_ring, in dp_ipa_get_resource()
1949 soc->osdev, &ipa_res->rx_refill_ring, in dp_ipa_get_resource()
1954 if (!qdf_mem_get_dma_addr(soc->osdev, &ipa_res->tx_ring.mem_info) || in dp_ipa_get_resource()
1955 !qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_get_resource()
1957 !qdf_mem_get_dma_addr(soc->osdev, &ipa_res->rx_rdy_ring.mem_info) || in dp_ipa_get_resource()
1958 !qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_get_resource()
1997 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_map_rx_alt_ring_doorbell_paddr()
1998 ret = pld_smmu_map(soc->osdev->dev, in dp_ipa_map_rx_alt_ring_doorbell_paddr()
2026 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_unmap_rx_alt_ring_doorbell_paddr()
2029 ret = pld_smmu_unmap(soc->osdev->dev, in dp_ipa_unmap_rx_alt_ring_doorbell_paddr()
2418 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_tx_params()
2421 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_params()
2430 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_tx_params()
2433 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_params()
2465 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_rx_params()
2468 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_params()
2477 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_rx_params()
2480 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_params()
2518 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_smmu_params()
2523 dp_ipa_update_txr_db_status(soc->osdev->dev, tx_smmu); in dp_ipa_wdi_tx_smmu_params()
2529 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_tx_smmu_params()
2534 dp_ipa_update_evt_db_status(soc->osdev->dev, tx_smmu); in dp_ipa_wdi_tx_smmu_params()
2572 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_smmu_params()
2577 dp_ipa_update_txr_db_status(soc->osdev->dev, rx_smmu); in dp_ipa_wdi_rx_smmu_params()
2583 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_smmu_params()
2635 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_smmu_params()
2646 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_smmu_params()
2693 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_params()
2696 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_params()
2705 qdf_mem_get_dma_addr(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_params()
2708 qdf_mem_get_dma_size(soc->osdev, in dp_ipa_wdi_rx_alt_pipe_params()
2744 if (qdf_mem_smmu_s1_enabled(soc->osdev)) { in dp_ipa_setup_rx_alt_pipe()
3920 dst_nbuf = qdf_nbuf_alloc(soc->osdev, buf_size,
3998 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) {
4020 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) {
4050 if (!qdf_mem_smmu_s1_enabled(soc->osdev)) {