Home
last modified time | relevance | path

Searched refs:rx_slot (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/u-boot/drivers/spi/
H A Dbcmstb_spi.c91 uint rx_slot; member
172 priv->rx_slot = 0; in bcmstb_spi_probe()
305 priv->rx_slot = 0; in bcmstb_spi_xfer()
349 priv->rx_slot = priv->tx_slot; in bcmstb_spi_xfer()
385 while (priv->rx_slot < NUM_CDRAM && rx_len > 0) { in bcmstb_spi_xfer()
387 readl(&regs->rxram[(priv->rx_slot << 1) in bcmstb_spi_xfer()
391 priv->rx_slot, in_bytes[len - rx_len]); in bcmstb_spi_xfer()
392 priv->rx_slot++; in bcmstb_spi_xfer()
/openbmc/linux/drivers/mfd/
H A Ddln2.c189 u16 handle, u16 rx_slot) in dln2_transfer_complete() argument
197 if (rx_slot >= DLN2_MAX_RX_SLOTS) in dln2_transfer_complete()
200 rxc = &rxs->slots[rx_slot]; in dln2_transfer_complete()
212 dev_warn(dev, "bad/late response %d/%d\n", handle, rx_slot); in dln2_transfer_complete()
431 int rx_slot; in _dln2_transfer() local
449 rx_slot = alloc_rx_slot(dln2, handle); in _dln2_transfer()
450 if (rx_slot < 0) { in _dln2_transfer()
451 ret = rx_slot; in _dln2_transfer()
455 ret = dln2_send_wait(dln2, handle, cmd, rx_slot, obuf, obuf_len); in _dln2_transfer()
461 rxc = &rxs->slots[rx_slot]; in _dln2_transfer()
[all …]
/openbmc/linux/drivers/net/ethernet/litex/
H A Dlitex_liteeth.c52 u32 rx_slot; member
62 u8 rx_slot; in liteeth_rx() local
65 rx_slot = litex_read8(priv->base + LITEETH_WRITER_SLOT); in liteeth_rx()
78 memcpy_fromio(data, priv->rx_base + rx_slot * priv->slot_size, len); in liteeth_rx()
273 priv->rx_slot = 0; in liteeth_probe()
/openbmc/linux/drivers/net/ethernet/apple/
H A Dmacmace.c63 int rx_slot, rx_tail; member
133 mp->rx_slot = 0; in mace_rxdma_reset()
698 psc_write_word(PSC_ENETRD_CMD + mp->rx_slot, 0x1100); in mace_dma_intr()
700 left = psc_read_long(PSC_ENETRD_LEN + mp->rx_slot); in mace_dma_intr()
715 mace_load_rxdma_base(dev, mp->rx_slot); in mace_dma_intr()
716 mp->rx_slot ^= 0x10; in mace_dma_intr()
718 psc_write_word(PSC_ENETRD_CMD + mp->rx_slot, 0x9800); in mace_dma_intr()
/openbmc/linux/drivers/net/
H A Drionet.c55 int rx_slot; member
99 i = rnet->rx_slot; in rionet_rx_clean()
121 } while ((i = (i + 1) % RIONET_RX_RING_SIZE) != rnet->rx_slot); in rionet_rx_clean()
131 i = rnet->rx_slot; in rionet_rx_fill()
142 rnet->rx_slot = i; in rionet_rx_fill()
277 if ((n = rionet_rx_clean(ndev)) != rnet->rx_slot) in rionet_inb_msg_event()
344 rnet->rx_slot = 0; in rionet_open()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rmu.c176 int rx_slot; member
867 rmu->msg_rx_ring.rx_slot = 0; in fsl_open_inb_mbox()
955 rmu->msg_rx_ring.rx_slot); in fsl_add_inb_buffer()
957 if (rmu->msg_rx_ring.virt_buffer[rmu->msg_rx_ring.rx_slot]) { in fsl_add_inb_buffer()
960 rmu->msg_rx_ring.rx_slot); in fsl_add_inb_buffer()
965 rmu->msg_rx_ring.virt_buffer[rmu->msg_rx_ring.rx_slot] = buf; in fsl_add_inb_buffer()
966 if (++rmu->msg_rx_ring.rx_slot == rmu->msg_rx_ring.size) in fsl_add_inb_buffer()
967 rmu->msg_rx_ring.rx_slot = 0; in fsl_add_inb_buffer()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.c2184 priv->imsg_ring[mbox].rx_slot = 0; in tsi721_open_inb_mbox()
2357 u32 rx_slot; in tsi721_close_inb_mbox() local
2379 for (rx_slot = 0; rx_slot < priv->imsg_ring[mbox].size; rx_slot++) in tsi721_close_inb_mbox()
2416 u32 rx_slot; in tsi721_add_inb_buffer() local
2419 rx_slot = priv->imsg_ring[mbox].rx_slot; in tsi721_add_inb_buffer()
2423 rx_slot); in tsi721_add_inb_buffer()
2431 priv->imsg_ring[mbox].rx_slot = 0; in tsi721_add_inb_buffer()
2448 u32 rx_slot; in tsi721_get_inb_message() local
2465 rx_slot = priv->imsg_ring[mbox].rx_slot; in tsi721_get_inb_message()
2467 if (++rx_slot == priv->imsg_ring[mbox].size) in tsi721_get_inb_message()
[all …]
H A Dtsi721.h737 u32 rx_slot; member
/openbmc/linux/include/sound/
H A Dsoc-dai.h192 unsigned int rx_num, unsigned int *rx_slot);
203 unsigned int *rx_num, unsigned int *rx_slot);
309 unsigned int rx_num, unsigned int *rx_slot);
312 unsigned int *rx_num, unsigned int *rx_slot);
H A Dcs35l41.h892 unsigned int rx_num, unsigned int *rx_slot);
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe-dai.c175 unsigned int rx_num, unsigned int *rx_slot) in q6tdm_set_channel_map() argument
205 if (!rx_slot) { in q6tdm_set_channel_map()
216 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map()
410 unsigned int rx_num, unsigned int *rx_slot) in q6slim_set_channel_map() argument
430 if (!rx_slot) { in q6slim_set_channel_map()
436 pcfg->slim.ch_mapping[i] = rx_slot[i]; in q6slim_set_channel_map()
/openbmc/linux/sound/soc/
H A Dsoc-dai.c308 unsigned int rx_num, unsigned int *rx_slot) in snd_soc_dai_set_channel_map() argument
315 rx_num, rx_slot); in snd_soc_dai_set_channel_map()
332 unsigned int *rx_num, unsigned int *rx_slot) in snd_soc_dai_get_channel_map() argument
339 rx_num, rx_slot); in snd_soc_dai_get_channel_map()
/openbmc/linux/drivers/hsi/clients/
H A Dcmt_speech.c94 unsigned int rx_slot; member
587 payload |= hi->rx_slot; in cs_hsi_read_on_data_complete()
588 hi->rx_slot++; in cs_hsi_read_on_data_complete()
589 hi->rx_slot %= hi->rx_ptr_boundary; in cs_hsi_read_on_data_complete()
591 hi->mmap_cfg->rx_ptr = hi->rx_slot; in cs_hsi_read_on_data_complete()
623 hi->rx_offsets[hi->rx_slot % hi->rx_bufs]); in cs_hsi_peek_on_data_complete()
955 hi->rx_slot = 0; in cs_hsi_buf_config()
/openbmc/linux/sound/soc/codecs/
H A Didt821034.c35 u8 rx_slot; member
131 idt821034->cache.ch[ch].rx_slot); in idt821034_set_channel_power()
182 ts = idt821034->cache.ch[0].rx_slot; in idt821034_set_codec_conf()
225 idt821034->cache.ch[ch].rx_slot = ts_num; in idt821034_set_channel_ts()
H A Dcs35l41-lib.c937 unsigned int rx_num, unsigned int *rx_slot) in cs35l41_set_channels() argument
948 dev_dbg(dev, "rx slot %d position = %d\n", i, rx_slot[i]); in cs35l41_set_channels()
949 val |= rx_slot[i] << (i * 8); in cs35l41_set_channels()
H A Dmax98504.c224 unsigned int rx_num, unsigned int *rx_slot) in max98504_set_channel_map() argument
H A Dadau7118.c125 unsigned int rx_num, unsigned int *rx_slot) in adau7118_set_channel_map() argument
H A Dwcd9335.c1987 unsigned int rx_num, unsigned int *rx_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()
2002 wcd->rx_chs[i].ch_num = rx_slot[i]; in wcd9335_set_channel_map()
2017 unsigned int *rx_num, unsigned int *rx_slot) in wcd9335_get_channel_map() argument
2030 if (!rx_slot || !rx_num) { in wcd9335_get_channel_map()
2032 rx_slot, rx_num); in wcd9335_get_channel_map()
2037 rx_slot[i++] = ch->ch_num; in wcd9335_get_channel_map()
H A Dwcd934x.c1928 unsigned int rx_num, unsigned int *rx_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()
1949 wcd->rx_chs[i].ch_num = rx_slot[i]; in wcd934x_set_channel_map()
1964 unsigned int *rx_num, unsigned int *rx_slot) in wcd934x_get_channel_map() argument
1977 if (!rx_slot || !rx_num) { in wcd934x_get_channel_map()
1979 rx_slot, rx_num); in wcd934x_get_channel_map()
1984 rx_slot[i++] = ch->ch_num; in wcd934x_get_channel_map()
H A 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()
H A Dlpass-wsa-macro.c997 unsigned int *rx_num, unsigned int *rx_slot) in wsa_macro_get_channel_map() argument
1018 *rx_slot = mask; in wsa_macro_get_channel_map()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c1241 u_char rx_slot = 0, tx_slot = 0, pcm_mode; in mode_hfcpci() local
1255 rx_slot = (bc >> 8) & 0xff; in mode_hfcpci()
1385 rx_slot = 0; in mode_hfcpci()
1389 rx_slot |= 0xC0; in mode_hfcpci()
1392 rx_slot |= 0x80; in mode_hfcpci()
1402 __func__, rx_slot); in mode_hfcpci()
1404 Write_hfc(hc, HFCPCI_B2_RSL, rx_slot); in mode_hfcpci()
1411 __func__, rx_slot); in mode_hfcpci()
1413 Write_hfc(hc, HFCPCI_B1_RSL, rx_slot); in mode_hfcpci()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.h246 int rx_slot; member
H A Dcore.c1109 dev->rx_slot = 0; in emac_resize_rx_ring()
1251 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1754 int slot = dev->rx_slot, received = 0; in emac_poll_rx()
1856 dev->rx_slot = slot; in emac_poll_rx()
1877 dev->rx_slot = 0; in emac_poll_rx()
1887 return !(dev->rx_desc[dev->rx_slot].ctrl & MAL_RX_CTRL_EMPTY); in emac_peek_rx()
1895 int slot = dev->rx_slot; in emac_peek_rx_sg()
1906 if (unlikely(slot == dev->rx_slot)) in emac_peek_rx_sg()
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda.c692 unsigned int rx_num, unsigned int *rx_slot) in cs35l41_hda_channel_map() argument
698 if (*rx_slot >= ARRAY_SIZE(channel_name)) in cs35l41_hda_channel_map()
702 channel_name[*rx_slot], cs35l41->channel_index); in cs35l41_hda_channel_map()
708 rx_slot); in cs35l41_hda_channel_map()

12