Lines Matching refs:tx_channel

447 static inline void SELECT_TX_CHANNEL (hrz_dev * dev, u16 tx_channel) {  in SELECT_TX_CHANNEL()  argument
448 wr_regl (dev, TX_CHANNEL_PORT_OFF, tx_channel); in SELECT_TX_CHANNEL()
1464 short tx_channel = -1; in setup_idle_tx_channel() local
1488 tx_channel = chan; in setup_idle_tx_channel()
1504 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; in setup_idle_tx_channel()
1513 dev->tx_channel_record[tx_channel] = channel; in setup_idle_tx_channel()
1516 update_tx_channel_config (dev, tx_channel, RATE_TYPE_ACCESS, in setup_idle_tx_channel()
1520 update_tx_channel_config (dev, tx_channel, PCR_TIMER_ACCESS, in setup_idle_tx_channel()
1526 update_tx_channel_config (dev, tx_channel, SCR_TIMER_ACCESS, in setup_idle_tx_channel()
1530 update_tx_channel_config (dev, tx_channel, BUCKET_CAPACITY_ACCESS, in setup_idle_tx_channel()
1534 update_tx_channel_config (dev, tx_channel, BUCKET_FULLNESS_ACCESS, in setup_idle_tx_channel()
1581 return tx_channel; in setup_idle_tx_channel()
1596 short tx_channel; in hrz_send() local
1689 tx_channel = dev->tx_last; in hrz_send()
1693 for (tx_channel = 0; tx_channel < TX_CHANS; ++tx_channel) in hrz_send()
1694 if (dev->tx_channel_record[tx_channel] == channel) { in hrz_send()
1698 if (tx_channel == TX_CHANS) { in hrz_send()
1701 tx_channel = setup_idle_tx_channel (dev, vcc); in hrz_send()
1702 if (tx_channel < 0) { in hrz_send()
1705 return tx_channel; in hrz_send()
1710 SELECT_TX_CHANNEL(dev, tx_channel); in hrz_send()
1713 dev->tx_last = tx_channel; in hrz_send()
1716 PRINTD (DBG_TX, "using channel %u", tx_channel); in hrz_send()