Home
last modified time | relevance | path

Searched refs:gp (Results 1 – 196 of 196) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/sun/
Dsungem.c118 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) in __sungem_phy_read() argument
128 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_read()
131 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_read()
146 struct gem *gp = netdev_priv(dev); in _sungem_phy_read() local
147 return __sungem_phy_read(gp, mii_id, reg); in _sungem_phy_read()
150 static inline u16 sungem_phy_read(struct gem *gp, int reg) in sungem_phy_read() argument
152 return __sungem_phy_read(gp, gp->mii_phy_addr, reg); in sungem_phy_read()
155 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __sungem_phy_write() argument
166 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_write()
169 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_write()
[all …]
Dsungem.h878 #define RXDCTRL_FRESH(gp) \ argument
879 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \
938 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->rx_buf_sz + 28 + RX_OFFSET + 64) argument
1024 #define found_mii_phy(gp) ((gp->phy_type == phy_mii_mdio0 || gp->phy_type == phy_mii_mdio1) && \ argument
1025 gp->phy_mii.def && gp->phy_mii.def->ops)
/linux-4.4.14/drivers/video/fbdev/
Dsunxvr1000.c28 static int gfb_get_props(struct gfb_info *gp) in gfb_get_props() argument
30 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props()
31 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props()
32 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props()
34 if (!gp->width || !gp->height) { in gfb_get_props()
36 gp->of_node->full_name); 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()
76 info->screen_base = gp->fb_base; in gfb_set_fbinfo()
77 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
[all …]
/linux-4.4.14/net/phonet/
Dpep-gprs.c64 static void gprs_writeable(struct gprs_dev *gp) in gprs_writeable() argument
66 struct net_device *dev = gp->dev; in gprs_writeable()
68 if (pep_writeable(gp->sk)) in gprs_writeable()
78 struct gprs_dev *gp = sk->sk_user_data; in gprs_state_change() local
81 struct net_device *dev = gp->dev; in gprs_state_change()
88 static int gprs_recv(struct gprs_dev *gp, struct sk_buff *skb) in gprs_recv() argument
90 struct net_device *dev = gp->dev; in gprs_recv()
151 struct gprs_dev *gp = sk->sk_user_data; in gprs_data_ready() local
156 gprs_recv(gp, skb); in gprs_data_ready()
162 struct gprs_dev *gp = sk->sk_user_data; in gprs_write_space() local
[all …]
/linux-4.4.14/arch/x86/um/asm/
Delf.h151 (pr_reg)[0] = (_regs)->regs.gp[0]; \
152 (pr_reg)[1] = (_regs)->regs.gp[1]; \
153 (pr_reg)[2] = (_regs)->regs.gp[2]; \
154 (pr_reg)[3] = (_regs)->regs.gp[3]; \
155 (pr_reg)[4] = (_regs)->regs.gp[4]; \
156 (pr_reg)[5] = (_regs)->regs.gp[5]; \
157 (pr_reg)[6] = (_regs)->regs.gp[6]; \
158 (pr_reg)[7] = (_regs)->regs.gp[7]; \
159 (pr_reg)[8] = (_regs)->regs.gp[8]; \
160 (pr_reg)[9] = (_regs)->regs.gp[9]; \
[all …]
/linux-4.4.14/arch/x86/um/shared/sysdep/
Dptrace.h25 #define UPT_IP(r) REGS_IP((r)->gp)
26 #define UPT_SP(r) REGS_SP((r)->gp)
27 #define UPT_EFLAGS(r) REGS_EFLAGS((r)->gp)
28 #define UPT_AX(r) REGS_AX((r)->gp)
29 #define UPT_BX(r) REGS_BX((r)->gp)
30 #define UPT_CX(r) REGS_CX((r)->gp)
31 #define UPT_DX(r) REGS_DX((r)->gp)
32 #define UPT_SI(r) REGS_SI((r)->gp)
33 #define UPT_DI(r) REGS_DI((r)->gp)
34 #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-4.4.14/sound/pci/au88x0/
Dau88x0_game.c97 struct gameport *gp; in vortex_gameport_register() local
99 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
100 if (!gp) { in vortex_gameport_register()
106 gameport_set_name(gp, "AU88x0 Gameport"); in vortex_gameport_register()
107 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); in vortex_gameport_register()
108 gameport_set_dev_parent(gp, &vortex->pci_dev->dev); in vortex_gameport_register()
110 gp->read = vortex_game_read; in vortex_gameport_register()
111 gp->trigger = vortex_game_trigger; in vortex_gameport_register()
112 gp->cooked_read = vortex_game_cooked_read; in vortex_gameport_register()
113 gp->open = vortex_game_open; in vortex_gameport_register()
[all …]
/linux-4.4.14/drivers/gpio/
Dgpio-amd8111.c162 static struct amd_gpio gp = { variable
202 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init()
206 gp.pmbase &= 0x0000FF00; in amd_gpio_init()
207 if (gp.pmbase == 0) in amd_gpio_init()
209 if (!request_region(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE, "AMD GPIO")) { in amd_gpio_init()
211 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init()
215 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
216 if (!gp.pm) { in amd_gpio_init()
218 release_region(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
222 gp.pdev = pdev; in amd_gpio_init()
[all …]
Dgpio-da9055.c35 struct gpio_chip gp; member
40 return container_of(chip, struct da9055_gpio, gp); in to_da9055_gpio()
155 gpio->gp = reference_gp; in da9055_gpio_probe()
157 gpio->gp.base = pdata->gpio_base; in da9055_gpio_probe()
159 ret = gpiochip_add(&gpio->gp); in da9055_gpio_probe()
177 gpiochip_remove(&gpio->gp); in da9055_gpio_remove()
Dgpio-da9052.c51 struct gpio_chip gp; member
56 return container_of(chip, struct da9052_gpio, gp); in to_da9052_gpio()
221 gpio->gp = reference_gp; in da9052_gpio_probe()
223 gpio->gp.base = pdata->gpio_base; in da9052_gpio_probe()
225 ret = gpiochip_add(&gpio->gp); in da9052_gpio_probe()
240 gpiochip_remove(&gpio->gp); in da9052_gpio_remove()
/linux-4.4.14/drivers/input/gameport/
Dfm801-gp.c82 struct fm801_gp *gp; in fm801_gp_probe() local
86 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL); in fm801_gp_probe()
88 if (!gp || !port) { in fm801_gp_probe()
107 gp->gameport = port; in fm801_gp_probe()
108 gp->res_port = request_region(port->io, 0x10, "FM801 GP"); in fm801_gp_probe()
109 if (!gp->res_port) { in fm801_gp_probe()
116 pci_set_drvdata(pci, gp); in fm801_gp_probe()
127 kfree(gp); in fm801_gp_probe()
133 struct fm801_gp *gp = pci_get_drvdata(pci); in fm801_gp_remove() local
135 gameport_unregister_port(gp->gameport); in fm801_gp_remove()
[all …]
DMakefile8 obj-$(CONFIG_GAMEPORT_EMU10K1) += emu10k1-gp.o
9 obj-$(CONFIG_GAMEPORT_FM801) += fm801-gp.o
DKconfig50 module will be called emu10k1-gp.
61 module will be called fm801-gp.
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dcmd.c66 struct wl1271_ini_general_params *gp = in wl1271_cmd_general_parms() local
75 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms()
86 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl1271_cmd_general_parms()
104 gp->tx_bip_fem_manufacturer = in wl1271_cmd_general_parms()
107 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms()
115 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl1271_cmd_general_parms()
123 gp->tx_bip_fem_manufacturer); in wl1271_cmd_general_parms()
133 struct wl128x_ini_general_params *gp = in wl128x_cmd_general_parms() local
142 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl128x_cmd_general_parms()
153 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl128x_cmd_general_parms()
[all …]
/linux-4.4.14/arch/x86/um/os-Linux/
Dmcontext.c9 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc()
10 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc()
11 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc()
12 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc()
19 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc()
20 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
28 regs->gp[CS / sizeof(unsigned long)] &= 0xffff; in get_regs_from_mc()
29 regs->gp[CS / sizeof(unsigned long)] |= 3; in get_regs_from_mc()
/linux-4.4.14/sound/mips/
Dad1843.c296 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain_max() local
299 ret = (1 << gp->lfield->nbits); in ad1843_get_gain_max()
300 if (!gp->lmute) in ad1843_get_gain_max()
313 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_get_gain() local
314 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_get_gain()
316 ad1843_read_multi(ad1843, 2, gp->lfield, &lg, gp->rfield, &rg); in ad1843_get_gain()
317 if (gp->negative) { in ad1843_get_gain()
321 if (gp->lmute) { in ad1843_get_gain()
322 ad1843_read_multi(ad1843, 2, gp->lmute, &lm, gp->rmute, &rm); in ad1843_get_gain()
339 const struct ad1843_gain *gp = ad1843_gain[id]; in ad1843_set_gain() local
[all …]
/linux-4.4.14/sound/ppc/
Dtumbler.c172 #define do_gpio_write(gp, val) \ argument
173 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val)
174 #define do_gpio_read(gp) \ argument
175 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0)
176 #define tumbler_gpio_free(gp) /* NOP */ argument
178 static void write_audio_gpio(struct pmac_gpio *gp, int active) in write_audio_gpio() argument
180 if (! gp->addr) in write_audio_gpio()
182 active = active ? gp->active_val : gp->inactive_val; in write_audio_gpio()
183 do_gpio_write(gp, active); in write_audio_gpio()
184 DBG("(I) gpio %x write %d\n", gp->addr, active); in write_audio_gpio()
[all …]
/linux-4.4.14/arch/powerpc/boot/dts/
Debony.dts55 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";
139 compatible = "ibm,ebc-440gp", "ibm,ebc";
[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 …]
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 …]
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";
273 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
279 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
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 …]
Dep405.dts69 compatible = "ibm,sdram-405gp";
74 compatible = "ibm,mcmal-405gp", "ibm,mcmal";
88 compatible = "ibm,opb-405gp", "ibm,opb";
118 compatible = "ibm,iic-405gp", "ibm,iic";
125 compatible = "ibm,gpio-405gp";
132 compatible = "ibm,emac-405gp", "ibm,emac";
153 compatible = "ibm,ebc-405gp", "ibm,ebc";
Dwalnut.dts69 compatible = "ibm,sdram-405gp";
74 compatible = "ibm,mcmal-405gp", "ibm,mcmal";
88 compatible = "ibm,opb-405gp", "ibm,opb";
118 compatible = "ibm,iic-405gp", "ibm,iic";
125 compatible = "ibm,gpio-405gp";
131 compatible = "ibm,emac-405gp", "ibm,emac";
152 compatible = "ibm,ebc-405gp", "ibm,ebc";
Dtaishan.dts104 compatible = "ibm,cpc-440gp";
127 compatible = "ibm,sdram-440gp";
133 compatible = "ibm,sram-440gp";
139 compatible = "ibm,dma-440gp";
245 compatible = "ibm,iic-440gp", "ibm,iic";
252 compatible = "ibm,iic-440gp", "ibm,iic";
260 compatible = "ibm,gpio-440gp";
Dicon.dts114 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
131 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
153 compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
160 compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
244 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
251 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
Dkatmai.dts118 compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4";
135 compatible = "ibm,sdram-440spe", "ibm,sdram-405gp";
157 compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb";
164 compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc";
241 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
248 compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic";
Darches.dts146 compatible = "ibm,sdram-460gt", "ibm,sdram-405gp";
Deiger.dts117 compatible = "ibm,sdram-460sx", "ibm,sdram-405gp";
Dredwood.dts113 compatible = "ibm,sdram-460sx", "ibm,sdram-405gp";
Dcanyonlands.dts135 compatible = "ibm,sdram-460ex", "ibm,sdram-405gp";
Dglacier.dts128 compatible = "ibm,sdram-460gt", "ibm,sdram-405gp";
/linux-4.4.14/arch/sparc/kernel/
Dprocess_64.c232 static void __global_reg_poll(struct global_reg_snapshot *gp) in __global_reg_poll() argument
236 while (!gp->thread && ++limit < 100) { in __global_reg_poll()
264 struct global_reg_snapshot *gp; in arch_trigger_all_cpu_backtrace() local
269 gp = &global_cpu_snapshot[cpu].reg; in arch_trigger_all_cpu_backtrace()
271 __global_reg_poll(gp); in arch_trigger_all_cpu_backtrace()
273 tp = gp->thread; in arch_trigger_all_cpu_backtrace()
276 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_all_cpu_backtrace()
280 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_all_cpu_backtrace()
282 (void *) gp->tpc, in arch_trigger_all_cpu_backtrace()
283 (void *) gp->o7, in arch_trigger_all_cpu_backtrace()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-eeprom-read.c131 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() local
133 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature()
135 switch (gp) { in iwl_eeprom_verify_signature()
139 gp); in iwl_eeprom_verify_signature()
146 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp); in iwl_eeprom_verify_signature()
154 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature()
361 u32 gp = iwl_read32(trans, CSR_EEPROM_GP); in iwl_read_eeprom() local
385 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp); in iwl_read_eeprom()
/linux-4.4.14/arch/mips/kernel/
Dsmp-cmp.c83 struct thread_info *gp = task_thread_info(idle); in cmp_boot_secondary() local
93 flush_icache_range((unsigned long)gp, in cmp_boot_secondary()
94 (unsigned long)(gp + sizeof(struct thread_info))); in cmp_boot_secondary()
97 amon_cpu_start(cpu, pc, sp, (unsigned long)gp, a0); in cmp_boot_secondary()
Dsmp-mt.c197 struct thread_info *gp = task_thread_info(idle); in vsmp_boot_secondary() local
218 write_tc_gpr_gp((unsigned long)gp); in vsmp_boot_secondary()
220 flush_icache_range((unsigned long)gp, in vsmp_boot_secondary()
221 (unsigned long)(gp + sizeof(struct thread_info))); in vsmp_boot_secondary()
Dcps-vec.S205 PTR_L gp, VPEBOOTCFG_GP(v0)
428 mttgpr t1, gp
495 lw $1, TI_CPU(gp)
Dbmips_vec.S198 lw gp, 0(k0)
Dpm-cps.c85 t8, t9, k0, k1, gp, sp, fp, ra, enumerator
159 vpe_cfg->gp = (unsigned long)current_thread_info(); in cps_pm_enter_state()
Dsmp-cps.c264 vpe_cfg->gp = (unsigned long)task_thread_info(idle); in cps_boot_secondary()
Dasm-offsets.c455 OFFSET(VPEBOOTCFG_GP, vpe_boot_config, gp); in output_cps_defines()
/linux-4.4.14/arch/ia64/kernel/
Desi.c39 u64 gp; member
45 void *gp; member
122 pdesc.gp = __va(esi->gp); in ia64_esi_call()
174 pdesc.gp = (void *)esi->gp; in ia64_esi_call_phys()
Dmodule.c526 return (uint64_t) e - mod->arch.gp; in get_ltoff()
532 return value - mod->arch.gp + MAX_LTOFF/2 < MAX_LTOFF; in gp_addressable()
612 fdesc->gp = mod->arch.gp; in get_fdesc()
632 case RV_GPREL: val -= mod->arch.gp; break; in do_reloc()
716 val -= mod->arch.gp; in do_reloc()
807 if (!mod->arch.gp) { in apply_relocate_add()
812 uint64_t gp; in apply_relocate_add() local
818 gp = mod->core_size - MAX_LTOFF / 2; in apply_relocate_add()
820 gp = mod->core_size / 2; in apply_relocate_add()
821 gp = (uint64_t) mod->module_core + ((gp + 7) & -8); in apply_relocate_add()
[all …]
Dmachine_kexec.c90 u64 fp, gp; in ia64_machine_kexec() local
101 gp = ia64_tpa(ia64_getreg(_IA64_REG_GP)); in ia64_machine_kexec()
102 ia64_sal_set_vectors(SAL_VECTOR_OS_INIT, fp, gp, 0, fp, gp, 0); in ia64_machine_kexec()
Desi_stub.S69 mov loc2=gp // save global pointer
73 ld8 gp=[in0] // load ESI function's global pointer
94 mov gp=loc2
Defi_stub.S52 mov loc2=gp // save global pointer
56 ld8 gp=[in0] // load EFI function's global pointer
84 mov gp=loc2
Dunwind_i.h51 unsigned long gp; /* global pointer for this load-module */ member
Dsmpboot.c778 unsigned long gp; in init_smp_config() member
785 ia64_tpa(ap_startup->fp), ia64_tpa(ap_startup->gp), 0, 0, 0, 0); in init_smp_config()
Dentry.S588 mov loc2=gp
593 ld8 gp = [r4] // fn.gp
596 .ret12: mov gp=loc2
1331 mov loc2=gp // save gp across indirect function call
1333 ld8 gp=[in0]
1336 1: mov gp=loc2 // restore gp
1368 movl gp=__gp
Dsal.c126 ia64_sal_handler_init(__va(ep->sal_proc), __va(ep->gp)); in sal_desc_entry_point()
Dgate.S140 ld8 gp=[r17] // get signal handler's global pointer
Dunwind.c2082 unsigned long gp, const void *table_start, const void *table_end) in init_unwind_table() argument
2088 table->gp = gp; in init_unwind_table()
2096 unw_add_unwind_table (const char *name, unsigned long segment_base, unsigned long gp, in unw_add_unwind_table() argument
2113 init_unwind_table(table, name, segment_base, gp, table_start, table_end); in unw_add_unwind_table()
Dmca_drv.c547 pmsa->pmsa_gr[1-1] = mca_hdlr_bh->gp; in recover_from_read_error()
Dmca.c2014 ia64_tpa(mca_hldlr_ptr->gp), in ia64_mca_init()
2024 ia64_mc_info.imi_mca_handler, ia64_tpa(mca_hldlr_ptr->gp)); in ia64_mca_init()
Dhead.S286 movl gp=__gp
410 .ret2: addl r3=@ltoff(halt_msg),gp
Dkprobes.c1074 regs->r1 = ((struct fnptr *)(jp->entry))->gp; in setjmp_pre_handler()
/linux-4.4.14/arch/alpha/kernel/
Dmodule.c153 unsigned long got, gp; in apply_relocate_add() local
163 gp = (u64)me->module_core + me->core_size - 0x8000; in apply_relocate_add()
190 value -= gp; in apply_relocate_add()
197 lo = hi - gp; in apply_relocate_add()
206 value = gp - (u64)location; in apply_relocate_add()
249 value = (long)(value - gp + 0x8000) >> 16; in apply_relocate_add()
255 value -= gp; in apply_relocate_add()
259 value -= gp; in apply_relocate_add()
Dcore_wildfire.c185 wildfire_gp *gp; in wildfire_hardware_probe() local
226 gp = WILDFIRE_gp(soft_qbb); in wildfire_hardware_probe()
229 temp |= gp->gpa_qbb_map[i].csr << (i * 8); in wildfire_hardware_probe()
232 i, gp, temp); in wildfire_hardware_probe()
601 wildfire_gp *gp = WILDFIRE_gp(qbbno); in wildfire_dump_gp_regs() local
604 printk(KERN_ERR "GP registers for QBB %d (%p)\n", qbbno, gp); in wildfire_dump_gp_regs()
607 i, gp->gpa_qbb_map[i].csr); in wildfire_dump_gp_regs()
610 gp->gpa_mem_pop_map.csr); in wildfire_dump_gp_regs()
611 printk(KERN_ERR " GPA_SCRATCH: 0x%16lx\n", gp->gpa_scratch.csr); in wildfire_dump_gp_regs()
612 printk(KERN_ERR " GPA_DIAG: 0x%16lx\n", gp->gpa_diag.csr); in wildfire_dump_gp_regs()
[all …]
Dentry.S30 .cfi_rel_offset $gp, 16
288 stq $gp, 232($sp)
346 ldq $gp, 232($sp)
451 .cfi_rel_offset $gp, 16
476 ldgp $gp, 0($26)
596 ldgp $gp, 0($26)
Dtraps.c93 printk("gp = %016lx sp = %p\n", regs->gp, regs+1); in dik_show_regs()
447 unsigned long ps, pc, gp, a0, a1, a2; member
678 printk("gp = %016lx sp = %p\n", regs->gp, regs+1); in do_entUna()
768 R(r27), R(r28), R(gp),
Dprocess.c326 dest[29] = pt->gp; in dump_elf_thread()
Dsignal.c186 err |= __get_user(regs->gp, sc->sc_regs+29); in restore_sigcontext()
321 err |= __put_user(regs->gp , sc->sc_regs+29); in setup_sigcontext()
Dptrace.c89 PT_REG( r28), PT_REG( gp), -1, -1,
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpfunc_base.c97 struct device_node *gparent, *gp; in macio_gpio_init_one() local
117 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) { in macio_gpio_init_one()
118 const u32 *reg = of_get_property(gp, "reg", NULL); in macio_gpio_init_one()
129 pmf_register_driver(gp, &macio_gpio_handlers, (void *)offset); in macio_gpio_init_one()
136 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) in macio_gpio_init_one()
137 pmf_do_functions(gp, NULL, 0, PMF_FLAGS_ON_INIT, NULL); in macio_gpio_init_one()
/linux-4.4.14/drivers/macintosh/
Dwindfarm_pm121.c364 s32 gp, itarget; member
374 .gp = 0x002A6666,
380 .gp = 0x0010CCCC,
389 .gp = 0x002D70A3,
395 .gp = 0x002170A3,
404 .gp = 0x003BD70A,
410 .gp = 0x0030F5C2,
419 .gp = 0x001FAE14,
425 .gp = 0x001FAE14,
553 pid_param.gp = param->gp; in pm121_create_sys_fans()
[all …]
Dwindfarm_pm81.c166 s32 gd, gp, gr; member
199 .gp = 0x00200000,
211 .gp = 0x00566666,
223 .gp = 0x00233333,
301 pid_param.gp = param->gp; in wf_smu_create_sys_fans()
440 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
Dwindfarm_pid.h30 s32 gd, gp, gr; /* PID gains */ member
63 s32 gd, gp, gr; /* PID gains */ member
Dwindfarm_pm112.c167 pid.gp = piddata->gp; in create_cpu_loop()
345 .gp = 5 << 20,
395 .gp = 5 << 20,
446 .gp = 0,
Dwindfarm_pm91.c185 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
296 .gp = 0x00500000, in wf_smu_create_drive_fans()
377 .gp = 0x00000000, in wf_smu_create_slots_fans()
Dwindfarm_pid.c69 error * (s64)st->param.gp) >> 36); in wf_pid_run()
133 prop *= st->param.gp; in wf_cpu_pid_run()
Dwindfarm_rm31.c326 pid.gp = mpu->pid_gp; in cpu_setup_pid()
345 .gp = 0x0004cccc,
358 .gp = 0,
445 .gp = 0,
Dwindfarm_pm72.c425 pid.gp = mpu->pid_gp; in cpu_setup_pid()
444 .gp = 5 << 20,
456 .gp = 5 << 20,
536 .gp = 5 << 20,
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci.c85 struct gameport *gp; in snd_ymfpci_create_gameport() local
132 chip->gameport = gp = gameport_allocate_port(); in snd_ymfpci_create_gameport()
133 if (!gp) { in snd_ymfpci_create_gameport()
141 gameport_set_name(gp, "Yamaha YMF Gameport"); in snd_ymfpci_create_gameport()
142 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_ymfpci_create_gameport()
143 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_ymfpci_create_gameport()
144 gp->io = io_port; in snd_ymfpci_create_gameport()
145 gameport_set_port_data(gp, r); in snd_ymfpci_create_gameport()
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-amon.c43 unsigned long gp, unsigned long a0) in amon_cpu_start() argument
59 launch->gp = gp; in amon_cpu_start()
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dmod_gadget.c101 #define usbhsg_gpriv_to_dev(gp) usbhs_priv_to_dev((gp)->mod.priv) argument
102 #define usbhsg_gpriv_to_priv(gp) ((gp)->mod.priv) argument
103 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep) argument
104 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i) argument
114 #define usbhsg_is_not_connected(gp) ((gp)->gadget.speed == USB_SPEED_UNKNOWN) argument
117 #define usbhsg_status_init(gp) do {(gp)->status = 0; } while (0) argument
118 #define usbhsg_status_set(gp, b) (gp->status |= b) argument
119 #define usbhsg_status_clr(gp, b) (gp->status &= ~b) argument
120 #define usbhsg_status_has(gp, b) (gp->status & b) argument
/linux-4.4.14/arch/ia64/hp/common/
Daml_nfw.c41 void *gp; member
52 u64 gp; member
70 virt_entry.gp = virt_map(c->gp); in aml_nfw_execute()
/linux-4.4.14/arch/parisc/kernel/
Dunwind.c95 unsigned long base_addr, unsigned long gp, in unwind_table_init() argument
104 table->gp = gp; in unwind_table_init()
138 unsigned long gp, in unwind_table_add() argument
151 unwind_table_init(table, name, base_addr, gp, start, end); in unwind_table_add()
174 register unsigned long gp __asm__ ("r27"); in unwind_init()
186 gp, in unwind_init()
Dmodule.c430 fdesc->gp = (Elf_Addr)me->module_core + me->arch.got_offset; in get_fdesc()
835 unsigned long gp; in register_unwind_table() local
842 gp = (Elf_Addr)me->module_core + me->arch.got_offset; in register_unwind_table()
845 me->arch.unwind_section, table, end, gp); in register_unwind_table()
846 me->arch.unwind = unwind_table_add(me->name, 0, gp, table, end); in register_unwind_table()
871 entry->gp, entry->addr); in module_finalize()
Dsignal.c331 regs->gr[19] = fdesc.gp; in setup_rt_frame()
344 regs->gr[19] = fdesc.gp; in setup_rt_frame()
/linux-4.4.14/arch/hexagon/kernel/
Dptrace.c88 ONEXT(&regs->gp, gp); in genregs_get()
137 INEXT(&regs->gp, gp); in genregs_set()
Dsignal.c63 err |= __put_user(regs->gp, &sc->sc_regs.gp); in setup_sigcontext()
93 err |= __get_user(regs->gp, &sc->sc_regs.gp); in restore_sigcontext()
Dvm_events.c46 regs->gp, regs->ugp, regs->usr); in show_regs()
Dvm_entry.S56 R30 = gp ; } \
169 gp = R30; }
Dkgdb.c73 { " gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, gp)},
/linux-4.4.14/arch/arc/include/asm/
Dentry-arcv2.h17 ; Now manually save: r12, sp, fp, gp, r25 variable
36 PUSH gp
64 POP gp
115 ; Now do what ISR prologue does (manually save r12, sp, fp, gp, r25)
Dentry-compact.h181 PUSH gp
218 POP gp
255 PUSH gp
287 POP gp
/linux-4.4.14/drivers/char/agp/
Duninorth-agp.c153 u32 *gp; in uninorth_insert_memory() local
174 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; in uninorth_insert_memory()
176 if (gp[i] != scratch_value) { in uninorth_insert_memory()
179 i, gp[i]); in uninorth_insert_memory()
186 gp[i] = (page_to_phys(mem->pages[i]) >> PAGE_SHIFT) | 0x80000000UL; in uninorth_insert_memory()
188 gp[i] = cpu_to_le32((page_to_phys(mem->pages[i]) & 0xFFFFF000UL) | in uninorth_insert_memory()
202 u32 *gp; in uninorth_remove_memory() local
217 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; in uninorth_remove_memory()
219 gp[i] = scratch_value; in uninorth_remove_memory()
/linux-4.4.14/drivers/lightnvm/
Drrpc.c57 struct rrpc_addr *gp = &rrpc->trans_map[i]; in rrpc_invalidate_range() local
59 rrpc_page_invalidate(rrpc, gp); in rrpc_invalidate_range()
60 gp->rblk = NULL; in rrpc_invalidate_range()
512 struct rrpc_addr *gp; in rrpc_update_map() local
517 gp = &rrpc->trans_map[laddr]; in rrpc_update_map()
519 if (gp->rblk) in rrpc_update_map()
520 rrpc_page_invalidate(rrpc, gp); in rrpc_update_map()
522 gp->addr = paddr; in rrpc_update_map()
523 gp->rblk = rblk; in rrpc_update_map()
525 rev = &rrpc->rev_trans_map[gp->addr - rrpc->poffset]; in rrpc_update_map()
[all …]
/linux-4.4.14/arch/um/os-Linux/
Dregisters.c18 err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp); in save_registers()
28 err = ptrace(PTRACE_SETREGS, pid, 0, regs->gp); in restore_registers()
/linux-4.4.14/arch/arm/mach-imx/
Diomux-imx31.c161 void mxc_iomux_set_gpr(enum iomux_gp_func gp, bool en) in mxc_iomux_set_gpr() argument
168 l |= gp; in mxc_iomux_set_gpr()
170 l &= ~gp; in mxc_iomux_set_gpr()
/linux-4.4.14/arch/nios2/include/asm/
Dentry.h58 stw gp, PT_GP(sp)
82 ldw gp, PT_GP(sp)
100 stw gp, SW_GP(sp)
114 ldw gp, SW_GP(sp)
Dptrace.h42 unsigned long gp; /* Global pointer */ member
62 unsigned long gp; member
Delf.h70 pr_reg[19] = regs->gp; \
85 pr_reg[32] = sw->gp; \
/linux-4.4.14/sound/isa/
Dcmi8328.c382 struct gameport *gp = cmi->gameport = gameport_allocate_port(); in snd_cmi8328_probe() local
386 gameport_set_name(gp, "CMI8328 Gameport"); in snd_cmi8328_probe()
387 gameport_set_phys(gp, "%s/gameport0", dev_name(pdev)); in snd_cmi8328_probe()
388 gameport_set_dev_parent(gp, pdev); in snd_cmi8328_probe()
389 gp->io = 0x200; in snd_cmi8328_probe()
390 gameport_set_port_data(gp, res); in snd_cmi8328_probe()
394 gameport_register_port(gp); in snd_cmi8328_probe()
/linux-4.4.14/include/sound/
Dcore.h397 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument
398 #define gameport_set_port_data(gp,r) ((gp)->port_data = (r)) argument
399 #define gameport_get_port_data(gp) (gp)->port_data argument
/linux-4.4.14/arch/mips/include/asm/
Dregdef.h55 #define gp $28 /* global pointer */ macro
98 #define gp $28 /* global pointer - caller saved for PIC */ macro
Dpmon.h41 #define pmon_cpustart(n, f, sp, gp) debug_vectors->_s.cpustart(n, f, sp, gp) argument
Damon.h12 unsigned long gp, unsigned long a0);
Dsmp-cps.h19 unsigned long gp; member
/linux-4.4.14/arch/parisc/include/asm/
Dunwind.h46 unsigned long gp; member
66 unsigned long gp, void *start, void *end);
Delf.h160 __u32 gp; member
168 __u64 gp; member
Dasmregs.h41 gp: .reg r27
Dassembly.h87 gp = 27
/linux-4.4.14/drivers/video/fbdev/geode/
Dsuspend_gx.c36 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in gx_save_regs()
74 for (i = 0; i < ARRAY_SIZE(par->gp); i++) { in gx_restore_gfx_proc()
83 write_gp(par, i, par->gp[i]); in gx_restore_gfx_proc()
Dlxfb_ops.c608 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in lx_save_regs()
647 write_gp(par, GP_RASTER_MODE, par->gp[GP_RASTER_MODE]); in lx_restore_gfx_proc()
649 for (i = 0; i < ARRAY_SIZE(par->gp); i++) { in lx_restore_gfx_proc()
663 write_gp(par, i, par->gp[i]); in lx_restore_gfx_proc()
Dgxfb.h37 uint32_t gp[GP_REG_COUNT]; member
Dlxfb.h47 uint32_t gp[GP_REG_COUNT]; member
/linux-4.4.14/net/802/
Dgarp.c212 struct garp_pdu_hdr *gp; in garp_pdu_init() local
224 gp = (struct garp_pdu_hdr *)__skb_put(skb, sizeof(*gp)); in garp_pdu_init()
225 put_unaligned(htons(GARP_PROTOCOL_ID), &gp->protocol); in garp_pdu_init()
507 const struct garp_pdu_hdr *gp; in garp_pdu_rcv() local
516 if (!pskb_may_pull(skb, sizeof(*gp))) in garp_pdu_rcv()
518 gp = (struct garp_pdu_hdr *)skb->data; in garp_pdu_rcv()
519 if (get_unaligned(&gp->protocol) != htons(GARP_PROTOCOL_ID)) in garp_pdu_rcv()
521 skb_pull(skb, sizeof(*gp)); in garp_pdu_rcv()
/linux-4.4.14/drivers/atm/
Didt77252.c352 u32 gp; in idt77252_read_gp() local
354 gp = readl(SAR_REG_GP); in idt77252_read_gp()
356 printk("RD: %s\n", gp & SAR_GP_EEDI ? "1" : "0"); in idt77252_read_gp()
358 return gp; in idt77252_read_gp()
382 u32 gp; in idt77252_eeprom_read_status() local
385 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO); in idt77252_eeprom_read_status()
388 idt77252_write_gp(card, gp | rdsrtab[i]); in idt77252_eeprom_read_status()
391 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_status()
398 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_status()
403 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_status()
[all …]
/linux-4.4.14/Documentation/RCU/
Drcu_dereference.txt73 p = rcu_dereference(gp)
92 p = rcu_dereference(gp)
109 p = rcu_dereference(gp);
117 p = rcu_dereference(gp);
333 static struct foo *gp = &variable1;
338 rcu_assign_pointer(gp, &variable2);
340 * The above is the only store to gp in this translation unit,
341 * and the address of gp is not exported in any way.
349 p = gp;
357 Because the compiler can see all stores to "gp", it knows that the only
[all …]
/linux-4.4.14/arch/mips/power/
Dhibernate_asm.S20 PTR_S gp, PT_R28(t0)
50 PTR_L gp, PT_R28(t0)
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c190 const struct std_name *ip,*gp; in pvr2_std_id_to_str() local
196 gp = std_groups + idx1; in pvr2_std_id_to_str()
200 if (!(gp->id & ip->id & id)) continue; in pvr2_std_id_to_str()
210 "%s-",gp->name); in pvr2_std_id_to_str()
/linux-4.4.14/arch/x86/um/
Dptrace_64.c103 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg()
110 child->thread.regs.regs.gp[reg_offsets[regno >> 3]] = value; in putreg()
174 return mask & child->thread.regs.regs.gp[reg_offsets[regno >> 3]]; in getreg()
Dptrace_32.c109 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg()
117 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg()
170 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg()
Dtls_64.c15 t->thread.arch.fs = t->thread.regs.regs.gp[R8 / sizeof(long)]; in arch_copy_tls()
Dsignal.c166 #define GETREG(regno, regname) regs->regs.gp[HOST_##regno] = sc.regname in copy_sc_from_user()
255 #define PUTREG(regno, regname) sc.regname = regs->regs.gp[HOST_##regno] in copy_sc_to_user()
/linux-4.4.14/arch/nios2/kernel/
Dasm-offsets.c61 OFFSET(PT_GP, pt_regs, gp); in main()
76 OFFSET(SW_GP, switch_stack, gp); in main()
Dptrace.c50 REG_O_ONE(&regs->gp, PTR_GP); in genregs_get()
96 REG_IN_ONE(&regs->gp, PTR_GP); in genregs_set()
Dinsnemu.S50 ldw gp, PT_GP(sp)
155 stw gp, 104(sp)
583 ldw gp, 104(sp)
Dsignal.c78 err |= __get_user(sw->gp, &gregs[25]); /* Verify, should this be in rt_restore_ucontext()
159 err |= __put_user(sw->gp, &gregs[25]); in rt_setup_ucontext()
Dkgdb.c59 { "gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, gp) },
Dprocess.c89 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs()
/linux-4.4.14/sound/pci/
Dals4000.c775 struct gameport *gp; in snd_als4000_create_gameport() local
798 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport()
799 if (!gp) { in snd_als4000_create_gameport()
805 gameport_set_name(gp, "ALS4000 Gameport"); in snd_als4000_create_gameport()
806 gameport_set_phys(gp, "pci%s/gameport0", pci_name(acard->pci)); in snd_als4000_create_gameport()
807 gameport_set_dev_parent(gp, &acard->pci->dev); in snd_als4000_create_gameport()
808 gp->io = io_port; in snd_als4000_create_gameport()
809 gameport_set_port_data(gp, r); in snd_als4000_create_gameport()
Dcs4281.c1263 struct gameport *gp; in snd_cs4281_create_gameport() local
1265 chip->gameport = gp = gameport_allocate_port(); in snd_cs4281_create_gameport()
1266 if (!gp) { in snd_cs4281_create_gameport()
1272 gameport_set_name(gp, "CS4281 Gameport"); in snd_cs4281_create_gameport()
1273 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_cs4281_create_gameport()
1274 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_cs4281_create_gameport()
1275 gp->open = snd_cs4281_gameport_open; in snd_cs4281_create_gameport()
1276 gp->read = snd_cs4281_gameport_read; in snd_cs4281_create_gameport()
1277 gp->trigger = snd_cs4281_gameport_trigger; in snd_cs4281_create_gameport()
1278 gp->cooked_read = snd_cs4281_gameport_cooked_read; in snd_cs4281_create_gameport()
[all …]
Dazt3328.c1825 struct gameport *gp; in snd_azf3328_gameport() local
1827 chip->gameport = gp = gameport_allocate_port(); in snd_azf3328_gameport()
1828 if (!gp) { in snd_azf3328_gameport()
1833 gameport_set_name(gp, "AZF3328 Gameport"); in snd_azf3328_gameport()
1834 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_azf3328_gameport()
1835 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_azf3328_gameport()
1836 gp->io = chip->game_io; in snd_azf3328_gameport()
1837 gameport_set_port_data(gp, chip); in snd_azf3328_gameport()
1839 gp->open = snd_azf3328_gameport_open; in snd_azf3328_gameport()
1840 gp->close = snd_azf3328_gameport_close; in snd_azf3328_gameport()
[all …]
Dsonicvibes.c1190 struct gameport *gp; in snd_sonicvibes_create_gameport() local
1192 sonic->gameport = gp = gameport_allocate_port(); in snd_sonicvibes_create_gameport()
1193 if (!gp) { in snd_sonicvibes_create_gameport()
1199 gameport_set_name(gp, "SonicVibes Gameport"); in snd_sonicvibes_create_gameport()
1200 gameport_set_phys(gp, "pci%s/gameport0", pci_name(sonic->pci)); in snd_sonicvibes_create_gameport()
1201 gameport_set_dev_parent(gp, &sonic->pci->dev); in snd_sonicvibes_create_gameport()
1202 gp->io = sonic->game_port; in snd_sonicvibes_create_gameport()
1204 gameport_register_port(gp); in snd_sonicvibes_create_gameport()
Des1938.c1513 struct gameport *gp; in snd_es1938_create_gameport() local
1515 chip->gameport = gp = gameport_allocate_port(); in snd_es1938_create_gameport()
1516 if (!gp) { in snd_es1938_create_gameport()
1522 gameport_set_name(gp, "ES1938"); in snd_es1938_create_gameport()
1523 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_es1938_create_gameport()
1524 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_es1938_create_gameport()
1525 gp->io = chip->game_port; in snd_es1938_create_gameport()
1527 gameport_register_port(gp); in snd_es1938_create_gameport()
Des1968.c2453 struct gameport *gp; in snd_es1968_create_gameport() local
2464 chip->gameport = gp = gameport_allocate_port(); in snd_es1968_create_gameport()
2465 if (!gp) { in snd_es1968_create_gameport()
2475 gameport_set_name(gp, "ES1968 Gameport"); in snd_es1968_create_gameport()
2476 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_es1968_create_gameport()
2477 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_es1968_create_gameport()
2478 gp->io = JOYSTICK_ADDR; in snd_es1968_create_gameport()
2479 gameport_set_port_data(gp, r); in snd_es1968_create_gameport()
2481 gameport_register_port(gp); in snd_es1968_create_gameport()
Dvia82xx.c1935 struct gameport *gp; in snd_via686_create_gameport() local
1948 chip->gameport = gp = gameport_allocate_port(); in snd_via686_create_gameport()
1949 if (!gp) { in snd_via686_create_gameport()
1956 gameport_set_name(gp, "VIA686 Gameport"); in snd_via686_create_gameport()
1957 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_via686_create_gameport()
1958 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_via686_create_gameport()
1959 gp->io = JOYSTICK_ADDR; in snd_via686_create_gameport()
1960 gameport_set_port_data(gp, r); in snd_via686_create_gameport()
Dens1370.c1809 struct gameport *gp; in snd_ensoniq_create_gameport() local
1839 ensoniq->gameport = gp = gameport_allocate_port(); in snd_ensoniq_create_gameport()
1840 if (!gp) { in snd_ensoniq_create_gameport()
1847 gameport_set_name(gp, "ES137x"); in snd_ensoniq_create_gameport()
1848 gameport_set_phys(gp, "pci%s/gameport0", pci_name(ensoniq->pci)); in snd_ensoniq_create_gameport()
1849 gameport_set_dev_parent(gp, &ensoniq->pci->dev); in snd_ensoniq_create_gameport()
1850 gp->io = io_port; in snd_ensoniq_create_gameport()
Dcmipci.c2867 struct gameport *gp; in snd_cmipci_create_gameport() local
2891 cm->gameport = gp = gameport_allocate_port(); in snd_cmipci_create_gameport()
2892 if (!gp) { in snd_cmipci_create_gameport()
2897 gameport_set_name(gp, "C-Media Gameport"); in snd_cmipci_create_gameport()
2898 gameport_set_phys(gp, "pci%s/gameport0", pci_name(cm->pci)); in snd_cmipci_create_gameport()
2899 gameport_set_dev_parent(gp, &cm->pci->dev); in snd_cmipci_create_gameport()
2900 gp->io = io_port; in snd_cmipci_create_gameport()
2901 gameport_set_port_data(gp, r); in snd_cmipci_create_gameport()
/linux-4.4.14/arch/ia64/include/asm/
Dtypes.h27 unsigned long gp; member
Dmca_asm.h129 DATA_VA_TO_PA(gp); \
203 movl gp = __gp \
Dmodule.h21 unsigned long gp; /* global-pointer for module */ member
Dmca.h28 unsigned long gp; member
Delf.h231 uint64_t gp; member
Dunwind.h107 extern void *unw_add_unwind_table (const char *name, unsigned long segment_base, unsigned long gp,
Dsal.h171 u64 gp; member
/linux-4.4.14/arch/mips/fw/lib/
Dcall_o32.S52 REG_S gp,O32_FRAMESZ-3*SZREG(sp)
102 REG_L gp,O32_FRAMESZ-3*SZREG(sp)
/linux-4.4.14/arch/mips/include/asm/mips-boards/
Dlaunch.h9 unsigned long gp; member
/linux-4.4.14/arch/um/os-Linux/skas/
Dprocess.c177 UPT_SYSCALL_NR(regs) = PT_SYSCALL_NR(regs->gp); in get_syscall()
335 if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) in userspace()
361 if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) { in userspace()
417 PT_SYSCALL_NR(regs->gp) = -1; in userspace()
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dregdef.h40 #define gp $29 /* global pointer */ macro
Dptrace.h47 unsigned long gp; member
/linux-4.4.14/arch/hexagon/include/asm/
Delf.h159 DEST.gp = REGS->gp; \
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-smp.c196 unsigned long gp = (unsigned long)task_thread_info(idle); in ip27_boot_secondary() local
201 0, (void *) sp, (void *) gp); in ip27_boot_secondary()
/linux-4.4.14/arch/arc/include/uapi/asm/
Dptrace.h38 unsigned long status32, ret, blink, fp, gp; member
/linux-4.4.14/arch/hexagon/include/uapi/asm/
Duser.h53 unsigned long gp; member
Dregisters.h59 unsigned long gp; member
/linux-4.4.14/arch/ia64/
DMakefile26 KBUILD_AFLAGS_KERNEL := -mconstant-gp
31 KBUILD_CFLAGS_KERNEL := -mconstant-gp
/linux-4.4.14/arch/um/kernel/
Dexec.c35 get_safe_registers(current_pt_regs()->regs.gp, in flush_thread()
Dprocess.c171 REGS_SP(p->thread.regs.regs.gp) = sp; in copy_thread()
177 get_safe_registers(p->thread.regs.regs.gp, p->thread.regs.regs.fp); in copy_thread()
/linux-4.4.14/arch/mips/include/asm/mach-paravirt/
Dkernel-entry-init.h47 PTR_L gp, 0(t1)
/linux-4.4.14/drivers/mtd/nand/
Dnandsim.c951 struct grave_page *gp; in parse_gravepages() local
970 gp = kzalloc(sizeof(*gp), GFP_KERNEL); in parse_gravepages()
971 if (!gp) { in parse_gravepages()
975 gp->page_no = page_no; in parse_gravepages()
976 gp->max_reads = max_reads; in parse_gravepages()
977 list_add(&gp->list, &grave_pages); in parse_gravepages()
984 struct grave_page *gp; in read_error() local
986 list_for_each_entry(gp, &grave_pages, list) in read_error()
987 if (gp->page_no == page_no) { in read_error()
988 if (gp->reads_done >= gp->max_reads) in read_error()
[all …]
/linux-4.4.14/arch/frv/kernel/
Dvmlinux.lds.S107 PROVIDE (gp = _gp); symbol
/linux-4.4.14/Documentation/sound/alsa/
DJoystick.txt68 emu10k1 emu10k1-gp
69 fm801 fm801-gp
/linux-4.4.14/arch/mips/include/asm/fw/cfe/
Dcfe_api.h98 int cfe_cpu_start(int cpu, void (*fn) (void), long sp, long gp, long a1);
/linux-4.4.14/drivers/input/joystick/
Dgrip_mp.c133 static inline int poll_until(u8 onbits, u8 offbits, int u_sec, struct gameport* gp, u8 *data) in poll_until() argument
137 nloops = gameport_time(gp, u_sec); in poll_until()
139 *data = gameport_read(gp); in poll_until()
/linux-4.4.14/arch/mips/netlogic/common/
Dsmpboot.S86 PTR_L gp, 0(t1)
/linux-4.4.14/arch/arc/kernel/
Dsignal.c80 uregs.scratch.gp = regs->r26; in stash_usr_regs()
125 regs->r26 = uregs.scratch.gp; in restore_usr_regs()
Dptrace.c58 REG_O_ONE(scratch.gp, &ptregs->r26); in genregs_get()
148 REG_IN_ONE(scratch.gp, &ptregs->r26); in genregs_set()
/linux-4.4.14/arch/alpha/include/asm/
Da.out-core.h72 dump->regs[EF_GP] = pt->gp; in aout_dump_thread()
/linux-4.4.14/drivers/scsi/megaraid/
Dmega_common.h71 unsigned long gp; member
Dmegaraid_mbox.c1081 scb->gp = 0; in megaraid_alloc_cmd_packets()
2281 kioc = (uioc_t *)scb->gp; in megaraid_mbox_dpc()
2613 kioc = (uioc_t *)scb->gp; in megaraid_reset_handler()
3512 scb->gp = 0; in megaraid_cmm_register()
3666 scb->gp = (unsigned long)kioc; in megaraid_mbox_mm_command()
3760 kioc = (uioc_t *)scb->gp; in megaraid_mbox_mm_done()
/linux-4.4.14/arch/arc/
DMakefile67 cflags-$(disable_small_data) += -mno-sdata -fcall-used-gp
/linux-4.4.14/Documentation/devicetree/bindings/arm/omap/
Domap.txt38 compatible = "ti,gp"
149 compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43"
/linux-4.4.14/arch/alpha/lib/
Dcallback_srm.S17 ldq $0,hwrpb # gp is set up by CALLBACK macro.
/linux-4.4.14/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt107 "clk-st231-gp-1",
/linux-4.4.14/arch/powerpc/include/asm/
Dsmu.h632 __s32 gp,gr,gd; member
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c2780 struct gameport *gp; in snd_cs46xx_gameport() local
2782 chip->gameport = gp = gameport_allocate_port(); in snd_cs46xx_gameport()
2783 if (!gp) { in snd_cs46xx_gameport()
2789 gameport_set_name(gp, "CS46xx Gameport"); in snd_cs46xx_gameport()
2790 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_cs46xx_gameport()
2791 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_cs46xx_gameport()
2792 gameport_set_port_data(gp, chip); in snd_cs46xx_gameport()
2794 gp->open = snd_cs46xx_gameport_open; in snd_cs46xx_gameport()
2795 gp->read = snd_cs46xx_gameport_read; in snd_cs46xx_gameport()
2796 gp->trigger = snd_cs46xx_gameport_trigger; in snd_cs46xx_gameport()
[all …]
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c3183 struct gameport *gp; in snd_trident_create_gameport() local
3185 chip->gameport = gp = gameport_allocate_port(); in snd_trident_create_gameport()
3186 if (!gp) { in snd_trident_create_gameport()
3192 gameport_set_name(gp, "Trident 4DWave"); in snd_trident_create_gameport()
3193 gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); in snd_trident_create_gameport()
3194 gameport_set_dev_parent(gp, &chip->pci->dev); in snd_trident_create_gameport()
3196 gameport_set_port_data(gp, chip); in snd_trident_create_gameport()
3197 gp->fuzz = 64; in snd_trident_create_gameport()
3198 gp->read = snd_trident_gameport_read; in snd_trident_create_gameport()
3199 gp->trigger = snd_trident_gameport_trigger; in snd_trident_create_gameport()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Demac.txt17 405gp, Axon) and second is either "ibm,emac" or
89 compatible = "ibm,emac-440gp", "ibm,emac";
/linux-4.4.14/arch/mips/fw/cfe/
Dcfe_api.c81 int cfe_cpu_start(int cpu, void (*fn) (void), long sp, long gp, long a1) in cfe_cpu_start() argument
92 xiocb.plist.xiocb_cpuctl.gp_val = gp; in cfe_cpu_start()
/linux-4.4.14/arch/ia64/hp/sim/boot/
Dboot_head.S25 movl gp = __gp
Dfw-emu.c328 sal_ed->gp = __pa(sal_desc[1]); in sys_fw_init()
/linux-4.4.14/arch/arm/boot/dts/
Dk2l-netcp.dtsi67 gp-0 {
Dk2e-netcp.dtsi67 gp-0 {
Dk2hk-netcp.dtsi80 gp-0 {
Dstih415-clock.dtsi222 "clk-m-st231-gp-0";
234 clock-output-names = "clk-m-st231-gp-1",
Darmada-xp-gp.dts65 …compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370…
Dstih407-clock.dtsi185 "clk-st231-gp-1",
DMakefile483 am437x-gp-evm.dtb
752 armada-388-gp.dtb \
759 armada-xp-gp.dtb \
Dstih410-clock.dtsi188 "clk-st231-gp-1",
Dstih418-clock.dtsi188 "clk-st231-gp-1",
Dstih416-clock.dtsi224 "clk-m-st231-gp-0";
236 clock-output-names = "clk-m-st231-gp-1",
Darmada-388-gp.dts48 compatible = "marvell,a385-gp", "marvell,armada388", "marvell,armada380";
Dam437x-gp-evm.dts20 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
/linux-4.4.14/arch/mips/kvm/
Dlocore.S129 LONG_S gp, VCPU_HOST_GP(k1)
397 LONG_L gp, VCPU_HOST_GP(k1)
/linux-4.4.14/block/
Dgenhd.c1151 struct gendisk *gp = v; in diskstats_show() local
1165 disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0); in diskstats_show()
1173 disk_name(gp, hd->partno, buf), in diskstats_show()
/linux-4.4.14/fs/
Dbinfmt_aout.c331 regs->gp = ex.a_gpvalue; in load_aout_binary()
/linux-4.4.14/arch/ia64/sn/kernel/
Dsetup.c183 __va(ep->gp)); in early_sn_setup()
/linux-4.4.14/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-qmss.txt173 gp-0 {
/linux-4.4.14/include/linux/
Dgenhd.h433 extern void del_gendisk(struct gendisk *gp);
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommon.c673 u32 gp = _il_rd(il, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in il_eeprom_verify_signature() local
676 D_EEPROM("EEPROM signature=0x%08x\n", gp); in il_eeprom_verify_signature()
677 switch (gp) { in il_eeprom_verify_signature()
682 IL_ERR("bad EEPROM signature," "EEPROM_GP=0x%08x\n", gp); in il_eeprom_verify_signature()
717 u32 gp = _il_rd(il, CSR_EEPROM_GP); in il_eeprom_init() local
736 IL_ERR("EEPROM not found, EEPROM_GP=0x%08x\n", gp); in il_eeprom_init()
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db251 API-rcu-expedite-gp
252 API-rcu-unexpedite-gp
/linux-4.4.14/Documentation/input/
Djoystick.txt406 emu10k1-gp.c module for it instead of the normal ns558.c one.