Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/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 …]
/openbmc/linux/include/media/
H A Dv4l2-async.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used
37 * struct v4l2_async_match_desc - async connection match information
39 * @type: type of match that will be used
54 enum v4l2_async_match_type type; member
65 * struct v4l2_async_connection - sub-device connection descriptor, as known to
68 * @match: struct of match type and per-bus type matching data sets
73 * @sd: the related sub-device
88 * struct v4l2_async_notifier_operations - Asynchronous V4L2 notifier operations
[all …]
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 …]
/openbmc/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 …]
/openbmc/u-boot/doc/uImage.FIT/
H A Dsource_file_format.txt1 U-Boot new uImage source file format (bindings definition)
8 ---------------
15 replace direct passing of 'struct bd_info' which was used to boot pre-FDT
18 However, U-Boot needs to support both techniques to provide backward
21 blob. Kernel image, FDT blob and possibly ramdisk image - all must be placed
24 Additionally, old uImage format has been extended to support multi sub-images
34 --------------------------------
40 (3) increases code reuse as it is already part of the U-Boot source tree.
45 uImage internals. Bindings are defined from U-Boot perspective, i.e. describe
46 final form of the uImage at the moment when it reaches U-Boot. User
[all …]
/openbmc/linux/include/linux/
H A Dstddef.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) argument
19 * sizeof_field() - Report the size of a struct field in bytes
21 * @TYPE: The structure containing the field of interest
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
27 * offsetofend() - Report the offset of a struct field within the struct
29 * @TYPE: The type of the structure
32 #define offsetofend(TYPE, MEMBER) \ argument
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
36 * struct_group() - Wrap a set of declarations in a mirrored struct
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_path_callouts.pl6 # supports I2C, FSI, SPI, FSI-I2C, and FSI-SPI devices. The output is a JSON
7 # file organized into sections for each callout type, with keys based on the
8 # type. I2c uses a bus and address, FSI uses a link, and SPI uses a bus
10 # keys is used. Multi-hop FSI links are indicated by a dash in between the
11 # links, eg "0-1".
21 # "LocationCode": "P1-C50",
22 # "MRU":"/sys-0/node-0/motherboard/proc_socket-0/module-0/power9-0",
23 # "Name":"/sys-0/node-0/motherboard/cpu0"
27 # "LocationCode": "P1-C42",
28 # "MRU":"/sys-0/node-0/motherboard/ebmc-card/BMC-0",
[all …]
H A DUtil.pm12 sub getBMCTarget
16 for my $target (keys %{$targetObj->getAllTargets()}) {
17 if ($targetObj->getType($target) eq "BMC") {
26 #Returns an array of child units based on their Target Type.
28 # param[in] $unitTargetType = The target type of the units to find
30 sub getChildUnitsWithTargetType
35 my @children = $targetObj->getAllTargetChildren($chip);
38 if ($targetObj->getTargetType($child) eq $unitTargetType) {
46 #Returns size of child units based on their Type.
48 # param[in] $type = The type of the units to find
[all …]
H A Dinventory.pl17 my $fruName, my $type;
27 my %includedTargetTypes = ("chip-sp-bmc" => 1,
28 "chip-apss-psoc" => 1);
41 my $targetObj = Targets->new;
42 $targetObj->loadXML($serverwizFile);
44 foreach $target (sort keys %{ $targetObj->getAllTargets() })
46 $type = $targetObj->getType($target);
47 if (exists $skipFRUTypes{$type}) {
53 if (!$targetObj->isBadAttribute($target, "FRU_NAME")) {
54 $fruName = $targetObj->getAttribute($target,"FRU_NAME");
[all …]
H A DInventory.pm14 #Chips that are modeled as modules (card-chip together)
22 sub getInventory
42 #It selects them if the target's type is in %TYPES
45 sub findItems
49 for my $target (sort keys %{$targetObj->getAllTargets()}) {
50 my $type = "";
53 if (!$targetObj->isBadAttribute($target, "TYPE")) {
54 $type = $targetObj->getAttribute($target, "TYPE");
57 if (!$targetObj->isBadAttribute($target, "RU_TYPE")) {
58 $ruType = $targetObj->getAttribute($target, "RU_TYPE");
[all …]
/openbmc/boost-dbus/include/dbus/
H A Dmessage.hpp134 if (this->pack(e) == false) { in pack()
142 typename std::enable_if<is_fixed_type<Element>::value, bool>::type pack( in pack()
148 typename std::enable_if<std::is_pointer<Element>::value, bool>::type pack( in pack()
156 bool>::type
158 message::packer sub; in pack() local
162 if (iter_.open_container(signature[0], &signature[1], sub.iter_) == in pack()
167 if (!sub.pack(element)) { in pack()
171 return iter_.close_container(sub.iter_); in pack()
212 const char* type = boost::apply_visitor( in pack() local
219 message::packer sub; in pack() local
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/bash/bash/
H A D0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch3 Date: Mon, 30 Oct 2023 12:16:07 -0400
7 Upstream-Status: Backport from
12 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
13 ---
14 general.c | 5 +++--
15 jobs.c | 24 ++++++++++++++++--------
16 tests/redir.right | 4 ++--
17 tests/redir11.sub | 2 ++
18 tests/type.right | 16 ++++++++--------
19 tests/type.tests | 24 ++++++++++++------------
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Dadi,axi-dmac.txt1 Analog Devices AXI-DMAC DMA controller
4 - compatible: Must be "adi,axi-dmac-1.00.a".
5 - reg: Specification for the controllers memory mapped register map.
6 - interrupts: Specification for the controllers interrupt.
7 - clocks: Phandle and specifier to the controllers AXI interface clock
8 - #dma-cells: Must be 1.
10 Required sub-nodes:
11 - adi,channels: This sub-node must contain a sub-node for each DMA channel. For
12 the channel sub-nodes the following bindings apply. They must match the
15 Required properties for adi,channels sub-node:
[all …]
/openbmc/linux/sound/soc/uniphier/
H A Daio-core.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (c) 2016-2018 Socionext Inc.
17 #include "aio-reg.h"
22 return wr - rd; in rb_cnt()
24 return len - (rd - wr); in rb_cnt()
30 return wr - rd; in rb_cnt_to_end()
32 return len - rd; in rb_cnt_to_end()
38 return len - (wr - rd) - 8; in rb_space()
40 return rd - wr - 8; in rb_space()
46 return rd - wr - 8; in rb_space_to_end()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved.
52 * SSPP sub-blocks/features
59 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion
62 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control
94 * MIXER sub-blocks/features
96 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration
112 * DSPP sub-blocks
121 * PINGPONG sub-blocks
[all …]
/openbmc/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 DNGmemcpy.S1 /* SPDX-License-Identifier: GPL-2.0 */
40 #define LOAD(type,addr,dest) type [addr], dest argument
42 #define LOAD(type,addr,dest) type##a [addr] 0x80, dest argument
52 #define STORE(type,src,addr) type src, [addr] argument
94 sub %g1, 8, %g1
99 sub %g1, 16, %g1
104 sub %g1, 24, %g1
109 sub %g1, 32, %g1
114 sub %g1, 40, %g1
119 sub %g1, 48, %g1
[all …]
/openbmc/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 …]
/openbmc/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: 32 bit 'type' value for service
77 * @subscriptions: list of subscriptions for this service type
82 u32 type; member
91 #define service_range_upper(sr) ((sr)->upper)
[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 …]
/openbmc/linux/tools/perf/util/
H A Dsetup.py3 from re import sub
7 # Check if CC has options, as is the case in yocto, where it uses CC="cc --sysroot..."
15 cc_is_clang = b"clang version" in Popen([cc, "-v"], stderr=PIPE).stderr.readline()
19 …cc_output = Popen([cc, cc_options + option, path.join(src_feature_tests, "test-hello.c") ], stderr…
26 vars[var] = sub("-specs=[^ ]+", "", vars[var])
27 if not clang_has_option("-mcet"):
28 vars[var] = sub("-mcet", "", vars[var])
29 if not clang_has_option("-fcf-protection"):
30 vars[var] = sub("-fcf-protection", "", vars[var])
31 if not clang_has_option("-fstack-clash-protection"):
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dscu.c1 // SPDX-License-Identifier: GPL-2.0+
38 * scu_ipc_send_command() - send command to SCU
49 writel(cmd, &regs->cmd); in scu_ipc_send_command()
53 * scu_ipc_check_status() - check status of last command
68 status = readl(&regs->status); in scu_ipc_check_status()
73 } while (--loop_count); in scu_ipc_check_status()
75 return -ETIMEDOUT; in scu_ipc_check_status()
79 return -EIO; in scu_ipc_check_status()
85 static int scu_ipc_cmd(struct ipc_regs *regs, u32 cmd, u32 sub, in scu_ipc_cmd() argument
91 writel(*in++, &regs->wbuf[i]); in scu_ipc_cmd()
[all …]
/openbmc/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 …]
/openbmc/u-boot/scripts/
H A Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
19 # 18/01/2001 - Cleanups
22 # -- huggie@earth.li
24 # 27/06/2001 - Allowed whitespace after initial "/**" and
26 # -- Christian Kreibich <ck@whoop.org>
29 # - add perldoc documentation
30 # - Look more closely at some of the scarier bits :)
32 # 26/05/2001 - Support for separate source and object trees.
36 # 23/09/2001 - Added support for typedefs, structs, enums and unions
[all …]

12345678910>>...42