/drivers/net/ethernet/sun/ |
D | sungem.c | 117 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg) in __sungem_phy_read() argument 127 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_read() 130 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_read() 145 struct gem *gp = netdev_priv(dev); in _sungem_phy_read() local 146 return __sungem_phy_read(gp, mii_id, reg); in _sungem_phy_read() 149 static inline u16 sungem_phy_read(struct gem *gp, int reg) in sungem_phy_read() argument 151 return __sungem_phy_read(gp, gp->mii_phy_addr, reg); in sungem_phy_read() 154 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __sungem_phy_write() argument 165 writel(cmd, gp->regs + MIF_FRAME); in __sungem_phy_write() 168 cmd = readl(gp->regs + MIF_FRAME); in __sungem_phy_write() [all …]
|
D | sungem.h | 879 #define RXDCTRL_FRESH(gp) \ argument 880 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \ 939 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->rx_buf_sz + 28 + RX_OFFSET + 64) argument 1025 #define found_mii_phy(gp) ((gp->phy_type == phy_mii_mdio0 || gp->phy_type == phy_mii_mdio1) && \ argument 1026 gp->phy_mii.def && gp->phy_mii.def->ops)
|
/drivers/video/fbdev/ |
D | sunxvr1000.c | 29 static int gfb_get_props(struct gfb_info *gp) in gfb_get_props() argument 31 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props() 32 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props() 33 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props() 35 if (!gp->width || !gp->height) { in gfb_get_props() 37 gp->of_node); in gfb_get_props() 70 static int gfb_set_fbinfo(struct gfb_info *gp) in gfb_set_fbinfo() argument 72 struct fb_info *info = gp->info; in gfb_set_fbinfo() 77 info->screen_base = gp->fb_base; in gfb_set_fbinfo() 78 info->screen_size = gp->fb_size; in gfb_set_fbinfo() [all …]
|
/drivers/net/wireless/ti/wl12xx/ |
D | cmd.c | 52 struct wl1271_ini_general_params *gp = in wl1271_cmd_general_parms() local 61 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms() 72 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl1271_cmd_general_parms() 90 gp->tx_bip_fem_manufacturer = in wl1271_cmd_general_parms() 93 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl1271_cmd_general_parms() 101 wl->fem_manuf = gp->tx_bip_fem_manufacturer; in wl1271_cmd_general_parms() 109 gp->tx_bip_fem_manufacturer); in wl1271_cmd_general_parms() 119 struct wl128x_ini_general_params *gp = in wl128x_cmd_general_parms() local 128 if (gp->tx_bip_fem_manufacturer >= WL1271_INI_FEM_MODULE_COUNT) { in wl128x_cmd_general_parms() 139 memcpy(&gen_parms->general_params, gp, sizeof(*gp)); in wl128x_cmd_general_parms() [all …]
|
/drivers/gpio/ |
D | gpio-amd8111.c | 158 static struct amd_gpio gp = { variable 197 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init() 201 gp.pmbase &= 0x0000FF00; in amd_gpio_init() 202 if (gp.pmbase == 0) in amd_gpio_init() 204 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init() 207 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init() 211 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init() 212 if (!gp.pm) { in amd_gpio_init() 217 gp.pdev = pdev; in amd_gpio_init() 218 gp.chip.parent = &pdev->dev; in amd_gpio_init() [all …]
|
D | gpio-altera-a10sr.c | 20 struct gpio_chip gp; member 89 gpio->gp = altr_a10sr_gc; in altr_a10sr_gpio_probe() 90 gpio->gp.parent = pdev->dev.parent; in altr_a10sr_gpio_probe() 91 gpio->gp.of_node = pdev->dev.of_node; in altr_a10sr_gpio_probe() 93 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in altr_a10sr_gpio_probe()
|
D | gpio-da9055.c | 30 struct gpio_chip gp; member 144 gpio->gp = reference_gp; in da9055_gpio_probe() 146 gpio->gp.base = pdata->gpio_base; in da9055_gpio_probe() 148 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in da9055_gpio_probe()
|
D | gpio-da9052.c | 46 struct gpio_chip gp; member 207 gpio->gp = reference_gp; in da9052_gpio_probe() 209 gpio->gp.base = pdata->gpio_base; in da9052_gpio_probe() 211 return devm_gpiochip_add_data(&pdev->dev, &gpio->gp, gpio); in da9052_gpio_probe()
|
/drivers/input/gameport/ |
D | fm801-gp.c | 67 struct fm801_gp *gp; in fm801_gp_probe() local 71 gp = kzalloc(sizeof(struct fm801_gp), GFP_KERNEL); in fm801_gp_probe() 73 if (!gp || !port) { in fm801_gp_probe() 92 gp->gameport = port; in fm801_gp_probe() 93 gp->res_port = request_region(port->io, 0x10, "FM801 GP"); in fm801_gp_probe() 94 if (!gp->res_port) { in fm801_gp_probe() 101 pci_set_drvdata(pci, gp); in fm801_gp_probe() 112 kfree(gp); in fm801_gp_probe() 118 struct fm801_gp *gp = pci_get_drvdata(pci); in fm801_gp_remove() local 120 gameport_unregister_port(gp->gameport); in fm801_gp_remove() [all …]
|
D | Makefile | 9 obj-$(CONFIG_GAMEPORT_EMU10K1) += emu10k1-gp.o 10 obj-$(CONFIG_GAMEPORT_FM801) += fm801-gp.o
|
D | Kconfig | 52 module will be called emu10k1-gp. 63 module will be called fm801-gp.
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-read.c | 74 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; in iwl_eeprom_verify_signature() local 76 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp); in iwl_eeprom_verify_signature() 78 switch (gp) { in iwl_eeprom_verify_signature() 82 gp); in iwl_eeprom_verify_signature() 89 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp); in iwl_eeprom_verify_signature() 97 nvm_is_otp ? "OTP" : "EEPROM", gp); in iwl_eeprom_verify_signature() 295 u32 gp = iwl_read32(trans, CSR_EEPROM_GP); in iwl_read_eeprom() local 319 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp); in iwl_read_eeprom()
|
/drivers/macintosh/ |
D | windfarm_pm121.c | 354 s32 gp, itarget; member 364 .gp = 0x002A6666, 370 .gp = 0x0010CCCC, 379 .gp = 0x002D70A3, 385 .gp = 0x002170A3, 394 .gp = 0x003BD70A, 400 .gp = 0x0030F5C2, 409 .gp = 0x001FAE14, 415 .gp = 0x001FAE14, 543 pid_param.gp = param->gp; in pm121_create_sys_fans() [all …]
|
D | windfarm_pm81.c | 165 s32 gd, gp, gr; member 198 .gp = 0x00200000, 210 .gp = 0x00566666, 222 .gp = 0x00233333, 300 pid_param.gp = param->gp; in wf_smu_create_sys_fans() 439 pid_param.gp = piddata->gp; in wf_smu_create_cpu_fans()
|
D | windfarm_pid.h | 29 s32 gd, gp, gr; /* PID gains */ member 62 s32 gd, gp, gr; /* PID gains */ member
|
D | windfarm_pm112.c | 168 pid.gp = piddata->gp; in create_cpu_loop() 349 .gp = 5 << 20, 399 .gp = 5 << 20, 450 .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()
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 94 #define usbhsg_gpriv_to_dev(gp) usbhs_priv_to_dev((gp)->mod.priv) argument 95 #define usbhsg_gpriv_to_priv(gp) ((gp)->mod.priv) argument 96 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep) argument 97 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i) argument 107 #define usbhsg_is_not_connected(gp) ((gp)->gadget.speed == USB_SPEED_UNKNOWN) argument 110 #define usbhsg_status_init(gp) do {(gp)->status = 0; } while (0) argument 111 #define usbhsg_status_set(gp, b) (gp->status |= b) argument 112 #define usbhsg_status_clr(gp, b) (gp->status &= ~b) argument 113 #define usbhsg_status_has(gp, b) (gp->status & b) argument
|
/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 | 30 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in gx_save_regs() 68 for (i = 0; i < ARRAY_SIZE(par->gp); i++) { in gx_restore_gfx_proc() 77 write_gp(par, i, par->gp[i]); in gx_restore_gfx_proc()
|
D | lxfb_ops.c | 602 memcpy(par->gp, par->gp_regs, sizeof(par->gp)); in lx_save_regs() 641 write_gp(par, GP_RASTER_MODE, par->gp[GP_RASTER_MODE]); in lx_restore_gfx_proc() 643 for (i = 0; i < ARRAY_SIZE(par->gp); i++) { in lx_restore_gfx_proc() 657 write_gp(par, i, par->gp[i]); in lx_restore_gfx_proc()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-std.c | 176 const struct std_name *ip,*gp; in pvr2_std_id_to_str() local 182 gp = std_groups + idx1; in pvr2_std_id_to_str() 186 if (!(gp->id & ip->id & id)) continue; in pvr2_std_id_to_str() 196 "%s-",gp->name); in pvr2_std_id_to_str()
|
/drivers/soc/bcm/brcmstb/pm/ |
D | s3-mips.S | 35 sw gp, 36(t0) 118 lw gp, 36(t0)
|
/drivers/mtd/nand/raw/ |
D | nandsim.c | 935 struct grave_page *gp; in ns_parse_gravepages() local 954 gp = kzalloc(sizeof(*gp), GFP_KERNEL); in ns_parse_gravepages() 955 if (!gp) { in ns_parse_gravepages() 959 gp->page_no = page_no; in ns_parse_gravepages() 960 gp->max_reads = max_reads; in ns_parse_gravepages() 961 list_add(&gp->list, &grave_pages); in ns_parse_gravepages() 968 struct grave_page *gp; in ns_read_error() local 970 list_for_each_entry(gp, &grave_pages, list) in ns_read_error() 971 if (gp->page_no == page_no) { in ns_read_error() 972 if (gp->reads_done >= gp->max_reads) in ns_read_error() [all …]
|