Home
last modified time | relevance | path

Searched refs:chan_index (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dgeneric-adc-battery.c134 int chan_index; in read_channel() local
136 chan_index = gab_prop_to_chan(psp); in read_channel()
137 ret = iio_read_channel_processed(adc_bat->channel[chan_index], in read_channel()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Ddbdma.c320 ctp->chan_index = chan = i; in au1xxx_dbdma_chan_alloc()
856 chan_tab_ptr[ctp->chan_index] = NULL; in au1xxx_dbdma_chan_free()
865 u32 chan_index; in dbdma_interrupt() local
872 chan_index = __ffs(intstat); in dbdma_interrupt()
874 ctp = chan_tab_ptr[chan_index]; in dbdma_interrupt()
/kernel/linux/linux-5.10/drivers/mailbox/
Dbcm-pdc-mailbox.c1441 int chan_index; in pdc_mb_init() local
1456 for (chan_index = 0; chan_index < mbc->num_chans; chan_index++) in pdc_mb_init()
1457 mbc->chans[chan_index].con_priv = pdcs; in pdc_mb_init()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h322 u32 chan_index; member
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_mio_common.c1398 unsigned int chan_index) in ni_ai_munge() argument
1420 larray[i] += devpriv->ai_offset[chan_index]; in ni_ai_munge()
1422 array[i] += devpriv->ai_offset[chan_index]; in ni_ai_munge()
1423 chan_index++; in ni_ai_munge()
1424 chan_index %= cmd->chanlist_len; in ni_ai_munge()
2522 unsigned int chan_index) in ni_ao_munge() argument
2533 unsigned int range = CR_RANGE(cmd->chanlist[chan_index]); in ni_ao_munge()
2548 chan_index++; in ni_ao_munge()
2549 chan_index %= cmd->chanlist_len; in ni_ao_munge()
Damplc_pci224.c916 void *data, unsigned int num_bytes, unsigned int chan_index) in pci224_ao_munge() argument