Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/arch/xtensa/platforms/iss/
Dconsole.c131 struct tty_driver *driver; in rs_init() local
134 driver = tty_alloc_driver(SERIAL_MAX_NUM_LINES, TTY_DRIVER_REAL_RAW); in rs_init()
135 if (IS_ERR(driver)) in rs_init()
136 return PTR_ERR(driver); in rs_init()
142 driver->driver_name = "iss_serial"; in rs_init()
143 driver->name = "ttyS"; in rs_init()
144 driver->major = TTY_MAJOR; in rs_init()
145 driver->minor_start = 64; in rs_init()
146 driver->type = TTY_DRIVER_TYPE_SERIAL; in rs_init()
147 driver->subtype = SERIAL_TYPE_NORMAL; in rs_init()
[all …]
/arch/m68k/emu/
Dnfcon.c123 struct tty_driver *driver; in nfcon_init() local
130 driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW); in nfcon_init()
131 if (IS_ERR(driver)) in nfcon_init()
132 return PTR_ERR(driver); in nfcon_init()
136 driver->driver_name = "nfcon"; in nfcon_init()
137 driver->name = "nfcon"; in nfcon_init()
138 driver->type = TTY_DRIVER_TYPE_SYSTEM; in nfcon_init()
139 driver->subtype = SYSTEM_TYPE_TTY; in nfcon_init()
140 driver->init_termios = tty_std_termios; in nfcon_init()
142 tty_set_operations(driver, &nfcon_tty_ops); in nfcon_init()
[all …]
/arch/parisc/kernel/
Dpdc_cons.c141 struct tty_driver *driver; in pdc_console_tty_driver_init() local
164 driver = tty_alloc_driver(1, TTY_DRIVER_REAL_RAW | in pdc_console_tty_driver_init()
166 if (IS_ERR(driver)) in pdc_console_tty_driver_init()
167 return PTR_ERR(driver); in pdc_console_tty_driver_init()
171 driver->driver_name = "pdc_cons"; in pdc_console_tty_driver_init()
172 driver->name = "ttyB"; in pdc_console_tty_driver_init()
173 driver->major = MUX_MAJOR; in pdc_console_tty_driver_init()
174 driver->minor_start = 0; in pdc_console_tty_driver_init()
175 driver->type = TTY_DRIVER_TYPE_SYSTEM; in pdc_console_tty_driver_init()
176 driver->init_termios = tty_std_termios; in pdc_console_tty_driver_init()
[all …]
Ddrivers.c100 static int match_device(struct parisc_driver *driver, struct parisc_device *dev) in match_device() argument
104 for (ids = driver->id_table; ids->sversion; ids++) { in match_device()
126 struct parisc_driver *pa_drv = to_parisc_driver(dev->driver); in parisc_driver_probe()
131 pa_dev->driver = pa_drv; in parisc_driver_probe()
139 struct parisc_driver *pa_drv = to_parisc_driver(dev->driver); in parisc_driver_remove()
150 int register_parisc_driver(struct parisc_driver *driver) in register_parisc_driver() argument
154 if (driver->drv.name) { in register_parisc_driver()
156 driver->name); in register_parisc_driver()
160 if (!driver->probe) { in register_parisc_driver()
161 pr_warn("BUG: driver %s has no probe routine\n", driver->name); in register_parisc_driver()
[all …]
/arch/alpha/kernel/
Dsrmcons.c204 struct tty_driver *driver; in srmcons_init() local
207 driver = tty_alloc_driver(MAX_SRM_CONSOLE_DEVICES, 0); in srmcons_init()
208 if (IS_ERR(driver)) in srmcons_init()
209 return PTR_ERR(driver); in srmcons_init()
213 driver->driver_name = "srm"; in srmcons_init()
214 driver->name = "srm"; in srmcons_init()
215 driver->major = 0; /* dynamic */ in srmcons_init()
216 driver->minor_start = 0; in srmcons_init()
217 driver->type = TTY_DRIVER_TYPE_SYSTEM; in srmcons_init()
218 driver->subtype = SYSTEM_TYPE_SYSCONS; in srmcons_init()
[all …]
/arch/powerpc/kernel/
Deeh_driver.c107 if (!pdev || !pdev->driver) in eeh_pcid_get()
110 if (!try_module_get(pdev->driver->driver.owner)) in eeh_pcid_get()
113 return pdev->driver; in eeh_pcid_get()
125 if (!pdev || !pdev->driver) in eeh_pcid_put()
128 module_put(pdev->driver->driver.owner); in eeh_pcid_put()
258 struct pci_driver *driver; in eeh_pe_report_edev() local
272 driver = eeh_pcid_get(pdev); in eeh_pe_report_edev()
274 if (!driver) in eeh_pe_report_edev()
276 else if (!driver->err_handler) in eeh_pe_report_edev()
281 new_result = fn(edev, pdev, driver); in eeh_pe_report_edev()
[all …]
/arch/um/drivers/
Dline.c259 const struct line_driver *driver = line->driver; in line_setup_irq() local
265 driver->read_irq_name, data); in line_setup_irq()
275 driver->write_irq_name, data); in line_setup_irq()
330 int line_install(struct tty_driver *driver, struct tty_struct *tty, in line_install() argument
335 ret = tty_standard_install(driver, tty); in line_install()
370 struct tty_driver *driver = line->driver->driver; in setup_one_line() local
382 tty_unregister_device(driver, n); in setup_one_line()
393 tty_unregister_device(driver, n); in setup_one_line()
401 driver, n, NULL); in setup_one_line()
545 struct tty_driver *driver; in register_lines() local
[all …]
Dstdio_console.c49 static struct line_driver driver = { variable
59 .list = LIST_HEAD_INIT(driver.mc.list),
93 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install() argument
95 return line_install(driver, tty, &vts[tty->index]); in con_install()
126 return driver.driver; in uml_console_device()
152 err = register_lines(&driver, &console_ops, vts, in stdio_init()
Dssl.c43 static struct line_driver driver = { variable
53 .list = LIST_HEAD_INIT(driver.mc.list),
87 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install() argument
89 return line_install(driver, tty, &serial_lines[tty->index]); in ssl_install()
125 return driver.driver; in ssl_console_device()
154 err = register_lines(&driver, &ssl_ops, serial_lines, in ssl_init()
Dline.h29 struct tty_driver *driver; member
56 const struct line_driver *driver; member
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
81 const struct tty_operations *driver,
/arch/mips/sgi-ip22/
Dip22-gio.c129 drv = to_gio_driver(dev->driver); in gio_device_probe()
149 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_remove()
151 if (dev->driver && drv->remove) in gio_device_remove()
158 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_shutdown()
160 if (dev->driver && drv->shutdown) in gio_device_shutdown()
213 if (!drv->driver.name) in gio_register_driver()
214 drv->driver.name = drv->name; in gio_register_driver()
215 if (!drv->driver.owner) in gio_register_driver()
216 drv->driver.owner = drv->owner; in gio_register_driver()
217 drv->driver.bus = &gio_bus_type; in gio_register_driver()
[all …]
/arch/powerpc/include/asm/
Dvio.h123 struct device_driver driver; member
131 #define vio_register_driver(driver) \ argument
132 __vio_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
161 return container_of(drv, struct vio_driver, driver); in to_vio_driver()
Dppc-pci.h60 return (pdev && pdev->driver) ? pdev->driver->name : "<null>"; in eeh_driver_name()
/arch/powerpc/platforms/pseries/
Dibmebus.c216 ibmebus_create_devices(drv->driver.of_match_table); in ibmebus_register_driver()
218 drv->driver.bus = &ibmebus_bus_type; in ibmebus_register_driver()
219 return driver_register(&drv->driver); in ibmebus_register_driver()
225 driver_unregister(&drv->driver); in ibmebus_unregister_driver()
353 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()
361 if (of_driver_match_device(dev, dev->driver)) in ibmebus_bus_device_probe()
372 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_remove()
374 if (dev->driver && drv->remove) in ibmebus_bus_device_remove()
381 struct platform_driver *drv = to_platform_driver(dev->driver); in ibmebus_bus_device_shutdown()
383 if (dev->driver && drv->shutdown) in ibmebus_bus_device_shutdown()
/arch/um/include/shared/
Dmem_user.h37 char *driver; member
51 extern unsigned long find_iomem(char *driver, unsigned long *len_out);
/arch/m68k/
DKconfig.devices45 tristate "NatFeat console driver"
48 Say Y to include support for the ARAnyM NatFeat console driver
67 To compile the actual ethernet driver, choose Y or M for the SMC91X
75 ROM port. The driver works by polling instead of interrupts, so it
78 This driver also supports the ethernet part of the NetUSBee ROM
81 To compile the actual ethernet driver, choose Y or M in for the NE2000
93 driver is still experimental, and if you don't know what it is, or
96 To compile this driver as a module, choose M here.
105 To compile this driver as a module, choose M here.
/arch/um/kernel/
Dphysmem.c181 unsigned long find_iomem(char *driver, unsigned long *len_out) in find_iomem() argument
186 if (!strcmp(region->driver, driver)) { in find_iomem()
209 "failed, errno = %d\n", region->driver, -err); in setup_iomem()
/arch/parisc/include/asm/
Dhardware.h111 extern int register_parisc_driver(struct parisc_driver *driver);
112 extern int count_parisc_driver(struct parisc_driver *driver);
113 extern int unregister_parisc_driver(struct parisc_driver *driver);
/arch/sh/drivers/
Dplatform_early.c85 n = strlen(epdrv->pdrv->driver.name); in sh_early_platform_driver_register()
86 if (buf && !strncmp(buf, epdrv->pdrv->driver.name, n)) { in sh_early_platform_driver_register()
180 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in sh_early_platform_match()
198 if (platform_match(&pd->dev, &epdrv->pdrv->driver)) in sh_early_platform_left()
248 class_str, epdrv->pdrv->driver.name); in sh_early_platform_driver_probe_id()
/arch/mips/include/asm/
Dgio_device.h31 struct device_driver driver; member
33 #define to_gio_driver(drv) container_of(drv, struct gio_driver, driver)
/arch/s390/include/asm/
Dccwgroup.h48 struct device_driver driver; member
64 #define to_ccwgroupdrv(x) container_of((x), struct ccwgroup_driver, driver)
Dccwdev.h143 struct device_driver driver; member
153 extern int ccw_driver_register (struct ccw_driver *driver);
154 extern void ccw_driver_unregister (struct ccw_driver *driver);
211 #define to_ccwdrv(n) container_of(n, struct ccw_driver, driver)
/arch/powerpc/platforms/powernv/
DKconfig23 tristate 'OPAL PRD driver'
26 This enables the opal-prd driver, a facility to run processor
/arch/sparc/kernel/
Dvio.c72 struct vio_driver *drv = to_vio_driver(dev->driver); in vio_device_probe()
99 struct vio_driver *drv = to_vio_driver(dev->driver); in vio_device_remove()
164 viodrv->driver.bus = &vio_bus_type; in __vio_register_driver()
165 viodrv->driver.name = viodrv->name; in __vio_register_driver()
166 viodrv->driver.owner = owner; in __vio_register_driver()
167 viodrv->driver.mod_name = mod_name; in __vio_register_driver()
169 return driver_register(&viodrv->driver); in __vio_register_driver()
175 driver_unregister(&viodrv->driver); in vio_unregister_driver()
/arch/powerpc/platforms/ps3/
DKconfig69 tristate "PS3 AV settings driver" if PS3_ADVANCED
73 Include support for the PS3 AV Settings driver.
80 tristate "PS3 System Manager driver" if PS3_ADVANCED
146 As this driver needs a fixed buffer of 256 KiB of memory, it can
154 This driver allows you to use excess PS3 video RAM as volatile
177 This driver uses a trivial implementation and is independent
178 from the main PS3 gelic network driver.

12345678910>>...13