Home
last modified time | relevance | path

Searched full:subdevice (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/linux-6.12.1/include/uapi/linux/
Dcomedi.h169 /* 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-6.12.1/drivers/char/agp/
Dsis-agp.c232 .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-6.12.1/drivers/comedi/drivers/
Dcomedi_8255.c24 * 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 …]
Damplc_dio200.c120 * 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
Dadv_pci1724.c23 * 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()
/linux-6.12.1/include/linux/comedi/
Dcomedidev.h28 * 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-6.12.1/drivers/media/pci/cx88/
Dcx88-cards.c2350 .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-6.12.1/drivers/media/pci/cx23885/
Dcx23885-cards.c872 .subdevice = 0x3400,
876 .subdevice = 0x7600,
880 .subdevice = 0x7800,
884 .subdevice = 0x7801,
888 .subdevice = 0x7809,
892 .subdevice = 0x7911,
896 .subdevice = 0xd500,
900 .subdevice = 0x7790,
904 .subdevice = 0x7797,
908 .subdevice = 0x7710,
[all …]
/linux-6.12.1/drivers/media/pci/saa7134/
Dsaa7134-cards.c5806 .subdevice = 0x2001,
5812 .subdevice = 0x2001,
5818 .subdevice = 0x6752,
5824 .subdevice = 0x4e85,
5830 .subdevice = 0x1142,
5836 .subdevice = 0x1143,
5842 .subdevice = 0x1158,
5848 .subdevice = 0x1162,
5854 .subdevice = 0x0138,
5860 .subdevice = 0x0138,
[all …]
/linux-6.12.1/tools/testing/selftests/alsa/
Dglobal-timer.c21 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()
Dpcm-test.c39 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-6.12.1/drivers/remoteproc/
Dqcom_common.c224 * 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-6.12.1/sound/core/
Dmisc.c34 * 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
Dpcm_param_trace.h34 __field(int, subdevice)
45 __entry->subdevice = substream->number;
57 __entry->subdevice,
74 __field(int, subdevice)
95 __entry->subdevice = substream->number;
117 __entry->subdevice,
/linux-6.12.1/include/media/
Dv4l2-subdev.h104 * enum v4l2_subdev_io_pin_bits - Subdevice external IO pin configuration
124 * struct v4l2_subdev_io_pin_config - Subdevice external IO pin configuration
150 * other than just subdevice initialization.
179 * @s_power: puts subdevice in power saving mode (on == 0) or normal operation
827 * subdevice routing table. Subdevs that implement this operation
996 * @regulators: Optional regulators used to power on/off the subdevice
998 * @host_priv: Per-subdevice data, specific for a certain video host device
1045 * @pdata: common part of subdevice platform data
1219 * is owned by the subdevice, the function returns the endpoint port
1305 * v4l2_subdev_init_finalize() - Finalizes the initialization of the subdevice
[all …]
Dv4l2-mc.h97 * 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
Dv4l2-async.h3 * 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-6.12.1/drivers/pci/
Dpci-stub.c26 "\"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-6.12.1/sound/pci/
Dintel8x0.c1713 .subdevice = 0x000e,
1719 .subdevice = 0x008a,
1725 .subdevice = 0x00b8,
1731 .subdevice = 0x0860,
1737 .subdevice = 0x0534,
1743 .subdevice = 0x1f00,
1749 .subdevice = 0x0267,
1755 .subdevice = 0x0082,
1761 .subdevice = 0x0083,
1767 .subdevice = 0x00d8,
[all …]
/linux-6.12.1/drivers/tty/serial/8250/
D8250_pci.c118 u32 subdevice; member
648 * Check the third digit of the subdevice ID in pci_timedia_probe()
652 pci_info(dev, "ignoring Timedia subdevice %04x for parport_serial\n", in pci_timedia_probe()
900 /* subdevice 0x00PS means <P> parallel, <S> serial */ in pci_netmos_init()
2111 .subdevice = PCI_ANY_ID,
2122 .subdevice = PCI_ANY_ID,
2132 .subdevice = PCI_ANY_ID,
2143 .subdevice = PCI_ANY_ID,
2153 .subdevice = PCI_ANY_ID,
2161 .subdevice = PCI_ANY_ID,
[all …]
/linux-6.12.1/drivers/comedi/
Dcomedi_buf.c330 * @s: COMEDI subdevice.
334 * data buffer associated with the subdevice. The amount reserved is limited
416 * @s: COMEDI subdevice.
420 * COMEDI acquisition data buffer associated with the subdevice. The amount of
450 * @s: COMEDI subdevice.
453 * buffer associated with the subdevice. The readable buffer space is that
481 * @s: COMEDI subdevice.
486 * subdevice. The amount reserved is limited to the space available. The
523 * @s: COMEDI subdevice.
527 * the COMEDI acquisition data buffer associated with the subdevice. The
[all …]
Ddrivers.c123 * 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
237 * comedi_readback_insn_read() - A generic (*insn_read) for subdevice readback.
239 * @s: COMEDI subdevice.
245 * directly as the subdevice's handler (@s->insn_read) or called via a
274 * @s: COMEDI subdevice.
313 * @s: COMEDI subdevice.
370 * @s: COMEDI subdevice.
[all …]
Dcomedi_fops.c43 * 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 …]
/linux-6.12.1/drivers/media/platform/microchip/
Dmicrochip-csi2dc.c159 * @csi2dc_sd: v4l2 subdevice for the csi2dc device
160 * This is the subdevice that the csi2dc device itself
171 * @pads: Media entity pads for the csi2dc subdevice
174 * @parallel_mode: The underlying subdevice is connected on a parallel bus
177 * subdevice to the csi2dc subdevice
178 * @input_sd: Reference to the underlying subdevice bound to the
179 * csi2dc subdevice
180 * @remote_pad: Pad number of the underlying subdevice that is linked
181 * to the csi2dc subdevice sink pad.
584 "subdevice connected on parallel interface\n"); in csi2dc_of_parse()
[all …]
/linux-6.12.1/drivers/uio/
Duio_netx.c135 .subdevice = 0,
141 .subdevice = PCI_SUBDEVICE_ID_NETPLC_RAM,
147 .subdevice = PCI_SUBDEVICE_ID_NETPLC_FLASH,
153 .subdevice = PCI_SUBDEVICE_ID_NXSB_PCA,
159 .subdevice = PCI_SUBDEVICE_ID_NXPCA,

12345678910>>...21