Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/net/ethernet/sun/
H A 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/drivers/video/fbdev/
H A 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/net/phonet/
H A 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/arch/x86/um/shared/sysdep/
H A 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 …]
H A 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/arch/x86/um/asm/
H A 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/drivers/input/gameport/
H A 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/arch/riscv/include/asm/
H A 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/sound/pci/au88x0/
H A Dau88x0_game.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * e-mail - mail your message to <vojtech@suse.cz>, 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/drivers/net/wireless/ti/wl12xx/
H A 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/kernel/rcu/
H A 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 reques
[all...]
/linux/arch/x86/um/os-Linux/
H A Dmcontext.c1 // SPDX-License-Identifier: GPL-2.0
15 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc()
16 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc()
17 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc()
18 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc()
29 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc()
30 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
38 regs->gp[SS / sizeof(unsigned long)] = mc->gregs[REG_CSGSFS] >> 48; in get_regs_from_mc()
49 mc->gregs[REG_EIP] = (unsigned long)target; in mc_set_rip()
51 mc->gregs[REG_RIP] = (unsigned long)target; in mc_set_rip()
[all …]
/linux/arch/powerpc/boot/dts/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dyosemite.dts12 /dts-v1/;
15 #address-cells = <2>;
16 #size-cells = <1>;
19 dcr-parent = <&{/cpus/cpu@0}>;
31 #address-cells = <1>;
32 #size-cells = <0>;
38 clock-frequency = <0>; /* Filled in by zImage */
39 timebase-frequency = <0>; /* Filled in by zImage */
40 i-cache-line-size = <32>;
41 d-cache-line-size = <32>;
[all …]
H A Dwarp.dts4 * Copyright (c) 2008-2009 PIKA Technologies
12 /dts-v1/;
15 #address-cells = <2>;
16 #size-cells = <1>;
19 dcr-parent = <&{/cpus/cpu@0}>;
27 #address-cells = <1>;
28 #size-cells = <0>;
34 clock-frequency = <0>; /* Filled in by zImage */
35 timebase-frequency = <0>; /* Filled in by zImage */
36 i-cache-line-size = <32>;
[all …]
/linux/sound/ppc/
H A 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/tools/memory-model/
H A 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-p
[all...]
/linux/Documentation/hwmon/
H A Dtwl4030-madc-hwmon.rst1 Kernel driver twl4030-madc
8 Prefix: 'twl4030-madc'
12 J Keerthy <j-keerthy@ti.com>
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/sound/mips/
H A 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/include/linux/
H A 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 …]
/linux/tools/testing/selftests/kvm/x86/
H A 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 …]
/linux/fs/xfs/
H A Dxfs_handle.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
4 * Copyright (c) 2022-2024 Oracle.
38 return sizeof(struct xfs_fid) - sizeof(handle->ha_fid.fid_len); in xfs_filehandle_fid_len()
48 memcpy(&handle->ha_fsid, mp->m_fixedfsid, sizeof(struct xfs_fsid)); in xfs_filehandle_init()
50 handle->ha_fid.fid_len = xfs_filehandle_fid_len(); in xfs_filehandle_init()
51 handle->ha_fid.fid_pad = 0; in xfs_filehandle_init()
52 handle->ha_fid.fid_gen = gen; in xfs_filehandle_init()
53 handle->ha_fid.fid_ino = ino; in xfs_filehandle_init()
63 memcpy(&handle->ha_fsid, mp->m_fixedfsid, sizeof(struct xfs_fsid)); in xfs_fshandle_init()
[all …]
/linux/arch/sparc/kernel/
H A Dprocess_64.c1 // SPDX-License-Identifier: GPL-2.0
10 * This file handles the architecture-dependent parts of process handling..
85 /* Re-enable interrupts. */ in arch_cpu_idle()
112 rw = compat_ptr((unsigned int)regs->u_regs[14]); in show_regwindow32()
136 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow()
139 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
141 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
142 if (!(regs->tstate & TSTATE_PRIV)) { in show_regwindow()
153 rwk->locals[0], rwk->locals[1], rwk->locals[2], rwk->locals[3]); in show_regwindow()
155 rwk->locals[4], rwk->locals[5], rwk->locals[6], rwk->locals[7]); in show_regwindow()
[all …]

12345678910>>...20