Lines Matching refs:tb_phys
302 dma_addr_t tb_phys; in iwl_pcie_gen2_build_amsdu() local
329 tb_phys = dma_map_single(trans->dev, start_hdr, in iwl_pcie_gen2_build_amsdu()
331 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) { in iwl_pcie_gen2_build_amsdu()
335 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_pcie_gen2_build_amsdu()
346 tb_phys = dma_map_single(trans->dev, tso.data, in iwl_pcie_gen2_build_amsdu()
348 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) { in iwl_pcie_gen2_build_amsdu()
352 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_pcie_gen2_build_amsdu()
382 dma_addr_t tb_phys; in iwl_pcie_gen2_build_tx_amsdu() local
386 tb_phys = iwl_pcie_get_first_tb_dma(txq, idx); in iwl_pcie_gen2_build_tx_amsdu()
388 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx_amsdu()
403 tb_phys = dma_map_single(trans->dev, tb1_addr, len, DMA_TO_DEVICE); in iwl_pcie_gen2_build_tx_amsdu()
404 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx_amsdu()
406 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, len); in iwl_pcie_gen2_build_tx_amsdu()
431 dma_addr_t tb_phys; in iwl_pcie_gen2_tx_add_frags() local
437 tb_phys = skb_frag_dma_map(trans->dev, frag, 0, in iwl_pcie_gen2_tx_add_frags()
440 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_tx_add_frags()
442 tb_idx = iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, in iwl_pcie_gen2_tx_add_frags()
468 dma_addr_t tb_phys; in iwl_pcie_gen2_build_tx() local
472 tb_phys = iwl_pcie_get_first_tb_dma(txq, idx); in iwl_pcie_gen2_build_tx()
477 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx()
495 tb_phys = dma_map_single(trans->dev, tb1_addr, tb1_len, DMA_TO_DEVICE); in iwl_pcie_gen2_build_tx()
496 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx()
498 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb1_len); in iwl_pcie_gen2_build_tx()
506 tb_phys = dma_map_single(trans->dev, skb->data + hdr_len, in iwl_pcie_gen2_build_tx()
508 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_pcie_gen2_build_tx()
510 iwl_pcie_gen2_set_tb(trans, tfd, tb_phys, tb2_len); in iwl_pcie_gen2_build_tx()