Home
last modified time | relevance | path

Searched +full:- +full:gp (Results 1 – 25 of 594) sorted by relevance

12345678910>>...24

/linux-6.14.4/drivers/net/ethernet/sun/
Dsungem.c1 // SPDX-License-Identifier: GPL-2.0
30 #include <linux/dma-mapping.h>
93 * they only support 10/100 speeds. -DaveM
96 * the BCM54xx PHYs. -BenH
117 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) in __sungem_phy_read() argument
127 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_read()
129 while (--limit) { in __sungem_phy_read()
130 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_read()
145 struct gem *gp = netdev_priv(dev); in _sungem_phy_read() local
146 return __sungem_phy_read(gp, mii_id, reg); in _sungem_phy_read()
[all …]
/linux-6.14.4/drivers/video/fbdev/
Dsunxvr1000.c1 /* sunxvr1000.c: Sun XVR-1000 fb driver for sparc64 systems
30 static int gfb_get_props(struct gfb_info *gp) in gfb_get_props() argument
32 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props()
33 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props()
34 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props()
36 if (!gp->width || !gp->height) { in gfb_get_props()
38 gp->of_node); in gfb_get_props()
39 return -EINVAL; in gfb_get_props()
57 ((u32 *)info->pseudo_palette)[regno] = value; in gfb_setcolreg()
69 static int gfb_set_fbinfo(struct gfb_info *gp) in gfb_set_fbinfo() argument
[all …]
/linux-6.14.4/net/phonet/
Dpep-gprs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * File: pep-gprs.c
9 * Author: Rémi Denis-Courmont
53 static void gprs_writeable(struct gprs_dev *gp) in gprs_writeable() argument
55 struct net_device *dev = gp->dev; in gprs_writeable()
57 if (pep_writeable(gp->sk)) in gprs_writeable()
67 struct gprs_dev *gp = sk->sk_user_data; in gprs_state_change() local
69 if (sk->sk_state == TCP_CLOSE_WAIT) { in gprs_state_change()
70 struct net_device *dev = gp->dev; in gprs_state_change()
77 static int gprs_recv(struct gprs_dev *gp, struct sk_buff *skb) in gprs_recv() argument
[all …]
/linux-6.14.4/arch/powerpc/kvm/
Dbook3s_hv_nested.c1 // SPDX-License-Identifier: GPL-2.0
7 * Description: KVM functions specific to running nested KVM-HV guests
20 #include <asm/pte-walk.h>
27 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp);
32 struct kvmppc_vcore *vc = vcpu->arch.vcore; in kvmhv_save_hv_regs()
34 hr->pcr = vc->pcr | PCR_MASK; in kvmhv_save_hv_regs()
35 hr->dpdes = vcpu->arch.doorbell_request; in kvmhv_save_hv_regs()
36 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs()
37 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs()
38 hr->dawr0 = vcpu->arch.dawr0; in kvmhv_save_hv_regs()
[all …]
/linux-6.14.4/arch/x86/um/shared/sysdep/
Dptrace.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 #define UPT_IP(r) REGS_IP((r)->gp)
27 #define UPT_SP(r) REGS_SP((r)->gp)
28 #define UPT_EFLAGS(r) REGS_EFLAGS((r)->gp)
29 #define UPT_AX(r) REGS_AX((r)->gp)
30 #define UPT_BX(r) REGS_BX((r)->gp)
31 #define UPT_CX(r) REGS_CX((r)->gp)
32 #define UPT_DX(r) REGS_DX((r)->gp)
33 #define UPT_SI(r) REGS_SI((r)->gp)
34 #define UPT_DI(r) REGS_DI((r)->gp)
[all …]
Dptrace_64.h3 * Copyright (C) 2003 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
27 /* Also defined in asm/ptrace-x86_64.h, but not in libc headers. So, these
42 #define UPT_R8(r) REGS_R8((r)->gp)
43 #define UPT_R9(r) REGS_R9((r)->gp)
44 #define UPT_R10(r) REGS_R10((r)->gp)
45 #define UPT_R11(r) REGS_R11((r)->gp)
46 #define UPT_R12(r) REGS_R12((r)->gp)
47 #define UPT_R13(r) REGS_R13((r)->gp)
48 #define UPT_R14(r) REGS_R14((r)->gp)
49 #define UPT_R15(r) REGS_R15((r)->gp)
/linux-6.14.4/arch/x86/um/asm/
Delf.h2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
32 (((x)->e_machine == EM_386) || ((x)->e_machine == EM_486))
48 /* Shamelessly stolen from include/asm-i386/elf.h */
87 * Architecture-neutral AT_ values in 0-17, leave some room
88 * for more of them, start the x86-specific ones at 32.
103 /* x86-64 relocation types, taken from asm-x86_64/elf.h */
121 #define R_X86_64_PC64 24 /* Place relative 64-bit signed */
127 ((x)->e_machine == EM_X86_64)
152 (pr_reg)[0] = (_regs)->regs.gp[0]; \
153 (pr_reg)[1] = (_regs)->regs.gp[1]; \
[all …]
/linux-6.14.4/drivers/input/gameport/
Dfm801-gp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 w = inw(gameport->io + 2); in fm801_gp_cooked_read()
35 axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read()
36 w = inw(gameport->io + 4); in fm801_gp_cooked_read()
37 axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read()
38 w = inw(gameport->io + 6); in fm801_gp_cooked_read()
40 axes[2] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read()
41 w = inw(gameport->io + 8); in fm801_gp_cooked_read()
42 axes[3] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read()
43 outw(0xff, gameport->io); /* reset */ in fm801_gp_cooked_read()
[all …]
/linux-6.14.4/arch/riscv/include/asm/
Dscs.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <asm/asm-offsets.h>
10 /* Load init_shadow_call_stack to gp. */
12 la gp, init_shadow_call_stack
13 XIP_FIXUP_OFFSET gp
16 /* Load the per-CPU IRQ shadow call stack to gp. */
18 load_per_cpu gp, irq_shadow_call_stack_ptr, \tmp
21 /* Load task_scs_sp(current) to gp. */
23 REG_L gp, TASK_TI_SCS_SP(tp)
26 /* Load task_scs_sp(current) to gp, but only if tp has changed. */
[all …]
/linux-6.14.4/sound/pci/au88x0/
Dau88x0_game.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * e-mail - mail your message to <[email protected]>, or by paper mail:
33 return hwread(vortex->mmio, VORTEX_GAME_LEGACY); in vortex_game_read()
39 hwwrite(vortex->mmio, VORTEX_GAME_LEGACY, 0xff); in vortex_game_trigger()
48 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read()
52 hwread(vortex->mmio, VORTEX_GAME_AXIS + (i * AXIS_SIZE)); in vortex_game_cooked_read()
54 axes[i] = -1; in vortex_game_cooked_read()
65 hwwrite(vortex->mmio, VORTEX_CTRL2, in vortex_game_open()
66 hwread(vortex->mmio, in vortex_game_open()
71 hwwrite(vortex->mmio, VORTEX_CTRL2, in vortex_game_open()
[all …]
/linux-6.14.4/drivers/net/wireless/ti/wl12xx/
Dcmd.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Nokia Corporation
18 struct wl12xx_priv *priv = wl->priv; in wl1271_cmd_ext_radio_parms()
19 struct wl12xx_conf_rf *rf = &priv->conf.rf; in wl1271_cmd_ext_radio_parms()
22 if (!wl->nvs) in wl1271_cmd_ext_radio_parms()
23 return -ENODEV; in wl1271_cmd_ext_radio_parms()
27 return -ENOMEM; in wl1271_cmd_ext_radio_parms()
29 ext_radio_parms->test.id = TEST_CMD_INI_FILE_RF_EXTENDED_PARAM; in wl1271_cmd_ext_radio_parms()
31 memcpy(ext_radio_parms->tx_per_channel_power_compensation_2, in wl1271_cmd_ext_radio_parms()
32 rf->tx_per_channel_power_compensation_2, in wl1271_cmd_ext_radio_parms()
[all …]
/linux-6.14.4/kernel/rcu/
Dtree.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Read-Copy Update mechanism for mutual exclusion (tree-based version)
4 * Internal non-public definitions.
39 * Definition for node within the RCU grace-period-detection hierarchy.
45 unsigned long gp_seq; /* Track rsp->gp_seq. */
46 unsigned long gp_seq_needed; /* Track furthest future GP request. */
54 unsigned long rcu_gp_init_mask; /* Mask of offline CPUs at GP init. */
56 /* Per-GP initial value for qsmask. */
57 /* Initialized from ->qsmaskinitnext at the */
61 /* to allow the current expedited GP */
[all …]
/linux-6.14.4/drivers/gpio/
Dgpio-amd8111.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012 Dmitry Eremin-Solenikov
80 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & in amd_gpio_request()
83 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_request()
92 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); in amd_gpio_free()
94 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_free()
103 spin_lock_irqsave(&agp->lock, flags); in amd_gpio_set()
104 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
106 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set()
107 spin_unlock_irqrestore(&agp->lock, flags); in amd_gpio_set()
[all …]
Dgpio-altera-a10sr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved
7 * Adapted from gpio-tps65910.c
11 #include <linux/mfd/altera-a10sr.h>
17 * struct altr_a10sr_gpio - Altera Max5 GPIO device private data structure
18 * @gp: : instance of the gpio_chip
22 struct gpio_chip gp; member
31 ret = regmap_read(gpio->regmap, ALTR_A10SR_PBDSW_REG, &val); in altr_a10sr_gpio_get()
35 return !!(val & BIT(offset - ALTR_A10SR_LED_VALID_SHIFT)); in altr_a10sr_gpio_get()
43 regmap_update_bits(gpio->regmap, ALTR_A10SR_LED_REG, in altr_a10sr_gpio_set()
[all …]
/linux-6.14.4/arch/x86/um/os-Linux/
Dmcontext.c1 // SPDX-License-Identifier: GPL-2.0
11 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc()
12 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc()
13 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc()
14 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc()
21 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc()
22 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
30 regs->gp[CS / sizeof(unsigned long)] &= 0xffff; in get_regs_from_mc()
31 regs->gp[CS / sizeof(unsigned long)] |= 3; in get_regs_from_mc()
/linux-6.14.4/arch/powerpc/boot/dts/
Debony.dts14 /dts-v1/;
17 #address-cells = <2>;
18 #size-cells = <1>;
21 dcr-parent = <&{/cpus/cpu@0}>;
31 #address-cells = <1>;
32 #size-cells = <0>;
36 model = "PowerPC,440GP";
38 clock-frequency = <0>; // Filled in by zImage
39 timebase-frequency = <0>; // Filled in by zImage
40 i-cache-line-size = <32>;
[all …]
Dsam440ep.dts16 /dts-v1/;
19 #address-cells = <2>;
20 #size-cells = <1>;
34 #address-cells = <1>;
35 #size-cells = <0>;
41 clock-frequency = <0>; /* Filled in by zImage */
42 timebase-frequency = <0>; /* Filled in by zImage */
43 i-cache-line-size = <32>;
44 d-cache-line-size = <32>;
45 i-cache-size = <32768>;
[all …]
Dbamboo.dts14 /dts-v1/;
17 #address-cells = <2>;
18 #size-cells = <1>;
21 dcr-parent = <&{/cpus/cpu@0}>;
33 #address-cells = <1>;
34 #size-cells = <0>;
40 clock-frequency = <0>; /* Filled in by zImage */
41 timebase-frequency = <0>; /* Filled in by zImage */
42 i-cache-line-size = <32>;
43 d-cache-line-size = <32>;
[all …]
/linux-6.14.4/sound/ppc/
Dtumbler.c1 // SPDX-License-Identifier: GPL-2.0-or-later
114 err = i2c_smbus_write_byte_data(i2c->client, in send_init_client()
120 } while (count--); in send_init_client()
122 return -ENXIO; in send_init_client()
145 /* normal operation, all-pass mode */ in snapper_init_client()
147 /* normal output, no deemphasis, A input, power-up, line-in */ in snapper_init_client()
158 #define do_gpio_write(gp, val) \ argument
159 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val)
160 #define do_gpio_read(gp) \ argument
161 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0)
[all …]
/linux-6.14.4/Documentation/hwmon/
Dtwl4030-madc-hwmon.rst1 Kernel driver twl4030-madc
8 Prefix: 'twl4030-madc'
12 J Keerthy <j-[email protected]>
15 -----------
18 other things it contains a 10-bit A/D converter MADC. The converter has 16
29 2 GP analog input
30 3 GP analog input
31 4 GP analog input
32 5 GP analog input
33 6 GP analog input
[all …]
/linux-6.14.4/tools/memory-model/
Dlinux-kernel.cat1 // SPDX-License-Identifier: GPL-2.0+
9 * "Frightening small children and disconcerting grown-ups: Concurrency
14 "Linux-kernel memory consistency model"
28 let acq-po = [Acquire] ; po ; [M]
29 let po-rel = [M] ; po ; [Release]
30 let po-unlock-lock-po = po ; [UL] ; (po|rf) ; [LKR] ; po
37 ([M] ; fencerel(Before-atomic) ; [RMW] ; po? ; [M]) |
38 ([M] ; po? ; [RMW] ; fencerel(After-atomic) ; [M]) |
39 ([M] ; po? ; [LKW] ; fencerel(After-spinlock) ; [M]) |
41 * Note: The po-unlock-lock-po relation only passes the lock to the direct
[all …]
/linux-6.14.4/include/linux/
Drcu_segcblist.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * This seemingly RCU-private file must be available to SRCU users
29 /* Complicated segmented callback lists. ;-) */
39 * Callbacks waiting for the current GP from the current CPU's viewpoint.
41 * Callbacks that arrived before the next GP started, again from
42 * the current CPU's viewpoint. These can be handled by the next GP.
44 * Callbacks that might have arrived after the next GP started.
45 * There is some uncertainty as to when a given GP starts and
47 * or ending the GP. Other CPUs know that the previous GP ends
53 * The ->gp_seq[] array contains the grace-period number at which the
[all …]
Dsrcutree.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Sleepable Read-Copy Update mechanism for mutual exclusion,
21 * Per-CPU structure feeding into leaf srcu_node, similar in function
25 /* Read-side state. */
31 /* Update-side state. */
34 unsigned long srcu_gp_seq_needed; /* Furthest future GP needed. */
35 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
42 /* ->srcu_data_have_cbs[]. */
52 unsigned long srcu_have_cbs[4]; /* GP seq for children having CBs, but only */
53 /* if greater than ->srcu_gp_seq. */
[all …]
/linux-6.14.4/sound/mips/
Dad1843.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org>
35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */
177 w = ad1843->read(ad1843->chip, field->reg); in ad1843_read_bits()
178 return w >> field->lo_bit & ((1 << field->nbits) - 1); in ad1843_read_bits()
191 w = ad1843->read(ad1843->chip, field->reg); in ad1843_write_bits()
192 mask = ((1 << field->nbits) - 1) << field->lo_bit; in ad1843_write_bits()
193 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits()
194 newbits = (newval << field->lo_bit) & mask; in ad1843_write_bits()
196 ad1843->write(ad1843->chip, field->reg, w); in ad1843_write_bits()
[all …]
/linux-6.14.4/tools/testing/selftests/kvm/x86/
Dnested_exceptions_test.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * the "real" exceptions used, #SS/#GP/#DF (12/13/8).
16 /* Arbitrary 32-bit error code injected by this test. */
38 * The #GP that occurs when vectoring #SS should show the index into the IDT
77 struct vmcb *vmcb = svm->vmcb; in svm_run_l2()
78 struct vmcb_control_area *ctrl = &vmcb->control; in svm_run_l2()
80 vmcb->save.rip = (u64)l2_code; in svm_run_l2()
81 run_guest(vmcb, svm->vmcb_gpa); in svm_run_l2()
86 GUEST_ASSERT_EQ(ctrl->exit_code, (SVM_EXIT_EXCP_BASE + vector)); in svm_run_l2()
87 GUEST_ASSERT_EQ(ctrl->exit_info_1, error_code); in svm_run_l2()
[all …]

12345678910>>...24