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

12

/drivers/net/ethernet/sun/
H A Dsungem.c119 static u16 __phy_read(struct gem *gp, int phy_addr, int reg) argument
129 writel(cmd, gp->regs + MIF_FRAME);
132 cmd = readl(gp->regs + MIF_FRAME);
147 struct gem *gp = netdev_priv(dev); local
148 return __phy_read(gp, mii_id, reg);
151 static inline u16 phy_read(struct gem *gp, int reg) argument
153 return __phy_read(gp, gp->mii_phy_addr, reg);
156 static void __phy_write(struct gem *gp, int phy_addr, int reg, u16 val) argument
167 writel(cmd, gp
180 struct gem *gp = netdev_priv(dev); local
184 phy_write(struct gem *gp, int reg, u16 val) argument
189 gem_enable_ints(struct gem *gp) argument
195 gem_disable_ints(struct gem *gp) argument
202 gem_get_cell(struct gem *gp) argument
216 gem_put_cell(struct gem *gp) argument
229 gem_netif_stop(struct gem *gp) argument
236 gem_netif_start(struct gem *gp) argument
246 gem_schedule_reset(struct gem *gp) argument
252 gem_handle_mif_event(struct gem *gp, u32 reg_val, u32 changed_bits) argument
258 gem_pcs_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
308 gem_txmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
361 gem_rxmac_reset(struct gem *gp) argument
461 gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
495 gem_mac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
516 gem_mif_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
529 gem_pci_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) argument
592 gem_abnormal_irq(struct net_device *dev, struct gem *gp, u32 gem_status) argument
645 gem_tx(struct net_device *dev, struct gem *gp, u32 gem_status) argument
715 gem_post_rxds(struct gem *gp, int limit) argument
760 gem_rx(struct gem *gp, int work_to_do) argument
886 struct gem *gp = container_of(napi, struct gem, napi); local
937 struct gem *gp = netdev_priv(dev); local
965 struct gem *gp = netdev_priv(dev); local
975 struct gem *gp = netdev_priv(dev); local
1003 struct gem *gp = netdev_priv(dev); local
1118 gem_pcs_reset(struct gem *gp) argument
1138 gem_pcs_reinit_adv(struct gem *gp) argument
1183 gem_reset(struct gem *gp) argument
1211 gem_start_dma(struct gem *gp) argument
1235 gem_stop_dma(struct gem *gp) argument
1256 gem_begin_auto_negotiation(struct gem *gp, struct ethtool_cmd *ep) argument
1341 gem_set_link_modes(struct gem *gp) argument
1452 gem_mdio_link_not_up(struct gem *gp) argument
1498 struct gem *gp = (struct gem *) data; local
1569 gem_clean_rings(struct gem *gp) argument
1619 gem_init_rings(struct gem *gp) argument
1668 gem_init_phy(struct gem *gp) argument
1745 gem_init_dma(struct gem *gp) argument
1782 gem_setup_multicast(struct gem *gp) argument
1814 gem_init_mac(struct gem *gp) argument
1896 gem_init_pause_thresholds(struct gem *gp) argument
1940 gem_check_invariants(struct gem *gp) argument
2056 gem_reinit_chip(struct gem *gp) argument
2076 gem_stop_phy(struct gem *gp, int wol) argument
2145 struct gem *gp = netdev_priv(dev); local
2198 struct gem *gp = netdev_priv(dev); local
2250 struct gem *gp = container_of(work, struct gem, reset_task); local
2317 struct gem *gp = netdev_priv(dev); local
2354 struct gem *gp = netdev_priv(dev); local
2388 struct gem *gp = netdev_priv(dev); local
2425 struct gem *gp = netdev_priv(dev); local
2450 struct gem *gp = netdev_priv(dev); local
2491 struct gem *gp = netdev_priv(dev); local
2517 struct gem *gp = netdev_priv(dev); local
2526 struct gem *gp = netdev_priv(dev); local
2585 struct gem *gp = netdev_priv(dev); local
2616 struct gem *gp = netdev_priv(dev); local
2632 struct gem *gp = netdev_priv(dev); local
2638 struct gem *gp = netdev_priv(dev); local
2650 struct gem *gp = netdev_priv(dev); local
2664 struct gem *gp = netdev_priv(dev); local
2686 struct gem *gp = netdev_priv(dev); local
2767 gem_get_device_address(struct gem *gp) argument
2795 struct gem *gp = netdev_priv(dev); local
2836 struct gem *gp; local
[all...]
H A Dsungem.h878 #define RXDCTRL_FRESH(gp) \
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)
1024 #define found_mii_phy(gp) ((gp->phy_type == phy_mii_mdio0 || gp->phy_type == phy_mii_mdio1) && \
1025 gp->phy_mii.def && gp->phy_mii.def->ops)
/drivers/video/
H A Dsunxvr1000.c28 static int __devinit gfb_get_props(struct gfb_info *gp) argument
30 gp->width = of_getintprop_default(gp->of_node, "width", 0);
31 gp->height = of_getintprop_default(gp->of_node, "height", 0);
32 gp->depth = of_getintprop_default(gp->of_node, "depth", 32);
34 if (!gp->width || !gp->height) {
36 gp
69 gfb_set_fbinfo(struct gfb_info *gp) argument
118 struct gfb_info *gp; local
177 struct gfb_info *gp = info->par; local
[all...]
/drivers/input/gameport/
H A DMakefile8 obj-$(CONFIG_GAMEPORT_EMU10K1) += emu10k1-gp.o
9 obj-$(CONFIG_GAMEPORT_FM801) += fm801-gp.o
H A Dfm801-gp.c83 struct fm801_gp *gp; local
87 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL);
89 if (!gp || !port) {
90 printk(KERN_ERR "fm801-gp: Memory allocation failed\n");
108 gp->gameport = port;
109 gp->res_port = request_region(port->io, 0x10, "FM801 GP");
110 if (!gp->res_port) {
111 printk(KERN_DEBUG "fm801-gp: unable to grab region 0x%x-0x%x\n",
117 pci_set_drvdata(pci, gp);
128 kfree(gp);
134 struct fm801_gp *gp = pci_get_drvdata(pci); local
[all...]
/drivers/macintosh/
H A Dwindfarm_pid.h30 s32 gd, gp, gr; /* PID gains */ member in struct:wf_pid_param
63 s32 gd, gp, gr; /* PID gains */ member in struct:wf_cpu_pid_param
H A Dwindfarm_pm121.c363 s32 gp, itarget; member in struct:pm121_sys_param
373 .gp = 0x002A6666,
379 .gp = 0x0010CCCC,
388 .gp = 0x002D70A3,
394 .gp = 0x002170A3,
403 .gp = 0x003BD70A,
409 .gp = 0x0030F5C2,
418 .gp = 0x001FAE14,
424 .gp = 0x001FAE14,
552 pid_param.gp
[all...]
H A Dwindfarm_pm81.c165 s32 gd, gp, gr; member in struct:wf_smu_sys_fans_param
198 .gp = 0x00200000,
210 .gp = 0x00566666,
222 .gp = 0x00233333,
300 pid_param.gp = param->gp;
439 pid_param.gp = piddata->gp;
H A Dwindfarm_pid.c69 error * (s64)st->param.gp) >> 36);
133 prop *= st->param.gp;
H A Dwindfarm_pm112.c167 pid.gp = piddata->gp;
345 .gp = 5 << 20,
395 .gp = 5 << 20,
446 .gp = 0,
H A Dwindfarm_pm91.c184 pid_param.gp = piddata->gp;
298 .gp = 0x00500000,
379 .gp = 0x00000000,
/drivers/gpio/
H A Dgpio-da9052.c51 struct gpio_chip gp; member in struct:da9052_gpio
56 return container_of(chip, struct da9052_gpio, gp);
217 gpio->gp = reference_gp;
219 gpio->gp.base = pdata->gpio_base;
221 ret = gpiochip_add(&gpio->gp);
241 ret = gpiochip_remove(&gpio->gp);
/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c96 #define usbhsg_gpriv_to_dev(gp) usbhs_priv_to_dev((gp)->mod.priv)
97 #define usbhsg_gpriv_to_priv(gp) ((gp)->mod.priv)
98 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep)
99 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i)
109 #define usbhsg_is_not_connected(gp) ((gp)
[all...]
/drivers/video/geode/
H A Dsuspend_gx.c36 memcpy(par->gp, par->gp_regs, sizeof(par->gp));
74 for (i = 0; i < ARRAY_SIZE(par->gp); i++) {
83 write_gp(par, i, par->gp[i]);
H A Dlxfb_ops.c608 memcpy(par->gp, par->gp_regs, sizeof(par->gp));
647 write_gp(par, GP_RASTER_MODE, par->gp[GP_RASTER_MODE]);
649 for (i = 0; i < ARRAY_SIZE(par->gp); i++) {
663 write_gp(par, i, par->gp[i]);
H A Dgxfb.h37 uint32_t gp[GP_REG_COUNT]; member in struct:gxfb_par
H A Dlxfb.h47 uint32_t gp[GP_REG_COUNT]; member in struct:lxfb_par
/drivers/char/agp/
H A Duninorth-agp.c153 u32 *gp; local
174 gp = (u32 *) &agp_bridge->gatt_table[pg_start];
176 if (gp[i] != scratch_value) {
179 i, gp[i]);
186 gp[i] = (page_to_phys(mem->pages[i]) >> PAGE_SHIFT) | 0x80000000UL;
188 gp[i] = cpu_to_le32((page_to_phys(mem->pages[i]) & 0xFFFFF000UL) |
202 u32 *gp; local
217 gp = (u32 *) &agp_bridge->gatt_table[pg_start];
219 gp[i] = scratch_value;
/drivers/net/wireless/wl12xx/
H A Dcmd.c116 struct wl1271_ini_general_params *gp = local
124 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) {
135 memcpy(&gen_parms->general_params, gp, sizeof(*gp));
137 if (gp->tx_bip_fem_auto_detect)
149 gp->tx_bip_fem_manufacturer =
152 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) {
159 answer ? "auto" : "manual", gp->tx_bip_fem_manufacturer);
169 struct wl128x_ini_general_params *gp = local
177 if (gp
224 struct wl1271_ini_general_params *gp = &nvs->general_params; local
266 struct wl128x_ini_general_params *gp = &nvs->general_params; local
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-std.c190 const struct std_name *ip,*gp; local
196 gp = std_groups + idx1;
200 if (!(gp->id & ip->id & id)) continue;
210 "%s-",gp->name);
/drivers/atm/
H A Didt77252.c352 u32 gp; local
354 gp = readl(SAR_REG_GP);
356 printk("RD: %s\n", gp & SAR_GP_EEDI ? "1" : "0");
358 return gp;
382 u32 gp; local
385 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO);
388 idt77252_write_gp(card, gp | rdsrtab[i]);
391 idt77252_write_gp(card, gp | SAR_GP_EECS);
398 idt77252_write_gp(card, gp | clktab[j++]);
403 idt77252_write_gp(card, gp | clkta
416 u32 gp; local
463 u32 gp; local
514 u32 gp; local
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom.c192 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & local
196 IWL_DEBUG_EEPROM(trans, "EEPROM signature=0x%08x\n", gp);
197 switch (gp) {
201 gp);
208 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp);
217 ? "OTP" : "EEPROM", gp);
666 u32 gp = iwl_read32(trans, CSR_EEPROM_GP); local
688 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp);
/drivers/input/joystick/
H A Dgrip_mp.c134 static inline int poll_until(u8 onbits, u8 offbits, int u_sec, struct gameport* gp, u8 *data) argument
138 nloops = gameport_time(gp, u_sec);
140 *data = gameport_read(gp);
/drivers/scsi/megaraid/
H A Dmega_common.h51 * @gp : general purpose field for LLDs
63 * scb provides a field 'gp', which can be used by LLD for its own purposes
71 unsigned long gp; member in struct:__anon4705
/drivers/mtd/nand/
H A Dnandsim.c858 struct grave_page *gp; local
877 gp = kzalloc(sizeof(*gp), GFP_KERNEL);
878 if (!gp) {
882 gp->page_no = page_no;
883 gp->max_reads = max_reads;
884 list_add(&gp->list, &grave_pages);
891 struct grave_page *gp; local
893 list_for_each_entry(gp, &grave_pages, list)
894 if (gp
[all...]

Completed in 1025 milliseconds

12