/linux-master/drivers/net/ethernet/litex/ |
H A D | litex_liteeth.c | 47 u32 tx_slot; member in struct:liteeth 181 txbuffer = priv->tx_base + priv->tx_slot * priv->slot_size; 183 litex_write8(priv->base + LITEETH_READER_SLOT, priv->tx_slot); 189 priv->tx_slot = (priv->tx_slot + 1) % priv->num_tx_slots; 277 priv->tx_slot = 0;
|
/linux-master/drivers/rapidio/devices/ |
H A D | tsi721.c | 1699 u32 tx_slot; local 1708 tx_slot = priv->omsg_ring[mbox].tx_slot; 1711 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); 1718 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid); 1721 if (tx_slot % 4 == 0) 1722 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF); 1724 desc[tx_slot].msg_info = 1727 desc[tx_slot].bufptr_lo = 1728 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] 1766 u32 tx_slot = 0xffffffff; local [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | 144 int padpos, padsize, ret, tx_slot; local 166 tx_slot = ath9k_htc_tx_get_slot(priv); 167 if (tx_slot < 0) { 173 ret = ath9k_htc_tx_start(priv, NULL, skb, tx_slot, true); 175 ath9k_htc_tx_clear_slot(priv, tx_slot);
|
H A D | htc_drv_debug.c | 300 MAX_TX_BUF_NUM, priv->tx.tx_slot, 301 bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM));
|
H A D | htc_drv_txrx.c | 84 slot = find_first_zero_bit(priv->tx.tx_slot, MAX_TX_BUF_NUM); 89 __set_bit(slot, priv->tx.tx_slot); 98 __clear_bit(slot, priv->tx.tx_slot);
|
H A D | htc.h | 306 DECLARE_BITMAP(tx_slot, MAX_TX_BUF_NUM);
|
/linux-master/drivers/net/ethernet/apple/ |
H A D | macmace.c | 64 int tx_slot, tx_sloti, tx_count; member in struct:mace_data 154 mp->tx_slot = mp->tx_sloti = 0; 472 psc_write_long(PSC_ENETWR_ADDR + mp->tx_slot, (u32) mp->tx_ring_phys); 473 psc_write_long(PSC_ENETWR_LEN + mp->tx_slot, skb->len); 474 psc_write_word(PSC_ENETWR_CMD + mp->tx_slot, 0x9800); 476 mp->tx_slot ^= 0x10;
|
/linux-master/include/sound/ |
H A D | soc-dai.h | 191 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,
|
/linux-master/sound/soc/codecs/ |
H A D | max98504.c | 223 unsigned int tx_num, unsigned int *tx_slot, 231 if (tx_slot[i]) 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) argument
|
H A D | adau7118.c | 124 unsigned int tx_num, unsigned int *tx_slot, 137 ADAU7118_SPT_SLOT(tx_slot[chan])); 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) argument
|
H A D | idt821034.c | 34 u8 tx_slot; member in struct:idt821034::__anon4847::__anon4848 138 idt821034->cache.ch[ch].tx_slot); 185 ts = idt821034->cache.ch[0].tx_slot; 235 idt821034->cache.ch[ch].tx_slot = ts_num;
|
H A D | cs35l41-lib.c | 939 unsigned int tx_num, unsigned int *tx_slot, 960 dev_dbg(dev, "tx slot %d position = %d\n", i, tx_slot[i]); 961 val |= tx_slot[i] << (i * 8); 938 cs35l41_set_channels(struct device *dev, struct regmap *reg, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) argument
|
H A D | wcd9335.c | 1986 unsigned int tx_num, unsigned int *tx_slot, 1994 if (!tx_slot || !rx_slot) { 1995 dev_err(wcd->dev, "Invalid tx_slot=%p, rx_slot=%p\n", 1996 tx_slot, rx_slot); 2008 wcd->tx_chs[i].ch_num = tx_slot[i]; 2016 unsigned int *tx_num, unsigned int *tx_slot, 2044 if (!tx_slot || !tx_num) { 2045 dev_err(wcd->dev, "Invalid tx_slot %p or tx_num %p\n", 2046 tx_slot, tx_num); 2050 tx_slot[ 1985 wcd9335_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) argument 2015 wcd9335_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) argument [all...] |
H A D | cs35l41.c | 676 unsigned int *tx_slot, unsigned int rx_n, unsigned int *rx_slot) 680 return cs35l41_set_channels(cs35l41->dev, cs35l41->regmap, tx_n, tx_slot, rx_n, rx_slot); 675 cs35l41_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_n, unsigned int *tx_slot, unsigned int rx_n, unsigned int *rx_slot) argument
|
H A D | wcd934x.c | 1926 unsigned int tx_num, unsigned int *tx_slot, 1940 if (!tx_slot || !rx_slot) { 1941 dev_err(wcd->dev, "Invalid tx_slot=%p, rx_slot=%p\n", 1942 tx_slot, rx_slot); 1954 wcd->tx_chs[i].ch_num = tx_slot[i]; 1962 unsigned int *tx_num, unsigned int *tx_slot, 1990 if (!tx_slot || !tx_num) { 1991 dev_err(wcd->dev, "Invalid tx_slot %p or tx_num %p\n", 1992 tx_slot, tx_num); 1997 tx_slot[ 1925 wcd934x_set_channel_map(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot) argument 1961 wcd934x_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) argument [all...] |
H A D | lpass-va-macro.c | 896 unsigned int *tx_num, unsigned int *tx_slot, 907 *tx_slot = va->active_ch_mask[dai->id]; 895 va_macro_get_channel_map(struct snd_soc_dai *dai, unsigned int *tx_num, unsigned int *tx_slot, unsigned int *rx_num, unsigned int *rx_slot) argument
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 167 int tx_slot; member in struct:rio_msg_tx_ring 666 + rmu->msg_tx_ring.tx_slot; 677 memcpy(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot], buffer, 680 memset(rmu->msg_tx_ring.virt_buffer[rmu->msg_tx_ring.tx_slot] 694 | rmu->msg_tx_ring.phys_buffer[rmu->msg_tx_ring.tx_slot]; 701 if (++rmu->msg_tx_ring.tx_slot == rmu->msg_tx_ring.size) 702 rmu->msg_tx_ring.tx_slot = 0; 763 rmu->msg_tx_ring.tx_slot = 0;
|
/linux-master/sound/soc/ |
H A D | soc-dai.c | 298 * @tx_slot: pointer to an array which imply the TX slot number channel 307 unsigned int tx_num, unsigned int *tx_slot, 314 ret = dai->driver->ops->set_channel_map(dai, tx_num, tx_slot, 324 * @tx_slot: pointer to an array which imply the TX slot number channel 331 unsigned int *tx_num, unsigned int *tx_slot, 338 ret = dai->driver->ops->get_channel_map(dai, tx_num, tx_slot, 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) 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) argument
|
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | 175 unsigned int tx_num, unsigned int *tx_slot, 187 if (!tx_slot) { 198 tdm->ch_mapping[i] = tx_slot[i]; 410 unsigned int tx_num, unsigned int *tx_slot, 419 if (!tx_slot) { 425 pcfg->slim.ch_mapping[i] = tx_slot[i]; 174 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) argument 409 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) argument
|
/linux-master/drivers/rapidio/ |
H A D | rio_cm.c | 153 int tx_slot; member in struct:cm_dev 679 cm->tx_buf[cm->tx_slot] = req->buffer; 686 ++cm->tx_slot; 687 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); 754 cm->tx_buf[cm->tx_slot] = buffer; 757 riocm_debug(TX, "Add buf@%p destid=%x tx_slot=%d tx_cnt=%d", 758 buffer, rdev->destid, cm->tx_slot, cm->tx_cnt); 761 ++cm->tx_slot; 762 cm->tx_slot &= (RIOCM_TX_RING_SIZE - 1); 2150 cm->tx_slot [all...] |
/linux-master/drivers/net/ |
H A D | rionet.c | 56 int tx_slot; member in struct:rionet_private 151 rnet->tx_skb[rnet->tx_slot] = skb; 159 ++rnet->tx_slot; 160 rnet->tx_slot &= (RIONET_TX_RING_SIZE - 1); 347 rnet->tx_slot = 0;
|
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | core.h | 242 int tx_slot; member in struct:emac_instance
|
H A D | core.c | 757 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; 1251 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; 1465 slot = dev->tx_slot++; 1466 if (dev->tx_slot == NUM_TX_BUFF) { 1467 dev->tx_slot = 0; 1539 slot = dev->tx_slot; 1566 DBG2(dev, "xmit_sg(%u) %d - %d" NL, skb->len, dev->tx_slot, slot); 1572 if (dev->tx_slot == NUM_TX_BUFF - 1) 1575 dev->tx_desc[dev->tx_slot].ctrl = ctrl; 1576 dev->tx_slot [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 1241 u_char rx_slot = 0, tx_slot = 0, pcm_mode; local 1256 tx_slot = (bc >> 16) & 0xff; 1386 tx_slot = 0; 1390 tx_slot |= 0xC0; 1393 tx_slot |= 0x80; 1400 __func__, tx_slot); 1403 Write_hfc(hc, HFCPCI_B2_SSL, tx_slot); 1409 __func__, tx_slot); 1412 Write_hfc(hc, HFCPCI_B1_SSL, tx_slot);
|
/linux-master/drivers/hsi/clients/ |
H A D | cmt_speech.c | 95 unsigned int tx_slot; member in struct:cs_hsi_iface 716 hi->tx_slot = slot; 717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]); 956 hi->tx_slot = 0;
|