/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_wo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 21 mtk_wed_mmio_r32(struct mtk_wed_wo *wo, u32 reg) in mtk_wed_mmio_r32() argument 25 if (regmap_read(wo->mmio.regs, reg, &val)) in mtk_wed_mmio_r32() 32 mtk_wed_mmio_w32(struct mtk_wed_wo *wo, u32 reg, u32 val) in mtk_wed_mmio_w32() argument 34 regmap_write(wo->mmio.regs, reg, val); in mtk_wed_mmio_w32() 38 mtk_wed_wo_get_isr(struct mtk_wed_wo *wo) in mtk_wed_wo_get_isr() argument 40 u32 val = mtk_wed_mmio_r32(wo, MTK_WED_WO_CCIF_RCHNUM); in mtk_wed_wo_get_isr() 46 mtk_wed_wo_set_isr(struct mtk_wed_wo *wo, u32 mask) in mtk_wed_wo_set_isr() argument 48 mtk_wed_mmio_w32(wo, MTK_WED_WO_CCIF_IRQ0_MASK, mask); in mtk_wed_wo_set_isr() [all …]
|
H A D | mtk_wed_mcu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 .name = "wo-emi", 24 .name = "wo-ilm", 27 .name = "wo-data", 31 .name = "wo-boot", 46 mtk_wed_mcu_msg_alloc(const void *data, int data_len) in mtk_wed_mcu_msg_alloc() argument 55 memset(skb->head, 0, length); in mtk_wed_mcu_msg_alloc() 57 if (data && data_len) in mtk_wed_mcu_msg_alloc() 58 skb_put_data(skb, data, data_len); in mtk_wed_mcu_msg_alloc() 64 mtk_wed_mcu_get_response(struct mtk_wed_wo *wo, unsigned long expires) in mtk_wed_mcu_get_response() argument [all …]
|
H A D | mtk_wed_wo.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 257 mtk_wed_mcu_check_msg(struct mtk_wed_wo *wo, struct sk_buff *skb) in mtk_wed_mcu_check_msg() argument 259 struct mtk_wed_mcu_hdr *hdr = (struct mtk_wed_mcu_hdr *)skb->data; in mtk_wed_mcu_check_msg() 261 if (hdr->version) in mtk_wed_mcu_check_msg() 262 return -EINVAL; in mtk_wed_mcu_check_msg() 264 if (skb->len < sizeof(*hdr) || skb->len != le16_to_cpu(hdr->length)) in mtk_wed_mcu_check_msg() 265 return -EINVAL; in mtk_wed_mcu_check_msg() 270 void mtk_wed_mcu_rx_event(struct mtk_wed_wo *wo, struct sk_buff *skb); 271 void mtk_wed_mcu_rx_unsolicited_event(struct mtk_wed_wo *wo, 273 int mtk_wed_mcu_send_msg(struct mtk_wed_wo *wo, int id, int cmd, [all …]
|
/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,mt7622-wed.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Bianconi <lorenzo@kernel.org> 11 - Felix Fietkau <nbd@nbd.name> 21 - enum: 22 - mediatek,mt7622-wed 23 - mediatek,mt7981-wed 24 - mediatek,mt7986-wed [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mt7986-clk.h> 10 #include <dt-bindings/reset/mt7986-resets.h> 11 #include <dt-bindings/phy/phy.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; [all …]
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | asi.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 37 /* SPARCstation-5: only 6 bits are decoded. */ 38 /* wo = Write Only, rw = Read Write; */ 53 #define ASI_M_TXTC_DATA 0x0D /* Instruction Cache Data; rw, ss */ 54 #define ASI_M_DATAC_TAG 0x0E /* Data Cache Tag; rw, ss */ 55 #define ASI_M_DATAC_DATA 0x0F /* Data Cache Data; rw, ss */ 63 #define ASI_M_FLUSH_PAGE 0x10 /* Flush I&D Cache Line (page); wo, ss */ 64 #define ASI_M_FLUSH_SEG 0x11 /* Flush I&D Cache Line (seg); wo, ss */ 65 #define ASI_M_FLUSH_REGION 0x12 /* Flush I&D Cache Line (region); wo, ss */ 66 #define ASI_M_FLUSH_CTX 0x13 /* Flush I&D Cache Line (context); wo, ss */ [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | ni_atmio16d.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for National Instruments AT-MIO16D board 9 * Description: National Instruments AT-MIO-16D 12 * Devices: [National Instruments] AT-MIO-16 (atmio16), AT-MIO-16D (atmio16d) 15 * [0] - I/O port 16 * [1] - MIO irq (0 == no irq; or 3,4,5,6,7,9,10,11,12,14,15) 17 * [2] - DIO irq (0 == no irq; or 3,4,5,6,7,9) 18 * [3] - DMA1 channel (0 == no DMA; or 5,6,7) 19 * [4] - DMA2 channel (0 == no DMA; or 5,6,7) 20 * [5] - a/d mux (0=differential; 1=single) [all …]
|
H A D | ni_daq_700.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for DAQCard-700 DIO/AI 7 * COMEDI - Linux Control and Measurement Device Interface 13 * Description: National Instruments PCMCIA DAQCard-700 16 * Devices: [National Instruments] PCMCIA DAQ-Card-700 (ni_daq_700) 20 * The daqcard-700 appears in Comedi as a digital I/O subdevice (0) with 21 * 16 channels and a analog input subdevice (1) with 16 single-ended channels 24 * Digital: The channel 0 corresponds to the daqcard-700's output 27 * Digital direction configuration: channels 0-7 output, 8-15 input. 29 * Analog: The input range is 0 to 4095 with a default of -10 to +10 volts. [all …]
|
H A D | cb_das16_cs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for Computer Boards PC-CARD DAS16/16. 6 * COMEDI - Linux Control and Measurement Device Interface 19 * Description: Computer Boards PC-CARD DAS16/16 20 * Devices: [ComputerBoards] PC-CARD DAS16/16 (cb_das16_cs), 21 * PC-CARD DAS16/16-AO 23 * Updated: Mon, 04 Nov 2002 20:04:21 -0800 52 #define DAS16CS_MISC1_OVR BIT(10) /* ro - 1=FIFO overflow */ 59 #define DAS16CS_MISC1_EOC BIT(7) /* ro - 0=busy; 1=ready */ 61 #define DAS16CS_MISC1_INTB BIT(4) /* ro - 0=latched; 1=cleared */ [all …]
|
/linux/drivers/scsi/ |
H A D | NCR5380.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * +1 (303) 666-5836 19 * 1+ (719) 578-3400 20 * 1+ (800) 334-5454 64 * The contents of the OUTPUT DATA register are asserted on the bus when 65 * either arbitration is occurring or the phase-indicating signals ( 66 * IO, CD, MSG) in the TARGET COMMAND register and the ASSERT DATA 70 #define OUTPUT_DATA_REG 0 /* wo DATA lines on SCSI bus */ 76 #define ICR_TRI_STATE 0x40 /* wo Set to tri-state drivers */ 78 #define ICR_DIFF_ENABLE 0x20 /* wo Set to enable diff. drivers */ [all …]
|
H A D | esp_scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define ESP_FDATA 0x02UL /* rw FIFO data bits 0x08 */ 16 #define ESP_BUSID ESP_STATUS /* wo BusID for sel/resel 0x10 */ 18 #define ESP_TIMEO ESP_INTRPT /* wo Timeout for sel/resel 0x14 */ 20 #define ESP_STP ESP_SSTEP /* wo Transfer period/sync 0x18 */ 22 #define ESP_SOFF ESP_FFLAGS /* wo Sync offset 0x1c */ 24 #define ESP_CFACT 0x09UL /* wo Clock conv factor 0x24 */ 26 #define ESP_CTEST 0x0aUL /* wo Chip test register 0x28 */ 33 #define ESP_FGRND 0x0fUL /* rw Data base for fifo 0x3c */ 40 /* ESP config reg 1, read-write, found on all ESP chips */ [all …]
|
/linux/io_uring/ |
H A D | waitid.c | 1 // SPDX-License-Identifier: GPL-2.0 37 struct io_waitid_async *iwa = req->async_data; in io_waitid_free() 39 put_pid(iwa->wo.wo_pid); in io_waitid_free() 40 kfree(req->async_data); in io_waitid_free() 41 req->async_data = NULL; in io_waitid_free() 42 req->flags &= ~REQ_F_ASYNC_DATA; in io_waitid_free() 51 infop = (struct compat_siginfo __user *) iw->infop; in io_waitid_compat_copy_si() 56 unsafe_put_user(signo, &infop->si_signo, Efault); in io_waitid_compat_copy_si() 57 unsafe_put_user(0, &infop->si_errno, Efault); in io_waitid_compat_copy_si() 58 unsafe_put_user(iw->info.cause, &infop->si_code, Efault); in io_waitid_compat_copy_si() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-tsm | 4 Contact: linux-coco@lists.linux.dev 6 (WO) Up to 64 bytes of user specified binary data. For replay 13 Contact: linux-coco@lists.linux.dev 23 Contact: linux-coco@lists.linux.dev 25 (RO) Optional supplemental data that a TSM may emit, visibility 27 auxiliary data is available. 30 "cert_table" from SEV-ES Guest-Hypervisor Communication Block 32 https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56421.pdf 37 Contact: linux-coco@lists.linux.dev 39 (RO) Optional supplemental data that a TSM may emit, visibility [all …]
|
H A D | sysfs-bus-rbd | 6 (WO) Add rbd block device. 14 The snapshot name can be "-" or omitted to map the image 15 read/write. A <dev-id> will be assigned for any registered block 16 device. If snapshot is used, it will be mapped read-only. 24 (WO) Remove rbd block device. 26 Usage: <dev-id> [force] 43 (WO) Available only if rbd module is inserted with single_major 57 (WO) Available only if rbd module is inserted with single_major 76 What: /sys/bus/rbd/devices/<dev-id>/size 77 What: /sys/bus/rbd/devices/<dev-id>/major [all …]
|
H A D | sysfs-driver-intel_sdsi | 24 EOVERFLOW For provision commands, the size of the data 38 is available at http://github.com/intel/intel-sdsi 49 http://github.com/intel/intel-sdsi 56 (WO) Used to write an Authentication Key Certificate (AKC) to 65 (WO) Used to write a Capability Activation Payload (CAP) to the
|
H A D | sysfs-bus-cxl | 4 Contact: linux-cxl@vger.kernel.org 6 (WO) If userspace manually unbinds a port the kernel schedules 14 Contact: linux-cxl@vger.kernel.org 17 Memory Device Output Payload in the CXL-2.0 24 Contact: linux-cxl@vger.kernel.org 28 Payload in the CXL-2.0 specification. 34 Contact: linux-cxl@vger.kernel.org 40 class-ids can be compared against a similar "qos_class" 42 that the endpoints map their local memory-class to a 45 side-effects that may result. First class-id is displayed. [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 1 // SPDX-License-Identifier: GPL-2.0+ 56 exit(-1); in get_dbginfo() 62 return !!(dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_DAWR); in dawr_present() 123 exit(-1); in test_workload() 129 /* PTRACE_SET_DEBUGREG, WO test */ in test_workload() 148 /* PPC_PTRACE_SETHWDEBUG, MODE_EXACT, WO test */ in test_workload() 163 /* PPC_PTRACE_SETHWDEBUG, MODE_RANGE, DW ALIGNED, WO test */ in test_workload() 175 /* PPC_PTRACE_SETHWDEBUG, MODE_RANGE, DW UNALIGNED, WO test */ in test_workload() 199 /* PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DW ALIGNED, WO test */ in test_workload() 205 /* PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DAWR Overlap, WO test */ in test_workload() [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 #include "coresight-priv.h" 22 * 0x000 - 0x144: CTI programming and status 23 * 0xEDC - 0xEF8: CTI integration test. 24 * 0xF00 - 0xFFC: Coresight management registers. 41 #define ITCHINACK 0xEDC /* WO CTI CSSoc 400 only*/ 42 #define ITTRIGINACK 0xEE0 /* WO CTI CSSoc 400 only*/ 43 #define ITCHOUT 0xEE4 /* WO RW-600 */ 44 #define ITTRIGOUT 0xEE8 /* WO RW-600 */ 55 * CTI CSSoc 400 has 8 IO triggers - other CTIs can be impl def. [all …]
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * cx88x-hw.h - CX2388x register offsets 5 * Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 92 // DMA Channels 1-6 belong to SPIPE 96 // DMA Channels 9-20 belong to SPIPE 202 #define MO_VIDY_GPCNTRL 0x31C030 // {2}WO Video Y general purpose control 203 #define MO_VIDU_GPCNTRL 0x31C034 // {2}WO Video U general purpose control 204 #define MO_VIDV_GPCNTRL 0x31C038 // {2}WO Video V general purpose control 205 #define MO_VBI_GPCNTRL 0x31C03C // {2}WO VBI general purpose counter 219 #define MO_AUDD_GPCNTRL 0x32C030 // {2}WO Audio down general purpose control [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx.reg | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 62 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 69 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 76 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \ 142 * Returned to data phase 143 * that requires data 187 * A command with a non-zero [all …]
|
H A D | aic7xxx.reg | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from 50 * Adaptec's Technical Documents Department 1-800-934-2766 65 * SCSI Sequence Control (p. 3-11). 82 * SCSI Transfer Control 0 Register (pp. 3-13). 83 * Controls the SCSI module data path. 98 * SCSI Transfer Control 1 Register (pp. 3-14,15). [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | digitv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* DVB USB compliant linux driver for Nebula Electronics uDigiTV DVB-T USB2.0 9 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 19 MODULE_PARM_DESC(debug, "set debugging level (1=rc (or-able))." DVB_USB_DEBUG_STATUS); 28 struct digitv_state *st = d->priv; in digitv_ctrl_msg() 29 int ret, wo; in digitv_ctrl_msg() local 31 wo = (rbuf == NULL || rlen == 0); /* write-only */ in digitv_ctrl_msg() 34 return -EIO; in digitv_ctrl_msg() 36 memset(st->sndbuf, 0, 7); in digitv_ctrl_msg() 37 memset(st->rcvbuf, 0, 7); in digitv_ctrl_msg() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
/linux/include/uapi/drm/ |
H A D | msm_drm.h | 35 * subject to backwards-compatibility constraints: 52 /* The pipe-id just uses the lower bits, so can be OR'd with flags in 54 * we extend/overload the pipe-id some day to deal with multiple rings, 61 /* timeouts are specified in clock-monotonic absolute times (to simplify 70 /* Below "RO" indicates a read-only param, "WO" indicates write-only, and 84 #define MSM_PARAM_SYSPROF 0x0b /* WO: 1 preserves perfcntrs, 2 also disables suspend */ 85 #define MSM_PARAM_COMM 0x0c /* WO: override for task->comm */ 86 #define MSM_PARAM_CMDLINE 0x0d /* WO: override for task cmdline */ 107 __u32 len; /* zero for non-pointer params */ 135 * directly in 'value', or for data larger than 64b 'value' is a [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-tpdm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 12 TPDM - The trace performance monitoring and diagnostics monitor or TPDM in 13 short serves as data collection component for various dataset types. 14 The primary use case of the TPDM is to collect data from different data 18 --------------------------- 21 ---- 25 - > 0 : enable the datasets of TPDM. 27 - = 0 : disable the datasets of TPDM. 32 ---- [all …]
|