/drivers/net/ethernet/sun/ |
D | sungem.c | 118 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 …]
|
D | sungem.h | 878 #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)
|
/drivers/video/fbdev/ |
D | sunxvr1000.c | 28 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 …]
|
/drivers/net/wireless/ti/wl12xx/ |
D | cmd.c | 66 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 …]
|
/drivers/input/gameport/ |
D | fm801-gp.c | 82 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 …]
|
D | Makefile | 8 obj-$(CONFIG_GAMEPORT_EMU10K1) += emu10k1-gp.o 9 obj-$(CONFIG_GAMEPORT_FM801) += fm801-gp.o
|
D | Kconfig | 50 module will be called emu10k1-gp. 61 module will be called fm801-gp.
|
/drivers/gpio/ |
D | gpio-amd8111.c | 162 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 gp.pdev = pdev; in amd_gpio_init() 217 gp.chip.dev = &pdev->dev; in amd_gpio_init() 219 spin_lock_init(&gp.lock); in amd_gpio_init() [all …]
|
D | gpio-da9055.c | 35 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()
|
D | gpio-da9052.c | 51 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()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-eeprom-read.c | 131 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()
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 97 #define usbhsg_gpriv_to_dev(gp) usbhs_priv_to_dev((gp)->mod.priv) argument 98 #define usbhsg_gpriv_to_priv(gp) ((gp)->mod.priv) argument 99 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep) argument 100 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i) argument 110 #define usbhsg_is_not_connected(gp) ((gp)->gadget.speed == USB_SPEED_UNKNOWN) argument 113 #define usbhsg_status_init(gp) do {(gp)->status = 0; } while (0) argument 114 #define usbhsg_status_set(gp, b) (gp->status |= b) argument 115 #define usbhsg_status_clr(gp, b) (gp->status &= ~b) argument 116 #define usbhsg_status_has(gp, b) (gp->status & b) argument
|
/drivers/macintosh/ |
D | windfarm_pm121.c | 364 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 …]
|
D | windfarm_pm81.c | 166 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()
|
D | windfarm_pid.h | 30 s32 gd, gp, gr; /* PID gains */ member 63 s32 gd, gp, gr; /* PID gains */ member
|
D | windfarm_pm112.c | 167 pid.gp = piddata->gp; in create_cpu_loop() 345 .gp = 5 << 20, 395 .gp = 5 << 20, 446 .gp = 0,
|
D | windfarm_pm91.c | 185 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()
|
D | windfarm_pid.c | 69 error * (s64)st->param.gp) >> 36); in wf_pid_run() 133 prop *= st->param.gp; in wf_cpu_pid_run()
|
D | windfarm_rm31.c | 326 pid.gp = mpu->pid_gp; in cpu_setup_pid() 345 .gp = 0x0004cccc, 358 .gp = 0, 445 .gp = 0,
|
/drivers/char/agp/ |
D | uninorth-agp.c | 153 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()
|
/drivers/atm/ |
D | idt77252.c | 352 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 …]
|
/drivers/video/fbdev/geode/ |
D | suspend_gx.c | 36 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()
|
D | lxfb_ops.c | 608 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()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-std.c | 190 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()
|
/drivers/mtd/nand/ |
D | nandsim.c | 949 struct grave_page *gp; in parse_gravepages() local 968 gp = kzalloc(sizeof(*gp), GFP_KERNEL); in parse_gravepages() 969 if (!gp) { in parse_gravepages() 973 gp->page_no = page_no; in parse_gravepages() 974 gp->max_reads = max_reads; in parse_gravepages() 975 list_add(&gp->list, &grave_pages); in parse_gravepages() 982 struct grave_page *gp; in read_error() local 984 list_for_each_entry(gp, &grave_pages, list) in read_error() 985 if (gp->page_no == page_no) { in read_error() 986 if (gp->reads_done >= gp->max_reads) in read_error() [all …]
|