| /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 …]
|
| /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 | 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) 196 /* Analog Input subdevice */ in adq12b_attach() 211 /* Digital Input subdevice */ in adq12b_attach() 220 /* Digital Output subdevice */ in adq12b_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. 701 /* Analog Input subdevice */ in pcmmio_attach() [all …]
|
| /linux/include/linux/comedi/ |
| H A D | comedidev.h | 28 * struct comedi_subdevice - Working data for a COMEDI subdevice 29 * @device: COMEDI device to which this subdevice belongs. (Initialized by 31 * @index: Index of this subdevice within device's array of subdevices. 33 * @type: Type of subdevice from &enum comedi_subdevice_type. (Initialized by 35 * @n_chan: Number of channels the subdevice supports. (Initialized by the 37 * @subdev_flags: Various "SDF" flags indicating aspects of the subdevice to 40 * @len_chanlist: Maximum length of a channel list if the subdevice supports 48 * @async: Pointer to &struct comedi_async id the subdevice supports 52 * subdevice. (Initially NULL.) 54 * 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_PLAYBAC in missing_devices() [all...] |
| /linux/drivers/remoteproc/ |
| H A D | qcom_common.c | 224 * qcom_add_glink_subdev() - try to add a GLINK subdevice to rproc 225 * @rproc: rproc handle to parent the subdevice 252 * qcom_remove_glink_subdev() - remove a GLINK subdevice from rproc 328 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc 329 * @rproc: rproc handle to parent the subdevice 349 * qcom_remove_smd_subdev() - remove the smd subdevice from rproc 351 * @smd: the SMD subdevice to remove 482 * qcom_add_ssr_subdev() - register subdevice as restart notification source 484 * @ssr: SSR subdevice handle 498 dev_err(&rproc->dev, "Failed to add ssr subdevice\n"); in qcom_add_ssr_subdev() [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/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 341 * subdevice framework
|
| /linux/sound/pci/ |
| H A D | intel8x0.c | 1709 .subdevice = 0x000e, 1715 .subdevice = 0x008a, 1721 .subdevice = 0x00b8, 1727 .subdevice = 0x0860, 1733 .subdevice = 0x0534, 1739 .subdevice = 0x1f00, 1745 .subdevice = 0x0267, 1751 .subdevice = 0x0082, 1757 .subdevice = 0x0083, 1763 .subdevice [all...] |
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 112 u32 subdevice; member 642 * Check the third digit of the subdevice ID in pci_timedia_probe() 646 pci_info(dev, "ignoring Timedia subdevice %04x for parport_serial\n", in pci_timedia_probe() 894 /* subdevice 0x00PS means <P> parallel, <S> serial */ in pci_netmos_init() 2145 .subdevice = PCI_ANY_ID, 2156 .subdevice = PCI_ANY_ID, 2166 .subdevice = PCI_ANY_ID, 2177 .subdevice = PCI_ANY_ID, 2187 .subdevice = PCI_ANY_ID, 2195 .subdevice = PCI_ANY_ID, [all …]
|
| /linux/drivers/comedi/ |
| H A D | comedi_buf.c | 278 * @s: COMEDI subdevice. 282 * data buffer associated with the subdevice. The amount reserved is limited 367 * @s: COMEDI subdevice. 371 * COMEDI acquisition data buffer associated with the subdevice. The amount of 401 * @s: COMEDI subdevice. 404 * buffer associated with the subdevice. The readable buffer space is that 432 * @s: COMEDI subdevice. 437 * subdevice. The amount reserved is limited to the space available. The 474 * @s: COMEDI subdevice. 478 * the COMEDI acquisition data buffer associated with the subdevice. The [all …]
|
| H A D | comedi_fops.c | 43 * COMEDI_SRF_BUSY_MASK: runflags that indicate the subdevice is "busy" 55 * @read_subdev: Current "read" subdevice. 56 * @write_subdev: Current "write" subdevice. 338 "subdevice is busy, cannot resize buffer\n"); in resize_async_buffer() 343 "subdevice is mmapped, cannot resize buffer\n"); in resize_async_buffer() 669 * comedi_is_subdevice_running() - Check if async command running on subdevice 670 * @s: COMEDI subdevice. 673 * subdevice, else %false. 698 * comedi_set_spriv_auto_free() - Mark subdevice private data as freeable 699 * @s: COMEDI subdevice. [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/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/drivers/net/wireless/intel/iwlwifi/tests/ |
| H A D | devinfo.c | 57 pfx, di->device, di->subdevice, subdevice_mask, buf); in iwl_pci_print_dev_info() 68 ret = iwl_pci_find_dev_info(di->device, di->subdevice, in devinfo_table_order() 100 ret = iwl_pci_find_dev_info(di->device, di->subdevice, in devinfo_discrete_match() 171 /* if subdevice is ANY we can have RF ID/BW limit */ in devinfo_check_subdev_match() 172 if (di->subdevice == (u16)IWL_CFG_ANY) in devinfo_check_subdev_match() 175 /* same if the subdevice mask doesn't overlap them */ in devinfo_check_subdev_match() 194 KUNIT_EXPECT_NE(test, di->subdevice, (u16)IWL_CFG_ANY); in devinfo_check_killer_subdev() 212 dev->subsystem_device = s->subdevice; in devinfo_pci_ids()
|
| /linux/drivers/comedi/kcomedilib/ |
| H A D | kcomedilib_main.c | 80 /* a subdevice instruction */ in comedi_do_insn() 89 "%d not usable subdevice\n", insn->subdev); in comedi_do_insn() 191 * Fix this here if the subdevice has <= 32 channels. in comedi_dio_bitfield2() 230 int comedi_get_n_channels(struct comedi_device *dev, unsigned int subdevice) in comedi_get_n_channels() argument 235 if (!dev->attached || subdevice >= dev->n_subdevices) in comedi_get_n_channels() 238 n = dev->subdevices[subdevice].n_chan; in comedi_get_n_channels()
|
| /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 …]
|