/linux-6.6.21/drivers/mfd/ |
D | dln2.c | 189 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.6.21/drivers/net/ethernet/litex/ |
D | litex_liteeth.c | 52 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.6.21/drivers/net/ethernet/apple/ |
D | macmace.c | 63 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.6.21/drivers/net/ |
D | rionet.c | 55 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.6.21/drivers/rapidio/devices/ |
D | tsi721.c | 2184 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() 2380 priv->imsg_ring[mbox].imq_base[rx_slot] = NULL; 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() 2420 if (priv->imsg_ring[mbox].imq_base[rx_slot]) { in tsi721_add_inb_buffer() 2423 rx_slot); in tsi721_add_inb_buffer() 2428 priv->imsg_ring[mbox].imq_base[rx_slot] = buf; in tsi721_add_inb_buffer() 2430 if (++priv->imsg_ring[mbox].rx_slot == priv->imsg_ring[mbox].size) in tsi721_add_inb_buffer() [all …]
|
D | tsi721.h | 737 u32 rx_slot; member
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 176 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.6.21/include/sound/ |
D | soc-dai.h | 192 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);
|
D | cs35l41.h | 892 unsigned int rx_num, unsigned int *rx_slot);
|
/linux-6.6.21/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 175 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()
|
/linux-6.6.21/sound/soc/ |
D | soc-dai.c | 308 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()
|
/linux-6.6.21/drivers/hsi/clients/ |
D | cmt_speech.c | 94 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.6.21/sound/soc/codecs/ |
D | idt821034.c | 35 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()
|
D | cs35l41-lib.c | 937 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()
|
D | max98504.c | 224 unsigned int rx_num, unsigned int *rx_slot) in max98504_set_channel_map() argument
|
D | wcd9335.c | 1987 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()
|
D | adau7118.c | 125 unsigned int rx_num, unsigned int *rx_slot) in adau7118_set_channel_map() argument
|
D | wcd934x.c | 1928 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()
|
D | cs35l41.c | 677 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()
|
D | lpass-wsa-macro.c | 997 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()
|
D | lpass-va-macro.c | 887 unsigned int *rx_num, unsigned int *rx_slot) in va_macro_get_channel_map() argument
|
/linux-6.6.21/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 1241 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()
|
/linux-6.6.21/drivers/net/ethernet/ibm/emac/ |
D | core.h | 246 int rx_slot; member
|
D | core.c | 1109 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()
|
/linux-6.6.21/sound/pci/hda/ |
D | cs35l41_hda.c | 692 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()
|