Home
last modified time | relevance | path

Searched +full:type +full:- +full:c (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/Linux-v5.10/Documentation/userspace-api/media/
Dconf_nitpick.py1 # -*- coding: utf-8; mode: python -*-
3 # SPDX-License-Identifier: GPL-2.0
10 # within nit-picking build, do not refer to any intersphinx object
23 ("c:func", "clock_gettime"),
24 ("c:func", "close"),
25 ("c:func", "container_of"),
26 ("c:func", "copy_from_user"),
27 ("c:func", "copy_to_user"),
28 ("c:func", "determine_valid_ioctls"),
29 ("c:func", "ERR_PTR"),
[all …]
Dvideodev2.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
14 # Those symbols should not be used by uAPI - don't document them
20 replace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field`
21 replace symbol V4L2_FIELD_ANY :c:type:`v4l2_field`
22 replace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field`
23 replace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field`
24 replace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field`
25 replace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field`
26 replace symbol V4L2_FIELD_NONE :c:type:`v4l2_field`
27 replace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field`
[all …]
Ddmx.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
10 replace enum dmx_ts_pes :c:type:`dmx_pes_type`
11 replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type`
12 replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type`
13 replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type`
14 replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type`
15 replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type`
16 replace symbol DMX_PES_AUDIO1 :c:type:`dmx_pes_type`
17 replace symbol DMX_PES_VIDEO1 :c:type:`dmx_pes_type`
18 replace symbol DMX_PES_TELETEXT1 :c:type:`dmx_pes_type`
[all …]
Dca.h.rst.exceptions1 # SPDX-License-Identifier: GPL-2.0
7 replace define CA_CI :c:type:`ca_slot_info`
8 replace define CA_CI_LINK :c:type:`ca_slot_info`
9 replace define CA_CI_PHYS :c:type:`ca_slot_info`
10 replace define CA_DESCR :c:type:`ca_slot_info`
11 replace define CA_SC :c:type:`ca_slot_info`
12 replace define CA_CI_MODULE_PRESENT :c:type:`ca_slot_info`
13 replace define CA_CI_MODULE_READY :c:type:`ca_slot_info`
16 replace define CA_ECD :c:type:`ca_descr_info`
17 replace define CA_NDS :c:type:`ca_descr_info`
[all …]
/Linux-v5.10/drivers/usb/typec/tcpm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Port Controller Manager"
9 The Type-C Port Controller Manager provides a USB PD and USB Type-C
10 state machine for use with Type-C Port Controllers.
15 tristate "Type-C Port Controller Interface driver"
19 Type-C Port Controller driver for TCPCI-compliant controller.
24 tristate "Richtek RT1711H Type-C chip driver"
26 Richtek RT1711H Type-C chip driver that works with
27 Type-C Port Controller Manager to provide USB PD and USB
28 Type-C functionalities.
[all …]
/Linux-v5.10/Documentation/driver-api/media/
Dv4l2-dev.rst1 .. SPDX-License-Identifier: GPL-2.0
7 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be
10 To allocate it dynamically use :c:func:`video_device_alloc`:
12 .. code-block:: c
17 return -ENOMEM;
19 vdev->release = video_device_release;
24 .. code-block:: c
26 struct video_device *vdev = &my_vdev->vdev;
28 vdev->release = my_vdev_release;
33 The default :c:func:`video_device_release` callback currently
[all …]
Dv4l2-event.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -----------
7 The driver must use :c:type:`v4l2_fh` to be able to support V4L2 events.
9 Events are subscribed per-filehandle. An event specification consists of a
10 ``type`` and is optionally associated with an object identified through the
12 identified by the ``(type, id)`` tuple.
14 The :c:type:`v4l2_fh` struct has a list of subscribed events on its
17 When the user subscribes to an event, a :c:type:`v4l2_subscribed_event`
18 struct is added to :c:type:`v4l2_fh`\ ``.subscribed``, one for every
21 Each :c:type:`v4l2_subscribed_event` struct ends with a
[all …]
Dv4l2-subdev.rst1 .. SPDX-License-Identifier: GPL-2.0
3 V4L2 sub-devices
4 ----------------
6 Many drivers need to communicate with sub-devices. These devices can do all
8 encoding or decoding. For webcams common sub-devices are sensors and camera
12 driver with a consistent interface to these sub-devices the
13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created.
15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct
16 can be stand-alone for simple sub-devices or it might be embedded in a larger
18 low-level device struct (e.g. ``i2c_client``) that contains the device data as
[all …]
Dv4l2-fh.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ------------------
14 The users of :c:type:`v4l2_fh` (in the V4L2 framework, not the driver) know
15 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer
16 by testing the ``V4L2_FL_USES_V4L2_FH`` bit in :c:type:`video_device`->flags.
17 This bit is set whenever :c:func:`v4l2_fh_init` is called.
20 structure and ``file->private_data`` is set to it in the driver's ``open()``
26 #) :c:func:`v4l2_fh_init` and :c:func:`v4l2_fh_add` in ``open()``
27 #) :c:func:`v4l2_fh_del` and :c:func:`v4l2_fh_exit` in ``release()``
34 .. code-block:: c
[all …]
Dv4l2-device.rst1 .. SPDX-License-Identifier: GPL-2.0
4 --------------------
12 :c:func:`v4l2_device_register <v4l2_device_register>`
13 (dev, :c:type:`v4l2_dev <v4l2_device>`).
15 Registration will initialize the :c:type:`v4l2_device` struct. If the
16 dev->driver_data field is ``NULL``, it will be linked to
17 :c:type:`v4l2_dev <v4l2_device>` argument.
20 dev->driver_data manually to point to the driver-specific device structure
24 properly initialized and registered :c:type:`media_device` instance.
26 If :c:type:`v4l2_dev <v4l2_device>`\ ->name is empty then it will be set to a
[all …]
/Linux-v5.10/drivers/usb/typec/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Support"
6 USB Type-C Specification defines a cable and connector for USB where
7 only one type of plug is supported on both ends, i.e. there will not
8 be Type-A plug on one end of the cable and Type-B plug on the other.
9 Determination of the host-to-device relationship happens through a
10 specific Configuration Channel (CC) which goes through the USB Type-C
12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery
22 USB Type-C connector, however it is mostly used together with USB
23 Type-C connectors.
[all …]
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-v4l2-mplane.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 Multi-planar format structures
7 The struct :c:type:`v4l2_plane_pix_format` structures define size
8 and layout for each of the planes in a multi-planar format. The
9 struct :c:type:`v4l2_pix_format_mplane` structure contains
11 array of struct :c:type:`v4l2_plane_pix_format` structures,
18 .. c:type:: v4l2_plane_pix_format
20 .. flat-table:: struct v4l2_plane_pix_format
21 :header-rows: 0
22 :stub-columns: 0
[all …]
Dvidioc-g-selection.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_G_SELECTION - VIDIOC_S_SELECTION - Get or set one of the selection rectangles
18 .. c:macro:: VIDIOC_G_SELECTION
22 .. c:macro:: VIDIOC_S_SELECTION
30 File descriptor returned by :c:func:`open()`.
33 Pointer to struct :c:type:`v4l2_selection`.
41 :c:type:`v4l2_selection` ``type`` field to the
42 respective buffer type. The next step is setting the
43 value of struct :c:type:`v4l2_selection` ``target``
[all …]
Dvidioc-g-fmt.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a format
18 .. c:macro:: VIDIOC_G_FMT
22 .. c:macro:: VIDIOC_S_FMT
26 .. c:macro:: VIDIOC_TRY_FMT
34 File descriptor returned by :c:func:`open()`.
37 Pointer to struct :c:type:`v4l2_format`.
45 To query the current parameters applications set the ``type`` field of a
46 struct :c:type:`v4l2_format` to the respective buffer (stream)
[all …]
Dvidioc-g-frequency.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequency
18 .. c:macro:: VIDIOC_G_FREQUENCY
22 .. c:macro:: VIDIOC_S_FREQUENCY
30 File descriptor returned by :c:func:`open()`.
33 Pointer to struct :c:type:`v4l2_frequency`.
40 :c:type:`v4l2_frequency` to the respective tuner or
47 initialize the ``tuner``, ``type`` and ``frequency`` fields, and the
48 ``reserved`` array of a struct :c:type:`v4l2_frequency`
[all …]
Dvidioc-dqevent.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_DQEVENT - Dequeue event
18 .. c:macro:: VIDIOC_DQEVENT
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`v4l2_event`.
35 ioctl. All the fields of the struct :c:type:`v4l2_event`
42 .. c:type:: v4l2_event
46 .. flat-table:: struct v4l2_event
47 :header-rows: 0
[all …]
Dvidioc-s-hw-freq-seek.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek
18 .. c:macro:: VIDIOC_S_HW_FREQ_SEEK
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`v4l2_hw_freq_seek`.
35 applications initialize the ``tuner``, ``type``, ``seek_upward``,
38 :c:type:`v4l2_hw_freq_seek` and call the
41 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value
43 :c:type:`v4l2_tuner` ``capability`` field has the
[all …]
Dvidioc-g-crop.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle
18 .. c:macro:: VIDIOC_G_CROP
22 .. c:macro:: VIDIOC_S_CROP
30 File descriptor returned by :c:func:`open()`.
33 Pointer to struct :c:type:`v4l2_crop`.
39 ``type`` field of a struct :c:type:`v4l2_crop` structure to the
40 respective buffer (stream) type and call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` ioctl
44 To change the cropping rectangle applications initialize the ``type``
[all …]
Dvidioc-querybuf.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_QUERYBUF - Query the status of a buffer
18 .. c:macro:: VIDIOC_QUERYBUF
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`v4l2_buffer`.
38 Applications set the ``type`` field of a struct
39 :c:type:`v4l2_buffer` to the same buffer type as was
40 previously used with struct :c:type:`v4l2_format` ``type``
41 and struct :c:type:`v4l2_requestbuffers` ``type``,
[all …]
Dvidioc-expbuf.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor.
18 .. c:macro:: VIDIOC_EXPBUF
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`v4l2_exportbuffer`.
41 :c:type:`v4l2_exportbuffer`. The ``type`` field is
42 set to the same buffer type as was previously used with struct
43 :c:type:`v4l2_requestbuffers` ``type``.
47 :c:type:`v4l2_requestbuffers` ``count``) minus
[all …]
Dbuffer.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
11 the Streaming I/O methods. In the multi-planar API, the data is held in
14 copied. These pointers, together with meta-information like timestamps
15 or field parity, are stored in a struct :c:type:`v4l2_buffer`,
18 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API,
19 some plane-specific members of struct :c:type:`v4l2_buffer`,
21 struct :c:type:`v4l2_plane` instead. In that case,
22 struct :c:type:`v4l2_buffer` contains an array of plane structures.
27 ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK`` in :ref:`buffer-flags`. These flags
[all …]
Dvidioc-enum-frameintervals.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
13 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
18 .. c:macro:: VIDIOC_ENUM_FRAMEINTERVALS
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`v4l2_frmivalenum`
42 The return value and the content of the ``v4l2_frmivalenum.type`` field
43 depend on the type of frame intervals the device supports. Here are the
46 - **Discrete:** The function returns success if the given index value
47 (zero-based) is valid. The application should increase the index by
[all …]
Ddiff-v4l.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: V4L
4 .. _diff-v4l:
23 and below in :ref:`v4l-dev`.
25 The teletext devices (minor range 192-223) have been removed in V4L2 and
30 drivers in load order, depending on the registered device type. We
35 .. _v4l-dev:
37 .. flat-table:: V4L Device Types, Names and Numbers
38 :header-rows: 1
39 :stub-columns: 0
[all …]
/Linux-v5.10/net/ceph/crush/
Dhash.c1 // SPDX-License-Identifier: GPL-2.0
9 * Robert Jenkins' function for mixing 32-bit values
11 * a, b = random bits, c = input and output
13 #define crush_hashmix(a, b, c) do { \ argument
14 a = a-b; a = a-c; a = a^(c>>13); \
15 b = b-c; b = b-a; b = b^(a<<8); \
16 c = c-a; c = c-b; c = c^(b>>13); \
17 a = a-b; a = a-c; a = a^(c>>12); \
18 b = b-c; b = b-a; b = b^(a<<16); \
19 c = c-a; c = c-b; c = c^(b>>5); \
[all …]
/Linux-v5.10/tools/lib/bpf/
Dbpf_core_read.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
7 * __builtin_preserve_field_info() built-in to get a specific aspect of
22 /* second argument to __builtin_btf_type_id() built-in */
24 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */
25 BPF_TYPE_ID_TARGET = 1, /* BTF type ID in target kernel */
28 /* second argument to __builtin_preserve_type_info() built-in */
30 BPF_TYPE_EXISTS = 0, /* type existence in target kernel */
31 BPF_TYPE_SIZE = 1, /* type size in target kernel */
34 /* second argument to __builtin_preserve_enum_value() built-in */
41 __builtin_preserve_field_info((src)->field, BPF_FIELD_##info)
[all …]

12345678910>>...44