/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 131 static void get_initial_mode(struct intelfb_info *dinfo); 132 static void update_dinfo(struct intelfb_info *dinfo, 164 static int intelfb_set_fbinfo(struct intelfb_info *dinfo); 413 static void cleanup(struct intelfb_info *dinfo) in cleanup() argument 417 if (!dinfo) in cleanup() 420 intelfbhw_disable_irq(dinfo); in cleanup() 422 fb_dealloc_cmap(&dinfo->info->cmap); in cleanup() 423 kfree(dinfo->info->pixmap.addr); in cleanup() 425 if (dinfo->registered) in cleanup() 426 unregister_framebuffer(dinfo->info); in cleanup() [all …]
|
D | intelfb_i2c.c | 57 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_setscl() local 68 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_setsda() local 79 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_getscl() local 91 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_getsda() local 100 static int intelfb_setup_i2c_bus(struct intelfb_info *dinfo, in intelfb_setup_i2c_bus() argument 107 chan->dinfo = dinfo; in intelfb_setup_i2c_bus() 114 chan->adapter.dev.parent = &chan->dinfo->pdev->dev; in intelfb_setup_i2c_bus() 138 void intelfb_create_i2c_busses(struct intelfb_info *dinfo) in intelfb_create_i2c_busses() argument 143 dinfo->num_outputs = 1; in intelfb_create_i2c_busses() 144 dinfo->output[i].type = INTELFB_OUTPUT_ANALOG; in intelfb_create_i2c_busses() [all …]
|
D | intelfbhw.c | 67 int intelfbhw_get_chipset(struct pci_dev *pdev, struct intelfb_info *dinfo) in intelfbhw_get_chipset() argument 70 if (!pdev || !dinfo) in intelfbhw_get_chipset() 75 dinfo->name = "Intel(R) 830M"; in intelfbhw_get_chipset() 76 dinfo->chipset = INTEL_830M; in intelfbhw_get_chipset() 77 dinfo->mobile = 1; in intelfbhw_get_chipset() 78 dinfo->pll_index = PLLS_I8xx; in intelfbhw_get_chipset() 81 dinfo->name = "Intel(R) 845G"; in intelfbhw_get_chipset() 82 dinfo->chipset = INTEL_845G; in intelfbhw_get_chipset() 83 dinfo->mobile = 0; in intelfbhw_get_chipset() 84 dinfo->pll_index = PLLS_I8xx; in intelfbhw_get_chipset() [all …]
|
D | intelfbhw.h | 523 #define INREG8(addr) readb((u8 __iomem *)(dinfo->mmio_base + (addr))) 524 #define INREG16(addr) readw((u16 __iomem *)(dinfo->mmio_base + (addr))) 525 #define INREG(addr) readl((u32 __iomem *)(dinfo->mmio_base + (addr))) 526 #define OUTREG8(addr, val) writeb((val),(u8 __iomem *)(dinfo->mmio_base + \ 528 #define OUTREG16(addr, val) writew((val),(u16 __iomem *)(dinfo->mmio_base + \ 530 #define OUTREG(addr, val) writel((val),(u32 __iomem *)(dinfo->mmio_base + \ 535 writel((n), (u32 __iomem *)(dinfo->ring.virtual + dinfo->ring_tail));\ 536 dinfo->ring_tail += 4; \ 537 dinfo->ring_tail &= dinfo->ring_tail_mask; \ 541 if (dinfo->ring_space < (n) * 4) \ [all …]
|
D | intelfb.h | 249 struct intelfb_info *dinfo; member 365 #define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G) || \ argument 366 ((dinfo)->chipset == INTEL_915GM) || \ 367 ((dinfo)->chipset == INTEL_945G) || \ 368 ((dinfo)->chipset == INTEL_945GM) || \ 369 ((dinfo)->chipset == INTEL_945GME) || \ 370 ((dinfo)->chipset == INTEL_965G) || \ 371 ((dinfo)->chipset == INTEL_965GM)) 378 extern void intelfb_create_i2c_busses(struct intelfb_info *dinfo); 379 extern void intelfb_delete_i2c_busses(struct intelfb_info *dinfo);
|
/drivers/video/fbdev/ |
D | ps3fb.c | 110 struct gpu_driver_info *dinfo; member 914 struct display_head *head = &ps3fb.dinfo->display_head[1]; in ps3fb_vsync_interrupt() 974 struct gpu_driver_info *dinfo; in ps3fb_probe() local 1050 dinfo = (void __force *)ioremap(lpar_driver_info, 128 * 1024); in ps3fb_probe() 1051 if (!dinfo) { in ps3fb_probe() 1057 ps3fb.dinfo = dinfo; in ps3fb_probe() 1058 dev_dbg(&dev->core, "version_driver:%x\n", dinfo->version_driver); in ps3fb_probe() 1059 dev_dbg(&dev->core, "irq outlet:%x\n", dinfo->irq.irq_outlet); in ps3fb_probe() 1061 "core_freq: %d mem_freq:%d\n", dinfo->version_gpu, in ps3fb_probe() 1062 dinfo->memory_size, dinfo->hardware_channel, in ps3fb_probe() [all …]
|
/drivers/md/ |
D | md-autodetect.c | 212 struct mdu_disk_info_s dinfo = { in md_setup_drive() local 218 dinfo.number = i; in md_setup_drive() 219 dinfo.raid_disk = i; in md_setup_drive() 220 dinfo.state = in md_setup_drive() 224 md_add_new_disk(mddev, &dinfo); in md_setup_drive()
|
/drivers/hid/usbhid/ |
D | hiddev.c | 602 struct hiddev_devinfo dinfo; in hiddev_ioctl() local 643 memset(&dinfo, 0, sizeof(dinfo)); in hiddev_ioctl() 645 dinfo.bustype = BUS_USB; in hiddev_ioctl() 646 dinfo.busnum = dev->bus->busnum; in hiddev_ioctl() 647 dinfo.devnum = dev->devnum; in hiddev_ioctl() 648 dinfo.ifnum = usbhid->ifnum; in hiddev_ioctl() 649 dinfo.vendor = le16_to_cpu(dev->descriptor.idVendor); in hiddev_ioctl() 650 dinfo.product = le16_to_cpu(dev->descriptor.idProduct); in hiddev_ioctl() 651 dinfo.version = le16_to_cpu(dev->descriptor.bcdDevice); in hiddev_ioctl() 652 dinfo.num_applications = hid->maxapplication; in hiddev_ioctl() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_edif.h | 101 struct dinfo { struct 125 struct dinfo dinfo; member
|
D | qla_edif.c | 1646 node->dinfo.nodecnt); in qla_enode_stop() 1718 __func__, ptr->ntype, ptr->dinfo.nodecnt); in qla_enode_add()
|
/drivers/edac/ |
D | i7300_edac.c | 587 struct i7300_dimm_info *dinfo, in decode_mtr() argument 618 dinfo->megabytes = 1 << addrBits; in decode_mtr() 638 edac_dbg(2, "\t\tSIZE: %d MB\n", dinfo->megabytes); in decode_mtr() 649 dimm->nr_pages = MiB_TO_PAGES(dinfo->megabytes); in decode_mtr() 685 struct i7300_dimm_info *dinfo; in print_dimm_size() local 718 dinfo = &pvt->dimm_info[slot][channel]; in print_dimm_size() 719 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in print_dimm_size() 748 struct i7300_dimm_info *dinfo; in i7300_init_csrows() local 799 dinfo = &pvt->dimm_info[slot][channel]; in i7300_init_csrows() 802 dinfo, dimm); in i7300_init_csrows()
|
D | i5000_edac.c | 993 struct i5000_dimm_info *dinfo) in handle_channel() argument 1005 dinfo->dual_rank = MTR_DIMM_RANK(mtr); in handle_channel() 1016 if (dinfo->dual_rank) in handle_channel() 1023 dinfo->megabytes = 1 << addrBits; in handle_channel() 1036 struct i5000_dimm_info *dinfo; in calculate_dimm_size() local 1073 dinfo = &pvt->dimm_info[slot][channel]; in calculate_dimm_size() 1074 handle_channel(pvt, slot, channel, dinfo); in calculate_dimm_size() 1075 if (dinfo->megabytes) in calculate_dimm_size() 1077 dinfo->megabytes, dinfo->dual_rank + 1); in calculate_dimm_size()
|
D | i5400_edac.c | 919 struct i5400_dimm_info *dinfo) in handle_channel() argument 945 dinfo->megabytes = 1 << addrBits; in handle_channel() 958 struct i5400_dimm_info *dinfo; in calculate_dimm_size() local 997 dinfo = &pvt->dimm_info[dimm][channel]; in calculate_dimm_size() 998 handle_channel(pvt, dimm, channel, dinfo); in calculate_dimm_size() 999 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in calculate_dimm_size()
|
/drivers/scsi/aacraid/ |
D | aachba.c | 367 struct aac_get_config_status *dinfo; in aac_get_config_status() local 368 dinfo = (struct aac_get_config_status *) fib_data(fibptr); in aac_get_config_status() 370 dinfo->command = cpu_to_le32(VM_ContainerConfig); in aac_get_config_status() 371 dinfo->type = cpu_to_le32(CT_GET_CONFIG_STATUS); in aac_get_config_status() 372 dinfo->count = cpu_to_le32(sizeof(((struct aac_get_config_status_resp *)NULL)->data)); in aac_get_config_status() 405 struct aac_commit_config * dinfo; in aac_get_config_status() local 407 dinfo = (struct aac_commit_config *) fib_data(fibptr); in aac_get_config_status() 409 dinfo->command = cpu_to_le32(VM_ContainerConfig); in aac_get_config_status() 410 dinfo->type = cpu_to_le32(CT_COMMIT_CONFIG); in aac_get_config_status() 455 struct aac_get_container_count *dinfo; in aac_get_containers() local [all …]
|
/drivers/hid/ |
D | hidraw.c | 406 struct hidraw_devinfo dinfo; in hidraw_ioctl() local 408 dinfo.bustype = dev->hid->bus; in hidraw_ioctl() 409 dinfo.vendor = dev->hid->vendor; in hidraw_ioctl() 410 dinfo.product = dev->hid->product; in hidraw_ioctl() 411 if (copy_to_user(user_arg, &dinfo, sizeof(dinfo))) in hidraw_ioctl()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 999 struct devlog_info *dinfo = seq->private; in devlog_show() local 1007 index = dinfo->first + fidx; in devlog_show() 1008 if (index >= dinfo->nentries) in devlog_show() 1009 index -= dinfo->nentries; in devlog_show() 1010 e = &dinfo->log[index]; in devlog_show() 1042 static inline void *devlog_get_idx(struct devlog_info *dinfo, loff_t pos) in devlog_get_idx() argument 1044 if (pos > dinfo->nentries) in devlog_get_idx() 1052 struct devlog_info *dinfo = seq->private; in devlog_start() local 1055 ? devlog_get_idx(dinfo, *pos) in devlog_start() 1061 struct devlog_info *dinfo = seq->private; in devlog_next() local [all …]
|
/drivers/net/wireless/intersil/p54/ |
D | p54spi.c | 426 struct p54s_tx_info *dinfo; in p54spi_wq_tx() local 440 dinfo = container_of((void *) entry, struct p54s_tx_info, in p54spi_wq_tx() 442 minfo = container_of((void *) dinfo, struct p54_tx_info, in p54spi_wq_tx()
|