Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/mfd/
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 …]
/linux-6.12.1/drivers/net/ethernet/litex/
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()
/linux-6.12.1/sound/soc/qcom/
Dx1e80100.c104 const unsigned int rx_slot[4] = { PCM_CHANNEL_FL, in x1e80100_snd_prepare() local
114 ARRAY_SIZE(rx_slot), rx_slot); in x1e80100_snd_prepare()
/linux-6.12.1/drivers/net/ethernet/apple/
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()
/linux-6.12.1/drivers/net/
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()
/linux-6.12.1/drivers/rapidio/devices/
Dtsi721.c2215 priv->imsg_ring[mbox].rx_slot = 0; in tsi721_open_inb_mbox()
2388 u32 rx_slot; in tsi721_close_inb_mbox() local
2410 for (rx_slot = 0; rx_slot < priv->imsg_ring[mbox].size; rx_slot++) in tsi721_close_inb_mbox()
2411 priv->imsg_ring[mbox].imq_base[rx_slot] = NULL; in tsi721_close_inb_mbox()
2449 u32 rx_slot; in tsi721_add_inb_buffer() local
2452 rx_slot = priv->imsg_ring[mbox].rx_slot; in tsi721_add_inb_buffer()
2453 if (priv->imsg_ring[mbox].imq_base[rx_slot]) { in tsi721_add_inb_buffer()
2456 rx_slot); in tsi721_add_inb_buffer()
2461 priv->imsg_ring[mbox].imq_base[rx_slot] = buf; in tsi721_add_inb_buffer()
2463 if (++priv->imsg_ring[mbox].rx_slot == priv->imsg_ring[mbox].size) in tsi721_add_inb_buffer()
[all …]
Dtsi721.h737 u32 rx_slot; member
/linux-6.12.1/arch/powerpc/sysdev/
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()
/linux-6.12.1/include/sound/
Dsoc-dai.h192 unsigned int rx_num, const unsigned int *rx_slot);
203 unsigned int *rx_num, unsigned int *rx_slot);
306 unsigned int rx_num, const unsigned int *rx_slot);
309 unsigned int *rx_num, unsigned int *rx_slot);
Dcs35l41.h900 unsigned int rx_num, const unsigned int *rx_slot);
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6afe-dai.c176 unsigned int rx_num, const unsigned int *rx_slot) in q6tdm_set_channel_map() argument
206 if (!rx_slot) { in q6tdm_set_channel_map()
217 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map()
415 const unsigned int *rx_slot) in q6slim_set_channel_map() argument
435 if (!rx_slot) { in q6slim_set_channel_map()
441 pcfg->slim.ch_mapping[i] = rx_slot[i]; in q6slim_set_channel_map()
/linux-6.12.1/sound/soc/
Dsoc-dai.c308 unsigned int rx_num, const 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()
/linux-6.12.1/drivers/hsi/clients/
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()
/linux-6.12.1/sound/soc/codecs/
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()
Dcs35l41-lib.c940 unsigned int rx_num, const unsigned int *rx_slot) in cs35l41_set_channels() argument
951 dev_dbg(dev, "rx slot %d position = %d\n", i, rx_slot[i]); in cs35l41_set_channels()
952 val |= rx_slot[i] << (i * 8); in cs35l41_set_channels()
Dmax98504.c226 const unsigned int *rx_slot) in max98504_set_channel_map() argument
Dwcd9335.c1985 const unsigned int *rx_slot) in wcd9335_set_channel_map() argument
1992 if (!tx_slot || !rx_slot) { in wcd9335_set_channel_map()
1994 tx_slot, rx_slot); in wcd9335_set_channel_map()
2000 wcd->rx_chs[i].ch_num = rx_slot[i]; in wcd9335_set_channel_map()
2015 unsigned int *rx_num, unsigned int *rx_slot) in wcd9335_get_channel_map() argument
2028 if (!rx_slot || !rx_num) { in wcd9335_get_channel_map()
2030 rx_slot, rx_num); in wcd9335_get_channel_map()
2035 rx_slot[i++] = ch->ch_num; in wcd9335_get_channel_map()
Dadau7118.c127 const unsigned int *rx_slot) in adau7118_set_channel_map() argument
Dwcd934x.c1922 const unsigned int *rx_slot) in wcd934x_set_channel_map() argument
1935 if (!tx_slot || !rx_slot) { in wcd934x_set_channel_map()
1937 tx_slot, rx_slot); in wcd934x_set_channel_map()
1943 wcd->rx_chs[i].ch_num = rx_slot[i]; in wcd934x_set_channel_map()
1958 unsigned int *rx_num, unsigned int *rx_slot) in wcd934x_get_channel_map() argument
1971 if (!rx_slot || !rx_num) { in wcd934x_get_channel_map()
1973 rx_slot, rx_num); in wcd934x_get_channel_map()
1978 rx_slot[i++] = ch->ch_num; in wcd934x_get_channel_map()
Dcs35l41.c677 unsigned int rx_n, const 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()
Dlpass-wsa-macro.c1303 unsigned int *rx_num, unsigned int *rx_slot) in wsa_macro_get_channel_map() argument
1324 *rx_slot = mask; in wsa_macro_get_channel_map()
/linux-6.12.1/drivers/isdn/hardware/mISDN/
Dhfcpci.c1242 u_char rx_slot = 0, tx_slot = 0, pcm_mode; in mode_hfcpci() local
1256 rx_slot = (bc >> 8) & 0xff; in mode_hfcpci()
1386 rx_slot = 0; in mode_hfcpci()
1390 rx_slot |= 0xC0; in mode_hfcpci()
1393 rx_slot |= 0x80; in mode_hfcpci()
1403 __func__, rx_slot); in mode_hfcpci()
1405 Write_hfc(hc, HFCPCI_B2_RSL, rx_slot); in mode_hfcpci()
1412 __func__, rx_slot); in mode_hfcpci()
1414 Write_hfc(hc, HFCPCI_B1_RSL, rx_slot); in mode_hfcpci()
/linux-6.12.1/drivers/net/ethernet/ibm/emac/
Dcore.h242 int rx_slot; member
Dcore.c1098 dev->rx_slot = 0; in emac_resize_rx_ring()
1232 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1731 int slot = dev->rx_slot, received = 0; in emac_poll_rx()
1833 dev->rx_slot = slot; in emac_poll_rx()
1854 dev->rx_slot = 0; in emac_poll_rx()
1864 return !(dev->rx_desc[dev->rx_slot].ctrl & MAL_RX_CTRL_EMPTY); in emac_peek_rx()
1872 int slot = dev->rx_slot; in emac_peek_rx_sg()
1883 if (unlikely(slot == dev->rx_slot)) in emac_peek_rx_sg()
/linux-6.12.1/sound/pci/hda/
Dcs35l41_hda.c831 unsigned int rx_num, unsigned int *rx_slot) in cs35l41_hda_channel_map() argument
837 if (*rx_slot >= ARRAY_SIZE(channel_name)) in cs35l41_hda_channel_map()
841 channel_name[*rx_slot], cs35l41->channel_index); in cs35l41_hda_channel_map()
847 rx_slot); in cs35l41_hda_channel_map()

12