Home
last modified time | relevance | path

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

123456

/linux-2.6.39/drivers/net/
Dsungem.c141 static u16 __phy_read(struct gem *gp, int phy_addr, int reg) in __phy_read() argument
151 writel(cmd, gp->regs + MIF_FRAME); in __phy_read()
154 cmd = readl(gp->regs + MIF_FRAME); in __phy_read()
169 struct gem *gp = netdev_priv(dev); in _phy_read() local
170 return __phy_read(gp, mii_id, reg); in _phy_read()
173 static inline u16 phy_read(struct gem *gp, int reg) in phy_read() argument
175 return __phy_read(gp, gp->mii_phy_addr, reg); in phy_read()
178 static void __phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __phy_write() argument
189 writel(cmd, gp->regs + MIF_FRAME); in __phy_write()
192 cmd = readl(gp->regs + MIF_FRAME); in __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
1033 #define found_mii_phy(gp) ((gp->phy_type == phy_mii_mdio0 || gp->phy_type == phy_mii_mdio1) && \ argument
1034 gp->phy_mii.def && gp->phy_mii.def->ops)
/linux-2.6.39/drivers/video/
Dsunxvr1000.c28 static int __devinit 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 __devinit 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-2.6.39/arch/um/sys-x86_64/asm/
Delf.h70 (pr_reg)[0] = (_regs)->regs.gp[0]; \
71 (pr_reg)[1] = (_regs)->regs.gp[1]; \
72 (pr_reg)[2] = (_regs)->regs.gp[2]; \
73 (pr_reg)[3] = (_regs)->regs.gp[3]; \
74 (pr_reg)[4] = (_regs)->regs.gp[4]; \
75 (pr_reg)[5] = (_regs)->regs.gp[5]; \
76 (pr_reg)[6] = (_regs)->regs.gp[6]; \
77 (pr_reg)[7] = (_regs)->regs.gp[7]; \
78 (pr_reg)[8] = (_regs)->regs.gp[8]; \
79 (pr_reg)[9] = (_regs)->regs.gp[9]; \
[all …]
/linux-2.6.39/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-2.6.39/sound/pci/au88x0/
Dau88x0_game.c96 struct gameport *gp; in vortex_gameport_register() local
98 vortex->gameport = gp = gameport_allocate_port(); in vortex_gameport_register()
99 if (!gp) { in vortex_gameport_register()
104 gameport_set_name(gp, "AU88x0 Gameport"); in vortex_gameport_register()
105 gameport_set_phys(gp, "pci%s/gameport0", pci_name(vortex->pci_dev)); in vortex_gameport_register()
106 gameport_set_dev_parent(gp, &vortex->pci_dev->dev); in vortex_gameport_register()
108 gp->read = vortex_game_read; in vortex_gameport_register()
109 gp->trigger = vortex_game_trigger; in vortex_gameport_register()
110 gp->cooked_read = vortex_game_cooked_read; in vortex_gameport_register()
111 gp->open = vortex_game_open; in vortex_gameport_register()
[all …]
/linux-2.6.39/arch/um/sys-x86_64/shared/sysdep/
Dptrace.h87 unsigned long gp[MAX_REG_NR]; member
95 #define UPT_RBX(r) REGS_RBX((r)->gp)
96 #define UPT_RCX(r) REGS_RCX((r)->gp)
97 #define UPT_RDX(r) REGS_RDX((r)->gp)
98 #define UPT_RSI(r) REGS_RSI((r)->gp)
99 #define UPT_RDI(r) REGS_RDI((r)->gp)
100 #define UPT_RBP(r) REGS_RBP((r)->gp)
101 #define UPT_RAX(r) REGS_RAX((r)->gp)
102 #define UPT_R8(r) REGS_R8((r)->gp)
103 #define UPT_R9(r) REGS_R9((r)->gp)
[all …]
/linux-2.6.39/drivers/input/gameport/
Dfm801-gp.c83 struct fm801_gp *gp; in fm801_gp_probe() local
87 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL); in fm801_gp_probe()
89 if (!gp || !port) { in fm801_gp_probe()
108 gp->gameport = port; in fm801_gp_probe()
109 gp->res_port = request_region(port->io, 0x10, "FM801 GP"); in fm801_gp_probe()
110 if (!gp->res_port) { in fm801_gp_probe()
117 pci_set_drvdata(pci, gp); in fm801_gp_probe()
128 kfree(gp); in fm801_gp_probe()
134 struct fm801_gp *gp = pci_get_drvdata(pci); in fm801_gp_remove() local
136 gameport_unregister_port(gp->gameport); in fm801_gp_remove()
[all …]
/linux-2.6.39/arch/um/sys-i386/shared/sysdep/
Dptrace.h55 unsigned long gp[MAX_REG_NR]; member
63 #define UPT_IP(r) REGS_IP((r)->gp)
64 #define UPT_SP(r) REGS_SP((r)->gp)
65 #define UPT_EFLAGS(r) REGS_EFLAGS((r)->gp)
66 #define UPT_EAX(r) REGS_EAX((r)->gp)
67 #define UPT_EBX(r) REGS_EBX((r)->gp)
68 #define UPT_ECX(r) REGS_ECX((r)->gp)
69 #define UPT_EDX(r) REGS_EDX((r)->gp)
70 #define UPT_ESI(r) REGS_ESI((r)->gp)
71 #define UPT_EDI(r) REGS_EDI((r)->gp)
[all …]
/linux-2.6.39/arch/um/sys-i386/
Dsignal.c17 REGS_GS(regs->gp) = sc->gs; in copy_sc()
18 REGS_FS(regs->gp) = sc->fs; in copy_sc()
19 REGS_ES(regs->gp) = sc->es; in copy_sc()
20 REGS_DS(regs->gp) = sc->ds; in copy_sc()
21 REGS_EDI(regs->gp) = sc->di; in copy_sc()
22 REGS_ESI(regs->gp) = sc->si; in copy_sc()
23 REGS_EBP(regs->gp) = sc->bp; in copy_sc()
24 REGS_SP(regs->gp) = sc->sp; in copy_sc()
25 REGS_EBX(regs->gp) = sc->bx; in copy_sc()
26 REGS_EDX(regs->gp) = sc->dx; in copy_sc()
[all …]
/linux-2.6.39/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-2.6.39/sound/ppc/
Dtumbler.c171 #define do_gpio_write(gp, val) \ argument
172 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val)
173 #define do_gpio_read(gp) \ argument
174 pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, (gp)->addr, 0)
175 #define tumbler_gpio_free(gp) /* NOP */ argument
177 static void write_audio_gpio(struct pmac_gpio *gp, int active) in write_audio_gpio() argument
179 if (! gp->addr) in write_audio_gpio()
181 active = active ? gp->active_val : gp->inactive_val; in write_audio_gpio()
182 do_gpio_write(gp, active); in write_audio_gpio()
183 DBG("(I) gpio %x write %d\n", gp->addr, active); in write_audio_gpio()
[all …]
/linux-2.6.39/arch/mips/kernel/
Dprocess.c191 void elf_dump_regs(elf_greg_t *gp, struct pt_regs *regs) in elf_dump_regs() argument
196 gp[i] = 0; in elf_dump_regs()
197 gp[EF_R0] = 0; in elf_dump_regs()
199 gp[EF_R0 + i] = regs->regs[i]; in elf_dump_regs()
200 gp[EF_R26] = 0; in elf_dump_regs()
201 gp[EF_R27] = 0; in elf_dump_regs()
202 gp[EF_LO] = regs->lo; in elf_dump_regs()
203 gp[EF_HI] = regs->hi; in elf_dump_regs()
204 gp[EF_CP0_EPC] = regs->cp0_epc; in elf_dump_regs()
205 gp[EF_CP0_BADVADDR] = regs->cp0_badvaddr; in elf_dump_regs()
[all …]
/linux-2.6.39/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 …]
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";
190 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
197 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
211 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
217 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
[all …]
Dhcu4.dts74 compatible = "ibm,sdram-405gp";
79 compatible = "ibm,mcmal-405gp", "ibm,mcmal";
89 compatible = "ibm,opb-405gp", "ibm,opb";
108 compatible = "ibm,iic-405gp", "ibm,iic";
115 compatible = "ibm,gpio-405gp";
121 compatible = "ibm,emac-405gp", "ibm,emac";
139 compatible = "ibm,ebc-405gp", "ibm,ebc";
/linux-2.6.39/arch/sparc/kernel/
Dprocess_64.c245 static void __global_reg_poll(struct global_reg_snapshot *gp) in __global_reg_poll() argument
249 while (!gp->thread && ++limit < 100) { in __global_reg_poll()
276 struct global_reg_snapshot *gp = &global_reg_snapshot[cpu]; in arch_trigger_all_cpu_backtrace() local
278 __global_reg_poll(gp); in arch_trigger_all_cpu_backtrace()
280 tp = gp->thread; in arch_trigger_all_cpu_backtrace()
283 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_all_cpu_backtrace()
287 if (gp->tstate & TSTATE_PRIV) { in arch_trigger_all_cpu_backtrace()
289 (void *) gp->tpc, in arch_trigger_all_cpu_backtrace()
290 (void *) gp->o7, in arch_trigger_all_cpu_backtrace()
291 (void *) gp->i7, in arch_trigger_all_cpu_backtrace()
[all …]
/linux-2.6.39/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()
/linux-2.6.39/arch/powerpc/platforms/powermac/
Dpfunc_base.c96 struct device_node *gparent, *gp; in macio_gpio_init_one() local
116 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) { in macio_gpio_init_one()
117 const u32 *reg = of_get_property(gp, "reg", NULL); in macio_gpio_init_one()
128 pmf_register_driver(gp, &macio_gpio_handlers, (void *)offset); in macio_gpio_init_one()
135 for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) in macio_gpio_init_one()
136 pmf_do_functions(gp, NULL, 0, PMF_FLAGS_ON_INIT, NULL); in macio_gpio_init_one()
/linux-2.6.39/Documentation/sound/oss/
Dvwsnd252 int get_gain_dB(int fd, const gain_desc_t *gp,
257 int mask = (1 << gp->nbits) - 1;
259 if (ioctl(fd, MIXER_READ(gp->chan), &word) != 0)
265 *left = gp->min_gain + gp->gain_step * lg;
266 *right = gp->min_gain + gp->gain_step * rg;
272 int set_gain_dB(int fd, const gain_desc_t *gp, float left, float right)
275 gp->min_gain + (1 << gp->nbits) * gp->gain_step;
276 float round = gp->gain_step / 2;
277 int mask = (1 << gp->nbits) - 1;
281 if (left < gp->min_gain || right < gp->min_gain)
[all …]
/linux-2.6.39/arch/alpha/kernel/
Dmodule.c175 unsigned long got, gp; in apply_relocate_add() local
185 gp = (u64)me->module_core + me->core_size - 0x8000; in apply_relocate_add()
212 value -= gp; in apply_relocate_add()
219 lo = hi - gp; in apply_relocate_add()
228 value = gp - (u64)location; in apply_relocate_add()
271 value = (long)(value - gp + 0x8000) >> 16; in apply_relocate_add()
277 value -= gp; in apply_relocate_add()
281 value -= gp; in apply_relocate_add()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-amon.c53 unsigned long gp, unsigned long a0) in amon_cpu_start() argument
69 launch->gp = gp; in amon_cpu_start()
/linux-2.6.39/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 …]

123456