Home
last modified time | relevance | path

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

12

/linux/drivers/rapidio/devices/
H A Dtsi721.c1699 u32 tx_slot; in tsi721_add_outb_message() local
1708 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1711 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1718 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid); in tsi721_add_outb_message()
1721 if (tx_slot % 4 == 0) in tsi721_add_outb_message()
1722 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF); in tsi721_add_outb_message()
1724 desc[tx_slot].msg_info = in tsi721_add_outb_message()
1727 desc[tx_slot].bufptr_lo = in tsi721_add_outb_message()
1728 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1730 desc[tx_slot].bufptr_hi = in tsi721_add_outb_message()
[all …]
H A Dtsi721.h758 u32 tx_slot; member
/linux/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()
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c208 unsigned int tx_num, const unsigned int *tx_slot, in q6tdm_set_channel_map() argument
220 if (!tx_slot) { in q6tdm_set_channel_map()
231 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
451 const unsigned int *tx_slot, in q6slim_set_channel_map()
461 if (!tx_slot) { in q6slim_set_channel_map()
467 pcfg->slim.ch_mapping[i] = tx_slot[i]; in q6slim_set_channel_map()
450 q6slim_set_channel_map(struct snd_soc_dai * dai,unsigned int tx_num,const unsigned int * tx_slot,unsigned int rx_num,const unsigned int * rx_slot) q6slim_set_channel_map() argument
/linux/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()
/linux/sound/soc/codecs/
H A Dmax98504.c224 const unsigned int *tx_slot, in max98504_set_channel_map() argument
233 if (tx_slot[i]) in max98504_set_channel_map()
H A Dadau7118.c125 const unsigned int *tx_slot, in adau7118_set_channel_map() argument
139 ADAU7118_SPT_SLOT(tx_slot[chan])); in adau7118_set_channel_map()
H A 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()
H A Dcs35l41-lib.c939 unsigned int tx_num, const unsigned int *tx_slot, in cs35l41_set_channels() argument
960 dev_dbg(dev, "tx slot %d position = %d\n", i, tx_slot[i]); in cs35l41_set_channels()
961 val |= tx_slot[i] << (i * 8); in cs35l41_set_channels()
H A Dpm4125.c1429 unsigned int *tx_num, unsigned int *tx_slot, in pm4125_get_channel_map() argument
1449 if (!tx_slot || !tx_num) { in pm4125_get_channel_map()
1450 dev_err(dai->dev, "Invalid tx_slot %p or tx_num %p\n", tx_slot, tx_num); in pm4125_get_channel_map()
1455 tx_slot[i] = sdw_priv->master_channel_map[i]; in pm4125_get_channel_map()
H A Dwcd9335.c1991 const unsigned int *tx_slot, in wcd9335_set_channel_map()
2000 if (!tx_slot || !rx_slot) { in wcd9335_set_channel_map()
2001 dev_err(wcd->dev, "Invalid tx_slot=%p, rx_slot=%p\n", in wcd9335_set_channel_map()
2002 tx_slot, rx_slot); in wcd9335_set_channel_map()
2014 wcd->tx_chs[i].ch_num = tx_slot[i]; in wcd9335_set_channel_map()
2022 unsigned int *tx_num, unsigned int *tx_slot, in wcd9335_get_channel_map()
2050 if (!tx_slot || !tx_num) { in wcd9335_get_channel_map()
2051 dev_err(wcd->dev, "Invalid tx_slot %p or tx_num %p\n", in wcd9335_get_channel_map()
2052 tx_slot, tx_num); in wcd9335_get_channel_map()
2056 tx_slot[ in wcd9335_get_channel_map()
1987 wcd9335_set_channel_map(struct snd_soc_dai * dai,unsigned int tx_num,const unsigned int * tx_slot,unsigned int rx_num,const unsigned int * rx_slot) wcd9335_set_channel_map() argument
2018 wcd9335_get_channel_map(const struct snd_soc_dai * dai,unsigned int * tx_num,unsigned int * tx_slot,unsigned int * rx_num,unsigned int * rx_slot) wcd9335_get_channel_map() argument
[all...]
H A Dwcd934x.c1906 const unsigned int *tx_slot, in wcd934x_set_channel_map() argument
1921 if (!tx_slot || !rx_slot) { in wcd934x_set_channel_map()
1923 tx_slot, rx_slot); in wcd934x_set_channel_map()
1933 wcd->tx_chs[i].ch_num = tx_slot[i]; in wcd934x_set_channel_map()
1941 unsigned int *tx_num, unsigned int *tx_slot, in wcd934x_get_channel_map() argument
1969 if (!tx_slot || !tx_num) { in wcd934x_get_channel_map()
1971 tx_slot, tx_num); in wcd934x_get_channel_map()
1976 tx_slot[i++] = ch->ch_num; in wcd934x_get_channel_map()
H A Dcs35l41.c676 const unsigned int *tx_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()
H A Dwcd937x.c2681 unsigned int *tx_num, unsigned int *tx_slot, in wcd937x_get_channel_map()
2702 if (!tx_slot || !tx_num) {
2703 dev_err(dai->dev, "Invalid tx_slot %p or tx_num %p\n",
2704 tx_slot, tx_num);
2709 tx_slot[i] = wcd->master_channel_map[i];
2657 wcd937x_get_channel_map(const struct snd_soc_dai * dai,unsigned int * tx_num,unsigned int * tx_slot,unsigned int * rx_num,unsigned int * rx_slot) wcd937x_get_channel_map() argument
H A Dlpass-wsa-macro.c1302 unsigned int *tx_num, unsigned int *tx_slot, in wsa_macro_get_channel_map() argument
1311 *tx_slot = wsa->active_ch_mask[dai->id]; in wsa_macro_get_channel_map()
1337 *tx_slot = mask; in wsa_macro_get_channel_map()
H A Dlpass-va-macro.c902 unsigned int *tx_num, unsigned int *tx_slot, in va_macro_get_channel_map() argument
913 *tx_slot = va->active_ch_mask[dai->id]; in va_macro_get_channel_map()
H A Dlpass-tx-macro.c1170 unsigned int *tx_num, unsigned int *tx_slot, in tx_macro_get_channel_map() argument
1180 *tx_slot = tx->active_ch_mask[dai->id]; in tx_macro_get_channel_map()
/linux/drivers/rapidio/
H A Drio_cm.c153 int tx_slot; member
673 cm->tx_buf[cm->tx_slot] = req->buffer; in rio_txcq_handler()
680 ++cm->tx_slot; in rio_txcq_handler()
681 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in rio_txcq_handler()
748 cm->tx_buf[cm->tx_slot] = buffer; in riocm_post_send()
752 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); in riocm_post_send()
755 ++cm->tx_slot; in riocm_post_send()
756 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); in riocm_post_send()
2147 cm->tx_slot = 0; in riocm_add_mport()
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c748 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1232 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1442 slot = dev->tx_slot++; in emac_start_xmit()
1443 if (dev->tx_slot == NUM_TX_BUFF) { in emac_start_xmit()
1444 dev->tx_slot = 0; in emac_start_xmit()
1516 slot = dev->tx_slot; in emac_start_xmit_sg()
1543 DBG2(dev, "xmit_sg(%u) %d - %d" NL, skb->len, dev->tx_slot, slot); in emac_start_xmit_sg()
1549 if (dev->tx_slot == NUM_TX_BUFF - 1) in emac_start_xmit_sg()
1552 dev->tx_desc[dev->tx_slot].ctrl = ctrl; in emac_start_xmit_sg()
1553 dev->tx_slot = (slot + 1) % NUM_TX_BUFF; in emac_start_xmit_sg()
[all …]
H A Dcore.h238 int tx_slot; member
/linux/drivers/net/wireless/ath/ath9k/
H A 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()
H A 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()
H A Dhtc.h306 DECLARE_BITMAP(tx_slot, MAX_TX_BUF_NUM);
/linux/include/sound/
H A Dcs35l41.h911 unsigned int tx_num, const unsigned int *tx_slot,
/linux/sound/hda/codecs/side-codecs/
H A Dcs35l41_hda.c863 unsigned int *tx_slot = NULL; in cs35l41_hda_channel_map() local
885 return cs35l41_set_channels(cs35l41->dev, cs35l41->regmap, tx_num, tx_slot, rx_num, in cs35l41_hda_channel_map()

12