| /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 | a6xx_enums.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="a6xx_tile_mode"> 10 <value name="TILE6_LINEAR" value="0"/> 11 <value name="TILE6_2" value="2"/> 12 <value name="TILE6_3" value="3"/> 13 </enum> 15 <enum name="a6xx_format"> 16 <value value="0x02" name="FMT6_A8_UNORM"/> [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 | adreno_pm4.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 <enum name="vgt_event_type" varset="chip"> 9 <value name="VS_DEALLOC" value="0x00" variants="A2XX-A5XX"/> 10 <value name="PS_DEALLOC" value="0x01" variants="A2XX-A5XX"/> 11 <value name="VS_DONE_TS" value="0x02" variants="A2XX-A5XX"/> 12 <value name="PS_DONE_TS" value="0x03" variants="A2XX-A5XX"/> 17 <value name="CACHE_FLUSH_TS" value="0x04"/> 18 <value name="CONTEXT_DONE" value="0x05"/> [all …]
|
| H A D | a8xx_enums.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="a8xx_statetype_id"> 10 <value value="0" name="A8XX_TP0_NCTX_REG"/> 11 <value value="1" name="A8XX_TP0_CTX0_3D_CVS_REG"/> 12 <value value="2" name="A8XX_TP0_CTX0_3D_CPS_REG"/> 13 <value value="3" name="A8XX_TP0_CTX1_3D_CVS_REG"/> 14 <value value="4" name="A8XX_TP0_CTX1_3D_CPS_REG"/> 15 <value value="5" name="A8XX_TP0_CTX2_3D_CPS_REG"/> [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 …]
|
| /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 | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: dpll 8 - 9 type: enum 10 name: mode 16 - 17 name: manual 20 - 21 name: automatic [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_register [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/rust/syn/ |
| H A D | macros.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 10 $pub:ident $struct:ident $name:ident #full $body:tt 16 $(#[$attr])* $pub $struct $name $body 19 $(#[$attr])* $pub $struct $name { 24 impl ::quote::ToTokens for $name { 33 $pub:ident $struct:ident $name:ident $body:tt 38 $(#[$attr])* $pub $struct $name $body 46 $pub:ident $enum:ident $name:ident $body:tt 49 check_keyword_matches!(enum $enum); 51 $(#[$enum_attr])* $pub $enum $name $body [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> 22 #define DECLARE_DA_MON_GENERIC_HELPERS(name, type) \ argument 24 static void react_##name(type curr_state, type event) \ 26 rv_react(&rv_##name, \ 28 #name, \ 29 model_get_event_name_##name(event), \ 30 model_get_state_name_##name(curr_state)); \ 34 * da_monitor_reset_##name - reset a monitor and setting it to init state \ 36 static inline void da_monitor_reset_##name(struct da_monitor *da_mon) \ [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/arch/s390/hypfs/ |
| H A D | hypfs_diag_fs.c | 1 // SPDX-License-Identifier: GPL-2.0 26 static char *diag224_cpu_names; /* diag 224 name table */ 27 static int diag224_idx2name(int index, char *name); 39 static inline int info_blk_hdr__size(enum diag204_format type) in info_blk_hdr__size() 47 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() 50 return ((struct diag204_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar() 52 return ((struct diag204_x_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar() 55 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() 58 return ((struct diag204_info_blk_hdr *)hdr)->flags; in info_blk_hdr__flags() 60 return ((struct diag204_x_info_blk_hdr *)hdr)->flags; in info_blk_hdr__flags() [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 …]
|
| /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/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 …]
|