Searched refs:dev (Results 1 - 25 of 8049) sorted by last modified time

1234567891011>>

/drivers/video/fbdev/aty/
H A Dradeon_backlight.c157 bd = backlight_device_register(name, rinfo->info->dev, pdata,
H A Dradeon_base.c289 static void radeon_unmap_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev) argument
293 pci_unmap_rom(dev, rinfo->bios_seg);
296 static int radeon_map_ROM(struct radeonfb_info *rinfo, struct pci_dev *dev) argument
316 rom = pci_map_rom(dev, &rom_size);
386 radeon_unmap_ROM(rinfo, dev);
2101 struct device *dev = container_of(kobj, struct device, kobj); local
2102 struct pci_dev *pdev = to_pci_dev(dev);
2114 struct device *dev = container_of(kobj, struct device, kobj); local
2115 struct pci_dev *pdev = to_pci_dev(dev);
2160 info = framebuffer_alloc(sizeof(struct radeonfb_info), &pdev->dev);
[all...]
H A Dradeon_i2c.c75 chan->adapter.dev.parent = &chan->rinfo->pdev->dev;
93 dev_dbg(&chan->rinfo->pdev->dev, "I2C bus %s registered.\n", name);
95 dev_warn(&chan->rinfo->pdev->dev, "Failed to register I2C bus %s.\n", name);
H A Dradeon_pm.c2617 if (mesg.event == pdev->dev.power.power_state.event)
2701 pdev->dev.power.power_state = mesg;
2719 if (pdev->dev.power.power_state.event == PM_EVENT_ON)
2729 pci_name(pdev), pdev->dev.power.power_state.event);
2735 if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) {
2788 pdev->dev.power.power_state = PMSG_ON;
/drivers/video/fbdev/
H A Dau1100fb.c433 static int au1100fb_drv_probe(struct platform_device *dev) argument
441 fbdev = devm_kzalloc(&dev->dev, sizeof(struct au1100fb_device),
451 platform_set_drvdata(dev, (void *)fbdev);
454 regs_res = platform_get_resource(dev, IORESOURCE_MEM, 0);
463 if (!devm_request_mem_region(&dev->dev,
488 fbdev->fb_mem = dmam_alloc_coherent(&dev->dev,
529 devm_kzalloc(&dev
568 au1100fb_drv_remove(struct platform_device *dev) argument
598 au1100fb_drv_suspend(struct platform_device *dev, pm_message_t state) argument
616 au1100fb_drv_resume(struct platform_device *dev) argument
[all...]
H A Dau1200fb.c1645 static int au1200fb_drv_probe(struct platform_device *dev) argument
1655 pd = dev->dev.platform_data;
1682 &dev->dev);
1696 fbdev->fb_mem = dmam_alloc_noncoherent(&dev->dev,
1742 irq = platform_get_irq(dev, 0);
1744 IRQF_SHARED, "lcd", (void *)dev);
1751 platform_set_drvdata(dev, p
1770 au1200fb_drv_remove(struct platform_device *dev) argument
1800 au1200fb_drv_suspend(struct device *dev) argument
1811 au1200fb_drv_resume(struct device *dev) argument
[all...]
H A Dauo_k1900fb.c63 struct device *dev = par->info->device; local
67 pm_runtime_get_sync(dev);
81 pm_runtime_mark_last_busy(dev);
82 pm_runtime_put_autosuspend(dev);
88 struct device *dev = par->info->device; local
94 pm_runtime_get_sync(dev);
102 dev_dbg(dev, "update (x,y,w,h,mode)=(%d,%d,%d,%d,%d)\n",
119 pm_runtime_mark_last_busy(dev);
120 pm_runtime_put_autosuspend(dev);
172 board = pdev->dev
[all...]
H A Dauo_k1901fb.c104 struct device *dev = par->info->device; local
108 pm_runtime_get_sync(dev);
120 pm_runtime_mark_last_busy(dev);
121 pm_runtime_put_autosuspend(dev);
127 struct device *dev = par->info->device; local
133 pm_runtime_get_sync(dev);
141 dev_dbg(dev, "update (x,y,w,h,mode)=(%d,%d,%d,%d,%d)\n",
167 pm_runtime_mark_last_busy(dev);
168 pm_runtime_put_autosuspend(dev);
225 board = pdev->dev
[all...]
H A Dauo_k190x.c86 struct device *dev = par->info->device; local
91 dev_err(dev, "issue_pixels: size %d must be a multiple of 8\n",
114 struct device *dev = par->info->device; local
119 dev_err(dev, "issue_pixels: size %d must be a multiple of 4\n",
146 struct device *dev = par->info->device; local
153 dev_err(dev, "unsupported color mode (bits: %d, gray: %d)\n",
444 struct device *dev = info->device; local
489 dev_warn(dev, "unsupported color mode (bits: %d, grayscale: %d)\n",
510 dev_dbg(dev, "Invalid rotation request\n");
523 dev_err(dev, "Memor
582 struct device *dev = par->info->device; local
609 struct device *dev = par->info->device; local
641 update_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
650 update_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
671 flash_show(struct device *dev, struct device_attribute *attr, char *buf) argument
680 flash_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
699 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
757 struct device *dev = par->info->device; local
778 auok190x_runtime_suspend(struct device *dev) argument
825 auok190x_runtime_resume(struct device *dev) argument
859 auok190x_suspend(struct device *dev) argument
899 auok190x_resume(struct device *dev) argument
[all...]
H A Dbf537-lq035.c96 dev_err(&client->dev, "SMBUS Byte Data not Supported\n");
102 dev_err(&client->dev, "write fail: %d\n", ret);
645 static int bfin_lcd_get_power(struct lcd_device *dev) argument
650 static int bfin_lcd_set_power(struct lcd_device *dev, int power) argument
655 static int bfin_lcd_get_contrast(struct lcd_device *dev) argument
660 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument
763 bfin_lq035_fb.pseudo_palette = devm_kzalloc(&pdev->dev,
793 lcd_dev = lcd_device_register(KBUILD_MODNAME, &pdev->dev, NULL,
H A Dbf54x-lq043fb.c78 struct device *dev; member in struct:bfin_bf54xfb_info
440 static int bfin_lcd_get_power(struct lcd_device *dev) argument
445 static int bfin_lcd_set_power(struct lcd_device *dev, int power) argument
450 static int bfin_lcd_get_contrast(struct lcd_device *dev) argument
455 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument
461 static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi) argument
519 framebuffer_alloc(sizeof(struct bfin_bf54xfb_info), &pdev->dev);
527 info->dev = &pdev->dev;
534 info->mach_info = pdev->dev
[all...]
H A Dbfin-lq035q1-fb.c94 struct device *dev; member in struct:bfin_lq035q1fb_info
144 struct bfin_lq035q1fb_info *info = container_of(spi->dev.driver,
174 static int lq035q1_spidev_suspend(struct device *dev) argument
176 struct spi_device *spi = to_spi_device(dev);
181 static int lq035q1_spidev_resume(struct device *dev) argument
183 struct spi_device *spi = to_spi_device(dev);
388 dev_err(&pdev->dev, "requesting peripherals failed\n");
574 dev_err(&pdev->dev, "PPI DMA unavailable\n");
578 fbinfo = framebuffer_alloc(sizeof(*info), &pdev->dev);
586 info->dev
804 bfin_lq035q1_suspend(struct device *dev) argument
821 bfin_lq035q1_resume(struct device *dev) argument
[all...]
H A Dbfin-t350mcqb-fb.c88 struct device *dev; member in struct:bfin_t350mcqbfb_info
362 static int bfin_lcd_get_power(struct lcd_device *dev) argument
367 static int bfin_lcd_set_power(struct lcd_device *dev, int power) argument
372 static int bfin_lcd_get_contrast(struct lcd_device *dev) argument
377 static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast) argument
383 static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi) argument
441 framebuffer_alloc(sizeof(struct bfin_t350mcqbfb_info), &pdev->dev);
449 info->dev = &pdev->dev;
H A Dbfin_adv7393fb.c381 dev_err(&client->dev, "mem out of allowed range [1;2]\n");
386 dev_err(&client->dev, "mode %d: not supported", mode);
392 dev_err(&client->dev, "failed to allocate device private record");
413 dev_err(&client->dev, "PPI0_FS3 GPIO request failed\n");
420 dev_err(&client->dev, "requesting PPI peripheral failed\n");
430 dev_err(&client->dev, "couldn't allocate dma buffer (%d bytes)\n",
463 dev_err(&client->dev, "failed to allocate pseudo_palette\n");
469 dev_err(&client->dev, "failed to allocate colormap (%d entries)\n",
476 dev_err(&client->dev, "unable to request PPI DMA\n");
483 dev_err(&client->dev, "unabl
741 bfin_adv7393_fb_suspend(struct device *dev) argument
755 bfin_adv7393_fb_resume(struct device *dev) argument
[all...]
H A Dbroadsheetfb.c731 static ssize_t broadsheet_loadstore_waveform(struct device *dev, argument
736 struct fb_info *info = dev_get_drvdata(dev);
743 err = request_firmware(&fw_entry, "broadsheet.wbf", dev);
745 dev_err(dev, "Failed to get broadsheet waveform\n");
751 dev_err(dev, "Invalid waveform\n");
762 dev_err(dev, "Failed to store broadsheet waveform\n");
766 dev_info(dev, "Stored broadsheet waveform, size %zd\n", fw_entry->size);
840 struct device *dev = par->info->device; local
844 dev_info(dev, "Broadsheet Rev 0x%x, Product Code 0x%x\n", rev, prc);
847 dev_warn(dev, "Unrecognize
1061 broadsheetfb_probe(struct platform_device *dev) argument
1192 broadsheetfb_remove(struct platform_device *dev) argument
[all...]
H A Dbw2.c277 struct device_node *dp = op->dev.of_node;
282 info = framebuffer_alloc(sizeof(struct bw2_par), &op->dev);
334 dev_set_drvdata(&op->dev, info);
356 struct fb_info *info = dev_get_drvdata(&op->dev);
H A Dcarminefb.c609 static int carminefb_probe(struct pci_dev *dev, const struct pci_device_id *ent) argument
612 struct device *device = &dev->dev;
616 ret = pci_enable_device(dev);
625 carminefb_fix.mmio_start = pci_resource_start(dev, CARMINE_CONFIG_BAR);
626 carminefb_fix.mmio_len = pci_resource_len(dev, CARMINE_CONFIG_BAR);
643 carminefb_fix.smem_start = pci_resource_start(dev, CARMINE_MEMORY_BAR);
644 carminefb_fix.smem_len = pci_resource_len(dev, CARMINE_MEMORY_BAR);
700 pci_set_drvdata(dev, hw);
719 pci_disable_device(dev);
723 carminefb_remove(struct pci_dev *dev) argument
[all...]
H A Dcg14.c468 struct device_node *dp = op->dev.of_node;
473 info = framebuffer_alloc(sizeof(struct cg14_par), &op->dev);
554 dev_set_drvdata(&op->dev, info);
576 struct fb_info *info = dev_get_drvdata(&op->dev);
H A Dcg3.c351 struct device_node *dp = op->dev.of_node;
356 info = framebuffer_alloc(sizeof(struct cg3_par), &op->dev);
413 dev_set_drvdata(&op->dev, info);
438 struct fb_info *info = dev_get_drvdata(&op->dev);
H A Dcg6.c742 struct device_node *dp = op->dev.of_node;
748 info = framebuffer_alloc(sizeof(struct cg6_par), &op->dev);
811 dev_set_drvdata(&op->dev, info);
832 struct fb_info *info = dev_get_drvdata(&op->dev);
H A Dchipsfb.c358 dev_err(&dp->dev, "Cannot enable PCI device\n");
369 p = framebuffer_alloc(0, &dp->dev);
371 dev_err(&dp->dev, "Cannot allocate framebuffer structure\n");
377 dev_err(&dp->dev, "Cannot request framebuffer\n");
409 dev_err(&dp->dev, "Cannot map framebuffer\n");
419 dev_err(&dp->dev,"C&T 65550 framebuffer failed to register\n");
423 dev_info(&dp->dev,"fb%d: Chips 65550 frame buffer"
457 if (state.event == pdev->dev.power.power_state.event)
467 pdev->dev.power.power_state = state;
480 pdev->dev
[all...]
H A Dcirrusfb.c428 /*--- Open /dev/fbx ---------------------------------------------------------*/
436 /*--- Close /dev/fbx --------------------------------------------------------*/
2092 info = framebuffer_alloc(sizeof(struct cirrusfb_info), &pdev->dev);
2206 info = framebuffer_alloc(sizeof(struct cirrusfb_info), &z->dev);
H A Dclps711x-fb.c173 struct clps711x_fb_info *cfb = dev_get_drvdata(&lcddev->dev);
180 struct clps711x_fb_info *cfb = dev_get_drvdata(&lcddev->dev);
191 struct clps711x_fb_info *cfb = dev_get_drvdata(&lcddev->dev);
214 struct device *dev = &pdev->dev; local
215 struct device_node *disp, *np = dev->of_node;
226 info = framebuffer_alloc(sizeof(*cfb), dev);
236 cfb->base = devm_ioremap(dev, res->start, resource_size(res));
246 info->screen_base = devm_ioremap_resource(dev, res);
269 cfb->clk = devm_clk_get(dev, NUL
[all...]
H A Dcobalt_lcdfb.c334 static int cobalt_lcdfb_probe(struct platform_device *dev) argument
340 info = framebuffer_alloc(0, &dev->dev);
344 res = platform_get_resource(dev, IORESOURCE_MEM, 0);
351 info->screen_base = devm_ioremap(&dev->dev, res->start,
367 platform_set_drvdata(dev, info);
376 static int cobalt_lcdfb_remove(struct platform_device *dev) argument
380 info = platform_get_drvdata(dev);
/drivers/video/fbdev/core/
H A Dfb_ddc.c41 dev_warn(&adapter->dev, "unable to allocate memory for EDID "
49 dev_warn(&adapter->dev, "unable to read EDID block.\n");

Completed in 181 milliseconds

1234567891011>>