Searched refs:subd (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/comedi/drivers/ |
D | comedi_fc.h | 33 extern unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd, 37 static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *subd, in cfc_write_to_buffer() argument 40 return cfc_write_array_to_buffer(subd, &data, sizeof(data)); in cfc_write_to_buffer() 44 *subd, unsigned int data) in cfc_write_long_to_buffer() 46 return cfc_write_array_to_buffer(subd, &data, sizeof(data)); in cfc_write_long_to_buffer() 49 extern unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd, 54 struct comedi_subdevice *subd); 56 static inline unsigned int cfc_bytes_per_scan(struct comedi_subdevice *subd) in cfc_bytes_per_scan() argument 61 switch (subd->type) { in cfc_bytes_per_scan() 65 bits_per_sample = 8 * bytes_per_sample(subd); in cfc_bytes_per_scan() [all …]
|
D | comedi_fc.c | 31 static void increment_scan_progress(struct comedi_subdevice *subd, in increment_scan_progress() argument 34 struct comedi_async *async = subd->async; in increment_scan_progress() 35 unsigned int scan_length = cfc_bytes_per_scan(subd); in increment_scan_progress() 45 unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd, in cfc_write_array_to_buffer() argument 48 struct comedi_async *async = subd->async; in cfc_write_array_to_buffer() 63 increment_scan_progress(subd, num_bytes); in cfc_write_array_to_buffer() 70 unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd, in cfc_read_array_from_buffer() argument 73 struct comedi_async *async = subd->async; in cfc_read_array_from_buffer() 81 increment_scan_progress(subd, num_bytes); in cfc_read_array_from_buffer() 89 struct comedi_subdevice *subd) in cfc_handle_events() argument [all …]
|
/drivers/staging/comedi/kcomedilib/ |
D | kcomedilib_main.c | 176 unsigned int subd) in comedi_find_subdevice_by_type() argument 178 if (subd > dev->n_subdevices) in comedi_find_subdevice_by_type() 181 for (; subd < dev->n_subdevices; subd++) { in comedi_find_subdevice_by_type() 182 if (dev->subdevices[subd].type == type) in comedi_find_subdevice_by_type() 183 return subd; in comedi_find_subdevice_by_type()
|
/drivers/staging/comedi/ |
D | range.c | 58 int subd, chan; in do_rangeinfo_ioctl() local 64 subd = (it.range_type >> 24) & 0xf; in do_rangeinfo_ioctl() 69 if (subd >= dev->n_subdevices) in do_rangeinfo_ioctl() 71 s = dev->subdevices + subd; in do_rangeinfo_ioctl()
|
D | comedilib.h | 34 unsigned int subd);
|
D | comedidev.h | 383 static inline unsigned int bytes_per_sample(const struct comedi_subdevice *subd) in bytes_per_sample() argument 385 if (subd->subdev_flags & SDF_LSAMPL) in bytes_per_sample()
|
D | comedi_fops.c | 101 static int do_poll_ioctl(struct comedi_device *dev, unsigned int subd,
|
/drivers/net/wireless/ath/ath5k/ |
D | led.c | 45 #define ATH_SDEVICE(subv, subd) \ argument 47 .subvendor = (subv), .subdevice = (subd)
|