Lines Matching refs:tb_phys
299 dma_addr_t tb_phys; in iwl_pcie_gen2_build_amsdu() local
326 tb_phys = dma_map_single(trans->dev, start_hdr, in iwl_pcie_gen2_build_amsdu()
328 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) { in iwl_pcie_gen2_build_amsdu()
332 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_pcie_gen2_build_amsdu()
343 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_pcie_gen2_build_amsdu()
345 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) { in iwl_pcie_gen2_build_amsdu()
349 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_pcie_gen2_build_amsdu()
379 dma_addr_t tb_phys; in iwl_pcie_gen2_build_tx_amsdu() local
383 tb_phys = iwl_pcie_get_first_tb_dma(txq, idx); in iwl_pcie_gen2_build_tx_amsdu()
385 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx_amsdu()
400 tb_phys = dma_map_single(trans->dev, tb1_addr, len, DMA_TO_DEVICE); in iwl_pcie_gen2_build_tx_amsdu()
401 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx_amsdu()
403 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, len); in iwl_pcie_gen2_build_tx_amsdu()
430 dma_addr_t tb_phys; in iwl_pcie_gen2_build_tx() local
434 tb_phys = iwl_pcie_get_first_tb_dma(txq, idx); in iwl_pcie_gen2_build_tx()
439 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx()
454 tb_phys = dma_map_single(trans->dev, tb1_addr, tb1_len, DMA_TO_DEVICE); in iwl_pcie_gen2_build_tx()
455 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx()
457 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb1_len); in iwl_pcie_gen2_build_tx()
463 tb_phys = dma_map_single(trans->dev, skb->data + hdr_len, in iwl_pcie_gen2_build_tx()
465 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx()
467 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb2_len); in iwl_pcie_gen2_build_tx()
478 tb_phys = skb_frag_dma_map(trans->dev, frag, 0, in iwl_pcie_gen2_build_tx()
481 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx()
483 tb_idx = iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, in iwl_pcie_gen2_build_tx()