Home
last modified time | relevance | path

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

12345678910>>...24

/linux-6.12.1/drivers/net/ethernet/sun/
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-6.12.1/drivers/video/fbdev/
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-6.12.1/net/phonet/
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-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_nested.c27 static void kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp);
546 static void kvmhv_set_nested_ptbl(struct kvm_nested_guest *gp) in kvmhv_set_nested_ptbl() argument
551 __pa(gp->shadow_pgtable) | RADIX_PGD_INDEX_SIZE; in kvmhv_set_nested_ptbl()
552 kvmhv_set_ptbl_entry(gp->shadow_lpid, dw0, gp->process_table); in kvmhv_set_nested_ptbl()
590 struct kvm_nested_guest *gp; in kvmhv_copy_tofrom_guest_nested() local
611 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested()
612 if (!gp) { in kvmhv_copy_tofrom_guest_nested()
617 mutex_lock(&gp->tlb_lock); in kvmhv_copy_tofrom_guest_nested()
621 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested()
641 rc = __kvmhv_copy_tofrom_guest_radix(gp->shadow_lpid, pid, in kvmhv_copy_tofrom_guest_nested()
[all …]
/linux-6.12.1/arch/x86/um/shared/sysdep/
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 …]
Dptrace_64.h44 #define UPT_R8(r) REGS_R8((r)->gp)
45 #define UPT_R9(r) REGS_R9((r)->gp)
46 #define UPT_R10(r) REGS_R10((r)->gp)
47 #define UPT_R11(r) REGS_R11((r)->gp)
48 #define UPT_R12(r) REGS_R12((r)->gp)
49 #define UPT_R13(r) REGS_R13((r)->gp)
50 #define UPT_R14(r) REGS_R14((r)->gp)
51 #define UPT_R15(r) REGS_R15((r)->gp)
/linux-6.12.1/arch/x86/um/asm/
Delf.h150 (pr_reg)[0] = (_regs)->regs.gp[0]; \
151 (pr_reg)[1] = (_regs)->regs.gp[1]; \
152 (pr_reg)[2] = (_regs)->regs.gp[2]; \
153 (pr_reg)[3] = (_regs)->regs.gp[3]; \
154 (pr_reg)[4] = (_regs)->regs.gp[4]; \
155 (pr_reg)[5] = (_regs)->regs.gp[5]; \
156 (pr_reg)[6] = (_regs)->regs.gp[6]; \
157 (pr_reg)[7] = (_regs)->regs.gp[7]; \
158 (pr_reg)[8] = (_regs)->regs.gp[8]; \
159 (pr_reg)[9] = (_regs)->regs.gp[9]; \
[all …]
/linux-6.12.1/drivers/input/gameport/
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-6.12.1/arch/riscv/include/asm/
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-6.12.1/sound/pci/au88x0/
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-6.12.1/drivers/net/wireless/ti/wl12xx/
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-6.12.1/kernel/rcu/
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 request. */
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-amd8111.c158 static struct amd_gpio gp = { variable
197 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init()
203 gp.pmbase &= 0x0000FF00; in amd_gpio_init()
204 if (gp.pmbase == 0) in amd_gpio_init()
206 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init()
209 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init()
213 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
214 if (!gp.pm) { in amd_gpio_init()
219 gp.pdev = pdev; in amd_gpio_init()
220 gp.chip.parent = &pdev->dev; in amd_gpio_init()
[all …]
Dgpio-altera-a10sr.c18 * @gp: : instance of the gpio_chip
22 struct gpio_chip gp; member
91 gpio->gp = altr_a10sr_gc; in altr_a10sr_gpio_probe()
92 gpio->gp.parent = pdev->dev.parent; in altr_a10sr_gpio_probe()
93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe()
95 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in altr_a10sr_gpio_probe()
/linux-6.12.1/arch/x86/um/os-Linux/
Dmcontext.c11 #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.12.1/arch/powerpc/boot/dts/
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 …]
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 …]
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 …]
/linux-6.12.1/sound/ppc/
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-6.12.1/Documentation/hwmon/
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-6.12.1/tools/memory-model/
Dlinux-kernel.cat54 let gp = po ; [Sync-rcu | Sync-srcu] ; po?
55 let strong-fence = mb | gp
124 let rcu-gp = [Sync-rcu] (* Compare with gp *)
125 let srcu-gp = [Sync-srcu]
144 let rec rcu-order = rcu-gp | srcu-gp |
145 (rcu-gp ; rcu-link ; rcu-rscsi) |
146 ((srcu-gp ; rcu-link ; srcu-rscsi) & loc) |
147 (rcu-rscsi ; rcu-link ; rcu-gp) |
148 ((srcu-rscsi ; rcu-link ; srcu-gp) & loc) |
149 (rcu-gp ; rcu-link ; rcu-order ; rcu-link ; rcu-rscsi) |
[all …]
/linux-6.12.1/include/linux/
Dsrcutree.h33 unsigned long srcu_gp_seq_needed; /* Furthest future GP needed. */
34 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
51 unsigned long srcu_have_cbs[4]; /* GP seq for children having CBs, but only */
53 unsigned long srcu_data_have_cbs[4]; /* Which srcu_data structs have CBs for given GP? */
54 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
70 struct mutex srcu_gp_mutex; /* Serialize GP work. */
73 unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
74 unsigned long srcu_gp_start; /* Last GP start timestamp (jiffies) */
75 unsigned long srcu_last_gp_end; /* Last GP end timestamp (ns) */
78 unsigned long srcu_n_exp_nodelay; /* # expedited no-delays in current GP phase. */
[all …]
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-6.12.1/sound/mips/
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-6.12.1/tools/testing/selftests/kvm/x86_64/
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
212 * triggers a #GP on vectoring the #SS, morphs to #DF if #GP isn't intercepted
255 * #SS interception and re-enter L2 to request #GP (via injected #SS). in main()
262 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
264 * disable #GP interception and run L2 to request #DF (via #SS => #GP). in main()
271 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
280 * Inject #SS yet again. L1 is not intercepting #GP or #DF, and so in main()

12345678910>>...24