| /linux/include/uapi/linux/ |
| H A D | comedi.h | 169 /* subdevice flags */ 173 #define SDF_LOCKED 0x0004 /* subdevice is locked */ 181 #define SDF_SOFT_CALIBRATED 0x2000 /* subdevice uses software calibration */ 185 /* subdevice can be read (e.g. analog input) */ 187 /* subdevice can be written (e.g. analog output) */ 190 /* subdevice does not have externally visible lines */ 199 #define SDF_RUNNING 0x08000000 /* subdevice is acquiring data */ 200 #define SDF_LSAMPL 0x10000000 /* subdevice uses 32-bit samples */ 201 #define SDF_PACKED 0x20000000 /* subdevice can do packed DIO */ 203 /* subdevice types */ [all …]
|
| /linux/drivers/char/agp/ |
| H A D | sis-agp.c | 232 .subdevice = PCI_ANY_ID, 240 .subdevice = PCI_ANY_ID, 248 .subdevice = PCI_ANY_ID, 256 .subdevice = PCI_ANY_ID, 264 .subdevice = PCI_ANY_ID, 272 .subdevice = PCI_ANY_ID, 280 .subdevice = PCI_ANY_ID, 288 .subdevice = PCI_ANY_ID, 296 .subdevice = PCI_ANY_ID, 304 .subdevice = PCI_ANY_ID, [all …]
|
| H A D | amd64-agp.c | 608 .subdevice = PCI_ANY_ID, 617 .subdevice = PCI_ANY_ID, 626 .subdevice = PCI_ANY_ID, 635 .subdevice = PCI_ANY_ID, 644 .subdevice = PCI_ANY_ID, 653 .subdevice = PCI_ANY_ID, 662 .subdevice = PCI_ANY_ID, 671 .subdevice = PCI_ANY_ID, 680 .subdevice = PCI_ANY_ID, 688 .subdevice [all...] |
| /linux/drivers/comedi/drivers/ |
| H A D | comedi_8255.c | 24 * digital I/O subdevice with 24 channels. The channel 0 corresponds to 180 * subdev_8255_io_init - initialize DIO subdevice for driving I/O mapped 8255 181 * @dev: comedi device owning subdevice 182 * @s: comedi subdevice to initialize 185 * Initializes a comedi subdevice as a DIO subdevice driving an 8255 chip. 199 * subdev_8255_mm_init - initialize DIO subdevice for driving mmio-mapped 8255 200 * @dev: comedi device owning subdevice 201 * @s: comedi subdevice to initialize 204 * Initializes a comedi subdevice as a DIO subdevice driving an 8255 chip. 216 * subdev_8255_cb_init - initialize DIO subdevice for driving callback-mapped 8255 [all …]
|
| H A D | amplc_dio200.c | 120 * same counter subdevice if n > 0, or the output of channel 2 on the 121 * preceding counter subdevice (see note 3) if n = 0. 124 * same counter subdevice if n = 2, or the inverted output of channel n+1 125 * on the preceding counter subdevice (see note 3) if n < 2. 128 * counter subdevice precedes the lowest. 130 * The 'INTERRUPT' subdevice pretends to be a digital input subdevice. The 171 * interrupt status register; its 'INTERRUPT' subdevice has a single 178 * 'INTERRUPT' subdevice. The channel list selects the interrupt sources
|
| H A D | adv_pci1724.c | 23 * Subdevice 0 is the analog output. 24 * Subdevice 1 is the offset calibration for the analog output. 25 * Subdevice 2 is the gain calibration for the analog output. 138 /* Analog Output subdevice */ in adv_pci1724_auto_attach() 152 /* Offset Calibration subdevice */ in adv_pci1724_auto_attach() 165 /* Gain Calibration subdevice */ in adv_pci1724_auto_attach()
|
| H A D | pcmmio.c | 21 * subdevice 0 - 16 channels of 16-bit AI 22 * subdevice 1 - 8 channels of 16-bit AO 23 * subdevice 2 - first 24 channels of the 48 channel of DIO 25 * subdevice 3 - last 24 channels of the 48 channel DIO 35 * channels in subdevice 2. 41 * To use edge-detection IRQ support for the DIO subdevice, pass the IRQ 246 /* subdevice 2 uses ports 0-2, subdevice 3 uses ports 3-5 */ in pcmmio_dio_insn_bits() 281 /* subdevice 2 uses ports 0-2, subdevice 3 uses ports 3-5 */ in pcmmio_dio_insn_config() 444 * 'do_cmd' function for an 'INTERRUPT' subdevice. 702 /* Analog Input subdevice */ in pcmmio_attach() [all …]
|
| H A D | adq12b.c | 43 * - Analog input is subdevice 0 (16 channels single-ended or 8 differential) 44 * - Digital input is subdevice 1 (5 channels) 45 * - Digital output is subdevice 1 (8 channels) 197 /* Analog Input subdevice */ in adq12b_attach() 212 /* Digital Input subdevice */ in adq12b_attach() 221 /* Digital Output subdevice */ in adq12b_attach()
|
| H A D | amplc_dio200_pci.c | 151 * same counter subdevice if n > 0, or the output of channel 2 on the 152 * preceding counter subdevice (see note 3) if n = 0. 155 * same counter subdevice if n = 2, or the inverted output of channel n+1 156 * on the preceding counter subdevice (see note 3) if n < 2. 159 * counter subdevice precedes the lowest. 161 * The 'TIMER' subdevice is a free-running 32-bit timer subdevice. 163 * The 'INTERRUPT' subdevice pretends to be a digital input subdevice. The 206 * 'INTERRUPT' subdevice [all...] |
| /linux/include/linux/comedi/ |
| H A D | comedidev.h | 29 * struct comedi_subdevice - Working data for a COMEDI subdevice 30 * @device: COMEDI device to which this subdevice belongs. (Initialized by 32 * @index: Index of this subdevice within device's array of subdevices. 34 * @type: Type of subdevice from &enum comedi_subdevice_type. (Initialized by 36 * @n_chan: Number of channels the subdevice supports. (Initialized by the 38 * @subdev_flags: Various "SDF" flags indicating aspects of the subdevice to 41 * @len_chanlist: Maximum length of a channel list if the subdevice supports 49 * @async: Pointer to &struct comedi_async id the subdevice supports 53 * subdevice. (Initially NULL.) 55 * acquisition command on the subdevice. (Initially NULL.) [all …]
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-cards.c | 2350 .subdevice = 0x3400, 2354 .subdevice = 0x3401, 2358 .subdevice = 0x0106, 2362 .subdevice = 0x0107, /* with mpeg encoder */ 2366 .subdevice = 0x00f8, 2370 .subdevice = 0x00f9, 2374 .subdevice = 0x6611, 2378 .subdevice = 0x6613, /* NTSC */ 2382 .subdevice = 0x6620, 2386 .subdevice = 0x663b, [all …]
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | global-timer.c | 21 static void bind_to_timer(int device, int subdevice, int timeout) in bind_to_timer() argument 31 device, subdevice); in bind_to_timer() 69 int device, subdevice, timeout; in main() local 72 perror("Usage: %s <device> <subdevice> <timeout>"); in main() 79 subdevice = atoi(argv[2]); in main() 82 bind_to_timer(device, subdevice, timeout); in main()
|
| H A D | pcm-test.c | 39 int subdevice; member 96 static void missing_device(int card, int device, int subdevice, snd_pcm_stream_t stream) in missing_device() argument 105 if (pcm_data->subdevice != subdevice) in missing_device() 116 pcm_data->subdevice = subdevice; in missing_device() 127 int device, subdevice; in missing_devices() local 141 subdevice = device_from_id(node2); in missing_devices() 142 if (subdevice < 0) in missing_devices() 145 missing_device(card, device, subdevice, SND_PCM_STREAM_PLAYBACK); in missing_devices() 147 missing_device(card, device, subdevice, SND_PCM_STREAM_CAPTURE); in missing_devices() 260 pcm_data->subdevice = subdev; in find_pcms() [all …]
|
| /linux/sound/core/ |
| H A D | misc.c | 34 * with the same PCI SSID. When subdevice is 0, all subdevice 45 for (q = list; q->subvendor || q->subdevice; q++) { in snd_pci_quirk_lookup_id() 48 if (!q->subdevice || in snd_pci_quirk_lookup_id() 49 (device & q->subdevice_mask) == q->subdevice) in snd_pci_quirk_lookup_id() 62 * with the same PCI SSID. When subdevice is 0, all subdevice
|
| H A D | pcm_param_trace.h | 34 __field(int, subdevice) 45 __entry->subdevice = substream->number; 57 __entry->subdevice, 74 __field(int, subdevice) 95 __entry->subdevice = substream->number; 117 __entry->subdevice,
|
| /linux/drivers/comedi/ |
| H A D | comedi_fops.c | 41 * COMEDI_SRF_BUSY: command was started and subdevice still busy 44 * COMEDI_SRF_BUSY_MASK: runflags that indicate the subdevice is "busy" 58 * @read_subdev: Current "read" subdevice. 59 * @write_subdev: Current "write" subdevice. 341 "subdevice is busy, cannot resize buffer\n"); in resize_async_buffer() 346 "subdevice is mmapped, cannot resize buffer\n"); in resize_async_buffer() 677 * comedi_is_subdevice_running() - Check if async command running on subdevice 678 * @s: COMEDI subdevice. 681 * subdevice, else %false. 699 * comedi_get_is_subdevice_running() - Get if async command running on subdevice [all …]
|
| H A D | comedi_buf.c | 298 * @s: COMEDI subdevice. 302 * data buffer associated with the subdevice. The amount reserved is limited 397 * @s: COMEDI subdevice. 401 * COMEDI acquisition data buffer associated with the subdevice. The amount of 444 * @s: COMEDI subdevice. 447 * buffer associated with the subdevice. The readable buffer space is that 490 * @s: COMEDI subdevice. 495 * subdevice. The amount reserved is limited to the space available. The 545 * @s: COMEDI subdevice. 549 * the COMEDI acquisition data buffer associated with the subdevice. The [all …]
|
| H A D | drivers.c | 123 * comedi_alloc_subdev_readback() - Allocate memory for the subdevice readback 124 * @s: COMEDI subdevice. 127 * the last values written to a subdevice's analog output channels (at least 137 * Returns 0 on success, -EINVAL if the subdevice has no channels, or 244 * comedi_readback_insn_read() - A generic (*insn_read) for subdevice readback. 246 * @s: COMEDI subdevice. 252 * directly as the subdevice's handler (@s->insn_read) or called via a 281 * @s: COMEDI subdevice. 320 * @s: COMEDI subdevice. 377 * @s: COMEDI subdevice. [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 119 u32 subdevice; member 660 * Check the third digit of the subdevice ID in pci_timedia_probe() 664 pci_info(dev, "ignoring Timedia subdevice %04x for parport_serial\n", in pci_timedia_probe() 912 /* subdevice 0x00PS means <P> parallel, <S> serial */ in pci_netmos_init() 2182 .subdevice = PCI_ANY_ID, 2193 .subdevice = PCI_ANY_ID, 2203 .subdevice = PCI_ANY_ID, 2214 .subdevice = PCI_ANY_ID, 2224 .subdevice = PCI_ANY_ID, 2232 .subdevice [all...] |
| /linux/include/media/ |
| H A D | v4l2-mc.h | 97 * subdevice to a single sink pad, and if suitable connections are found, 100 * links from a bound source subdevice. 109 * Any sink subdevice that calls this function must implement the 122 * @src_sd: pointer to a source subdevice 123 * @sink_sd: pointer to a sink subdevice 127 * links. The function can be called by the sink subdevice, in its 129 * a bound source subdevice. 133 * Any sink subdevice that calls this function must implement the
|
| H A D | v4l2-async.h | 3 * V4L2 asynchronous subdevice registration API 22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used 92 * @unbind: a subdevice is leaving 154 * before adding a subdevice to a notifier, using one of: 169 * before adding a subdevice to a notifier, using one of: 277 * v4l2_async_nf_register - registers a subdevice asynchronous notifier 284 * v4l2_async_nf_unregister - unregisters a subdevice 309 * subdevice framework 343 * subdevice framework
|
| /linux/drivers/pci/ |
| H A D | pci-stub.c | 26 "\"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]\"" 59 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in pci_stub_init() local 66 &vendor, &device, &subvendor, &subdevice, in pci_stub_init() 75 vendor, device, subvendor, subdevice, class, class_mask); in pci_stub_init() 78 subvendor, subdevice, class, class_mask, 0); in pci_stub_init()
|
| /linux/Documentation/driver-api/media/ |
| H A D | v4l2-subdev.rst | 158 run-time bridge-subdevice interaction is in both cases the same. 189 In the **asynchronous** case subdevice probing can be invoked independently of 190 the bridge driver availability. The subdevice driver then has to verify whether 194 attempts. Once all conditions are met the subdevice shall be registered using 361 opt for making the subdevice operations directly accessible from userspace. 416 want userspace to be able to change the same parameters through the subdevice 419 It is sometimes useful to report to userspace the current subdevice 421 change to the device parameters but allows interfacing to the subdevice device 427 such use cases, bridge drivers may expose the subdevice operations to userspace 442 These ioctls are only allowed on a read-only subdevice device node [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-subdev-enum-mbus-code.rst | 117 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>` 124 the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>` 131 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>` 138 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>` 145 the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci.c | 35 …CI IDs to add to the vfio driver, format is \"vendor:device[:subvendor[:subdevice[:class[:class_ma… 228 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in vfio_pci_fill_ids() local 235 &vendor, &device, &subvendor, &subdevice, in vfio_pci_fill_ids() 244 subvendor, subdevice, class, class_mask, 0); in vfio_pci_fill_ids() 247 vendor, device, subvendor, subdevice, in vfio_pci_fill_ids() 251 vendor, device, subvendor, subdevice, in vfio_pci_fill_ids()
|