Home
last modified time | relevance | path

Searched refs:rtsi_channel (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/comedi/
Dcomedi.h519 static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel) in NI_USUAL_RTSI_SELECT() argument
521 if (rtsi_channel < 7) in NI_USUAL_RTSI_SELECT()
522 return 0xb + rtsi_channel; in NI_USUAL_RTSI_SELECT()
737 static inline unsigned NI_MIO_PLL_RTSI_CLOCK(unsigned rtsi_channel) in NI_MIO_PLL_RTSI_CLOCK() argument
739 return NI_MIO_PLL_RTSI0_CLOCK + rtsi_channel; in NI_MIO_PLL_RTSI_CLOCK()
794 static inline unsigned NI_PFI_OUTPUT_RTSI(unsigned rtsi_channel) in NI_PFI_OUTPUT_RTSI() argument
796 return NI_PFI_OUTPUT_RTSI0 + rtsi_channel; in NI_PFI_OUTPUT_RTSI()
817 static inline unsigned NI_EXT_RTSI(unsigned rtsi_channel) in NI_EXT_RTSI() argument
819 return NI_USUAL_RTSI_SELECT(rtsi_channel) - 1; in NI_EXT_RTSI()
849 NI_CDIO_SCAN_BEGIN_SRC_RTSI(unsigned rtsi_channel) in NI_CDIO_SCAN_BEGIN_SRC_RTSI() argument
[all …]
/drivers/staging/comedi/drivers/
Dni_stc.h531 static inline unsigned RTSI_Trig_Output_Bits(unsigned rtsi_channel, in RTSI_Trig_Output_Bits() argument
534 return (source & 0xf) << ((rtsi_channel % 4) * 4); in RTSI_Trig_Output_Bits()
537 static inline unsigned RTSI_Trig_Output_Mask(unsigned rtsi_channel) in RTSI_Trig_Output_Mask() argument
539 return 0xf << ((rtsi_channel % 4) * 4); in RTSI_Trig_Output_Mask()
543 static inline unsigned RTSI_Trig_Output_Source(unsigned rtsi_channel, in RTSI_Trig_Output_Source() argument
546 return (bits >> ((rtsi_channel % 4) * 4)) & 0xf; in RTSI_Trig_Output_Source()
Dni_mio_common.c5598 unsigned rtsi_channel; local
5600 for (rtsi_channel = 0; rtsi_channel <= max_rtsi_channel;
5601 ++rtsi_channel) {
5603 NI_MIO_PLL_RTSI_CLOCK(rtsi_channel)) {
5606 (rtsi_channel);
5610 if (rtsi_channel > max_rtsi_channel)