Home
last modified time | relevance | path

Searched +full:half +full:- (Results 1 – 25 of 1065) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsignal32.c1 // 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 …]
/kernel/linux/linux-6.6/arch/parisc/kernel/
Dsignal32.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_ring.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
Dselftest_ring.c1 // 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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dmii.h1 /* 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 …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dmii.h1 /* 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dcirrus,clps711x-intc.txt5 - 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dcirrus,clps711x-intc.txt5 - 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 …]
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/
Dstk1160-reg.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/media/usb/stk1160/
Dstk1160-reg.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
Dstnic.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC.
18 #include <mach-se/mach/se.h>
29 #define half unsigned short macro
97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
109 return -ENODEV; in stnic_probe()
114 return -ENOMEM; in stnic_probe()
122 dev->base_addr = 0x1000; in stnic_probe()
123 dev->irq = IRQ_STNIC; in stnic_probe()
124 dev->netdev_ops = &ei_netdev_ops; in stnic_probe()
[all …]
/kernel/linux/linux-6.6/arch/s390/mm/
Dpgalloc.c1 // SPDX-License-Identifier: GPL-2.0
38 return register_sysctl("vm", page_table_sysctl) ? 0 : -ENOMEM; in page_table_register_sysctl()
66 if (current->active_mm == mm) { in __crst_table_upgrade()
67 S390_lowcore.user_asce = mm->context.asce; in __crst_table_upgrade()
76 unsigned long asce_limit = mm->context.asce_limit; in crst_table_upgrade()
97 spin_lock_bh(&mm->page_table_lock); in crst_table_upgrade()
104 VM_BUG_ON(asce_limit != mm->context.asce_limit); in crst_table_upgrade()
107 __pgd = (unsigned long *) mm->pgd; in crst_table_upgrade()
109 mm->pgd = (pgd_t *) p4d; in crst_table_upgrade()
110 mm->context.asce_limit = _REGION1_SIZE; in crst_table_upgrade()
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Drotary-encoder.rst2 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Dstnic.c1 /* 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 …]
/kernel/linux/linux-6.6/Documentation/input/devices/
Drotary-encoder.rst2 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 …]
/kernel/linux/linux-6.6/include/uapi/linux/dvb/
Dosd.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
3 * osd.h - DEPRECATED On Screen Display API
18 /* All functions return -2 on "not open" */
27 * returns 0 on success, -1 on DRAM allocation error, -2 on "already open"
57 * returns 0 on success, -1 on error
64 * R,G,B, and a opacity value: 0->transparent, 1..254->mix, 255->pixel
74 * returns 0 on success, -1 on error
77 /* returns color number of pixel <x>,<y>, or -1 */
81 * returns 0 on success, -1 on clipping all pixel (no pixel drawn)
88 * returns 0 on success, -1 on clipping all pixel
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/dvb/
Dosd.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atlx/
Datlx.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/
Datlx.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_tmds_clk.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_tmds_clk.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
Dtsa.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
135 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa()
170 switch (tsa_serial->id) { in tsa_serial_connect()
184 dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id); in tsa_serial_connect()
185 return -EINVAL; in tsa_serial_connect()
188 spin_lock_irqsave(&tsa->lock, flags); in tsa_serial_connect()
189 tsa_clrsetbits32(tsa->si_regs + TSA_SICR, clear, set); in tsa_serial_connect()
190 spin_unlock_irqrestore(&tsa->lock, flags); in tsa_serial_connect()
202 switch (tsa_serial->id) { in tsa_serial_disconnect()
[all …]
/kernel/linux/linux-5.10/include/clocksource/
Dtimer-davinci.h1 /* 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.

12345678910>>...43