Searched refs:rtsi_channel (Results 1 – 3 of 3) sorted by relevance
519 static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel) in NI_USUAL_RTSI_SELECT() argument521 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() argument739 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() argument796 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() argument819 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 …]
531 static inline unsigned RTSI_Trig_Output_Bits(unsigned rtsi_channel, in RTSI_Trig_Output_Bits() argument534 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() argument539 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() argument546 return (bits >> ((rtsi_channel % 4) * 4)) & 0xf; in RTSI_Trig_Output_Source()
5598 unsigned rtsi_channel; local5600 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)