aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-24 11:37:16 -0400
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 05:22:56 -0500
commit0c1a94e299eed7ea11ebc407d1e08a26c594abe5 (patch)
treef70b464dda43fc2604bd1399348da07d191b0169 /drivers/net/wireless/iwlegacy/iwl-4965-tx.c
parent1c8cae575b14ffad6af9c80927a08aa783f0ed78 (diff)
iwlegacy: rename i/o direct methods
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965-tx.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-tx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-tx.c b/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
index 66dd172fed60..25c9b7192d9a 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
@@ -640,7 +640,7 @@ int il4965_txq_ctx_alloc(struct il_priv *il)
640 il4965_txq_set_sched(il, 0); 640 il4965_txq_set_sched(il, 0);
641 641
642 /* Tell NIC where to find the "keep warm" buffer */ 642 /* Tell NIC where to find the "keep warm" buffer */
643 il_write_direct32(il, FH_KW_MEM_ADDR_REG, il->kw.dma >> 4); 643 il_wr(il, FH_KW_MEM_ADDR_REG, il->kw.dma >> 4);
644 644
645 spin_unlock_irqrestore(&il->lock, flags); 645 spin_unlock_irqrestore(&il->lock, flags);
646 646
@@ -679,7 +679,7 @@ void il4965_txq_ctx_reset(struct il_priv *il)
679 il4965_txq_set_sched(il, 0); 679 il4965_txq_set_sched(il, 0);
680 680
681 /* Tell NIC where to find the "keep warm" buffer */ 681 /* Tell NIC where to find the "keep warm" buffer */
682 il_write_direct32(il, FH_KW_MEM_ADDR_REG, il->kw.dma >> 4); 682 il_wr(il, FH_KW_MEM_ADDR_REG, il->kw.dma >> 4);
683 683
684 spin_unlock_irqrestore(&il->lock, flags); 684 spin_unlock_irqrestore(&il->lock, flags);
685 685
@@ -707,14 +707,14 @@ void il4965_txq_ctx_stop(struct il_priv *il)
707 707
708 /* Stop each Tx DMA channel, and wait for it to be idle */ 708 /* Stop each Tx DMA channel, and wait for it to be idle */
709 for (ch = 0; ch < il->hw_params.dma_chnl_num; ch++) { 709 for (ch = 0; ch < il->hw_params.dma_chnl_num; ch++) {
710 il_write_direct32(il, 710 il_wr(il,
711 FH_TCSR_CHNL_TX_CONFIG_REG(ch), 0x0); 711 FH_TCSR_CHNL_TX_CONFIG_REG(ch), 0x0);
712 if (il_poll_direct_bit(il, FH_TSSR_TX_STATUS_REG, 712 if (il_poll_bit(il, FH_TSSR_TX_STATUS_REG,
713 FH_TSSR_TX_STATUS_REG_MSK_CHNL_IDLE(ch), 713 FH_TSSR_TX_STATUS_REG_MSK_CHNL_IDLE(ch),
714 1000)) 714 1000))
715 IL_ERR("Failing on timeout while stopping" 715 IL_ERR("Failing on timeout while stopping"
716 " DMA channel %d [0x%08x]", ch, 716 " DMA channel %d [0x%08x]", ch,
717 il_read_direct32(il, 717 il_rd(il,
718 FH_TSSR_TX_STATUS_REG)); 718 FH_TSSR_TX_STATUS_REG));
719 } 719 }
720 spin_unlock_irqrestore(&il->lock, flags); 720 spin_unlock_irqrestore(&il->lock, flags);