/Linux-v6.1/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-v6.1/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-v6.1/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 */ 21 * bottom-half of the user interrupt) to the first client. After 25 * transferring the bottom-half status to the next client in the queue. 28 * bottom-half, we reduce the latency of the first waiter by avoiding
|
/Linux-v6.1/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-v6.1/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-v6.1/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() 125 dev->base_addr = 0x1000; in stnic_probe() 126 dev->irq = IRQ_STNIC; in stnic_probe() 127 dev->netdev_ops = &ei_netdev_ops; in stnic_probe() 131 err = request_irq (dev->irq, ei_interrupt, 0, DRV_NAME, dev); in stnic_probe() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/soc/ixp4xx/ |
D | ixp4xx-qmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 static u32 used_sram_bitmap[4]; /* 128 16-dword pages */ 37 __raw_writel(val, &qmgr_regs->acc[queue][0]); in qmgr_put_entry() 43 val = __raw_readl(&qmgr_regs->acc[queue][0]); in qmgr_get_entry() 55 return (__raw_readl(&qmgr_regs->stat1[queue >> 3]) in __qmgr_get_stat1() 62 return (__raw_readl(&qmgr_regs->stat2[queue >> 4]) in __qmgr_get_stat2() 67 * qmgr_stat_empty() - checks if a hardware queue is empty 70 * Returns non-zero value if the queue is empty. 79 * qmgr_stat_below_low_watermark() - checks if a queue is below low watermark 82 * Returns non-zero value if the queue is below low watermark. [all …]
|
/Linux-v6.1/arch/s390/mm/ |
D | pgalloc.c | 1 // SPDX-License-Identifier: GPL-2.0 48 return register_sysctl_table(page_table_sysctl_dir) ? 0 : -ENOMEM; in page_table_register_sysctl() 74 if (current->active_mm == mm) { in __crst_table_upgrade() 75 S390_lowcore.user_asce = mm->context.asce; in __crst_table_upgrade() 84 unsigned long asce_limit = mm->context.asce_limit; in crst_table_upgrade() 105 spin_lock_bh(&mm->page_table_lock); in crst_table_upgrade() 112 VM_BUG_ON(asce_limit != mm->context.asce_limit); in crst_table_upgrade() 115 __pgd = (unsigned long *) mm->pgd; in crst_table_upgrade() 117 mm->pgd = (pgd_t *) p4d; in crst_table_upgrade() 118 mm->context.asce_limit = _REGION1_SIZE; in crst_table_upgrade() [all …]
|
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ram.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver 6 // Marc Kleine-Budde <kernel@pengutronix.de> 9 #include "mcp251xfd-ram.h" 17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp() 18 return clamp(val, obj->min, max); in can_ram_clamp() 26 u8 fifo_num = obj->fifo_num; in can_ram_rounddown_pow_of_two() 35 * coalescing or only half of FIFO (FIFO Half Full in can_ram_rounddown_pow_of_two() 36 * IRQ) and use remaining half for normal objects. in can_ram_rounddown_pow_of_two() 38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/arch/arm64/kvm/hyp/nvhe/ |
D | mm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 * pkvm_alloc_private_va_range - Allocates a private VA range. 65 ret = -ENOMEM; in pkvm_alloc_private_va_range() 138 return __pkvm_create_mappings(start, end - start, back, PAGE_HYP); in hyp_back_vmemmap() 161 return -EINVAL; in pkvm_cpu_set_vector() 203 * One half of the VA space is reserved to linearly map portions of in hyp_create_idmap() 204 * memory -- see va_layout.c for more details. The other half of the VA in hyp_create_idmap() 206 * second half in two and find the quarter of VA space not conflicting in hyp_create_idmap() 208 * half of the quarter and the vmemmap the upper half. in hyp_create_idmap() 210 __io_map_base = start & BIT(hyp_va_bits - 2); in hyp_create_idmap() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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 …]
|