Lines Matching refs:tb_phys

216 		dma_addr_t tb_phys;  in iwl_txq_gen2_build_amsdu()  local
243 tb_phys = iwl_pcie_get_tso_page_phys(start_hdr); in iwl_txq_gen2_build_amsdu()
250 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, tb_len); in iwl_txq_gen2_build_amsdu()
252 tb_phys, tb_len); in iwl_txq_gen2_build_amsdu()
264 tb_phys = iwl_pcie_get_sgt_tb_phys(sgt, data_offset, in iwl_txq_gen2_build_amsdu()
267 if (unlikely(tb_phys == DMA_MAPPING_ERROR)) in iwl_txq_gen2_build_amsdu()
271 tb_phys, tso.data, in iwl_txq_gen2_build_amsdu()
306 dma_addr_t tb_phys; in iwl_txq_gen2_build_tx_amsdu() local
310 tb_phys = iwl_txq_get_first_tb_dma(txq, idx); in iwl_txq_gen2_build_tx_amsdu()
317 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx_amsdu()
332 tb_phys = dma_map_single(trans->dev, tb1_addr, len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx_amsdu()
333 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_txq_gen2_build_tx_amsdu()
339 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, len); in iwl_txq_gen2_build_tx_amsdu()
363 dma_addr_t tb_phys; in iwl_txq_gen2_tx_add_frags() local
370 tb_phys = skb_frag_dma_map(trans->dev, frag, 0, in iwl_txq_gen2_tx_add_frags()
372 ret = iwl_txq_gen2_set_tb_with_wa(trans, skb, tfd, tb_phys, in iwl_txq_gen2_tx_add_frags()
394 dma_addr_t tb_phys; in iwl_txq_gen2_build_tx() local
399 tb_phys = iwl_txq_get_first_tb_dma(txq, idx); in iwl_txq_gen2_build_tx()
409 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx()
427 tb_phys = dma_map_single(trans->dev, tb1_addr, tb1_len, DMA_TO_DEVICE); in iwl_txq_gen2_build_tx()
428 if (unlikely(dma_mapping_error(trans->dev, tb_phys))) in iwl_txq_gen2_build_tx()
434 iwl_txq_gen2_set_tb(trans, tfd, tb_phys, tb1_len); in iwl_txq_gen2_build_tx()
444 tb_phys = dma_map_single(trans->dev, skb->data + hdr_len, in iwl_txq_gen2_build_tx()
446 ret = iwl_txq_gen2_set_tb_with_wa(trans, skb, tfd, tb_phys, in iwl_txq_gen2_build_tx()
459 tb_phys = dma_map_single(trans->dev, frag->data, in iwl_txq_gen2_build_tx()
461 ret = iwl_txq_gen2_set_tb_with_wa(trans, skb, tfd, tb_phys, in iwl_txq_gen2_build_tx()