Home
last modified time | relevance | path

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

12345678910>>...43

/linux/Documentation/driver-api/media/
H A 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 …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-event.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * v4l2-event.c
7 * Copyright (C) 2009--2010 Nokia Corporation.
12 #include <media/v4l2-dev.h>
13 #include <media/v4l2-fh.h>
14 #include <media/v4l2-event.h>
23 idx += sev->first; in sev_pos()
24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos()
33 spin_lock_irqsave(&fh->vdev->fh_lock, flags); in __v4l2_event_dequeue()
35 if (list_empty(&fh->available)) { in __v4l2_event_dequeue()
[all …]
/linux/Documentation/netlink/
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
10 type: string
11 pattern: ^[0-9a-z-]+$
12 name-cap:
13 type: string
14 pattern: ^[0-9a-zA-Z-]+$
16 type: integer
[all …]
/linux/include/media/
H A Dv4l2-event.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * v4l2-event.h
7 * Copyright (C) 2009--2010 Nokia Corporation.
25 * struct v4l2_kevent - Internal kernel event struct.
26 * @list: List node for the v4l2_fh->available list.
39 * struct v4l2_subscribed_event_ops - Subscribed event operations.
54 * struct v4l2_subscribed_event - Internal struct representing a subscribed
57 * @list: List node for the v4l2_fh->subscribed list.
58 * @type: Event type.
60 * @flags: Copy of v4l2_event_subscription->flags.
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 -------
28 Attribute type nests
29 --------------------
31 New Netlink families should use ``multi-attr`` to define arrays.
33 define array types reusing attribute type to carry information.
35 For reference the ``multi-attr`` array may look like this::
37 [ARRAY-ATTR]
41 [SOME-OTHER-ATTR]
[all …]
/linux/arch/sparc/lib/
H A DGENmemcpy.S1 /* SPDX-License-Identifier: GPL-2.0 */
23 #define LOAD(type,addr,dest) type [addr], dest argument
27 #define STORE(type,src,addr) type src, [addr] argument
72 .type FUNC_NAME,#function
90 sub %o0, %o1, %o3
93 sub %o4, 0x8, %o4
94 sub %g0, %o4, %o4
95 sub %o2, %o4, %o2
104 sub %o2, %g1, %o2
113 sub %o0, %o1, %o3
[all …]
H A DNGbzero.S1 /* SPDX-License-Identifier: GPL-2.0 */
19 .type NGmemset, #function
32 .type NGbzero, #function
39 * %g7: store-init %asi to use
40 * %o4: non-store-init %asi to use
53 sub %g2, %g1, %g1
54 sub %o1, %g1, %o1
61 andcc %o0, (64 - 1), %g1
64 sub %g2, %g1, %g1
65 sub %o1, %g1, %o1
[all …]
H A DGENbzero.S1 /* SPDX-License-Identifier: GPL-2.0 */
20 .type GENmemset, #function
33 .type GENbzero, #function
52 sub %g2, %g1, %g1
53 sub %o1, %g1, %o1
60 andcc %o0, (64 - 1), %g1
63 sub %g2, %g1, %g1
64 sub %o1, %g1, %o1
71 andn %o1, (64 - 1), %g1
72 sub %o1, %g1, %o1
[all …]
H A DNG2memcpy.S1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* NG2memcpy.S: Niagara-2 optimized memcpy.
51 #define LOAD(type,addr,dest) type [addr], dest argument
60 #define STORE(type,src,addr) type src, [addr] argument
62 #define STORE(type,src,addr) type##a src, [addr] 0x80 argument
248 .type FUNC_NAME,#function
265 * the destination to a 64-byte boundary which can chew up
266 * to (64 - 1) bytes from the length before we perform the
269 * However, the cut-off point, performance wise, is around
270 * 4 64-byte blocks.
[all …]
/linux/net/tipc/
H A Dname_table.c4 * Copyright (c) 2000-2006, 2014-2018, Ericsson AB
5 * Copyright (c) 2004-2008, 2010-2014, Wind River Systems
6 * Copyright (c) 2020-2021, Red Hat Inc
52 * struct service_range - container for all bindings of a service range
60 * Used by round-robin lookup algorithm
72 * struct tipc_service - container for all published instances of a service type
73 * @type
82 u32 type; global() member
334 struct tipc_subscription *sub, *tmp; tipc_service_insert_publ() local
424 tipc_service_subscribe(struct tipc_service * service,struct tipc_subscription * sub) tipc_service_subscribe() argument
504 struct tipc_subscription *sub, *tmp; tipc_nametbl_remove_publ() local
829 tipc_nametbl_subscribe(struct tipc_subscription * sub) tipc_nametbl_subscribe() argument
832 u32 type = sub->s.seq.type; tipc_nametbl_subscribe() local
860 tipc_nametbl_unsubscribe(struct tipc_subscription * sub) tipc_nametbl_unsubscribe() argument
[all...]
H A Dsubscr.c4 * Copyright (c) 2000-2017, Ericsson AB
5 * Copyright (c) 2005-2007, 2010-2013, Wind River Systems
6 * Copyright (c) 2020-2021, Red Hat Inc
42 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument
46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event()
47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event()
49 if (sub->inactive) in tipc_sub_send_event()
53 tipc_evt_write(evt, found_lower, p->sr.lower); in tipc_sub_send_event()
54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event()
55 tipc_evt_write(evt, port.ref, p->sk.ref); in tipc_sub_send_event()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-querycap.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities
29 Pointer to struct :c:type:`v4l2_subdev_capability`.
34 All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to
37 a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When
43 .. c:type:: v4l2_subdev_capability
45 .. flat-table:: struct v4l2_subdev_capability
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
[all …]
H A Dvidioc-subdev-enum-frame-interval.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals
29 Pointer to struct :c:type:`v4l2_subdev_frame_interval_enum`.
35 given sub-device pad. Frame intervals only makes sense for sub-devices
40 on the sub-device output pad depend on the frame format and size on the
46 :c:type:`v4l2_subdev_frame_interval_enum`
54 other pads of the sub-device, as well as on the current active links.
58 Sub-devices that support the frame interval enumeration ioctl should
60 multiple pads of the same sub-device is not defined.
62 .. c:type:: v4l2_subdev_frame_interval_enum
[all …]
H A Dvidioc-subdev-g-fmt.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad
33 Pointer to struct :c:type:`v4l2_subdev_format`.
42 struct :c:type:`v4l2_subdev_format` to the desired
53 :c:type:`v4l2_subdev_format` contains the current
59 and stored in the sub-device file handle. Two applications querying the
60 same sub-device would thus not interact with each other.
62 For instance, to try a format at the output pad of a sub-device,
63 applications would first set the try format at the sub-device input with
70 current links configuration or sub-device controls value. For instance,
[all …]
H A Dvidioc-dbg-g-register.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers
33 Pointer to struct :c:type:`v4l2_dbg_register`.
53 :c:type:`v4l2_dbg_register` except for ``size`` and
55 ``match.type`` and ``match.addr`` or ``match.name`` fields select a chip
59 To read a register applications must initialize the ``match.type``,
65 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr``
66 selects the nth non-sub-device chip on the TV card. The number zero
71 When ``match.type`` is ``V4L2_CHIP_MATCH_SUBDEV``, ``match.addr``
72 selects the nth sub-device.
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 # pylint: disable=missing-function-docstring, too-many-instance-attributes, too-many-branches
47 self.ident_name = self.name.replace('-', '_')
104 if self.enum_set['type'] == 'flags' or as_flags:
110 """ Enum type
116 type enum or flags
125 self.type = yaml['type']
128 value_start = self.yaml.get('value-start', 0)
159 """ Single Netlink attribute type
161 Represents a single attribute type within an attr space.
[all …]
/linux/tools/perf/util/
H A Dsetup.py1 # SPDX-License-Identifier: GPL-2.0
5 It handles compiler-specific flags, especially for clang, and configures
20 def clang_has_option(cc: str, cc_args: list[str], src_feature_tests: str, option: str) -> bool:
27 option: The compiler option to check (e.g., "-mcet").
39 "-o", "/dev/null",
40 os.path.join(src_feature_tests, "test-hello.c")
50 def filter_clang_options(cc: str, cc_args: list[str], src_feature_tests: str) -> None:
66 # Remove -spec
[all...]
/linux/net/mac80211/
H A Dparse.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2002-2005, Instant802 Networks, Inc.
4 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015-2017 Intel Deutschland GmbH
9 * Copyright (C) 2018-2026 Intel Corporation
30 #include "driver-ops.h"
64 * tasks, e.g., element de-fragmentation etc.
77 struct ieee802_11_elems *elems = &elems_parse->elems; in ieee80211_parse_extension_element()
[all …]
/linux/arch/sparc/kernel/
H A Dhelpers.S1 /* SPDX-License-Identifier: GPL-2.0-only */
4 .type __flushw_user,#function
9 1: save %sp, -128, %sp
13 1: sub %g2, 1, %g2
18 .size __flushw_user,.-__flushw_user
27 .type stack_trace_flush,#function
34 sub %g1, 1, %g3
37 sub %g2, 1, %g2
42 sub %g3, 1, %g3
49 .size stack_trace_flush,.-stack_trace_flush
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dsrio-rmu.txt5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit",
6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit").
10 - compatible
12 Value type: <string>
13 Definition: Must include "fsl,srio-rmu-vX.Y", "fsl,srio-rmu".
18 - reg
20 Value type: <prop-encoded-array>
25 - fsl,liodn
26 Usage: optional-but-recommended (for devices with PAMU)
27 Value type: <prop-encoded-array>
[all …]
/linux/lib/zlib_inflate/
H A Dinftrees.c1 /* inftrees.c -- generate Huffman trees for efficient decoding
2 * Copyright (C) 1995-2005 Mark Adler
13 The code lengths are lens[0..codes-1]. The result starts at *table,
14 whose indices are 0..2^bits-1. work is a writable array of at least
15 lens shorts, which is used as a work area. type is the type of code
17 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
31 unsigned drop; /* code bits to drop for sub-table */ in zlib_inflate_table()
63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table()
64 symbols 0..codes-1. The Huffman code is generated by first sorting the in zlib_inflate_table()
[all …]
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2016-2025 by Mauro Carvalho Chehab <mchehab@kernel.org>.
13 ``enum`` and ``enum`` symbols and create cross-references for all of them.
21 replace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ :c:type:`v4l2_event_motion_det`
31 Creates an enriched version of a Kernel header file with cross-links
32 to each C data structure type.
35 uAPI headers will create cross-reference links to the code.
38 ``enum`` and ``enum`` symbols and create cross-reference
[all...]
/linux/tools/testing/ktest/
H A Dktest.pl1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0-only
4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc.
69 "GRUB_REBOOT" => "grub2-reboot",
70 "GRUB_BLS_GET" => "grubby --info=ALL",
78 "LOCALVERSION" => "-test",
81 "TARGET_IMAGE" => "/boot/vmlinuz-test",
430 i.e. -j20
441 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl…
452 CONSOLE = nc -d localhost 3001
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c44 const int slot = pt->base >> pt->ptp->shift; in nvkm_mmu_ptp_put()
45 struct nvkm_mmu_ptp *ptp = pt->ptp; in nvkm_mmu_ptp_put()
50 if (!ptp->free) in nvkm_mmu_ptp_put()
51 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_put()
52 ptp->free |= BIT(slot); in nvkm_mmu_ptp_put()
54 /* If there's no more sub-allocations, destroy PTP. */ in nvkm_mmu_ptp_put()
55 if (ptp->free == ptp->mask) { in nvkm_mmu_ptp_put()
56 nvkm_mmu_ptc_put(mmu, force, &ptp->pt); in nvkm_mmu_ptp_put()
57 list_del(&ptp->head); in nvkm_mmu_ptp_put()
74 ptp = list_first_entry_or_null(&mmu->ptp.list, typeof(*ptp), head); in nvkm_mmu_ptp_get()
[all …]
/linux/scripts/
H A Dparse-maintainers.pl1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0
21 die "$P: invalid argument - use --help if necessary\n";
29 sub usage {
33 --input => MAINTAINERS file to read (default: MAINTAINERS)
34 --output => sorted MAINTAINERS file to write (default: MAINTAINERS.new)
35 --section => new sorted MAINTAINERS file to write to (default: SECTION.new)
36 --order => Use the preferred section content output ordering (default: 0)
47 T: SCM tree type and location
51 K: Keyword - patch content regex
[all …]

12345678910>>...43