/linux/Documentation/filesystems/spufs/ |
H A D | spufs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 spufs - the SPU file system 26 logical SPU. Users can change permissions on those files, but not actu- 43 The files in spufs mostly follow the standard behavior for regular sys- 44 tem calls like read(2) or write(2), but often support only a subset of 49 All files that support the read(2) operation also support readv(2) and 55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera- 57 possible operations, e.g. read access on the wbox file. 68 read(2), pread(2), write(2), pwrite(2), lseek(2) 81 The first SPU to CPU communication mailbox. This file is read-only and [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | SA-1100.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * FILE SA-1100.h 9 * System StrongARM SA-1100 12 * SA-1100 microprocessor (Advanced RISC Machine (ARM) 14 * StrongARM SA-1100 data sheet version 2.2. 21 #error You must include hardware.h not SA-1100.h 52 #define PCMCIA1Sp PCMCIASp /* PCMCIA 1 Space [byte] */ 53 #define PCMCIA1IOSp PCMCIAIOSp /* PCMCIA 1 I/O Space [byte] */ 54 #define PCMCIA1AttrSp PCMCIAAttrSp /* PCMCIA 1 Attribute Space [byte] */ 55 #define PCMCIA1MemSp PCMCIAMemSp /* PCMCIA 1 Memory Space [byte] */ [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | pcl730.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Driver for Advantech PCL-730 and clones 10 * Description: Advantech PCL-730 (& compatibles) 11 * Devices: [Advantech] PCL-730 (pcl730), PCM-3730 (pcm3730), PCL-725 (pcl725), 12 * PCL-733 (pcl733), PCL-734 (pcl734), 13 * [ADLink] ACL-7130 (acl7130), ACL-7225b (acl7225b), 14 * [ICP] ISO-730 (iso730), P8R8-DIO (p8r8dio), P16R16-DIO (p16r16dio), 15 * [Diamond Systems] OPMM-1616-XT (opmm-1616-xt), PEARL-MM-P (pearl-mm-p), 16 * IR104-PBF (ir104-pbf), 21 * [0] - I/O port base [all …]
|
/linux/include/linux/mtd/ |
H A D | spi-nor.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 11 #include <linux/spi/spi-mem.h> 18 * requires a 4-byte (32-bit) address. 24 #define SPINOR_OP_RDSR 0x05 /* Read status register */ 25 #define SPINOR_OP_WRSR 0x01 /* Write status register 1 byte */ 26 #define SPINOR_OP_RDSR2 0x3f /* Read status register 2 */ 28 #define SPINOR_OP_READ 0x03 /* Read data bytes (low frequency) */ 29 #define SPINOR_OP_READ_FAST 0x0b /* Read data bytes (high frequency) */ 30 #define SPINOR_OP_READ_1_1_2 0x3b /* Read data bytes (Dual Output SPI) */ 31 #define SPINOR_OP_READ_1_2_2 0xbb /* Read data bytes (Dual I/O SPI) */ [all …]
|
/linux/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_sk_lookup.c | 2 "valid 1,2,4,8-byte reads from bpf_sk_lookup", 4 /* 1-byte read from family field */ 8 offsetof(struct bpf_sk_lookup, family) + 1), 13 /* 2-byte read from family field */ 18 /* 4-byte read from family field */ 22 /* 1-byte read from protocol field */ 26 offsetof(struct bpf_sk_lookup, protocol) + 1), 31 /* 2-byte read from protocol field */ 36 /* 4-byte read from protocol field */ 40 /* 1-byte read from remote_ip4 field */ [all …]
|
/linux/arch/parisc/kernel/ |
H A D | perf_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 /* low-level asm for "intrigue" (PA8500-8700 CPU perf counters) 5 * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org> 6 * Copyright (C) 2001 Hewlett-Packard (Grant Grundler) 91 ;* arg0 : rdr to be read 98 ;* arg0 : rdr to be read 100 ;* %r24 - original DR2 value 101 ;* %r1 - scratch 102 ;* %r29 - scratch 114 ; read(shift in) the RDR. [all …]
|
/linux/arch/s390/mm/ |
H A D | hugetlbpage.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * If the bit selected by single-bit bitmask "a" is set within "x", move 22 * it to the position indicated by single-bit bitmask "b". 34 * empty 010.000000.0 -> 00..0...1...00 in __pte_to_rste() 35 * prot-none, clean, old 111.000000.1 -> 00..1...1...00 in __pte_to_rste() 36 * prot-none, clean, young 111.000001.1 -> 01..1...1...00 in __pte_to_rste() 37 * prot-none, dirty, old 111.000010.1 -> 10..1...1...00 in __pte_to_rste() 38 * prot-none, dirty, young 111.000011.1 -> 11..1...1...00 in __pte_to_rste() 39 * read-only, clean, old 111.000100.1 -> 00..1...1...01 in __pte_to_rste() 40 * read-only, clean, young 101.000101.1 -> 01..1...0...01 in __pte_to_rste() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dfl-fme | 1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num 5 Description: Read-only. One DFL FPGA device may have more than 1 7 number of ports on the FPGA device when read it. 9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id 13 Description: Read-only. It returns Bitstream (static FPGA region) 17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata 21 Description: Read-only. It returns Bitstream (static FPGA region) meta 25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size 29 Description: Read-only. It returns cache size of this FPGA device. 31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version [all …]
|
H A D | sysfs-driver-w1_therm | 5 (RW) read or write TH and TL (Temperature High an Low) alarms. 7 (typical -55 degC to 125 degC), if not values will be trimmed 11 master level, refer to Documentation/w1/w1-generic.rst for 40 * '1': device externally powered 41 * '-xx': xx is kernel error when reading power status 55 values after power-on. Read or write are : 59 * '-xx': xx is kernel error when reading the resolution 62 Some DS18B20 clones are fixed in 12-bit resolution, so the 63 actual resolution is read back from the chip and verified. Error 73 (RO) return the temperature in 1/1000 degC. [all …]
|
H A D | sysfs-platform-dfl-port | 1 What: /sys/bus/platform/devices/dfl-port.0/id 5 Description: Read-only. It returns id of this port. One DFL FPGA device 9 What: /sys/bus/platform/devices/dfl-port.0/afu_id 13 Description: Read-only. User can program different PR bitstreams to FPGA 18 What: /sys/bus/platform/devices/dfl-port.0/power_state 22 Description: Read-only. It reports the APx (AFU Power) state, different APx 24 returns "0" - Normal / "1" - AP1 / "2" - AP2 / "6" - AP6. 26 What: /sys/bus/platform/devices/dfl-port.0/ap1_event 30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event. 31 It's used to indicate transient AP1 state. Write 1 to this [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_ddc.c | 31 #define HDCP_I2C_ADDR 0x3a /* 0x74 >> 1*/ 32 #define KSV_READ_SIZE 0xf /* 0x6803b - 0x6802c */ 35 #define DP_CP_IRQ (1 << 2) 38 MOD_HDCP_MESSAGE_ID_INVALID = -1, 152 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, in read() function 172 success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle, in read() 180 buf_len -= cur_size; in read() 188 success = hdcp->config.ddc.funcs.read_i2c( in read() 189 hdcp->config.ddc.handle, in read() 211 status = read(hdcp, msg_id, buf + data_offset, cur_size); in read_repeatedly() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/grandridge/ |
H A D | uncore-cache.json | 4 "Counter": "0,1,2,3", 7 "PerPkg": "1", 13 "Counter": "0,1,2,3", 16 "Experimental": "1", 17 "PerPkg": "1", 23 "Counter": "0,1,2,3", 26 "PerPkg": "1", 32 "Counter": "0,1,2,3", 35 "PerPkg": "1", 42 "Counter": "0,1,2,3", [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/ |
H A D | recommended.json | 3 "PublicDescription": "Attributable Level 1 data cache access, read", 6 "BriefDescription": "L1D cache access, read" 9 "PublicDescription": "Attributable Level 1 data cache access, write", 15 "PublicDescription": "Attributable Level 1 data cache refill, read", 18 "BriefDescription": "L1D cache refill, read" 21 "PublicDescription": "Attributable Level 1 data cache refill, write", 27 "PublicDescription": "Attributable Level 1 data cache refill, inner", 33 "PublicDescription": "Attributable Level 1 data cache refill, outer", 39 "PublicDescription": "Attributable Level 1 data cache Write-Back, victim", 42 "BriefDescription": "L1D cache Write-Back, victim" [all …]
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_perfmon.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #define V3D_PERFMONID_MIN 1 13 …{"FEP", "FEP-valid-primitives-no-rendered-pixels", "[FEP] Valid primitives that result in no rende… 14 …{"FEP", "FEP-valid-primitives-rendered-pixels", "[FEP] Valid primitives for all rendered tiles (pr… 15 {"FEP", "FEP-clipped-quads", "[FEP] Early-Z/Near/Far clipped quads"}, 16 {"FEP", "FEP-valid-quads", "[FEP] Valid quads"}, 17 …{"TLB", "TLB-quads-not-passing-stencil-test", "[TLB] Quads with no pixels passing the stencil test… 18 …{"TLB", "TLB-quads-not-passing-z-and-stencil-test", "[TLB] Quads with no pixels passing the Z and … 19 …{"TLB", "TLB-quads-passing-z-and-stencil-test", "[TLB] Quads with any pixels passing the Z and ste… 20 {"TLB", "TLB-quads-with-zero-coverage", "[TLB] Quads with all pixels having zero coverage"}, [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-memory.json | 4 "Counter": "0,1,2,3", 7 "PerPkg": "1", 8 …mmands are issued to open up a page on the DRAM devices so that it can be read or written to with … 14 "Counter": "0,1,2,3", 17 "Experimental": "1", 18 "PerPkg": "1", 19 …mmands are issued to open up a page on the DRAM devices so that it can be read or written to with … 25 "Counter": "0,1,2,3", 28 "PerPkg": "1", 34 "BriefDescription": "All DRAM read CAS commands issued (including underfills)", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | cache.json | 4 "Counter": "0,1,2,3", 13 "Counter": "0,1,2,3", 16 …opportunistic replacements, and replacements that require stall-for-replace or block-for-replace. … 22 "Counter": "0,1,2,3", 31 "Counter": "0,1,2,3", 32 "CounterMask": "1", 33 "EdgeDetect": "1", 42 "Counter": "0,1,2,3", 43 "Deprecated": "1", 52 "Counter": "0,1,2,3", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | cache.json | 4 "Counter": "0,1,2,3", 13 "Counter": "0,1,2,3", 16 …opportunistic replacements, and replacements that require stall-for-replace or block-for-replace. … 22 "Counter": "0,1,2,3", 31 "Counter": "0,1,2,3", 32 "CounterMask": "1", 33 "EdgeDetect": "1", 42 "Counter": "0,1,2,3", 43 "Deprecated": "1", 52 "Counter": "0,1,2,3", [all …]
|
/linux/Documentation/input/joydev/ |
H A D | joystick-api.rst | 1 .. _joystick-api: 7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998 18 driver now reports only any changes of its state. See joystick-api.txt, 35 (JS_EVENT_INIT) that you can read to obtain the initial state of the 49 read (fd, &e, sizeof(e)); 60 If the read is successful, it will return sizeof(e), unless you wanted to read 61 more than one event per read as described in section 3.1. 65 ------------- 86 --------------- 95 1st Axis X 0 [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-read-hwpoison.c | 1 // SPDX-License-Identifier: GPL-2.0 24 TEST_FAILED = 1, 79 printf(PREFIX PREFIX "expect to read 0x%lx bytes of data in total\n", in seek_read_hugepage_filemap() 87 ret_count = read(fd, buf, wr_chunk_size); in seek_read_hugepage_filemap() 89 printf(PREFIX PREFIX "read reach end of the file\n"); in seek_read_hugepage_filemap() 92 perror(PREFIX ERROR_PREFIX "read failed"); in seek_read_hugepage_filemap() 101 printf(PREFIX PREFIX "actually read 0x%lx bytes of data in total\n", in seek_read_hugepage_filemap() 115 printf(PREFIX PREFIX "expect to read 0x%lx bytes of data in total\n", in read_hugepage_filemap() 118 ret_count = read(fd, buf, wr_chunk_size); in read_hugepage_filemap() 120 printf(PREFIX PREFIX "read reach end of the file\n"); in read_hugepage_filemap() [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-ds1685.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time 6 * Copyright (C) 2011-2014 Joshua Kinard <linux@kumba.dev>. 7 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>. 10 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10. 11 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. 12 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. 33 /* ----------------------------------------------------------------------- */ 35 * Standard read/write 40 * ds1685_read - read a value from an rtc register. [all …]
|
/linux/tools/virtio/virtio-trace/ |
H A D | README | 1 Trace Agent for virtio-trace 6 - splice a page of ring-buffer to read_pipe without memory copying 7 - splice the page from write_pipe to virtio-console without memory copying 8 - write trace data to stdout by using -o option 9 - controlled by start/stop orders from a Host 12 1) Initialize all structures. 13 2) Create a read/write thread per CPU. Each thread is bound to a CPU. 14 The read/write threads hold it. 17 the controller wake read/write threads. 18 5) The read/write threads start to read trace data from ring-buffers and [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 11 * igb_raise_eec_clk - Raise EEPROM clock 22 udelay(hw->nvm.delay_usec); in igb_raise_eec_clk() 26 * igb_lower_eec_clk - Lower EEPROM clock 37 udelay(hw->nvm.delay_usec); in igb_lower_eec_clk() 41 * igb_shift_out_eec_bits - Shift data bits our to the EEPROM 52 struct e1000_nvm_info *nvm = &hw->nvm; in igb_shift_out_eec_bits() 56 mask = 1u << (count - 1); in igb_shift_out_eec_bits() 57 if (nvm->type == e1000_nvm_eeprom_spi) in igb_shift_out_eec_bits() [all …]
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-mlxreg-io | 1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health 6 0 - health failed, 2 - health OK, 3 - ASIC in booting state. 8 The files are read only. 10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version 11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version 18 The files are read only. 20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir 25 forward direction - relevant bit is set 0; 26 reversed direction - relevant bit is set 1. 28 The files are read only. [all …]
|
/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022-2024 Red Hat */ 26 if (self->hidraw_fd) in detach_bpf() 27 close(self->hidraw_fd); in detach_bpf() 28 self->hidraw_fd = 0; in detach_bpf() 30 if (!self->skel) in detach_bpf() 33 hid__detach(self->skel); in detach_bpf() 35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf() 36 if (self->hid_links[i]) in detach_bpf() 37 bpf_link__destroy(self->hid_links[i]); in detach_bpf() [all …]
|