Searched refs:subd (Results 1 - 8 of 8) sorted by relevance
/drivers/staging/comedi/drivers/ |
H A 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, argument 40 return cfc_write_array_to_buffer(subd, &data, sizeof(data)); 44 *subd, unsigned int data) 46 return cfc_write_array_to_buffer(subd, &data, sizeof(data)); 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) argument 61 switch (subd->type) { 65 bits_per_sample = 8 * bytes_per_sample(subd); 43 cfc_write_long_to_buffer(struct comedi_subdevice *subd, unsigned int data) argument [all...] |
H A D | comedi_fc.c | 31 static void increment_scan_progress(struct comedi_subdevice *subd, argument 34 struct comedi_async *async = subd->async; 35 unsigned int scan_length = cfc_bytes_per_scan(subd); 45 unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd, argument 48 struct comedi_async *async = subd->async; 63 increment_scan_progress(subd, num_bytes); 70 unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd, argument 73 struct comedi_async *async = subd->async; 81 increment_scan_progress(subd, num_bytes); 89 struct comedi_subdevice *subd) 88 cfc_handle_events(struct comedi_device *dev, struct comedi_subdevice *subd) argument [all...] |
/drivers/staging/comedi/ |
H A D | comedilib.h | 34 unsigned int subd);
|
H A D | range.c | 58 int subd, chan; local 64 subd = (it.range_type >> 24) & 0xf; 69 if (subd >= dev->n_subdevices) 71 s = dev->subdevices + subd;
|
H A D | comedidev.h | 382 static inline unsigned int bytes_per_sample(const struct comedi_subdevice *subd) argument 384 if (subd->subdev_flags & SDF_LSAMPL)
|
H A D | comedi_fops.c | 101 static int do_poll_ioctl(struct comedi_device *dev, unsigned int subd, 2446 DPRINTK("comedi%i subd %d buffer resized to %i bytes\n",
|
/drivers/staging/comedi/kcomedilib/ |
H A D | kcomedilib_main.c | 176 unsigned int subd) 178 if (subd > dev->n_subdevices) 181 for (; subd < dev->n_subdevices; subd++) { 182 if (dev->subdevices[subd].type == type) 183 return subd; 175 comedi_find_subdevice_by_type(struct comedi_device *dev, int type, unsigned int subd) argument
|
/drivers/net/wireless/ath/ath5k/ |
H A D | led.c | 45 #define ATH_SDEVICE(subv, subd) \ 47 .subvendor = (subv), .subdevice = (subd)
|
Completed in 134 milliseconds