Searched refs:gp (Results 1 - 25 of 173) sorted by relevance

1234567

/linux-master/drivers/net/ethernet/sun/
H A Dsungem.c117 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) argument
127 writel(cmd, gp->regs + MIF_FRAME);
130 cmd = readl(gp->regs + MIF_FRAME);
145 struct gem *gp = netdev_priv(dev); local
146 return __sungem_phy_read(gp, mii_id, reg);
149 static inline u16 sungem_phy_read(struct gem *gp, int reg) argument
151 return __sungem_phy_read(gp, gp->mii_phy_addr, reg);
154 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) argument
165 writel(cmd, gp
178 struct gem *gp = netdev_priv(dev); local
182 sungem_phy_write(struct gem *gp, int reg, u16 val) argument
187 gem_enable_ints(struct gem *gp) argument
193 gem_disable_ints(struct gem *gp) argument
200 gem_get_cell(struct gem *gp) argument
214 gem_put_cell(struct gem *gp) argument
227 gem_netif_stop(struct gem *gp) argument
234 gem_netif_start(struct gem *gp) argument
244 gem_schedule_reset(struct gem *gp) argument
250 gem_handle_mif_event(struct gem *gp, u32 reg_val, u32 changed_bits) argument
256 gem_pcs_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
306 gem_txmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
359 gem_rxmac_reset(struct gem *gp) argument
459 gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
493 gem_mac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
514 gem_mif_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
527 gem_pci_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
578 gem_abnormal_irq(struct net_device *dev, struct gem *gp, u32 gem_status) argument
631 gem_tx(struct net_device *dev, struct gem *gp, u32 gem_status) argument
702 gem_post_rxds(struct gem *gp, int limit) argument
746 gem_rx(struct gem *gp, int work_to_do) argument
876 struct gem *gp = container_of(napi, struct gem, napi); local
927 struct gem *gp = netdev_priv(dev); local
955 struct gem *gp = netdev_priv(dev); local
965 struct gem *gp = netdev_priv(dev); local
993 struct gem *gp = netdev_priv(dev); local
1109 gem_pcs_reset(struct gem *gp) argument
1129 gem_pcs_reinit_adv(struct gem *gp) argument
1174 gem_reset(struct gem *gp) argument
1202 gem_start_dma(struct gem *gp) argument
1226 gem_stop_dma(struct gem *gp) argument
1247 gem_begin_auto_negotiation(struct gem *gp, const struct ethtool_link_ksettings *ep) argument
1338 gem_set_link_modes(struct gem *gp) argument
1449 gem_mdio_link_not_up(struct gem *gp) argument
1495 struct gem *gp = from_timer(gp, t, link_timer); local
1566 gem_clean_rings(struct gem *gp) argument
1616 gem_init_rings(struct gem *gp) argument
1665 gem_init_phy(struct gem *gp) argument
1742 gem_init_dma(struct gem *gp) argument
1779 gem_setup_multicast(struct gem *gp) argument
1811 gem_init_mac(struct gem *gp) argument
1893 gem_init_pause_thresholds(struct gem *gp) argument
1937 gem_check_invariants(struct gem *gp) argument
2053 gem_reinit_chip(struct gem *gp) argument
2073 gem_stop_phy(struct gem *gp, int wol) argument
2142 struct gem *gp = netdev_priv(dev); local
2181 struct gem *gp = netdev_priv(dev); local
2226 struct gem *gp = container_of(work, struct gem, reset_task); local
2273 struct gem *gp = netdev_priv(dev); local
2302 struct gem *gp = netdev_priv(dev); local
2320 struct gem *gp = netdev_priv(dev); local
2361 struct gem *gp = netdev_priv(dev); local
2397 struct gem *gp = netdev_priv(dev); local
2435 struct gem *gp = netdev_priv(dev); local
2459 struct gem *gp = netdev_priv(dev); local
2500 struct gem *gp = netdev_priv(dev); local
2523 struct gem *gp = netdev_priv(dev); local
2533 struct gem *gp = netdev_priv(dev); local
2598 struct gem *gp = netdev_priv(dev); local
2633 struct gem *gp = netdev_priv(dev); local
2649 struct gem *gp = netdev_priv(dev); local
2655 struct gem *gp = netdev_priv(dev); local
2667 struct gem *gp = netdev_priv(dev); local
2681 struct gem *gp = netdev_priv(dev); local
2703 struct gem *gp = netdev_priv(dev); local
2784 gem_get_device_address(struct gem *gp) argument
2815 struct gem *gp = netdev_priv(dev); local
2851 struct gem *gp; local
[all...]
/linux-master/drivers/video/fbdev/
H A Dsunxvr1000.c30 static int gfb_get_props(struct gfb_info *gp) argument
32 gp->width = of_getintprop_default(gp->of_node, "width", 0);
33 gp->height = of_getintprop_default(gp->of_node, "height", 0);
34 gp->depth = of_getintprop_default(gp->of_node, "depth", 32);
36 if (!gp->width || !gp->height) {
38 gp
69 gfb_set_fbinfo(struct gfb_info *gp) argument
117 struct gfb_info *gp; local
[all...]
/linux-master/arch/mips/include/asm/
H A Damon.h12 unsigned long gp, unsigned long a0);
H A Dsmp-cps.h17 unsigned long gp; member in struct:vpe_boot_config
/linux-master/drivers/input/gameport/
H A DMakefile9 obj-$(CONFIG_GAMEPORT_EMU10K1) += emu10k1-gp.o
10 obj-$(CONFIG_GAMEPORT_FM801) += fm801-gp.o
H A Dfm801-gp.c67 struct fm801_gp *gp; local
71 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL);
73 if (!gp || !port) {
74 printk(KERN_ERR "fm801-gp: Memory allocation failed\n");
92 gp->gameport = port;
93 gp->res_port = request_region(port->io, 0x10, "FM801 GP");
94 if (!gp->res_port) {
95 printk(KERN_DEBUG "fm801-gp: unable to grab region 0x%x-0x%x\n",
101 pci_set_drvdata(pci, gp);
112 kfree(gp);
118 struct fm801_gp *gp = pci_get_drvdata(pci); local
[all...]
/linux-master/arch/mips/include/asm/mach-ip30/
H A Dkernel-entry-init.h10 move gp, a0
/linux-master/arch/x86/um/asm/
H A 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[
[all...]
/linux-master/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)
60 unsigned long gp[MAX_REG_NR]; member in struct:uml_pt_regs
[all...]
H A 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-master/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_S
[all...]
/linux-master/net/phonet/
H A Dpep-gprs.c53 static void gprs_writeable(struct gprs_dev *gp) argument
55 struct net_device *dev = gp->dev;
57 if (pep_writeable(gp->sk))
67 struct gprs_dev *gp = sk->sk_user_data; local
70 struct net_device *dev = gp->dev;
77 static int gprs_recv(struct gprs_dev *gp, struct sk_buff *skb) argument
79 struct net_device *dev = gp->dev;
140 struct gprs_dev *gp = sk->sk_user_data; local
147 gprs_recv(gp, skb);
153 struct gprs_dev *gp local
165 struct gprs_dev *gp = netdev_priv(dev); local
179 struct gprs_dev *gp = netdev_priv(dev); local
244 struct gprs_dev *gp; local
297 struct gprs_dev *gp = sk->sk_user_data; local
[all...]
/linux-master/sound/pci/au88x0/
H A Dau88x0_game.c84 struct gameport *gp; local
86 vortex->gameport = gp = gameport_allocate_port();
87 if (!gp) {
93 gameport_set_name(gp, "AU88x0 Gameport");
94 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev));
95 gameport_set_dev_parent(gp, &vortex->pci_dev->dev);
97 gp->read = vortex_game_read;
98 gp->trigger = vortex_game_trigger;
99 gp->cooked_read = vortex_game_cooked_read;
100 gp
[all...]
/linux-master/arch/x86/um/
H A Dtls_64.c15 t->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)] = tls;
H A Dsyscalls_64.c23 current->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)] =
28 current->thread.regs.regs.gp[GS_BASE / sizeof(unsigned long)] =
33 ret = put_user(current->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)], arg2);
36 ret = put_user(current->thread.regs.regs.gp[GS_BASE / sizeof(unsigned long)], arg2);
/linux-master/arch/x86/um/os-Linux/
H A Dmcontext.c10 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y]
11 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X]
12 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff;
13 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3;
20 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y]
21 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X]
29 regs->gp[CS / sizeof(unsigned long)] &= 0xffff;
30 regs->gp[CS / sizeof(unsigned long)] |= 3;
/linux-master/arch/powerpc/kvm/
H A 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) argument
551 __pa(gp->shadow_pgtable) | RADIX_PGD_INDEX_SIZE;
552 kvmhv_set_ptbl_entry(gp->shadow_lpid, dw0, gp->process_table);
590 struct kvm_nested_guest *gp; local
611 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false);
612 if (!gp) {
617 mutex_lock(&gp->tlb_lock);
621 rc = __kvmhv_copy_tofrom_guest_radix(gp
662 kvmhv_update_ptbl_cache(struct kvm_nested_guest *gp) argument
705 __add_nested(struct kvm *kvm, int lpid, struct kvm_nested_guest *gp) argument
718 struct kvm_nested_guest *gp; local
750 kvmhv_release_nested(struct kvm_nested_guest *gp) argument
769 kvmhv_remove_nested(struct kvm_nested_guest *gp) argument
795 struct kvm_nested_guest *gp; local
823 kvmhv_flush_nested(struct kvm_nested_guest *gp) argument
839 struct kvm_nested_guest *gp, *newgp; local
879 kvmhv_put_nested(struct kvm_nested_guest *gp) argument
894 struct kvm_nested_guest *gp; local
996 struct kvm_nested_guest *gp; local
1065 kvmhv_invalidate_shadow_pte(struct kvm_vcpu *vcpu, struct kvm_nested_guest *gp, long gpa, int *shift_ret) argument
1128 struct kvm_nested_guest *gp; local
1160 kvmhv_emulate_tlbie_lpid(struct kvm_vcpu *vcpu, struct kvm_nested_guest *gp, int ric) argument
1194 struct kvm_nested_guest *gp; local
1210 struct kvm_nested_guest *gp; local
1284 struct kvm_nested_guest *gp; local
1388 kvmhv_translate_addr_nested(struct kvm_vcpu *vcpu, struct kvm_nested_guest *gp, unsigned long n_gpa, unsigned long dsisr, struct kvmppc_pte *gpte_p) argument
1450 kvmhv_handle_nested_set_rc(struct kvm_vcpu *vcpu, struct kvm_nested_guest *gp, unsigned long n_gpa, struct kvmppc_pte gpte, unsigned long dsisr) argument
1515 __kvmhv_nested_page_fault(struct kvm_vcpu *vcpu, struct kvm_nested_guest *gp) argument
1689 struct kvm_nested_guest *gp = vcpu->arch.nested; local
[all...]
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dcmd.c52 struct wl1271_ini_general_params *gp = local
61 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) {
72 memcpy(&gen_parms->general_params, gp, sizeof(*gp));
90 gp->tx_bip_fem_manufacturer =
93 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) {
101 wl->fem_manuf = gp->tx_bip_fem_manufacturer;
109 gp->tx_bip_fem_manufacturer);
119 struct wl128x_ini_general_params *gp = local
128 if (gp
188 struct wl1271_ini_general_params *gp = &nvs->general_params; local
232 struct wl128x_ini_general_params *gp = &nvs->general_params; local
[all...]
/linux-master/drivers/gpio/
H A Dgpio-amd8111.c158 static struct amd_gpio gp = { variable in typeref:struct:amd_gpio
197 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase);
201 gp.pmbase &= 0x0000FF00;
202 if (gp.pmbase == 0)
204 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET,
207 gp.pmbase + PMBASE_OFFSET);
211 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE);
212 if (!gp.pm) {
217 gp
[all...]
H A Dgpio-altera-a10sr.c18 * @gp: : instance of the gpio_chip
22 struct gpio_chip gp; member in struct:altr_a10sr_gpio
91 gpio->gp = altr_a10sr_gc;
92 gpio->gp.parent = pdev->dev.parent;
93 gpio->gp.fwnode = dev_fwnode(&pdev->dev);
95 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio);
/linux-master/arch/mips/include/asm/mips-boards/
H A Dlaunch.h13 unsigned long gp; member in struct:cpulaunch
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A DMakefile4 obj-$(CONFIG_DRM_DW_HDMI_GP_AUDIO) += dw-hdmi-gp-audio.o
/linux-master/arch/nios2/include/asm/
H A Dptrace.h42 unsigned long gp; /* Global pointer */ member in struct:pt_regs
62 unsigned long gp; member in struct:switch_stack
/linux-master/arch/alpha/include/uapi/asm/
H A Dregdef.h41 #define gp $29 /* global pointer */ macro
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcpnotify_kern.c63 struct tcpnotify_globals g, *gp; local
74 gp = bpf_map_lookup_elem(&global_map, &key);
75 if (!gp)
77 g = *gp;

Completed in 265 milliseconds

1234567