Searched defs:device (Results 1 - 25 of 651) sorted by last modified time

1234567891011>>

/drivers/video/fbdev/
H A Dcarminefb.c541 int smem_offset, struct device *device,
548 info = framebuffer_alloc(sizeof *par, device);
588 fb_info(info, "%s frame buffer device\n", info->fix.id);
612 struct device *device = &dev->dev; local
681 device, &info);
692 device, &info);
540 alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base, int smem_offset, struct device *device, struct fb_info **rinfo) argument
H A Dda8xx-fb.c26 #include <linux/device.h>
154 struct device *dev;
1341 static int fb_probe(struct platform_device *device) argument
1344 dev_get_platdata(&device->dev);
1355 dev_err(&device->dev, "Can not get platform data\n");
1359 lcdc_info = da8xx_fb_get_videomode(device);
1363 lcdc_regs = platform_get_resource(device, IORESOURCE_MEM, 0);
1364 da8xx_fb_reg_base = devm_ioremap_resource(&device->dev, lcdc_regs);
1368 tmp_lcdc_clk = devm_clk_get(&device->dev, "fck");
1370 dev_err(&device
[all...]
H A Dfsl-diu-fb.c4 * Freescale DIU Frame Buffer device driver
1643 static ssize_t store_monitor(struct device *device, argument
1665 static ssize_t show_monitor(struct device *device, argument
1717 info->device = &pdev->dev;
1735 /* Get the EDID data from the device tree, if present */
1917 pr_err("fsl-diu-fb: can't find 'cpu' device node\n");
H A Dgbefb.c1069 static ssize_t gbefb_show_memsize(struct device *dev, struct device_attribute *attr, char *buf)
1076 static ssize_t gbefb_show_rev(struct device *device, struct device_attribute *attr, char *buf) argument
1083 static void gbefb_remove_sysfs(struct device *dev)
1089 static void gbefb_create_sysfs(struct device *dev)
H A Dgrvga.c2 * Driver for Aeroflex Gaisler SVGACTRL framebuffer device.
482 "Aeroflex Gaisler framebuffer device (fb%d), %dx%d-%d, using %luK of video memory @ %p\n",
514 static int grvga_remove(struct platform_device *device) argument
516 struct fb_info *info = dev_get_drvdata(&device->dev);
524 of_iounmap(&device->resource[0], par->regs,
525 resource_size(&device->resource[0]));
563 MODULE_DESCRIPTION("Aeroflex Gaisler framebuffer device driver");
H A Dpm3fb.c2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device
1321 struct device *device = &dev->dev; /* for pci drivers */ local
1333 info = framebuffer_alloc(sizeof(struct pm3_par), device);
1448 fb_info(info, "%s frame buffer device\n", info->fix.id);
1585 MODULE_DESCRIPTION("Permedia3 framebuffer device driver");
H A Dskeletonfb.c2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
19 * struct vc_data to data in a device independent way in struct fb_info. Then
20 * various functions in struct fb_ops will be called to store the device
25 * for each framebuffer device when used as a tty/console device is allocated
27 * per framebuffer device. We already have all the data we need in struct
101 * represented by a separate framebuffer device thus a separate
114 * fb_info. Their you would want to have *par point to a array of device
157 * device is closed.
685 struct device *devic local
[all...]
H A Dsstfb.c717 static ssize_t store_vgapass(struct device *device, struct device_attribute *attr, argument
720 struct fb_info *info = dev_get_drvdata(device);
730 static ssize_t show_vgapass(struct device *device, struct device_attribute *attr, argument
733 struct fb_info *info = dev_get_drvdata(device);
883 /*the 7th, device ID register */
908 /*the 7th, device ID register */
1328 /* Enable device in PCI config. */
1330 printk(KERN_ERR "cannot enable device\
[all...]
/drivers/video/fbdev/core/
H A Dfbmon.c1569 const unsigned char *fb_firmware_edid(struct device *device) argument
1575 if (device)
1576 dev = to_pci_dev(device);
1587 const unsigned char *fb_firmware_edid(struct device *device) argument
H A Dfbsysfs.c2 * fbsysfs.c - framebuffer device class and attributes
30 * @dev: pointer to the device for this fb, this can be NULL
39 struct fb_info *framebuffer_alloc(size_t size, struct device *dev)
60 info->device = dev;
77 * Drop the reference count of the device embedded in the
127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, argument
130 struct fb_info *fb_info = dev_get_drvdata(device);
158 static ssize_t show_mode(struct device *device, struc argument
169 store_modes(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
201 show_modes(struct device *device, struct device_attribute *attr, char *buf) argument
219 store_bpp(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
234 show_bpp(struct device *device, struct device_attribute *attr, char *buf) argument
241 store_rotate(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
260 show_rotate(struct device *device, struct device_attribute *attr, char *buf) argument
268 store_virtual(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
289 show_virtual(struct device *device, struct device_attribute *attr, char *buf) argument
297 show_stride(struct device *device, struct device_attribute *attr, char *buf) argument
304 store_blank(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
322 show_blank(struct device *device, struct device_attribute *attr, char *buf) argument
329 store_console(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
337 show_console(struct device *device, struct device_attribute *attr, char *buf) argument
344 store_cursor(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
352 show_cursor(struct device *device, struct device_attribute *attr, char *buf) argument
359 store_pan(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
384 show_pan(struct device *device, struct device_attribute *attr, char *buf) argument
392 show_name(struct device *device, struct device_attribute *attr, char *buf) argument
400 store_fbstate(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
424 show_fbstate(struct device *device, struct device_attribute *attr, char *buf) argument
432 store_bl_curve(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
473 show_bl_curve(struct device *device, struct device_attribute *attr, char *buf) argument
[all...]
/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c23 * Access device through readb|w|l and write b|w|l
360 * for device unplugged when in use.
385 * Open/Release the frame buffer device
1423 unsigned short vendor, device, rev, svid, sid; member in struct:board
1931 minfo->fbcon.device = &minfo->pcidev->dev;
1935 fb_info(&minfo->fbcon, "%s frame buffer device\n", minfo->fbcon.fix.id);
2051 if ((b->vendor != pdev->vendor) || (b->device != pdev->device) || (b->rev < pdev->revision)) continue;
2529 MODULE_PARM_DESC(dev, "Multihead support, attach to device ID (0..N) (default=all working)");
/drivers/video/fbdev/via/
H A Dhw.h44 /* VIA output device power states */
50 /* VIA output device sync polarity */
588 /* device ID */
624 u32 device; member in struct:pci_device_id_info
629 u32 device; member in struct:via_device_mapping
/drivers/virtio/
H A Dvirtio_mmio.c2 * Virtio memory mapped device driver
7 * platform device.
9 * The guest device(s) may be instantiated in one of three equivalent ways:
11 * 1. Static platform device in board's code, eg.:
39 * one device will be created for each one. Syntax:
41 * [virtio_mmio.]device=<size>@<baseaddr>:<irq>[:<id>]
46 * <id> := (optional) platform device id
48 * virtio_mmio.device=0x100@0x100b0000:48 \
49 * virtio_mmio.device=1K@0x1001e000:74
60 * 0x008 R DeviceID Virtio device I
516 vm_cmdline_set(const char *device, const struct kernel_param *kp) argument
[all...]
/drivers/w1/slaves/
H A Dw1_ds2423.c28 #include <linux/device.h>
43 static ssize_t w1_slave_show(struct device *device, argument
46 struct w1_slave *sl = dev_to_w1_slave(device);
82 dev_warn(device,
H A Dw1_therm.c28 #include <linux/device.h>
47 * If it was disabled a parasite powered device might not get the require
76 static ssize_t w1_slave_show(struct device *device,
191 static ssize_t w1_slave_show(struct device *device, argument
194 struct w1_slave *sl = dev_to_w1_slave(device);
251 dev_warn(device, "w1_read_block() "
274 dev_warn(device, "Read failed CRC check\n");
/drivers/w1/
H A Dw1_int.c43 struct device *device)
53 pr_err("Failed to allocate %zd bytes for new w1 device.\n",
82 memcpy(&dev->dev, device, sizeof(struct device));
93 pr_err("Failed to register master device. err=%d\n", err);
108 * w1_add_master_device() - registers a new master device
109 * @master: master bus device to register
126 /* Lock until the device is added (or not) to w1_masters. */
238 * w1_remove_master_device() - unregister a master device
41 w1_alloc_dev(u32 id, int slave_count, int slave_ttl, struct device_driver *driver, struct device *device) argument
[all...]
/drivers/watchdog/
H A Dsunxi_wdt.c241 const struct of_device_id *device; local
251 device = of_match_device(sunxi_wdt_dt_ids, &pdev->dev);
252 if (!device)
255 sunxi_wdt->wdt_regs = device->data;
/drivers/xen/
H A Dpci.c35 static int xen_add_device(struct device *dev)
138 static int xen_remove_device(struct device *dev)
144 struct physdev_pci_device device = { local
151 &device);
170 struct device *dev = data;
H A Dxen-acpi-cpuhotplug.c43 static int xen_acpi_processor_enable(struct acpi_device *device) argument
51 pr = acpi_driver_data(device);
57 if (!strcmp(acpi_device_hid(device), ACPI_PROCESSOR_OBJECT_HID)) {
91 static int xen_acpi_processor_add(struct acpi_device *device) argument
96 if (!device)
103 pr->handle = device->handle;
104 strcpy(acpi_device_name(device), ACPI_PROCESSOR_DEVICE_NAME);
105 strcpy(acpi_device_class(device), ACPI_PROCESSOR_CLASS);
106 device->driver_data = pr;
108 ret = xen_acpi_processor_enable(device);
115 xen_acpi_processor_remove(struct acpi_device *device) argument
241 acpi_processor_device_remove(struct acpi_device *device) argument
252 struct acpi_device *device = NULL; local
[all...]
H A Dxen-acpi-memhotplug.c42 struct acpi_device *device; member in struct:acpi_memory_device
78 pxm = xen_acpi_get_pxm(mem_device->device->handle);
149 status = acpi_walk_resources(mem_device->device->handle,
165 struct acpi_device *device = NULL; local
170 acpi_bus_get_device(handle, &device);
171 if (acpi_device_enumerated(device))
175 * Now add the notified device. This creates the acpi_device
184 device = NULL;
185 acpi_bus_get_device(handle, &device);
186 if (!acpi_device_enumerated(device)) {
235 struct acpi_device *device; local
292 xen_acpi_memory_device_add(struct acpi_device *device) argument
334 xen_acpi_memory_device_remove(struct acpi_device *device) argument
[all...]
H A Dxen-acpi-pad.c117 static int acpi_pad_add(struct acpi_device *device) argument
121 strcpy(acpi_device_name(device), ACPI_PROCESSOR_AGGREGATOR_DEVICE_NAME);
122 strcpy(acpi_device_class(device), ACPI_PROCESSOR_AGGREGATOR_CLASS);
124 status = acpi_install_notify_handler(device->handle,
125 ACPI_DEVICE_NOTIFY, acpi_pad_notify, device);
132 static int acpi_pad_remove(struct acpi_device *device) argument
138 acpi_remove_notify_handler(device->handle,
/drivers/thermal/
H A Dthermal_hwmon.c35 /* thermal zone devices with the same type share one hwmon device */
38 struct device *device; member in struct:thermal_hwmon_device
62 name_show(struct device *dev, struct device_attribute *attr, char *buf)
70 temp_input_show(struct device *dev, struct device_attribute *attr, char *buf)
90 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf)
168 hwmon->device = hwmon_device_register(NULL);
169 if (IS_ERR(hwmon->device)) {
170 result = PTR_ERR(hwmon->device);
173 dev_set_drvdata(hwmon->device, hwmo
[all...]
/drivers/tty/serial/8250/
H A D8250_early.c16 * Instead of specifying the console device as, e.g., "ttyS0",
17 * we locate the device directly by its MMIO or I/O port address.
19 * The user can specify the device directly, e.g.,
122 static void __init init_port(struct earlycon_device *device) argument
124 struct uart_port *port = &device->port;
133 divisor = DIV_ROUND_CLOSEST(port->uartclk, 16 * device->baud);
141 static int __init early_serial8250_setup(struct earlycon_device *device, argument
144 if (!(device->port.membase || device->port.iobase))
147 if (!device
174 struct earlycon_device *device = early_device; local
[all...]
H A D8250_pci.c41 u32 device; member in struct:pci_serial_quirk
73 pci_name(dev), str, dev->vendor, dev->device,
265 (dev->device == PCI_DEVICE_ID_PLX_ROMULUS))
394 * maps the device memory, resets the UARTs (needed, bc
455 * Note: all 10x cards have PCI device ids 0x10..
456 * all 20x cards have PCI device ids 0x20..
472 switch (dev->device & 0xfff8) {
506 if (((dev->device & 0xfffc) == PCI_DEVICE_ID_SIIG_2S_20x) ||
507 ((dev->device & 0xfffc) == PCI_DEVICE_ID_SIIG_2S1P_20x)) {
516 unsigned int type = dev->device
[all...]
/drivers/tty/serial/
H A Damba-pl011.c42 #include <linux/device.h>
228 * This assumes that you have a generic DMA device interface,
240 sg->buf = dma_alloc_coherent(chan->device->dev,
257 dma_free_coherent(chan->device->dev,
263 static void pl011_dma_probe_initcall(struct device *dev, struct uart_amba_port *uap)
358 * Stack up the UARTs and let the above initcall be done at device
366 struct device *dev;
386 static void pl011_dma_probe(struct device *dev, struct uart_amba_port *uap)
396 static void pl011_dma_probe(struct device *dev, struct uart_amba_port *uap)
427 dma_unmap_sg(dmatx->chan->device
2081 pl011_early_console_setup(struct earlycon_device *device, const char *opt) argument
[all...]

Completed in 1835 milliseconds

1234567891011>>