/Linux-v5.10/arch/parisc/kernel/ |
D | signal32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Signal support for 32-bit kernel builds 4 * Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org> 5 * Copyright (C) 2006 Kyle McMartin <kyle at parisc-linux.org> 44 /* When loading 32-bit values into 64-bit registers make in restore_sigcontext32() 45 sure to clear the upper 32-bits */ in restore_sigcontext32() 50 err |= __get_user(compat_reg,&sc->sc_gr[regn]); in restore_sigcontext32() 51 regs->gr[regn] = compat_reg; in restore_sigcontext32() 52 /* Load upper half */ in restore_sigcontext32() 53 err |= __get_user(compat_regt,&rf->rf_gr[regn]); in restore_sigcontext32() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_ring.c | 1 // SPDX-License-Identifier: GPL-2.0 14 kref_init(&ring->ref); in mock_ring() 15 ring->size = sz; in mock_ring() 16 ring->wrap = BITS_PER_TYPE(ring->size) - ilog2(sz); in mock_ring() 17 ring->effective_size = sz; in mock_ring() 18 ring->vaddr = (void *)(ring + 1); in mock_ring() 19 atomic_set(&ring->pin_count, 1); in mock_ring() 39 result = -1; in check_ring_direction() 46 return -EINVAL; in check_ring_direction() 60 err |= check_ring_direction(ring, prev, next, -1); in check_ring_step() [all …]
|
D | intel_breadcrumbs_types.h | 1 /* SPDX-License-Identifier: MIT */ 18 * bottom-half of the user interrupt) to the first client. After 22 * transferring the bottom-half status to the next client in the queue. 25 * bottom-half, we reduce the latency of the first waiter by avoiding
|
/Linux-v5.10/include/uapi/linux/ |
D | mii.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/mii.h: definitions for MII-compatible transceivers 23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 24 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */ 55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */ 58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */ 60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ 63 #define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ 64 #define BMSR_100FULL2 0x0400 /* Can do 100BASE-T2 FDX */ [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/ |
D | cirrus,clps711x-intc.txt | 5 - compatible: Should be "cirrus,ep7209-intc". 6 - reg: Specifies base physical address of the registers set. 7 - interrupt-controller: Identifies the node as an interrupt controller. 8 - #interrupt-cells: Specifies the number of cells needed to encode an 13 --------------------------- 24 12: UTXINT1 UART1 transmit FIFO half empty 25 13: URXINT1 UART1 receive FIFO half full 29 17: SS2RX SSI2 receive FIFO half or greater full 30 18: SS2TX SSI2 transmit FIFO less than half empty 31 28: UTXINT2 UART2 transmit FIFO half empty [all …]
|
/Linux-v5.10/drivers/media/usb/stk1160/ |
D | stk1160-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * <elezegarcia--a.t--gmail.com> 10 * <rmthomas--a.t--sciolus.org> 19 /* Power-on Strapping Data */ 39 * Bit 0 - Horizontal Decimation Control 42 * Bit 1 - Decimates Half or More Column 43 * 0 Decimates less than half from original column, 45 * 1 Decimates half or more from original column, 47 * Bit 2 - Vertical Decimation Control 50 * Bit 3 - Vertical Greater or Equal to Half [all …]
|
/Linux-v5.10/Documentation/input/devices/ |
D | rotary-encoder.rst | 2 rotary-encoder - a generic driver for GPIO connected devices 8 -------- 11 peripherals with two wires. The outputs are phase-shifted by 90 degrees 16 a stable state with both outputs high (half-period mode) and some have 17 a stable state in all steps (quarter-period mode). 33 |<-------->| 36 |<-->| 37 one step (half-period mode) 40 one step (quarter-period mode) 47 ---------------------- [all …]
|
/Linux-v5.10/drivers/net/ethernet/8390/ |
D | stnic.c | 1 /* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC. 21 #include <mach-se/mach/se.h> 32 #define half unsigned short macro 100 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE() 112 return -ENODEV; in stnic_probe() 117 return -ENOMEM; in stnic_probe() 123 dev->dev_addr[i] = stnic_eadr[i]; in stnic_probe() 126 dev->base_addr = 0x1000; in stnic_probe() 127 dev->irq = IRQ_STNIC; in stnic_probe() 128 dev->netdev_ops = &ei_netdev_ops; in stnic_probe() [all …]
|
/Linux-v5.10/include/uapi/linux/dvb/ |
D | osd.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 3 * osd.h - DEPRECATED On Screen Display API 23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 33 /* All functions return -2 on "not open" */ 42 * returns 0 on success, -1 on DRAM allocation error, -2 on "already open" 72 * returns 0 on success, -1 on error 79 * R,G,B, and a opacity value: 0->transparent, 1..254->mix, 255->pixel 89 * returns 0 on success, -1 on error 92 /* returns color number of pixel <x>,<y>, or -1 */ 96 * returns 0 on success, -1 on clipping all pixel (no pixel drawn) [all …]
|
/Linux-v5.10/drivers/net/ethernet/atheros/atlx/ |
D | atlx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atlx_hw.h -- common hardware definitions for Attansic network drivers 4 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 5 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 6 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 10 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 149 /* IRQ Anti-Lost Timer Initial Value Register */ 228 /* MAC Half-Duplex Control Register */ 246 /* Wake-On-Lan control register */ 303 #define MII_CR_FULL_DUPLEX 0x0100 /* FDX =1, half duplex =0 */ [all …]
|
/Linux-v5.10/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_tmds_clk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 9 #include <linux/clk-provider.h> 31 bool *half) in sun4i_tmds_calc_divider() argument 49 (rate - tmp_rate) < (rate - best_rate)) { in sun4i_tmds_calc_divider() 57 if (div && half) { in sun4i_tmds_calc_divider() 59 *half = is_double; in sun4i_tmds_calc_divider() 72 unsigned long rate = req->rate; in sun4i_tmds_determine_rate() 88 for (j = tmds->div_offset ?: 1; in sun4i_tmds_determine_rate() 89 j < (16 + tmds->div_offset); j++) { in sun4i_tmds_determine_rate() [all …]
|
/Linux-v5.10/drivers/soc/ixp4xx/ |
D | ixp4xx-qmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 static u32 used_sram_bitmap[4]; /* 128 16-dword pages */ 36 __raw_writel(val, &qmgr_regs->acc[queue][0]); in qmgr_put_entry() 42 val = __raw_readl(&qmgr_regs->acc[queue][0]); in qmgr_get_entry() 54 return (__raw_readl(&qmgr_regs->stat1[queue >> 3]) in __qmgr_get_stat1() 61 return (__raw_readl(&qmgr_regs->stat2[queue >> 4]) in __qmgr_get_stat2() 66 * qmgr_stat_empty() - checks if a hardware queue is empty 69 * Returns non-zero value if the queue is empty. 78 * qmgr_stat_below_low_watermark() - checks if a queue is below low watermark 81 * Returns non-zero value if the queue is below low watermark. [all …]
|
/Linux-v5.10/include/clocksource/ |
D | timer-davinci.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 * struct davinci_timer_cfg - davinci clocksource driver configuration struct 25 * @cmp_off: if set - it specifies the compare register used for clockevent 28 * clock half for both clocksource and clockevent and the compare register 32 * This is only used by da830 the DSP of which uses the top half. The timer 33 * driver still configures the top half to run in free-run mode.
|
/Linux-v5.10/drivers/clk/sunxi/ |
D | clk-sun4i-tcon-ch1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 8 #include <linux/clk-provider.h> 40 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_disable() 41 reg = readl(tclk->reg); in tcon_ch1_disable() 43 writel(reg, tclk->reg); in tcon_ch1_disable() 44 spin_unlock_irqrestore(&tclk->lock, flags); in tcon_ch1_disable() 53 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_enable() 54 reg = readl(tclk->reg); in tcon_ch1_enable() 56 writel(reg, tclk->reg); in tcon_ch1_enable() [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-signal.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 57 * 'all good' return value, zero is used to indicate a non-doomed 67 /* Get the second half of the array */ 74 /* Get the second half of the array */ 81 /* Get the second half of the array */ 88 /* Get the second half of the array */
|
/Linux-v5.10/tools/testing/ktest/ |
D | config-bisect.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2015 - Steven Rostedt, Red Hat Inc. 5 # Copyright 2017 - Steven Rostedt, VMware, Inc. 9 # config-bisect.pl [options] good-config bad-config [good|bad] 12 # Compares a good config to a bad config, then takes half of the diffs 15 # good config and will try to make half of the differences of between 18 # exactly half of the configs that are different between the two config 24 # $ config-bisect.pl /path/to/good/config /path/to/bad/config 31 # The algorithm will run, merging half of the differences between [all …]
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | kvm_mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 29 * and that half of that space (VA_BITS - 1) is used for the linear 30 * mapping, we can also limit the EL2 space to (VA_BITS - 1). 33 * top or the bottom half of that space to shadow the kernel's linear 37 * If the page is in the bottom half, we have to use the top half. If 38 * the page is in the top half, we have to use the bottom half: 41 * if (T & BIT(VA_BITS - 1)) 42 * HYP_VA_MIN = 0 //idmap in upper half 44 * HYP_VA_MIN = 1 << (VA_BITS - 1) [all …]
|
/Linux-v5.10/arch/x86/math-emu/ |
D | reg_round.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 20 | Return value is the tag of the answer, or-ed with FPU_Exception if | 21 | one was raised, or -1 on internal error. | 26 +---------------------------------------------------------------------------*/ 28 /*---------------------------------------------------------------------------+ 47 | must be non-zero. | 48 | If the significand extension is non-zero then the significand is | 52 | non-zero values: | [all …]
|
/Linux-v5.10/arch/sh/drivers/dma/ |
D | dmabrg.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com> 17 * from USB-SRAM/Audio units to main memory (and also the LCDC; but that 23 * ----------------------------------------------------- 24 * 0 | USB-DMA | ... | xfer done | DMABRGI1 25 * 1 | USB-UAE | ... | USB addr err.| DMABRGI0 27 * 3 | HAC0/SSI0 | play| half done | DMABRGI2 29 * 5 | HAC0/SSI0 | rec | half done | DMABRGI2 31 * 7 | HAC1/SSI1 | play| half done | DMABRGI2 33 * 9 | HAC1/SSI1 | rec | half done | DMABRGI2 [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | rotary-encoder.txt | 4 - gpios: a spec for at least two GPIOs to be used, most significant first 7 - linux,axis: the input subsystem axis to map to this rotary encoder. 9 - rotary-encoder,steps: Number of steps in a full turnaround of the 12 - rotary-encoder,relative-axis: register a relative axis rather than an 13 absolute one. Relative axis will only generate +1/-1 events on the input 15 - rotary-encoder,rollover: Automatic rollover when the rotary value becomes 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 19 1: Full-period mode (default) 20 2: Half-period mode 21 4: Quarter-period mode [all …]
|
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/ |
D | e1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999 - 2013 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Speed and Duplex Configuration 16 - Additional Configurations 17 - Support 50 ------- 54 :Valid Range: 0x01-0x0F, 0x20-0x2F 57 This parameter is a bit-mask that specifies the speed and duplex settings [all …]
|
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_device.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 68 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 74 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ 97 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 103 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ 176 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 182 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ 205 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 211 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ [all …]
|
/Linux-v5.10/Documentation/driver-api/iio/ |
D | triggered-buffers.rst | 26 pf->timestamp = iio_get_time_ns((struct indio_dev *)p); 56 * **sensor_iio_pollfunc**, the function that will be used as top half of poll 61 * **sensor_trigger_handler**, the function that will be used as bottom half of 65 top half. 69 .. kernel-doc:: drivers/iio/buffer/industrialio-triggered-buffer.c
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | checksum.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * and adds in "sum" (32-bit) 11 * returns a 32-bit number suitable for feeding into itself 17 * it's best to have buff aligned on a 32-bit boundary 34 " addib,<= -4, %2, 2f\n" in ip_fast_csum() 51 " subi -1, %0, %0\n" in ip_fast_csum() 66 /* add the swapped two 16-bit halves of sum, in csum_fold() 67 a possible carry from adding the two 16-bit halves, in csum_fold() 68 will carry from the lower half into the upper half, in csum_fold() 69 giving us the correct sum in the upper half. */ in csum_fold() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | drv.c | 8 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 9 * Copyright(c) 2016-2017 Intel Deutschland GmbH 10 * Copyright(c) 2007 - 2014, 2018 - 2020 Intel Corporation 26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 33 * Copyright(c) 2005 - 2014, 2018 - 2020 Intel Corporation 71 #include "iwl-trans.h" 72 #include "iwl-drv.h" 73 #include "iwl-prph.h" 85 {IWL_PCI_DEVICE(0x4232, 0x1301, iwl5100_agn_cfg)}, /* Half Mini Card */ [all …]
|