Home
last modified time | relevance | path

Searched refs:tx_slot (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/net/ethernet/litex/
H A 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()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
H A 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()
1739 u32 tx_slot = 0xffffffff; tsi721_omsg_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/rapidio/devices/
H A 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()
1739 u32 tx_slot = 0xffffffff; tsi721_omsg_handler() local
[all...]
/kernel/linux/linux-5.10/include/sound/
H A Dsoc-dai.h132 unsigned int tx_num, unsigned int *tx_slot,
143 unsigned int *tx_num, unsigned int *tx_slot,
235 unsigned int tx_num, unsigned int *tx_slot,
238 unsigned int *tx_num, unsigned int *tx_slot,
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
H A Dmacmace.c64 int tx_slot, tx_sloti, tx_count; member
154 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset()
468 psc_write_long(PSC_ENETWR_ADDR + mp->tx_slot, (u32) mp->tx_ring_phys); in mace_xmit_start()
469 psc_write_long(PSC_ENETWR_LEN + mp->tx_slot, skb->len); in mace_xmit_start()
470 psc_write_word(PSC_ENETWR_CMD + mp->tx_slot, 0x9800); in mace_xmit_start()
472 mp->tx_slot ^= 0x10; in mace_xmit_start()
/kernel/linux/linux-6.6/drivers/net/ethernet/apple/
H A 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()
/kernel/linux/linux-6.6/include/sound/
H A 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,
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c174 unsigned int tx_num, unsigned int *tx_slot, in q6tdm_set_channel_map()
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()
418 if (!tx_slot) { in q6slim_set_channel_map()
424 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
173 q6tdm_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) q6tdm_set_channel_map() argument
408 q6slim_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) q6slim_set_channel_map() argument
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-dai.c231 * @tx_slot: pointer to an array which imply the TX slot number channel
240 unsigned int tx_num, unsigned int *tx_slot, in snd_soc_dai_set_channel_map()
247 ret = dai->driver->ops->set_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_set_channel_map()
257 * @tx_slot: pointer to an array which imply the TX slot number channel
264 unsigned int *tx_num, unsigned int *tx_slot, in snd_soc_dai_get_channel_map()
271 ret = dai->driver->ops->get_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_get_channel_map()
239 snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) snd_soc_dai_set_channel_map() argument
263 snd_soc_dai_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) snd_soc_dai_get_channel_map() argument
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-dai.c298 * @tx_slot: pointer to an array which imply the TX slot number channel
307 unsigned int tx_num, unsigned int *tx_slot, in snd_soc_dai_set_channel_map()
314 ret = dai->driver->ops->set_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_set_channel_map()
324 * @tx_slot: pointer to an array which imply the TX slot number channel
331 unsigned int *tx_num, unsigned int *tx_slot, in snd_soc_dai_get_channel_map()
338 ret = dai->driver->ops->get_channel_map(dai, tx_num, tx_slot, in snd_soc_dai_get_channel_map()
306 snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) snd_soc_dai_set_channel_map() argument
330 snd_soc_dai_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) snd_soc_dai_get_channel_map() argument
/kernel/linux/linux-5.10/drivers/net/
H A 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()
/kernel/linux/linux-6.6/drivers/net/
H A 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()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmax98504.c223 unsigned int tx_num, unsigned int *tx_slot, in max98504_set_channel_map()
231 if (tx_slot[i]) in max98504_set_channel_map()
222 max98504_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) max98504_set_channel_map() argument
H A Dadau7118.c124 unsigned int tx_num, unsigned int *tx_slot, in adau7118_set_channel_map()
137 ADAU7118_SPT_SLOT(tx_slot[chan])); in adau7118_set_channel_map()
123 adau7118_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) adau7118_set_channel_map() argument
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmax98504.c223 unsigned int tx_num, unsigned int *tx_slot, in max98504_set_channel_map()
231 if (tx_slot[i]) in max98504_set_channel_map()
222 max98504_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) max98504_set_channel_map() argument
H A Dadau7118.c124 unsigned int tx_num, unsigned int *tx_slot, in adau7118_set_channel_map()
137 ADAU7118_SPT_SLOT(tx_slot[chan])); in adau7118_set_channel_map()
123 adau7118_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) adau7118_set_channel_map() argument
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c276 unsigned int tx_num, unsigned int *tx_slot, in q6tdm_set_channel_map()
288 if (!tx_slot) { in q6tdm_set_channel_map()
299 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
510 unsigned int tx_num, unsigned int *tx_slot, in q6slim_set_channel_map()
519 if (!tx_slot) { in q6slim_set_channel_map()
525 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
275 q6tdm_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) q6tdm_set_channel_map() argument
509 q6slim_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) q6slim_set_channel_map() argument
/kernel/linux/linux-5.10/drivers/rapidio/
H A 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()
755 riocm_debug(TX, "Add buf@%p destid=%x tx_slot=%d tx_cnt=%d", 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()
2150 cm->tx_slot in riocm_add_mport()
[all...]
/kernel/linux/linux-6.6/drivers/rapidio/
H A 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()
755 riocm_debug(TX, "Add buf@%p destid=%x tx_slot=%d tx_cnt=%d", 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 in riocm_add_mport()
[all...]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A 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()
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
H A 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()

Completed in 34 milliseconds

123