| /linux/fs/hpfs/ |
| H A D | buffer.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999 18 for (i = 0; unlikely(i < sbi->n_hotfixes); i++) { in hpfs_search_hotfix_map() 19 if (sbi->hotfix_from[i] == sec) { in hpfs_search_hotfix_map() 20 return sbi->hotfix_to[i]; in hpfs_search_hotfix_map() 30 for (i = 0; unlikely(i < sbi->n_hotfixes); i++) { in hpfs_search_hotfix_map_for_range() 31 if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) { in hpfs_search_hotfix_map_for_range() 32 n = sbi->hotfix_from[i] - sec; in hpfs_search_hotfix_map_for_range() 43 if (n <= 0 || unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 60 if (unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() [all …]
|
| /linux/arch/sparc/mm/ |
| H A D | swift.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * swift.S: MicroSparc-II mmu/cache operations. 12 #include <asm/asm-offsets.h> 17 #if 1 /* XXX screw this, I can't get the VAC flushes working 18 * XXX reliably... -DaveM 32 1: subcc %o0, 0x10, %o0 35 bne 1b 47 1: subcc %o0, 16, %o0 49 bne 1b 57 cmp %g2, -1 [all …]
|
| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | sg2044-cpus.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #address-cells = <2>; 8 #size-cells = <2>; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 timebase-frequency = <50000000>; 18 i-cache-block-size = <64>; 19 i-cache-size = <65536>; 20 i-cache-sets = <512>; 21 d-cache-block-size = <64>; [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 4 "Counter": "0,1,2,3", 7 …-bit packed computational double precision floating-point instructions retired; some instructions … 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 13 "Counter": "0,1,2,3", 16 …-bit packed computational single precision floating-point instructions retired; some instructions … 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 22 "Counter": "0,1,2,3", 25 …-bit packed double computational precision floating-point instructions retired; some instructions … 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… [all …]
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | insn-x86-dat-src.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * "Test x86 instruction decoder - new instructions" 8 * gen-insn-x86-dat.awk script and have the format: 12 * If this file is changed, remember to run the gen-insn-x86-dat.sh 15 * Refer to insn-x86.c for more details. 20 /* Following line is a marker for the awk script - do not change */ in main() 23 /* Test fix for vcvtph2ps in x86-opcode-map.txt */ in main() 29 /* AVX-512: Instructions with the same op codes as Mask Instructions */ in main() 50 /* AVX-512: Mask Instructions */ in main() 154 /* AVX-512: Op code 0f 5b */ in main() [all …]
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | winbond.c | 1 // SPDX-License-Identifier: GPL-2.0 46 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_8S_OP(0, 1, NULL, 0, 133 * HZ_PER_MHZ), 47 SPINAND_PAGE_READ_FROM_CACHE_FAST_1S_1S_1S_OP(0, 1, NULL, 0, 0), 48 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_1S_OP(0, 1, NULL, 0, 0)); 64 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_4S_OP(0, 1, NULL, 0, 0), 68 SPINAND_PAGE_READ_FROM_CACHE_1S_2S_2S_OP(0, 1, NULL, 0, 104 * HZ_PER_MHZ), 69 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_2S_OP(0, 1, NULL, 0, 0), 71 SPINAND_PAGE_READ_FROM_CACHE_FAST_1S_1S_1S_OP(0, 1, NULL, 0, 0), 72 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_1S_OP(0, 1, NULL, 0, 54 * HZ_PER_MHZ)); 76 SPINAND_PAGE_READ_FROM_CACHE_1S_1S_4S_OP(0, 1, NULL, 0, 0), [all …]
|
| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-ic-csc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include "ipu-prv.h" 15 (q) == V4L2_QUANTIZATION_DEFAULT ? 0 : 1) 29 * RGB full-range to RGB limited-range 42 .scale = 1, 46 * RGB limited-range to RGB full-range 48 * R_full = 1.1644 * (R_lim - 16) 49 * G_full = 1.1644 * (G_lim - 16) 50 * B_full = 1.1644 * (B_lim - 16) 58 .offset = { -37, -37, -37, }, [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | ps3-head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * __system_reset_overlay - The PS3 first stage entry. 18 * The bootwraper build script copies the 512 bytes at symbol 20 * must occupy 512 or less bytes. 28 /* Switch to 32-bit mode. */ 31 clrldi r9,r9,1 39 beq 1f 47 1: 58 . = __system_reset_overlay + 512 61 * __system_reset_kernel - Place holder for the kernel reset vector. [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm2837.dtsi | 2 #include "bcm2835-common.dtsi" 10 dma-ranges = <0xc0000000 0x00000000 0x3f000000>; 12 local_intc: interrupt-controller@40000000 { 13 compatible = "brcm,bcm2836-l1-intc"; 15 interrupt-controller; 16 #interrupt-cells = <2>; 17 interrupt-parent = <&local_intc>; 21 arm-pmu { 22 compatible = "arm,cortex-a53-pmu"; 23 interrupt-parent = <&local_intc>; [all …]
|
| H A D | bcm2836.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "bcm2835-common.dtsi" 11 dma-ranges = <0xc0000000 0x00000000 0x3f000000>; 13 local_intc: interrupt-controller@40000000 { 14 compatible = "brcm,bcm2836-l1-intc"; 16 interrupt-controller; 17 #interrupt-cells = <2>; 18 interrupt-parent = <&local_intc>; 22 arm-pmu { 23 compatible = "arm,cortex-a7-pmu"; [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | unstriped.rst | 2 Device-mapper "unstriped" target 8 The device-mapper "unstriped" target provides a transparent mechanism to 9 unstripe a device-mapper "striped" target to access the underlying disks 10 without having to touch the true backing block-device. It can also be 11 used to unstripe a hardware RAID-0 to access backing disks. 20 The amount of 512B sectors in the chunk striping. 33 An example of undoing an existing dm-stripe 34 ------------------------------------------- 47 SEQ_END=$((${NUM}-1)) 51 RAID_SIZE=$((${MEMBER_SIZE}*${NUM}/512)) [all …]
|
| H A D | dm-ebs.rst | 2 dm-ebs 8 size. Its main purpose is to provide emulation of 512 byte sectors on 11 Supported emulated logical block sizes 512, 1024, 2048 and 4096. 17 ---------------- 23 Full pathname to the underlying block-device, 24 or a "major:minor" device-number. 30 1, 2, 4, 8 sectors of 512 bytes supported. 36 2^N supported, e.g. 8 = emulate 8 sectors of 512 bytes = 4KiB. 42 Emulate 1 sector = 512 bytes logical block size on /dev/sda starting at 45 ebs /dev/sda 1024 1 [all …]
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_hwdb.c | 1 // SPDX-License-Identifier: GPL-2.0 18 .shader_core_count = 1, 22 .pixel_pipes = 1, 47 .stream_count = 1, 50 .shader_core_count = 1, 52 .vertex_output_buffer_size = 512, 53 .pixel_pipes = 1, 80 .thread_count = 512, 85 .pixel_pipes = 1, 86 .instruction_count = 512, [all …]
|
| /linux/drivers/ata/pata_parport/ |
| H A D | epia.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net> 5 * epia.c is a low-level protocol driver for Shuttle Technologies 22 * mode codes: 0 nybble reads on port 1, 8-bit writes 23 * 1 5/3 reads on ports 1 & 2, 8-bit writes 24 * 2 8-bit reads and writes 25 * 3 8-bit EPP mode 26 * 4 16-bit EPP 27 * 5 32-bit EPP 35 * cont = 1 IDE control registers [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | xor_avx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Optimized RAID-5 checksumming functions for AVX 19 BLOCK(32 * (i + 1), 1) \ 36 while (lines--) { in xor_avx_2() 49 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_2() 50 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 64 while (lines--) { in xor_avx_3() 79 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_3() 80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 81 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3() [all …]
|
| /linux/arch/mips/math-emu/ |
| H A D | dp_sqrt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1994-2000 Algorithmics Ltd. 46 /* sqrt(-Inf) = Nan */ in ieee754dp_sqrt() 58 /* sqrt(-x) = Nan */ in ieee754dp_sqrt() 73 if (xe > 512) { /* x > 2**-512? */ in ieee754dp_sqrt() 74 xe -= 512; /* x = x / 2**512 */ in ieee754dp_sqrt() 76 } else if (xe < -512) { /* x < 2**-512? */ in ieee754dp_sqrt() 77 xe += 512; /* x = x * 2**512 */ in ieee754dp_sqrt() 78 scalx -= 256; in ieee754dp_sqrt() 86 yh = (yh >> 1) + 0x1ff80000; in ieee754dp_sqrt() [all …]
|
| /linux/drivers/input/joystick/ |
| H A D | walkera0701.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Parallel port to Walkera WK-0701 TX joystick 33 MODULE_DESCRIPTION("Walkera WK-0701 TX as joystick"); 39 "Parallel port adapter for Walkera WK-0701 TX (default is 0)"); 70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | dvb_intro.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 structure of DVB-T cards are substantially similar to Analogue TV cards, 30 embedded within the modulated composite analogue signal - 38 signal encoded at a resolution of 768x576 24-bit color pixels over 25 39 frames per second - a fair amount of data is generated and must be 43 encoded and compressed form - similar to the form that is used in 46 The purpose of a simple budget digital TV card (DVB-T,C or S) is to 96 On this example, we're considering tuning into DVB-T channels in 102 Table 1. Transponder Frequencies Mount Dandenong, Vic, Aus. 115 The digital TV Scan utilities (like dvbv5-scan) have use a set of [all …]
|
| /linux/block/partitions/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1991-1998 Linus Torvalds 7 * Re-organised Feb 1998 Russell King 28 for (i = len - 1; i >= 0 && stg[i] == ' '; i--) in mac_fix_string() 49 return -1; in mac_partition() 50 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) { in mac_partition() 54 secsize = be16_to_cpu(md->block_size); in mac_partition() 58 * If the "block size" is not a power of 2, things get weird - we might in mac_partition() 65 return -1; in mac_partition() 66 datasize = round_down(secsize, 512); in mac_partition() [all …]
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 PUSH_BASIC_STACK(512) 27 PUSH_FPU(512) 28 PUSH_NVREGS_BELOW_FPU(512) 30 std r4, STACK_FRAME_PARAM(1)(sp) /* gps */ 35 ld r3, STACK_FRAME_PARAM(1)(sp) 57 * 'all good' return value, zero is used to indicate a non-doomed 62 beq 1f 64 ld r3, STACK_FRAME_PARAM(1)(sp) 100 * hardware to cleanup, we'll end up at 1: anything between [all …]
|
| /linux/drivers/gpu/drm/ingenic/ |
| H A D | ingenic-ipu.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "ingenic-drm.h" 9 #include "ingenic-ipu.h" 71 /* Signed 15.16 fixed-point math (for bicubic scaling coefficients) */ 75 #define SHARPNESS_INCR (I2F(-1) / 8) 93 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_priv_state() 105 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_new_priv_state() 114 * and return value are 15.16 signed fixed-point. 116 * @f_a: Sharpness factor, typically in range [-4.0, -0.25]. 118 * -2.0 might cause ringing artifacts to outweigh any improvement. [all …]
|
| /linux/Documentation/core-api/ |
| H A D | librs.rst | 2 Reed-Solomon Library Programming Interface 10 The generic Reed-Solomon Library provides encoding, decoding and error 13 Reed-Solomon codes are used in communication and storage applications to 30 ------------ 45 * Primitive polynomial is x^10+x^3+1 47 * primitive element to generate roots = 1 50 rs_decoder = init_rs (10, 0x409, 0, 1, 6); 54 -------- 56 The encoder calculates the Reed-Solomon code over the given data length 60 The expanded data can be inverted on the fly by providing a non-zero [all …]
|
| /linux/drivers/mtd/ |
| H A D | mtdblock_ro.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Simple read-only (writable only for RAM) mtdblock driver 5 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> 21 err = mtd_read(dev->mtd, (block * 512), 512, &retlen, buf); in mtdblock_readsect() 23 return 1; in mtdblock_readsect() 32 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_writesect() 33 return 1; in mtdblock_writesect() 44 dev->mtd = mtd; in mtdblock_add_mtd() 45 dev->devnum = mtd->index; in mtdblock_add_mtd() 47 dev->size = mtd->size >> 9; in mtdblock_add_mtd() [all …]
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | README | 7 sve-probe-vls - Checks the SVE vector length enumeration interface 8 sve-ptrace - Checks the SVE ptrace interface 10 Running the non-kselftest tests 13 sve-stress performs an SVE context switch stress test, as described 16 (The fpsimd-stress test works the same way; just substitute "fpsimd" for 25 $ ./sve-stress 28 Vector length: 512 bits 31 Vector length: 512 bits 34 Vector length: 512 bits 37 Vector length: 512 bits [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | ni_pcimio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for NI PCI-MIO E series cards 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 11 * Description: National Instruments PCI-MIO-E series and M series (all boards) 15 * Devices: [National Instruments] PCI-MIO-16XE-50 (ni_pcimio), 16 * PCI-MIO-16XE-10, PXI-6030E, PCI-MIO-16E-1, PCI-MIO-16E-4, PCI-6014, 17 * PCI-6040E, PXI-6040E, PCI-6030E, PCI-6031E, PCI-6032E, PCI-6033E, 18 * PCI-6071E, PCI-6023E, PCI-6024E, PCI-6025E, PXI-6025E, PCI-6034E, 19 * PCI-6035E, PCI-6052E, PCI-6110, PCI-6111, PCI-6220, PXI-6220, [all …]
|