Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-5.10/Documentation/driver-api/media/
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 …]
/kernel/linux/linux-6.6/Documentation/driver-api/media/
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 …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-fwnode.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
22 #include <media/v4l2-mediabus.h>
31 * struct v4l2_fwnode_bus_mipi_csi2 - MIPI CSI-2 bus data structure
48 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure
60 * struct v4l2_fwnode_bus_mipi_csi1 - CSI-1/CCP2 data bus structure
62 * false - not inverted, true - inverted
63 * @strobe: false - data/clock, true - data/strobe
78 * struct v4l2_fwnode_endpoint - the endpoint data structure
112 * V4L2_FWNODE_PROPERTY_UNSET - identify a non initialized property
[all …]
Dv4l2-async.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
21 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used
30 * This enum is used by the asyncrhronous sub-device logic to define the
41 * struct v4l2_async_subdev - sub-device descriptor, as known to a bridge
44 * @match: union of per-bus type matching data sets
62 * Driver-specific match criteria.
65 * Driver-specific match function to be used if
68 * Driver-specific private struct with match parameters
73 * probed, to a notifier->waiting list
[all …]
Dv4l2-device.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include <media/media-device.h>
13 #include <media/v4l2-subdev.h>
14 #include <media/v4l2-dev.h>
21 * struct v4l2_device - main struct to for V4L2 device drivers
29 * @notify: notify operation called by some sub-devices.
33 * @release: Release function that is called when the ref count
37 * either stand-alone or embedded in a larger struct.
39 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides
40 * basic V4L2 device-level support.
[all …]
/kernel/linux/linux-6.6/sound/soc/uniphier/
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 …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
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 …]
/kernel/linux/linux-6.6/include/media/
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
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
89 * @bound: a sub-device has been bound by the given connection
107 * struct v4l2_async_notifier - v4l2_device notifier data
[all …]
Dv4l2-device.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include <media/media-device.h>
13 #include <media/v4l2-subdev.h>
14 #include <media/v4l2-dev.h>
21 * struct v4l2_device - main struct to for V4L2 device drivers
29 * @notify: notify operation called by some sub-devices.
33 * @release: Release function that is called when the ref count
37 * either stand-alone or embedded in a larger struct.
39 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides
40 * basic V4L2 device-level support.
[all …]
/kernel/liteos_a/lib/libc/musl/src/arch/arm/
Dmemset.S2 * Copyright (c) 2021-2021 Huawei Device Co., Ltd. All rights reserved.
32 .arch armv7-a
35 #define FUNCTION(x) \ macro
38 .type x,%function; \
42 FUNCTION(__memset)
44 FUNCTION(memset)
61 rsb r3, r3, #8 @ r3 = unalignedCnt = 8 - (address % 7)
64 sub r2, r2, r3
72 * Set 64 bytes each time, and use floating-point registers to improve efficiency.
80 sub r2, r2, #64
[all …]
Dmemcmp.S2 * Copyright (c) 2021-2021 Huawei Device Co., Ltd. All rights reserved.
32 .arch armv7-a
34 .globl memcmp @ -- Begin function memcmp
36 .type memcmp,%function
64 * Comparing 32 bytes each time, using floating-point registers to improve efficiency.
69 sub r2, r2, #32
70 vld1.8 {d0 - d3}, [r0]!
71 vld1.8 {d4 - d7}, [r1]!
96 sub r0, #32
97 sub r1, #32
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Ddln2.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 u16 handle; /* sub-driver handle (internally used only) */
13 * dln2_event_cb_t - event callback function signature
15 * @pdev - the sub-device that registered this callback
16 * @echo - the echo header field received in the message
17 * @data - the data payload
18 * @len - the data payload length
20 * The callback function is called in interrupt context and the data payload is
29 * dl2n_register_event_cb - register a callback function for an event
31 * @pdev - the sub-device that registers the callback
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/
Ddln2.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 u16 handle; /* sub-driver handle (internally used only) */
13 * dln2_event_cb_t - event callback function signature
15 * @pdev - the sub-device that registered this callback
16 * @echo - the echo header field received in the message
17 * @data - the data payload
18 * @len - the data payload length
20 * The callback function is called in interrupt context and the data payload is
29 * dl2n_register_event_cb - register a callback function for an event
31 * @pdev - the sub-device that registers the callback
[all …]
/kernel/linux/linux-6.6/Documentation/filesystems/
Drelay.rst1 .. SPDX-License-Identifier: GPL-2.0
9 to userspace via user-defined 'relay channels'.
11 A 'relay channel' is a kernel->user data relay mechanism implemented
12 as a set of per-cpu kernel buffers ('channel buffers'), each
25 filtering - this also is left to the kernel client. The purpose is to
29 details of the function parameters are documented along with the
30 functions in the relay interface code - please see that for details.
36 sub-buffers. Messages are written to the first sub-buffer until it is
38 the next (if available). Messages are never split across sub-buffers.
40 sub-buffer, while the kernel continues writing to the next.
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Drelay.rst1 .. SPDX-License-Identifier: GPL-2.0
9 to userspace via user-defined 'relay channels'.
11 A 'relay channel' is a kernel->user data relay mechanism implemented
12 as a set of per-cpu kernel buffers ('channel buffers'), each
25 filtering - this also is left to the kernel client. The purpose is to
29 details of the function parameters are documented along with the
30 functions in the relay interface code - please see that for details.
36 sub-buffers. Messages are written to the first sub-buffer until it is
38 the next (if available). Messages are never split across sub-buffers.
40 sub-buffer, while the kernel continues writing to the next.
[all …]
/kernel/liteos_m/testsuites/unittest/posix/src/string/
Dstrstr_test.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
63 LOG("+-------------------------------------------+\n"); in PosixStringStrStrTestTearDown()
69 * @tc.name : find the first occurrence of sub-string in a string
70 * @tc.desc : [C- SOFTWARE -0200]
72 LITE_TEST_CASE(PosixStringStrStrTest, testStringStrStr001, Function | MediumTest | Level1)
89 * @tc.name : find the first occurrence of sub-string in a string
90 * @tc.desc : [C- SOFTWARE -0200]
92 LITE_TEST_CASE(PosixStringStrStrTest, testStringStrStr002, Function | MediumTest | Level1)
109 * @tc.name : find the first occurrence of sub-string in a string
[all …]
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-class-flash.rst5 Some LED devices provide two modes - torch and flash. In the LED subsystem
6 those modes are supported by LED class (see Documentation/leds/leds-class.rst)
13 registered in the LED subsystem with led_classdev_flash_register function.
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
18 - flash_brightness
19 - max_flash_brightness
20 - flash_timeout
21 - max_flash_timeout
22 - flash_strobe
23 - flash_fault
[all …]
/kernel/linux/linux-6.6/Documentation/leds/
Dleds-class-flash.rst5 Some LED devices provide two modes - torch and flash. In the LED subsystem
6 those modes are supported by LED class (see Documentation/leds/leds-class.rst)
13 registered in the LED subsystem with led_classdev_flash_register function.
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
18 - flash_brightness
19 - max_flash_brightness
20 - flash_timeout
21 - max_flash_timeout
22 - flash_strobe
23 - flash_fault
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
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 …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
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 …]
/kernel/linux/linux-6.6/tools/perf/util/
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 …]
/kernel/linux/linux-5.10/scripts/
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
25 # allowed comments before function declarations.
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.
[all …]
/kernel/linux/linux-6.6/scripts/
Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
22 kernel-doc - Print formatted kernel documentation to stdout
26 …kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-section…
27 [ -man |
28 -rst [-sphinx-version VERSION] [-enable-lineno] |
29 -none
32 -export |
33 -internal |
34 [-function NAME] ... |
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dasm.h14 * away by gas in -O mode. These nops are however required to fill delay
21 #include <asm/asm-eva.h>
40 * LEAF - declare leaf routine
46 .type symbol, @function; \
53 * NESTED - declare nested routine entry point
59 .type symbol, @function; \
66 * END - mark end of function
68 #define END(function) \ argument
70 .end function; \
71 .size function, .-function
[all …]
/kernel/linux/linux-6.6/arch/sparc/lib/
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 …]

12345678910>>...42