Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.10/drivers/staging/comedi/
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 …]
Dcomedidev.h29 * 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 …]
Dcomedi_buf.c331 * @s: COMEDI subdevice.
335 * data buffer associated with the subdevice. The amount reserved is limited
417 * @s: COMEDI subdevice.
421 * COMEDI acquisition data buffer associated with the subdevice. The amount of
451 * @s: COMEDI subdevice.
454 * buffer associated with the subdevice. The readable buffer space is that
482 * @s: COMEDI subdevice.
487 * subdevice. The amount reserved is limited to the space available. The
524 * @s: COMEDI subdevice.
528 * the COMEDI acquisition data buffer associated with the subdevice. The
[all …]
Ddrivers.c124 * comedi_alloc_subdev_readback() - Allocate memory for the subdevice readback
125 * @s: COMEDI subdevice.
128 * the last values written to a subdevice's analog output channels (at least
138 * 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.
351 "subdevice is busy, cannot resize buffer\n"); in resize_async_buffer()
356 "subdevice is mmapped, cannot resize buffer\n"); in resize_async_buffer()
665 * comedi_is_subdevice_running() - Check if async command running on subdevice
666 * @s: COMEDI subdevice.
669 * subdevice, else %false.
694 * comedi_set_spriv_auto_free() - Mark subdevice private data as freeable
695 * @s: COMEDI subdevice.
[all …]
/Linux-v5.10/drivers/char/agp/
Dsis-agp.c247 .subdevice = PCI_ANY_ID,
255 .subdevice = PCI_ANY_ID,
263 .subdevice = PCI_ANY_ID,
271 .subdevice = PCI_ANY_ID,
279 .subdevice = PCI_ANY_ID,
287 .subdevice = PCI_ANY_ID,
295 .subdevice = PCI_ANY_ID,
303 .subdevice = PCI_ANY_ID,
311 .subdevice = PCI_ANY_ID,
319 .subdevice = PCI_ANY_ID,
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/drivers/media/pci/saa7134/
Dsaa7134-cards.c5780 .subdevice = 0x2001,
5786 .subdevice = 0x2001,
5792 .subdevice = 0x6752,
5798 .subdevice = 0x4e85,
5804 .subdevice = 0x1142,
5810 .subdevice = 0x1143,
5816 .subdevice = 0x1158,
5822 .subdevice = 0x1162,
5828 .subdevice = 0x0138,
5834 .subdevice = 0x0138,
[all …]
/Linux-v5.10/drivers/staging/comedi/drivers/
Dcomedi_8255.c24 * digital I/O subdevice with 24 channels. The channel 0 corresponds to
178 * subdev_8255_init - initialize DIO subdevice for driving I/O mapped 8255
179 * @dev: comedi device owning subdevice
180 * @s: comedi subdevice to initialize
184 * Initializes a comedi subdevice as a DIO subdevice driving an 8255 chip.
213 * subdev_8255_mm_init - initialize DIO subdevice for driving mmio-mapped 8255
214 * @dev: comedi device owning subdevice
215 * @s: comedi subdevice to initialize
219 * Initializes a comedi subdevice as a DIO subdevice driving an 8255 chip.
249 * @s: comedi subdevice
[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.
139 /* Analog Output subdevice */ in adv_pci1724_auto_attach()
153 /* Offset Calibration subdevice */ in adv_pci1724_auto_attach()
166 /* Gain Calibration subdevice */ in adv_pci1724_auto_attach()
Dadq12b.c43 * - 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()
/Linux-v5.10/drivers/remoteproc/
Dqcom_common.c62 * qcom_add_glink_subdev() - try to add a GLINK subdevice to rproc
63 * @rproc: rproc handle to parent the subdevice
90 * qcom_remove_glink_subdev() - remove a GLINK subdevice from rproc
166 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc
167 * @rproc: rproc handle to parent the subdevice
187 * qcom_remove_smd_subdev() - remove the smd subdevice from rproc
189 * @smd: the SMD subdevice to remove
320 * qcom_add_ssr_subdev() - register subdevice as restart notification source
322 * @ssr: SSR subdevice handle
336 dev_err(&rproc->dev, "Failed to add ssr subdevice\n"); in qcom_add_ssr_subdev()
[all …]
/Linux-v5.10/include/media/
Dv4l2-mc.h96 * subdevice to a single sink pad, and if suitable connections are found,
98 * called by the sink subdevice, in its v4l2-async notifier subdev bound
99 * callback, to create links from a bound source subdevice.
103 * Any sink subdevice that calls this function must implement the
116 * @src_sd: pointer to a source subdevice
117 * @sink_sd: pointer to a sink subdevice
121 * links. The function can be called by the sink subdevice, in its
123 * a bound source subdevice.
127 * Any sink subdevice that calls this function must implement the
Dv4l2-async.h3 * V4L2 asynchronous subdevice registration API
21 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used
102 * @bound: a subdevice driver has successfully probed one of the subdevices
105 * @unbind: a subdevice is leaving
250 * v4l2_async_notifier_register - registers a subdevice asynchronous notifier
259 * v4l2_async_subdev_notifier_register - registers a subdevice asynchronous
269 * v4l2_async_notifier_unregister - unregisters a subdevice
296 * subdevice framework
326 * subdevice framework
/Linux-v5.10/sound/core/
Dmisc.c104 * with the same PCI SSID. When subdevice is 0, all subdevice
118 if (!q->subdevice || in snd_pci_quirk_lookup_id()
119 (device & q->subdevice_mask) == q->subdevice) in snd_pci_quirk_lookup_id()
132 * 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-v5.10/drivers/tty/serial/8250/
D8250_pci.c37 u32 subdevice; member
583 * Check the third digit of the subdevice ID in pci_timedia_probe()
588 "ignoring Timedia subdevice %04x for parport_serial\n", in pci_timedia_probe()
837 /* subdevice 0x00PS means <P> parallel, <S> serial */ in pci_netmos_init()
1975 .subdevice = PCI_ANY_ID,
1986 .subdevice = PCI_ANY_ID,
1996 .subdevice = PCI_ANY_ID,
2007 .subdevice = PCI_ANY_ID,
2015 .subdevice = PCI_ANY_ID,
2022 .subdevice = PCI_ANY_ID,
[all …]
/Linux-v5.10/drivers/pci/
Dpci-stub.c26 "\"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]\""
58 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in pci_stub_init() local
65 &vendor, &device, &subvendor, &subdevice, in pci_stub_init()
74 vendor, device, subvendor, subdevice, class, class_mask); in pci_stub_init()
77 subvendor, subdevice, class, class_mask, 0); in pci_stub_init()
/Linux-v5.10/sound/pci/
Dintel8x0.c1729 .subdevice = 0x000e,
1735 .subdevice = 0x008a,
1741 .subdevice = 0x00b8,
1747 .subdevice = 0x0860,
1753 .subdevice = 0x0534,
1759 .subdevice = 0x1f00,
1765 .subdevice = 0x0267,
1771 .subdevice = 0x0082,
1777 .subdevice = 0x0083,
1783 .subdevice = 0x00d8,
[all …]
/Linux-v5.10/Documentation/driver-api/media/
Dv4l2-subdev.rst161 run-time bridge-subdevice interaction is in both cases the same.
185 In the **asynchronous** case subdevice probing can be invoked independently of
186 the bridge driver availability. The subdevice driver then has to verify whether
190 attempts. Once all conditions are met the subdevice shall be registered using
206 begin to form a list of subdevice descriptors that the bridge device
207 needs for its operation. Subdevice descriptors are added to the notifier
210 and a pointer to the subdevice descripter, which is of type struct
216 .complete() callback is called. When a subdevice is removed from the
291 opt for making the subdevice operations directly accessible from userpace.
346 want userspace to be able to change the same parameters through the subdevice
[all …]
/Linux-v5.10/drivers/uio/
Duio_netx.c139 .subdevice = 0,
145 .subdevice = PCI_SUBDEVICE_ID_NETPLC_RAM,
151 .subdevice = PCI_SUBDEVICE_ID_NETPLC_FLASH,
157 .subdevice = PCI_SUBDEVICE_ID_NXSB_PCA,
163 .subdevice = PCI_SUBDEVICE_ID_NXPCA,
/Linux-v5.10/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c80 /* 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-v5.10/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-enum-mbus-code.rst95 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`
102 the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`
109 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`
116 subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`
123 the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT <VIDIOC_SUBDEV_G_FMT>`

12345678910>>...20