Home
last modified time | relevance | path

Searched refs:tx_slot (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/litex/
Dlitex_liteeth.c47 u32 tx_slot; member
181 txbuffer = priv->tx_base + priv->tx_slot * priv->slot_size; in liteeth_start_xmit()
183 litex_write8(priv->base + LITEETH_READER_SLOT, priv->tx_slot); in liteeth_start_xmit()
189 priv->tx_slot = (priv->tx_slot + 1) % priv->num_tx_slots; in liteeth_start_xmit()
277 priv->tx_slot = 0; in liteeth_probe()
/linux-6.6.21/drivers/rapidio/devices/
Dtsi721.c1672 u32 tx_slot; in tsi721_add_outb_message() local
1681 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1684 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1691 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid); in tsi721_add_outb_message()
1694 if (tx_slot % 4 == 0) in tsi721_add_outb_message()
1695 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF); in tsi721_add_outb_message()
1697 desc[tx_slot].msg_info = in tsi721_add_outb_message()
1700 desc[tx_slot].bufptr_lo = in tsi721_add_outb_message()
1701 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1703 desc[tx_slot].bufptr_hi = in tsi721_add_outb_message()
[all …]
/linux-6.6.21/drivers/net/ethernet/apple/
Dmacmace.c64 int tx_slot, tx_sloti, tx_count; member
154 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset()
472 psc_write_long(PSC_ENETWR_ADDR + mp->tx_slot, (u32) mp->tx_ring_phys); in mace_xmit_start()
473 psc_write_long(PSC_ENETWR_LEN + mp->tx_slot, skb->len); in mace_xmit_start()
474 psc_write_word(PSC_ENETWR_CMD + mp->tx_slot, 0x9800); in mace_xmit_start()
476 mp->tx_slot ^= 0x10; in mace_xmit_start()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dhtc_drv_beacon.c144 int padpos, padsize, ret, tx_slot; in ath9k_htc_send_buffered() local
166 tx_slot = ath9k_htc_tx_get_slot(priv); in ath9k_htc_send_buffered()
167 if (tx_slot < 0) { in ath9k_htc_send_buffered()
173 ret = ath9k_htc_tx_start(priv, NULL, skb, tx_slot, true); in ath9k_htc_send_buffered()
175 ath9k_htc_tx_clear_slot(priv, tx_slot); in ath9k_htc_send_buffered()
Dhtc_drv_debug.c300 MAX_TX_BUF_NUM, priv->tx.tx_slot, in read_file_slot()
301 bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM)); in read_file_slot()
Dhtc_drv_txrx.c84 slot = find_first_zero_bit(priv->tx.tx_slot, MAX_TX_BUF_NUM); in ath9k_htc_tx_get_slot()
89 __set_bit(slot, priv->tx.tx_slot); in ath9k_htc_tx_get_slot()
98 __clear_bit(slot, priv->tx.tx_slot); in ath9k_htc_tx_clear_slot()
Dhtc.h306 DECLARE_BITMAP(tx_slot, MAX_TX_BUF_NUM);
/linux-6.6.21/arch/powerpc/sysdev/
Dfsl_rmu.c167 int tx_slot; member
666 + rmu->msg_tx_ring.tx_slot; in fsl_add_outb_message()
677 memcpy(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot], buffer, in fsl_add_outb_message()
680 memset(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot] in fsl_add_outb_message()
694 | rmu->msg_tx_ring.phys_buffer[rmu->msg_tx_ring.tx_slot]; in fsl_add_outb_message()
701 if (++rmu->msg_tx_ring.tx_slot == rmu->msg_tx_ring.size) in fsl_add_outb_message()
702 rmu->msg_tx_ring.tx_slot = 0; in fsl_add_outb_message()
763 rmu->msg_tx_ring.tx_slot = 0; in fsl_open_outb_mbox()
/linux-6.6.21/include/sound/
Dsoc-dai.h191 unsigned int tx_num, unsigned int *tx_slot,
202 unsigned int *tx_num, unsigned int *tx_slot,
308 unsigned int tx_num, unsigned int *tx_slot,
311 unsigned int *tx_num, unsigned int *tx_slot,
Dcs35l41.h891 unsigned int tx_num, unsigned int *tx_slot,
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dq6afe-dai.c174 unsigned int tx_num, unsigned int *tx_slot, in q6tdm_set_channel_map() argument
186 if (!tx_slot) { in q6tdm_set_channel_map()
197 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
409 unsigned int tx_num, unsigned int *tx_slot, in q6slim_set_channel_map() argument
418 if (!tx_slot) { in q6slim_set_channel_map()
424 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
/linux-6.6.21/drivers/net/
Drionet.c56 int tx_slot; member
151 rnet->tx_skb[rnet->tx_slot] = skb; in rionet_queue_tx_msg()
159 ++rnet->tx_slot; in rionet_queue_tx_msg()
160 rnet->tx_slot &= (RIONET_TX_RING_SIZE - 1); in rionet_queue_tx_msg()
347 rnet->tx_slot = 0; in rionet_open()
/linux-6.6.21/sound/soc/codecs/
Dmax98504.c223 unsigned int tx_num, unsigned int *tx_slot, in max98504_set_channel_map() argument
231 if (tx_slot[i]) in max98504_set_channel_map()
Dadau7118.c124 unsigned int tx_num, unsigned int *tx_slot, in adau7118_set_channel_map() argument
137 ADAU7118_SPT_SLOT(tx_slot[chan])); in adau7118_set_channel_map()
Didt821034.c34 u8 tx_slot; member
138 idt821034->cache.ch[ch].tx_slot); in idt821034_set_channel_power()
185 ts = idt821034->cache.ch[0].tx_slot; in idt821034_set_codec_conf()
235 idt821034->cache.ch[ch].tx_slot = ts_num; in idt821034_set_channel_ts()
Dcs35l41-lib.c936 unsigned int tx_num, unsigned int *tx_slot, in cs35l41_set_channels() argument
957 dev_dbg(dev, "tx slot %d position = %d\n", i, tx_slot[i]); in cs35l41_set_channels()
958 val |= tx_slot[i] << (i * 8); in cs35l41_set_channels()
Dwcd9335.c1986 unsigned int tx_num, unsigned int *tx_slot, in wcd9335_set_channel_map() argument
1994 if (!tx_slot || !rx_slot) { in wcd9335_set_channel_map()
1996 tx_slot, rx_slot); in wcd9335_set_channel_map()
2008 wcd->tx_chs[i].ch_num = tx_slot[i]; in wcd9335_set_channel_map()
2016 unsigned int *tx_num, unsigned int *tx_slot, in wcd9335_get_channel_map() argument
2044 if (!tx_slot || !tx_num) { in wcd9335_get_channel_map()
2046 tx_slot, tx_num); in wcd9335_get_channel_map()
2050 tx_slot[i++] = ch->ch_num; in wcd9335_get_channel_map()
Dwcd934x.c1927 unsigned int tx_num, unsigned int *tx_slot, in wcd934x_set_channel_map() argument
1941 if (!tx_slot || !rx_slot) { in wcd934x_set_channel_map()
1943 tx_slot, rx_slot); in wcd934x_set_channel_map()
1955 wcd->tx_chs[i].ch_num = tx_slot[i]; in wcd934x_set_channel_map()
1963 unsigned int *tx_num, unsigned int *tx_slot, in wcd934x_get_channel_map() argument
1991 if (!tx_slot || !tx_num) { in wcd934x_get_channel_map()
1993 tx_slot, tx_num); in wcd934x_get_channel_map()
1998 tx_slot[i++] = ch->ch_num; in wcd934x_get_channel_map()
Dcs35l41.c677 unsigned int *tx_slot, unsigned int rx_n, unsigned int *rx_slot) in cs35l41_set_channel_map() argument
681 return cs35l41_set_channels(cs35l41->dev, cs35l41->regmap, tx_n, tx_slot, rx_n, rx_slot); in cs35l41_set_channel_map()
/linux-6.6.21/sound/soc/
Dsoc-dai.c307 unsigned int tx_num, unsigned int *tx_slot, in snd_soc_dai_set_channel_map() argument
314 ret = dai->driver->ops->set_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_set_channel_map()
331 unsigned int *tx_num, unsigned int *tx_slot, in snd_soc_dai_get_channel_map() argument
338 ret = dai->driver->ops->get_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_get_channel_map()
/linux-6.6.21/drivers/rapidio/
Drio_cm.c153 int tx_slot; member
677 cm->tx_buf[cm->tx_slot] = req->buffer; in rio_txcq_handler()
684 ++cm->tx_slot; in rio_txcq_handler()
685 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in rio_txcq_handler()
752 cm->tx_buf[cm->tx_slot] = buffer; in riocm_post_send()
756 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); in riocm_post_send()
759 ++cm->tx_slot; in riocm_post_send()
760 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in riocm_post_send()
2148 cm->tx_slot = 0; in riocm_add_mport()
/linux-6.6.21/drivers/net/ethernet/ibm/emac/
Dcore.c757 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1251 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1465 slot = dev->tx_slot++; in emac_start_xmit()
1466 if (dev->tx_slot == NUM_TX_BUFF) { in emac_start_xmit()
1467 dev->tx_slot = 0; in emac_start_xmit()
1539 slot = dev->tx_slot; in emac_start_xmit_sg()
1566 DBG2(dev, "xmit_sg(%u) %d - %d" NL, skb->len, dev->tx_slot, slot); in emac_start_xmit_sg()
1572 if (dev->tx_slot == NUM_TX_BUFF - 1) in emac_start_xmit_sg()
1575 dev->tx_desc[dev->tx_slot].ctrl = ctrl; in emac_start_xmit_sg()
1576 dev->tx_slot = (slot + 1) % NUM_TX_BUFF; in emac_start_xmit_sg()
[all …]
Dcore.h242 int tx_slot; member
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Dhfcpci.c1241 u_char rx_slot = 0, tx_slot = 0, pcm_mode; in mode_hfcpci() local
1256 tx_slot = (bc >> 16) & 0xff; in mode_hfcpci()
1386 tx_slot = 0; in mode_hfcpci()
1390 tx_slot |= 0xC0; in mode_hfcpci()
1393 tx_slot |= 0x80; in mode_hfcpci()
1400 __func__, tx_slot); in mode_hfcpci()
1403 Write_hfc(hc, HFCPCI_B2_SSL, tx_slot); in mode_hfcpci()
1409 __func__, tx_slot); in mode_hfcpci()
1412 Write_hfc(hc, HFCPCI_B1_SSL, tx_slot); in mode_hfcpci()
/linux-6.6.21/drivers/hsi/clients/
Dcmt_speech.c95 unsigned int tx_slot; member
716 hi->tx_slot = slot; in cs_hsi_write_on_data()
717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]); in cs_hsi_write_on_data()
956 hi->tx_slot = 0; in cs_hsi_buf_config()

12