Home
last modified time | relevance | path

Searched full:gp (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/linux/drivers/net/ethernet/sun/
H A Dsungem.c117 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()
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()
149 static inline u16 sungem_phy_read(struct gem *gp, int reg) in sungem_phy_read() argument
151 return __sungem_phy_read(gp, gp->mii_phy_addr, reg); in sungem_phy_read()
154 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __sungem_phy_write() argument
165 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_write()
168 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_write()
[all …]
/linux/drivers/video/fbdev/
H A Dsunxvr1000.c30 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()
69 static int gfb_set_fbinfo(struct gfb_info *gp) in gfb_set_fbinfo() argument
71 struct fb_info *info = gp->info; in gfb_set_fbinfo()
75 info->screen_base = gp->fb_base; in gfb_set_fbinfo()
76 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
[all …]
/linux/net/phonet/
H A Dpep-gprs.c53 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
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
79 struct net_device *dev = gp->dev; in gprs_recv()
140 struct gprs_dev *gp = sk->sk_user_data; in gprs_data_ready() local
147 gprs_recv(gp, skb); in gprs_data_ready()
153 struct gprs_dev *gp = sk->sk_user_data; in gprs_write_space() local
[all …]
/linux/arch/x86/um/shared/sysdep/
H A Dptrace.h26 #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)
35 #define UPT_BP(r) REGS_BP((r)->gp)
[all …]
H A Dptrace_64.h42 #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.h152 (pr_reg)[0] = (_regs)->regs.gp[0]; \
153 (pr_reg)[1] = (_regs)->regs.gp[1]; \
154 (pr_reg)[2] = (_regs)->regs.gp[2]; \
155 (pr_reg)[3] = (_regs)->regs.gp[3]; \
156 (pr_reg)[4] = (_regs)->regs.gp[4]; \
157 (pr_reg)[5] = (_regs)->regs.gp[5]; \
158 (pr_reg)[6] = (_regs)->regs.gp[6]; \
159 (pr_reg)[7] = (_regs)->regs.gp[7]; \
160 (pr_reg)[8] = (_regs)->regs.gp[8]; \
161 (pr_reg)[9] = (_regs)->regs.gp[9]; \
[all …]
/linux/drivers/input/gameport/
H A Dfm801-gp.c67 struct fm801_gp *gp; in fm801_gp_probe() local
71 gp = kzalloc(sizeof(*gp), GFP_KERNEL); in fm801_gp_probe()
73 if (!gp || !port) { in fm801_gp_probe()
74 printk(KERN_ERR "fm801-gp: Memory allocation failed\n"); in fm801_gp_probe()
92 gp->gameport = port; in fm801_gp_probe()
93 gp->res_port = request_region(port->io, 0x10, "FM801 GP"); in fm801_gp_probe()
94 if (!gp->res_port) { in fm801_gp_probe()
95 printk(KERN_DEBUG "fm801-gp: unable to grab region 0x%x-0x%x\n", in fm801_gp_probe()
101 pci_set_drvdata(pci, gp); in fm801_gp_probe()
112 kfree(gp); in fm801_gp_probe()
[all …]
/linux/arch/riscv/include/asm/
H A Dscs.h10 /* 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. */
33 /* Save gp to task_scs_sp(current). */
35 REG_S gp, TASK_TI_SCS_SP(tp)
/linux/sound/pci/au88x0/
H A Dau88x0_game.c84 struct gameport *gp; in vortex_gameport_register() local
86 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
87 if (!gp) { in vortex_gameport_register()
93 gameport_set_name(gp, "AU88x0 Gameport"); in vortex_gameport_register()
94 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); in vortex_gameport_register()
95 gameport_set_dev_parent(gp, &vortex->pci_dev->dev); in vortex_gameport_register()
97 gp->read = vortex_game_read; in vortex_gameport_register()
98 gp->trigger = vortex_game_trigger; in vortex_gameport_register()
99 gp->cooked_read = vortex_game_cooked_read; in vortex_gameport_register()
100 gp->open = vortex_game_open; in vortex_gameport_register()
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Dcmd.c52 struct wl1271_ini_general_params *gp = in wl1271_cmd_general_parms() local
61 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms()
72 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl1271_cmd_general_parms()
90 gp->tx_bip_fem_manufacturer = in wl1271_cmd_general_parms()
93 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms()
101 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl1271_cmd_general_parms()
109 gp->tx_bip_fem_manufacturer); in wl1271_cmd_general_parms()
119 struct wl128x_ini_general_params *gp = in wl128x_cmd_general_parms() local
128 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl128x_cmd_general_parms()
139 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl128x_cmd_general_parms()
[all …]
/linux/kernel/rcu/
H A Dtree.h46 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. */
61 /* to allow the current expedited GP */
64 /* Per-GP initial values for expmask. */
66 /* beginning of each expedited GP. */
68 /* Online CPUs for next expedited GP. */
72 /* Workers performing per node expedited GP */
126 /* Place for rcu_nocb_kthread() to wait GP. */
181 unsigned long gp_seq_needed; /* Track furthest future GP reques
[all...]
/linux/arch/x86/um/os-Linux/
H A Dmcontext.c15 #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()
59 #define COPY2(X,Y) mc->gregs[REG_##Y] = regs->gp[X] in get_mc_from_regs()
60 #define COPY(X) mc->gregs[REG_##X] = regs->gp[X] in get_mc_from_regs()
61 #define COPY_SEG(X) mc->gregs[REG_##X] = regs->gp[X] & 0xffff; in get_mc_from_regs()
[all …]
/linux/arch/powerpc/boot/dts/
H A Debony.dts36 model = "PowerPC,440GP";
55 compatible = "ibm,uic-440gp", "ibm,uic";
66 compatible = "ibm,uic-440gp", "ibm,uic";
78 compatible = "ibm,cpc-440gp";
84 compatible = "ibm,plb-440gp", "ibm,plb4";
91 compatible = "ibm,sdram-440gp";
97 compatible = "ibm,sram-440gp";
103 compatible = "ibm,dma-440gp";
108 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
126 compatible = "ibm,opb-440gp", "ibm,opb";
[all …]
H A Dsam440ep.dts90 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
97 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
102 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
107 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
124 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
137 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
193 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
205 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
213 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
220 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
[all …]
H A Dbamboo.dts89 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
96 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
101 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
106 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
123 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
136 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
190 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
197 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
204 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
210 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
[all …]
H A Dyosemite.dts87 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
94 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
99 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
104 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
121 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
134 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
226 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
233 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
247 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
253 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
[all …]
H A Dwarp.dts83 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
90 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
95 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
100 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
117 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
127 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
225 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
271 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
277 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
/linux/sound/ppc/
H A Dtumbler.c158 #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)
162 #define tumbler_gpio_free(gp) /* NOP */ argument
164 static void write_audio_gpio(struct pmac_gpio *gp, int active) in write_audio_gpio() argument
166 if (! gp->addr) in write_audio_gpio()
168 active = active ? gp->active_val : gp->inactive_val; in write_audio_gpio()
169 do_gpio_write(gp, active); in write_audio_gpio()
170 DBG("(I) gpio %x write %d\n", gp->addr, active); in write_audio_gpio()
[all …]
/linux/tools/memory-model/
H A Dlinux-kernel.cat64 let gp = po ; [Sync-rcu | Sync-srcu] ; po?
65 let strong-fence = mb | gp
134 let rcu-gp = [Sync-rcu] (* Compare with gp *)
135 let srcu-gp = [Sync-srcu]
154 let rec rcu-order = rcu-gp | srcu-gp |
155 (rcu-gp ; rcu-link ; rcu-rscsi) |
156 ((srcu-gp ; rcu-link ; srcu-rscsi) & loc) |
157 (rcu-rscsi ; rcu-link ; rcu-gp) |
[all...]
/linux/Documentation/hwmon/
H A Dtwl4030-madc-hwmon.rst29 2 GP analog input
30 3 GP analog input
31 4 GP analog input
32 5 GP analog input
33 6 GP analog input
34 7 GP analog input
/linux/sound/mips/
H A Dad1843.c282 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain_max() local
285 ret = (1 << gp->lfield->nbits); in ad1843_get_gain_max()
286 if (!gp->lmute) in ad1843_get_gain_max()
299 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain() local
300 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_get_gain()
302 ad1843_read_multi(ad1843, 2, gp->lfield, &lg, gp->rfield, &rg); in ad1843_get_gain()
303 if (gp->negative) { in ad1843_get_gain()
307 if (gp->lmute) { in ad1843_get_gain()
308 ad1843_read_multi(ad1843, 2, gp->lmute, &lm, gp->rmute, &rm); in ad1843_get_gain()
325 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_set_gain() local
[all …]
/linux/include/linux/
H A Drcu_segcblist.h39 * 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
83 * | rcuc kthread, while holding nocb_lock. Waking up CB and GP kthreads. |
103 * | GP kthread woke up and acknowledged nocb_lock. |
130 * | CB/GP kthreads handle callbacks holding nocb_lock, local rcu_core() |
142 * | CB/GP kthreads handle callbacks holding nocb_lock, local rcu_core() |
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_exceptions_test.c12 * the "real" exceptions used, #SS/#GP/#DF (12/13/8).
38 * The #GP that occurs when vectoring #SS should show the index into the IDT
214 * triggers a #GP on vectoring the #SS, morphs to #DF if #GP isn't intercepted
257 * #SS interception and re-enter L2 to request #GP (via injected #SS). in main()
264 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
266 * disable #GP interception and run L2 to request #DF (via #SS => #GP). in main()
273 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
282 * Inject #SS yet again. L1 is not intercepting #GP or #DF, and so in main()
/linux/arch/sparc/kernel/
H A Dprocess_64.c229 static void __global_reg_poll(struct global_reg_snapshot *gp) in __global_reg_poll() argument
233 while (!gp->thread && ++limit < 100) { in __global_reg_poll()
261 struct global_reg_snapshot *gp; in arch_trigger_cpumask_backtrace() local
266 gp = &global_cpu_snapshot[cpu].reg; in arch_trigger_cpumask_backtrace()
268 __global_reg_poll(gp); in arch_trigger_cpumask_backtrace()
270 tp = gp->thread; in arch_trigger_cpumask_backtrace()
273 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_cpumask_backtrace()
277 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_cpumask_backtrace()
279 (void *) gp->tpc, in arch_trigger_cpumask_backtrace()
280 (void *) gp->o7, in arch_trigger_cpumask_backtrace()
[all …]
/linux/fs/xfs/
H A Dxfs_handle.c715 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents_put_listent() local
750 trace_xfs_getparents_put_listent(ip, gp, context, gpr); in xfs_getparents_put_listent()
762 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents_expand_lastrec() local
768 gpr->gpr_reclen = gp->gp_bufsize - ((void *)gpr - gpx->krecords); in xfs_getparents_expand_lastrec()
770 trace_xfs_getparents_expand_lastrec(gpx->ip, gp, &gpx->context, gpr); in xfs_getparents_expand_lastrec()
778 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents() local
785 if (gp->gp_bufsize > XFS_XATTR_LIST_MAX) in xfs_getparents()
787 if (gp->gp_bufsize < xfs_getparents_rec_sizeof(1)) in xfs_getparents()
790 if (gp->gp_iflags & ~XFS_GETPARENTS_IFLAGS_ALL) in xfs_getparents()
792 if (gp->gp_reserved) in xfs_getparents()
[all …]

12345678910>>...20