Home
last modified time | relevance | path

Searched +full:function +full:- +full:enumerator (Results 1 – 20 of 20) sorted by relevance

/linux-5.10/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
32 function:
34 LED function. Use one of the LED_FUNCTION_* prefixed definitions
35 from the header include/dt-bindings/leds/common.h. If there is no
[all …]
Dcznic,turris-omnia-leds.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/cznic,turris-omnia-leds.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Behún <marek.behun@nic.cz>
20 const: cznic,turris-omnia-leds
26 "#address-cells":
29 "#size-cells":
33 "^multi-led@[0-9a-b]$":
36 - $ref: leds-class-multicolor.yaml#
[all …]
/linux-5.10/Documentation/driver-api/rapidio/
Drapidio.rst5 The RapidIO standard is a packet-based fabric interconnect standard designed for
8 is publicly available for download from the RTA web-site [1].
17 into the kernel similarly to other buses by defining RapidIO-specific device and
21 architecture-specific interfaces that provide support for common RapidIO
33 ---------------
50 ----------
54 structure. Devices form one global device list and per-network device lists
58 ----------
68 specific switch drivers that are designed to provide hardware-specific
72 -----------
[all …]
/linux-5.10/Documentation/sphinx/
Dcdomain.py1 # -*- coding: utf-8; mode: python -*-
7 Replacement for the sphinx c-domain.
14 * Moved the *duplicate C object description* warnings for function
18 * Add option 'name' to the "c:function:" directive. With option 'name' the
19 ref-name of a function can be modified. E.g.::
21 .. c:function:: int ioctl( int fd, int request )
24 The func-name (e.g. ioctl) remains in the output but the ref-name changed
25 from 'ioctl' to 'VIDIOC_LOG_STATUS'. The function is referenced by::
30 * Handle signatures of function-like macros well. Don't try to deduce
31 arguments types of function-like macros.
[all …]
/linux-5.10/drivers/leds/
Dled-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2005-2006 Openedhand Ltd.
45 if (!led_cdev->brightness_set) in __led_set_brightness()
46 return -ENOTSUPP; in __led_set_brightness()
48 led_cdev->brightness_set(led_cdev, value); in __led_set_brightness()
56 if (!led_cdev->brightness_set_blocking) in __led_set_brightness_blocking()
57 return -ENOTSUPP; in __led_set_brightness_blocking()
59 return led_cdev->brightness_set_blocking(led_cdev, value); in __led_set_brightness_blocking()
68 if (!led_cdev->blink_delay_on || !led_cdev->blink_delay_off) { in led_timer_function()
70 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in led_timer_function()
[all …]
/linux-5.10/include/linux/
Drio.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
24 #define RIO_NO_HOPCOUNT -1
57 * 1-15 RapidIO memory regions
89 * struct rio_switch - RIO switch info
92 * @port_ok: Status of each port (one bit per port) - OK=1 or UNINIT=0
93 * @ops: pointer to switch-specific operations
95 * @nextdev: Array of per-port pointers to the next attached device
107 * struct rio_switch_ops - Per-switch operations
109 * @add_entry: Callback for switch-specific route add function
110 * @get_entry: Callback for switch-specific route get function
[all …]
Dcompiler_attributes.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * should be defined elsewhere (e.g. compiler_types.h or compiler-*.h).
15 * compiler- and version-agnostic (e.g. avoiding GCC_VERSION checks).
43 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-a…
48 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function…
49 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribu…
50 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable
58 * to its docs (and also "warning: always_inline function might not be
59 * inlinable [-Wattributes]" is emitted).
61 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-f…
[all …]
/linux-5.10/drivers/parisc/
Deisa_enumerator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * eisa_enumerator.c - provide support for EISA adapters in PA-RISC machines
36 * little-endian on the big-endian PAROSC */
92 res->name = name; in configure_memory()
93 res->start = mem_parent->start + get_24(buf+len+2); in configure_memory()
94 res->end = res->start + get_16(buf+len+5)*1024; in configure_memory()
95 res->flags = IORESOURCE_MEM; in configure_memory()
99 printk(KERN_ERR "EISA Enumerator: failed to claim EISA Bus address space!\n"); in configure_memory()
182 res->name = board; in configure_port()
183 res->start = get_16(buf+len+1); in configure_port()
[all …]
/linux-5.10/tools/leds/
Dget_led_device_info.sh2 # SPDX-License-Identifier: GPL-2.0
4 led_common_defs_path="include/dt-bindings/leds/common.h"
7 if [ $num_args -eq 1 ]; then
8 linux_top=$(dirname `realpath $0` | awk -F/ \
11 while (i <= NF - 2) { \
17 elif [ $num_args -eq 2 ]; then
24 if [ ! -f $led_defs_path ]; then
32 if [ $? -ne 0 ]; then
38 usb_subdev=`readlink $led_cdev_path | grep usb | sed s'/\(.*usb[0-9]*\/[0-9]*-[0-9]*\)\/.*/\1/'`
44 if [ ! -z "$usb_subdev" ]; then
[all …]
/linux-5.10/Documentation/leds/
Dleds-class.rst8 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware
9 brightness support so will just be turned on for non-zero brightness settings.
14 existing subsystems with minimal additional code. Examples are the disk-activity,
15 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code
46 "devicename:color:function"
48 - devicename:
57 - color:
59 include/dt-bindings/leds/common.h.
61 - function:
63 include/dt-bindings/leds/common.h.
[all …]
/linux-5.10/include/linux/pinctrl/
Dpinconf-generic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
21 * enum pin_config_param - possible pin configuration parameters
28 * transition from say pull-up to pull-down implies that you disable
29 * pull-up in the process, this setting disables all biasing.
31 * mode, also know as "third-state" (tristate) or "high-Z" or "floating".
37 * impedance to GROUND). If the argument is != 0 pull-down is enabled,
38 * if it is 0, pull-down is total, i.e. the pin is connected to GROUND.
41 * function. The pull direction and possibly strength too will normally
[all …]
/linux-5.10/tools/testing/selftests/bpf/progs/
Dcore_reloc_types.h432 /* zero-sized array, but not at the end */
468 void (*f)(int) __bpf_aligned; /* incompatible function prototype */
732 /* non-bitfields */
740 uint16_t ub1: 3; /* 1 -> 3 */
741 uint32_t ub2: 20; /* 2 -> 20 */
742 uint8_t ub7: 1; /* 7 -> 1 */
744 int8_t sb4: 1; /* 4 -> 1 */
745 int32_t sb20: 30; /* 20 -> 30 */
746 /* non-bitfields */
747 uint16_t u32; /* 32 -> 16 */
[all …]
/linux-5.10/drivers/rapidio/
Drio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright 2009 - 2013 Integrated Device Technology, Inc.
30 * struct rio_pwrite - RIO portwrite event
65 * rio_local_get_device_id - Get the base/extended device id for a port
69 * implementing the master port. Returns the 8/16-bit device
78 return (RIO_GET_DID(port->sys_size, result)); in rio_local_get_device_id()
83 * rio_query_mport - Query mport device attributes
93 if (!port->ops->query_mport) in rio_query_mport()
94 return -ENODATA; in rio_query_mport()
95 return port->ops->query_mport(port, mport_attr); in rio_query_mport()
[all …]
Drio-scan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * - Added Port-Write/Error Management initialization and handling
14 * - Added Input- Output- enable functionality, to allow full communication
21 #include <linux/dma-mapping.h>
49 * rio_destid_alloc - Allocate next available destID for given network
59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc()
61 spin_lock(&idtab->lock); in rio_destid_alloc()
62 destid = find_first_zero_bit(idtab->table, idtab->max); in rio_destid_alloc()
64 if (destid < idtab->max) { in rio_destid_alloc()
65 set_bit(destid, idtab->table); in rio_destid_alloc()
[all …]
/linux-5.10/Documentation/core-api/
Ddma-api.rst8 of the API (and actual examples), see :doc:`/core-api/dma-api-howto`.
11 Part II describes extensions for supporting non-consistent memory
13 non-consistent platforms (this is usually only legacy platforms) you
16 Part I - dma_API
17 ----------------
19 To get the dma_API, you must #include <linux/dma-mapping.h>. This
27 Part Ia - Using large DMA-coherent buffers
28 ------------------------------------------
76 Part Ib - Using small DMA-coherent buffers
77 ------------------------------------------
[all …]
/linux-5.10/tools/lib/bpf/
Dbtf.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
33 /* raw BTF data in non-native endianness */
45 * +--------------------------------+
47 * +--------------------------------+
51 * types_data-+ |
52 * strs_data------------+
63 * +----------+ +---------+ +-----------+
65 * +----------+ +---------+ +-----------+
69 * types_data----+ |
70 * strs_data------------------+
[all …]
Dlibbpf.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org>
71 #pragma GCC diagnostic ignored "-Wformat-nonliteral"
116 if (err != -EPERM || geteuid() != 0) in pr_perm_msg()
133 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg()
149 fd = -1; \
235 * program. For the entry-point (main) BPF program, this is always
236 * zero. For a sub-program, this gets reset before each of main BPF
238 * whether sub-program was already appended to the main program, and
256 * entry-point BPF programs this includes the size of main program
[all …]
/linux-5.10/drivers/net/ethernet/sfc/
Dfarch_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2012 Solarflare Communications Inc.
15 * F<type>_<min-rev><max-rev>_
20 * -------------------------------------------------------------
23 * Enumerator FE MCFE SE
25 * <min-rev> is the first revision to which the definition applies:
32 * then <max-rev> is the last revision to which the definition applies;
95 /* INT_ISR0_REG: Function 0 Interrupt Acknowledge Status register */
684 /* DRIVER_REG: Driver scratch register [0-7] */
[all …]
/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dfarch_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2012 Solarflare Communications Inc.
15 * F<type>_<min-rev><max-rev>_
20 * -------------------------------------------------------------
23 * Enumerator FE MCFE SE
25 * <min-rev> is the first revision to which the definition applies:
32 * then <max-rev> is the last revision to which the definition applies;
95 /* INT_ISR0_REG: Function 0 Interrupt Acknowledge Status register */
684 /* DRIVER_REG: Driver scratch register [0-7] */
[all …]
/linux-5.10/sound/usb/
Dmixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 * - support for UAC2 effect units
18 * - support for graphical equalizers
19 * - RANGE and MEM set commands (UAC2)
20 * - RANGE and MEM interrupt dispatchers (UAC2)
21 * - audio channel clustering (UAC2)
22 * - audio sample rate converter units (UAC2)
23 * - proper handling of clock multipliers (UAC2)
24 * - dispatch clock change notifications (UAC2)
25 * - stop PCM streams which use a clock that became invalid
[all …]