/linux/Documentation/devicetree/bindings/usb/ |
H A D | ci-hdrc-usb2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xu Yang <xu.yang_2@nxp.com> 11 - Peng Fan <peng.fan@nxp.com> 16 - enum: 17 - chipidea,usb2 18 - lsi,zevio-usb 19 - nuvoton,npcm750-udc [all …]
|
/linux/tools/perf/util/ |
H A D | annotate.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 100 double percent[PERCENT_MAX]; 101 double percent_sum; 139 /* This needs to be at the end. */ 147 static inline double annotation_data__percent(struct annotation_data *data, in annotation_data__percent() 150 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent() 179 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset() 196 void (*set_percent_color)(void *obj, double percent, bool current); 207 /* save data type info keyed by al->offset */ 226 * struct sym_hist - symbol histogram information for an event [all …]
|
H A D | annotate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Parts came from builtin-annotate.c, see those files for further 16 #include "build-id.h" 30 #include "annotate-data.h" 33 #include "bpf-event.h" 34 #include "bpf-utils.h" 35 #include "block-range.h" 37 #include "dwarf-regs.h" 50 #include <subcmd/parse-options.h> 51 #include <subcmd/run-command.h> [all …]
|
/linux/arch/arc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 90 source "arch/arc/plat-tb10x/Kconfig" 91 source "arch/arc/plat-axs10x/Kconfig" 92 source "arch/arc/plat-hsdk/Kconfig" 110 ISA for the Next Generation ARC-HS cores 128 -MMU-v3: Variable Page Sz (4k, 8k, 16k), bigger J-TLB (128x4) 130 -Caches: New Prog Model, Region Flush 131 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr 134 bool "ARC-HS" [all …]
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_encoder_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/reset.h> 19 #include <media/cec-notifier.h> 29 #include <linux/media-bus-format.h> 57 return drm_bridge_attach(encoder, encoder_hdmi->next_bridge, in meson_encoder_hdmi_attach() 58 &encoder_hdmi->bridge, flags); in meson_encoder_hdmi_attach() 65 cec_notifier_conn_unregister(encoder_hdmi->cec_notifier); in meson_encoder_hdmi_detach() 66 encoder_hdmi->cec_notifier = NULL; in meson_encoder_hdmi_detach() 72 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_set_vclk() 79 vclk_freq = mode->clock * 1000ULL; in meson_encoder_hdmi_set_vclk() [all …]
|
/linux/include/uapi/linux/ |
H A D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 stretch; /* bit 0 !=0 means double track steps */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 93 reset, /* maximal number of errors before a reset is tried */ member 100 * ultra cheap floppies ;-) 171 * Auto-detection. Each drive type has eight formats which are [all …]
|
/linux/arch/arc/kernel/ |
H A D | entry-compact.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA 5 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 6 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 9 * -Userspace unaligned access emulation 12 * -traced syscall return code (r0) was not saved into pt_regs for restoring 13 * into user reg-file when traded task rets to user space. 14 * -syscalls needing arch-wrappers (mainly for passing sp as pt_regs) 15 * were not invoking post-syscall trace hook (jumping directly into 19 * -Vector table jumps (@8 bytes) converted into branches (@4 bytes) [all …]
|
/linux/drivers/net/wan/ |
H A D | farsync.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards 23 * used with the FarSite T-Series cards (T2P & T4P) running in the high 30 * purpose (FarSite T-series). 32 * Finally the device driver needs a short network interface name. Since 75 * FSTCPURESET forces the cards CPU into a reset state and holds it there. 76 * FSTCPURELEASE releases the CPU from this reset state allowing it to run, 77 * the reset vector should be setup before this ioctl is run. 117 unsigned char structure; /* unframed, double, crc4, f4, f12, */ 121 unsigned char lineBuildOut; /* 0, -7.5, -15, -22 */ [all …]
|
/linux/tools/perf/ |
H A D | builtin-ftrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-ftrace.c 26 #include <subcmd/parse-options.h> 40 #include "util/parse-sublevel-options.h" 67 workload_exec_errno = info->si_value.sival_int; in ftrace__workload_exec_failed_signal() 137 int fd, ret = -1; in __write_tracing_file() 146 return -1; in __write_tracing_file() 199 int ret = -1; in read_tracing_file_to_stdout() 204 return -1; in read_tracing_file_to_stdout() 246 return -1; in read_tracing_file_by_line() [all …]
|
/linux/Documentation/bpf/ |
H A D | classic_vs_extended.rst | 12 - Number of registers increase from 2 to 10: 15 new layout extends this to be 10 internal registers and a read-only frame 16 pointer. Since 64-bit CPUs are passing arguments to functions via registers 17 the number of args from eBPF program to in-kernel function is restricted 18 to 5 and one register is used to accept return value from an in-kernel 20 sparcv9/mips64 have 7 - 8 registers for arguments; x86_64 has 6 callee saved 25 64-bit architectures. 27 On 32-bit architectures JIT may map programs that use only 32-bit arithmetic 30 R0 - R5 are scratch registers and eBPF program needs spill/fill them if 33 call predefined in-kernel functions, though. [all …]
|
/linux/Documentation/block/ |
H A D | ublk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 new virtual block device such as ublk-qcow2 (there are several attempts of 18 - They can be written many programming languages. 19 - They can use libraries that are not available in the kernel. 20 - They can be debugged with tools familiar to application developers. 21 - Crashes do not kernel panic the machine. 22 - Bugs are likely to have a lower security impact than bugs in kernel 24 - They can be installed and updated independently of the kernel. 25 - They can be used to simulate block device easily with user specified 42 ``/dev/ublkb*`` is driven by blk-mq request-based driver. Each request is [all …]
|
/linux/arch/powerpc/platforms/pasemi/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 40 /* SDC reset register, must be pre-mapped at reset time */ 43 /* Various error status registers, must be pre-mapped at MCE time */ 90 platform_device_register_simple("rtc_cmos", -1, rtc_resource, 2); in nemo_init_rtc() 150 /* Remap SDC register for doing reset */ in pas_setup_arch() 214 chip->irq_eoi(&desc->irq_data); in sb600_8259_cascade() 231 irq_set_default_domain(mpic->irqhost); in nemo_init_IRQ() 254 for_each_node_by_type(np, "interrupt-controller") in pas_init_IRQ() 255 if (of_device_is_compatible(np, "open-pic")) { in pas_init_IRQ() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_pfc.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test injects a 10-MB burst of traffic with VLAN tag and 802.1p priority 8 # - the stream first ingresses through $swp1, where it is forwarded to $swp3 10 # - then it ingresses through $swp4. Here it is put to a lossless buffer and put 15 # - since $swp3 now can't send traffic, the traffic ingressing $swp1 is kept at 16 # a pool ("overflow pool"). The overflow pool needs to be large enough to 19 # - eventually the PFC pool gets some traffic out, headroom therefore gets some 24 # - if PFC works, all lossless flow packets that ingress through $swp1 should 28 # - it should all play out relatively quickly, so that SLL and HLL will not 31 # +-----------------------+ [all …]
|
/linux/arch/x86/kernel/ |
H A D | traps.c | 51 #include <asm/text-patching.h> 67 #include <asm/insn-eval.h> 76 #include <asm/processor-flags.h> 101 * FineIBT: f0 75 f9 lock jne . - 6 129 *len = addr - start; in decode_bug() 134 *len = addr - start; in decode_bug() 146 *len = addr - start; in decode_bug() 177 *len = addr - start; in decode_bug() 204 tsk->thread.error_code = error_code; in do_trap_no_signal() 205 tsk->thread.trap_nr = trapnr; in do_trap_no_signal() [all …]
|
/linux/arch/x86/mm/ |
H A D | kmmio.c | 1 // SPDX-License-Identifier: GPL-2.0 76 /* Read-protected by RCU, write-protected by kmmio_lock. */ 92 /* Accessed per-cpu */ 101 * Space Efficient Dynamic Stabbing with Fast Queries - Mikkel Thorup 108 if (addr >= p->addr && addr < (p->addr + p->len)) in get_kmmio_probe() 127 if (f->addr == addr) in get_kmmio_fault_page() 163 pte_t *pte = lookup_address(f->addr, &level); in clear_page_presence() 166 pr_err("no pte for addr 0x%08lx\n", f->addr); in clear_page_presence() 167 return -1; in clear_page_presence() 172 clear_pmd_presence((pmd_t *)pte, clear, &f->old_presence); in clear_page_presence() [all …]
|
/linux/drivers/net/ethernet/sgi/ |
H A D | meth.h | 4 #define TX_RING_ENTRIES 64 /* 64-512?*/ 11 #define METH_RX_HEAD 34 /* status + 3 quad garbage-fill + 2 byte zero-pad */ 32 * It consists of header, 0-3 concatination 43 u64 data_len:16; /*Length of valid data in bytes-1*/ 48 u64 len:16; /*length of buffer data - 1*/ 91 u64 pad[3]; /* For whatever reason, there needs to be 4 double-word offset */ 93 char buf[METH_RX_BUFF_SIZE-sizeof(rx_status_vector)-3*sizeof(u64)-sizeof(u16)];/* data */ 101 #define SGI_MAC_RESET BIT(0) /* 0: MAC110 active in run mode, 1: Global reset signal to MAC110 cor… 122 … /* Bits 8 through 14 are used to determine Inter-Packet Gap between "Back to Back" packets */ 137 #define METH_RX_DEPTH_SHIFT 4 /* Bits 8:4 define RX fifo depth -- when # of RX fifo entries != dept… [all …]
|
/linux/include/linux/ |
H A D | edac.h | 6 * 2006-2008 (c) MontaVista Software, Inc. This file is licensed under 26 #define EDAC_OPSTATE_INVAL -1 60 * enum dev_type - describe the type of memory DRAM chips used at the stick 93 * enum hw_event_mc_err_type - type of the detected error 95 * @HW_EVENT_ERR_CORRECTED: Corrected Error - Indicates that an ECC 97 * @HW_EVENT_ERR_UNCORRECTED: Uncorrected Error - Indicates an error that 101 * it for example, by re-trying the operation). 102 * @HW_EVENT_ERR_DEFERRED: Deferred Error - Indicates an uncorrectable 108 * @HW_EVENT_ERR_FATAL: Fatal Error - Uncorrected error that could not 110 * @HW_EVENT_ERR_INFO: Informational - The CPER spec defines a forth [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | intel_dptf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 31 ---------------------------- 43 "42A441D6-AE6A-462b-A84B-4A8CE79027D3" : Passive 1 45 "3A95C389-E4B8-4629-A526-C52C88626BAE" : Active 47 "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" : Critical 49 "63BE270F-1C11-48FD-A6F7-3AF253FF3E2D" : Adaptive performance 51 "5349962F-71E6-431D-9AE8-0A635B710AEE" : Emergency call 53 "9E04115A-AE87-4D1C-9500-0F3E340BFE75" : Passive 2 55 "F5A35014-C209-46A4-993A-EB56DE7530A1" : Power Boss [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | w996Xcf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it> 13 is a bit of a hack, but it needs the driver code for a lot of different 23 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET]) 24 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET]) 51 /*-------------------------------------------------------------------------- 52 Write 64-bit data to the fast serial bus registers. 53 Return 0 on success, -1 otherwise. 54 --------------------------------------------------------------------------*/ 57 struct usb_device *udev = sd->gspca_dev.dev; in w9968cf_write_fsb() [all …]
|
/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 23 * the restrictions contained in a BSD-style copyright.) 63 tst.l (TASK_MM-8,%a2) 65 tst.l (TASK_MM-4,%a2) 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 94 | args: %d0 = source (32-bit long) 98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0 125 | args: %d0 = source (single-precision fp value) 129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0 139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent. 152 move.w #0x4000-0x7f,%d1 [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | qe_firmware.rst | 10 I - Software License for Firmware 12 II - Microcode Availability 14 III - Description and Terminology 16 IV - Microcode Programming Details 18 V - Firmware Structure Layout 20 VI - Sample Code for Creating Firmware Files 25 November 30, 2007: Rev 1.0 - Initial version 27 I - Software License for Firmware 34 II - Microcode Availability 41 III - Description and Terminology [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_stream_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 IA_CSS_INPUT_MODE_FIFO, /** data from input-fifo */ 30 IA_CSS_INPUT_MODE_TPG, /** data from test-pattern generator */ 31 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */ 62 int linked_isys_stream_id; /** default value is -1, other value means 119 s32 flash_gpio_pin; /** pin on which the flash is connected, -1 for no flash */ 120 int left_padding; /** The number of input-formatter left-paddings, -1 for default from binary.*/ 129 This setting needs to be enabled to allow raw buffer locking 147 * This function will reset the stream configuration to the default state: 150 stream_config->online = true; [all …]
|
/linux/arch/mips/include/asm/sn/sn0/ |
H A D | hubio.h | 8 * Copyright (C) 1992 - 1997, 1999 Silicon Graphics, Inc. 57 #define IIO_BTE_OFF_1 IIO_IBLS_1 - IIO_IBLS_0 /* Offset from base to BTE 1 */ 61 #define BTEOFF_SRC (IIO_BTE_SRC_0 - IIO_BTE_STAT_0) 62 #define BTEOFF_DEST (IIO_BTE_DEST_0 - IIO_BTE_STAT_0) 63 #define BTEOFF_CTRL (IIO_BTE_CTRL_0 - IIO_BTE_STAT_0) 64 #define BTEOFF_NOTIFY (IIO_BTE_NOTIFY_0 - IIO_BTE_STAT_0) 65 #define BTEOFF_INT (IIO_BTE_INT_0 - IIO_BTE_STAT_0) 119 #define IIO_IGFX_W_NUM_MASK ((1<<IIO_IGFX_W_NUM_BITS)-1) 122 #define IIO_IGFX_N_NUM_MASK ((1<<IIO_IGFX_N_NUM_BITS)-1) 125 #define IIO_IGFX_P_NUM_MASK ((1<<IIO_IGFX_P_NUM_BITS)-1) [all …]
|
/linux/arch/arm/mach-pxa/ |
H A D | pxa27x-udc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "pxa-regs.h" 12 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 13 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 15 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 17 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 19 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ 44 #define UDCICR1_IECC (1 << 31) /* IntEn - Configuration Change */ 45 #define UDCICR1_IESOF (1 << 30) /* IntEn - Start of Frame */ 46 #define UDCICR1_IERU (1 << 29) /* IntEn - Resume */ [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | hideep.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2017 Hideep, Inc. 164 * states). We align it on double-word boundary to keep word-sized 165 * fields in contact data and double-word-sized fields in program 182 struct pgm_packet *packet = (void *)ts->xfer_buf; in hideep_pgm_w_mem() 185 .addr = ts->client->addr, in hideep_pgm_w_mem() 186 .len = len + sizeof(packet->header.len) + in hideep_pgm_w_mem() 187 sizeof(packet->header.addr), in hideep_pgm_w_mem() 188 .buf = &packet->header.len, in hideep_pgm_w_mem() 193 return -EINVAL; in hideep_pgm_w_mem() [all …]
|