| /linux/Documentation/netlink/ |
| H A D | netlink-raw.yaml | 1 # 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 9 name: 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ [all …]
|
| H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 9 name: 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: 20 # literal int, const name, or limit based on fixed-width type [all …]
|
| /linux/drivers/gpu/drm/msm/registers/adreno/ |
| H A D | adreno_common.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 7 <enum name="chip" bare="yes"> 8 <value name="A2XX" value="2"/> 9 <value name="A3XX" value="3"/> 10 <value name="A4XX" value="4"/> 11 <value name="A5XX" value="5"/> 12 <value name="A6XX" value="6"/> 13 <value name="A7XX" value="7"/> [all …]
|
| H A D | a2xx.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 10 <enum name="a2xx_rb_dither_type"> 11 <value name="DITHER_PIXEL" value="0"/> 12 <value name="DITHER_SUBPIXEL" value="1"/> 13 </enum> 15 <enum name="a2xx_colorformatx"> 16 <value name="COLORX_4_4_4_4" value="0"/> 17 <value name="COLORX_1_5_5_5" value="1"/> [all …]
|
| H A D | a3xx.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 9 <enum name="a3xx_tile_mode"> 10 <value name="LINEAR" value="0"/> 11 <value name="TILE_4X4" value="1"/> <!-- "normal" case for textures --> 12 <value name="TILE_32X32" value="2"/> <!-- only used in GMEM --> 13 <value name="TILE_4X2" value="3"/> <!-- only used for CrCb --> 14 </enum> 16 <enum name="a3xx_state_block_id"> [all …]
|
| /linux/drivers/gpu/drm/msm/registers/display/ |
| H A D | mdp_common.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 8 <!-- random bits that seem same between mdp4 and mdp5 (ie. not much) --> 10 <enum name="mdp_chroma_samp_type"> 11 <value name="CHROMA_FULL" value="0"/> 12 <value name="CHROMA_H2V1" value="1"/> 13 <value name="CHROMA_H1V2" value="2"/> 14 <value name="CHROMA_420" value="3"/> 15 </enum> [all …]
|
| H A D | dsi.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 7 <domain name="DSI" width="32"> 8 <enum name="dsi_traffic_mode"> 9 <value name="NON_BURST_SYNCH_PULSE" value="0"/> 10 <value name="NON_BURST_SYNCH_EVENT" value="1"/> 11 <value name="BURST_MODE" value="2"/> 12 </enum> 13 <enum name="dsi_vid_dst_format"> [all …]
|
| H A D | mdp4.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 8 <domain name="MDP4" width="32"> 9 <enum name="mdp4_pipe"> 11 <value name="VG1" value="0"/> 12 <value name="VG2" value="1"/> 13 <value name="RGB1" value="2"/> 14 <value name="RGB2" value="3"/> 15 <value name="RGB3" value="4"/> [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | nlctrl.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: nlctrl 4 protocol: genetlink-legacy 5 uapi-header: linux/genetlink.h 8 genetlink meta-family that exposes information about all genetlink 12 - 13 name: op-flags 15 enum-name: 17 - admin-perm [all …]
|
| H A D | conntrack.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: conntrack 4 protocol: netlink-raw 7 doc: >- 11 - 12 name: nfgenmsg 15 - 16 name: nfgen-family 18 - [all …]
|
| H A D | handshake.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 7 --- 8 name: handshake 15 - 16 type: enum 17 name: handler-class 18 value-start: 0 20 - 21 type: enum 22 name: msg-type [all …]
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nf_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 * enum nft_registers - nf_tables registers 18 * of size 4. For compatibility reasons, the NFT_REG_[1-4] registers still 20 * NFT_REG32_00 - NFT_REG32_15. 22 enum nft_registers { 47 #define NFT_REG_MAX (__NFT_REG_MAX - 1) 51 #define NFT_REG32_COUNT (NFT_REG32_15 - NFT_REG32_00 + 1) 54 * enum nft_verdicts - nf_tables internal verdicts 64 enum nft_verdicts { 65 NFT_CONTINUE = -1, [all …]
|
| /linux/arch/loongarch/include/asm/ |
| H A D | inst.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 37 enum reg0i15_op { 41 enum reg0i26_op { 46 enum reg1i20_op { 55 enum reg1i21_op { 62 enum reg2_op { 86 enum reg2i5_op { 92 enum reg2i6_op { 98 enum reg2i12_op { [all …]
|
| /linux/include/linux/ |
| H A D | cpuhotplug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * CPU-up CPU-down 15 * BRINGUP_CPU->AP_OFFLINE BRINGUP_CPU <- AP_IDLE_DEAD (idle thread/play_dead) 17 * v (IRQ-off) ,---------------^ 19 * | TEARDOWN_CPU <- AP_ONLINE_IDLE 30 * CPUHP_ONLINE - 1 down to CPUHP_OFFLINE. 43 * Adding explicit states to this enum is only necessary when: 54 * See Documentation/core-api/cpu_hotplug.rst for further information and 57 enum cpuhp_state { 58 CPUHP_INVALID = -1, [all …]
|
| /linux/include/rv/ |
| H A D | da_monitor.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org> 21 #define DECLARE_RV_REACTING_HELPERS(name, type) \ argument 22 static void cond_react_##name(type curr_state, type event) \ 24 if (!rv_reacting_on() || !rv_##name.react) \ 26 rv_##name.react("rv: monitor %s does not allow event %s on state %s\n", \ 27 #name, \ 28 model_get_event_name_##name(event), \ 29 model_get_state_name_##name(curr_state)); \ 34 #define DECLARE_RV_REACTING_HELPERS(name, type) \ argument [all …]
|
| H A D | automata.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org> 10 * DECLARE_AUTOMATA_HELPERS - define a set of helper functions for automata 12 * Define a set of helper functions for automata. The 'name' argument is used 16 #define DECLARE_AUTOMATA_HELPERS(name, type) \ argument 19 * model_get_state_name_##name - return the (string) name of the given state \ 21 static char *model_get_state_name_##name(enum states_##name state) \ 23 if ((state < 0) || (state >= state_max_##name)) \ 26 return automaton_##name.state_names[state]; \ 30 * model_get_event_name_##name - return the (string) name of the given event \ [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_kms.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 61 * - REG_MDP5_DISP_INTF_SEL 101 enum mdp_mixer_stage_id stage; 131 * encoder has changed this is set to true, since encoder->enable() 134 * writing CTL[n].START until encoder->enable() 141 enum mdp5_intf_mode { 156 enum mdp5_intf_type type; 157 enum mdp5_intf_mode mode; 173 WARN_ON(mdp5_kms->enable_count <= 0); in mdp5_write() 174 writel(data, mdp5_kms->mmio + reg); in mdp5_write() [all …]
|
| /linux/drivers/platform/x86/intel/telemetry/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 24 static int telemetry_def_get_trace_verbosity(enum telemetry_unit telem_unit, in telemetry_def_get_trace_verbosity() 31 static int telemetry_def_set_trace_verbosity(enum telemetry_unit telem_unit, in telemetry_def_set_trace_verbosity() 37 static int telemetry_def_raw_read_eventlog(enum telemetry_unit telem_unit, in telemetry_def_raw_read_eventlog() 44 static int telemetry_def_read_eventlog(enum telemetry_unit telem_unit, in telemetry_def_read_eventlog() 59 * telemetry_read_events() - Fetches samples as specified by evtlog.telem_evt_id 67 int telemetry_read_events(enum telemetry_unit telem_unit, in telemetry_read_events() 70 return telm_core_conf.telem_ops->read_eventlog(telem_unit, evtlog, in telemetry_read_events() 76 * telemetry_read_eventlog() - Fetch the Telemetry log from PSS or IOSS 83 int telemetry_read_eventlog(enum telemetry_unit telem_unit, in telemetry_read_eventlog() [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-sunfire.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* leds-sunfire.c: SUNW,Ultra-Enterprise LED driver. 31 enum led_brightness led_val, u8 bit) in __clockboard_set() 34 u8 reg = upa_readb(p->reg); in __clockboard_set() 51 upa_writeb(reg, p->reg); in __clockboard_set() 55 enum led_brightness led_val) in clockboard_left_set() 61 enum led_brightness led_val) in clockboard_middle_set() 67 enum led_brightness led_val) in clockboard_right_set() 73 enum led_brightness led_val, u32 bit) in __fhc_set() 76 u32 reg = upa_readl(p->reg); in __fhc_set() [all …]
|
| H A D | leds-bd2802.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-bd2802.c - RGB LED Driver 8 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf 16 #include <linux/leds-bd2802.h> 38 enum led_ids { 44 enum led_colors { 50 enum led_bits { 94 enum led_ids led_id; 95 enum led_colors color; 96 enum led_bits state; [all …]
|
| /linux/include/trace/events/ |
| H A D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/dma-direction.h> 10 #include <linux/dma-mapping.h> 39 size_t size, enum dma_data_direction dir, unsigned long attrs), 47 __field(enum dma_data_direction, dir) 53 __entry->phys_addr = phys_addr; 54 __entry->dma_addr = dma_addr; 55 __entry->size = size; 56 __entry->dir = dir; 57 __entry->attrs = attrs; [all …]
|
| H A D | afs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 enum afs_fs_operation { 37 afs_FS_GetRootVolume = 151, /* AFS Get root volume name */ 81 enum afs_vl_operation { 82 afs_VL_GetEntryByNameU = 527, /* AFS Get Vol Entry By Name operation ID */ 85 afs_YFSVL_GetCellName = 64014, /* YFS Get actual cell name */ 89 enum afs_cm_operation { 101 enum yfs_cm_operation { 151 EM(afs_server_trace_use_cm_call, "USE cm-cl") \ 160 EM(afs_volume_trace_get_alloc_sbi, "GET sbi-alloc ") \ [all …]
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * sst-atom-controls.h - Intel MID Platform driver header file 5 * Copyright (C) 2013-14 Intel Corp 20 enum { 58 enum sst_path_index { 102 enum sst_swm_inputs { 122 enum sst_swm_outputs { 138 enum sst_ipc_msg { 144 enum sst_cmd_type { 149 enum sst_task { [all …]
|
| /linux/drivers/clk/imx/ |
| H A D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/clk-provider.h> 26 enum imx_pllv1_type { 35 enum imx_sscg_pll_type { 40 enum imx_pll14xx_type { 45 enum imx_pllv4_type { 51 enum imx_pfdv2_type { 66 enum imx_pll14xx_type type; 95 struct clk_hw *imx_clk_fracn_gppll(const char *name, const char *parent_name, void __iomem *base, 97 struct clk_hw *imx_clk_fracn_gppll_integer(const char *name, const char *parent_name, [all …]
|
| /linux/tools/perf/util/ |
| H A D | hwmon_pmu.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 12 * enum hwmon_type: 14 * As described in Documentation/hwmon/sysfs-interface.rst hwmon events are 15 * defined over multiple files of the form <type><num>_<item>. This enum 18 * This enum is exposed for testing. 20 enum hwmon_type { 38 * enum hwmon_item: 40 * Similar to enum hwmon_type but describes the item part of a sysfs filename. 42 * This enum is exposed for testing. 44 enum hwmon_item { [all …]
|