Searched refs:pfi_channel (Results 1 - 2 of 2) sorted by last modified time

/drivers/staging/comedi/drivers/
H A Dni_660x.c161 static inline unsigned IOConfigReg(unsigned pfi_channel) argument
163 unsigned reg = NI660X_IO_CFG_0_1 + pfi_channel / 2;
312 static inline unsigned ioconfig_bitshift(unsigned pfi_channel) argument
314 return (pfi_channel % 2) ? 0 : 8;
317 static inline unsigned pfi_output_select_mask(unsigned pfi_channel) argument
319 return 0x3 << ioconfig_bitshift(pfi_channel);
322 static inline unsigned pfi_output_select_bits(unsigned pfi_channel, argument
325 return (output_select & 0x3) << ioconfig_bitshift(pfi_channel);
328 static inline unsigned pfi_input_select_mask(unsigned pfi_channel) argument
330 return 0x7 << (4 + ioconfig_bitshift(pfi_channel));
333 pfi_input_select_bits(unsigned pfi_channel, unsigned input_select) argument
923 ni_660x_select_pfi_output(struct comedi_device *dev, unsigned pfi_channel, unsigned output_select) argument
[all...]
H A Dni_mio_common.c4621 unsigned pfi_channel,
4631 bits &= ~MSeries_PFI_Filter_Select_Mask(pfi_channel);
4632 bits |= MSeries_PFI_Filter_Select_Bits(pfi_channel, filter);
4620 ni_config_filter(struct comedi_device *dev, unsigned pfi_channel, enum ni_pfi_filter_select filter) argument

Completed in 60 milliseconds