Home
last modified time | relevance | path

Searched refs:DRVNAME (Results 1 – 25 of 30) sorted by relevance

12

/drivers/i2c/busses/
Di2c-parport-light.c40 #define DRVNAME "i2c-parport-light" macro
191 .name = DRVNAME,
201 pdev = platform_device_alloc(DRVNAME, -1); in i2c_parport_device_add()
204 printk(KERN_ERR DRVNAME ": Device allocation failed\n"); in i2c_parport_device_add()
210 printk(KERN_ERR DRVNAME ": Device addition failed (%d)\n", in i2c_parport_device_add()
228 printk(KERN_ERR DRVNAME ": adapter type unspecified\n"); in i2c_parport_init()
233 printk(KERN_ERR DRVNAME ": invalid type (%d)\n", type); in i2c_parport_init()
238 pr_info(DRVNAME ": using default base 0x%x\n", DEFAULT_BASE); in i2c_parport_init()
242 if (!request_region(base, 3, DRVNAME)) in i2c_parport_init()
246 pr_info(DRVNAME ": using irq %d\n", irq); in i2c_parport_init()
/drivers/spi/
Dspi-lm70llp.c74 #define DRVNAME "spi-lm70llp" macro
207 DRVNAME); in spi_lm70llp_attach()
237 pd = parport_register_device(p, DRVNAME, in spi_lm70llp_attach()
257 DRVNAME, status); in spi_lm70llp_attach()
284 printk(KERN_WARNING "%s: spi_new_device failed\n", DRVNAME); in spi_lm70llp_attach()
305 pr_info("%s: spi_lm70llp probe fail, status %d\n", DRVNAME, status); in spi_lm70llp_attach()
331 .name = DRVNAME,
/drivers/leds/
Dleds-net48xx.c23 #define DRVNAME "net48xx-led" macro
55 .name = DRVNAME,
74 pdev = platform_device_register_simple(DRVNAME, -1, NULL, 0); in net48xx_led_init()
Dleds-wrap.c22 #define DRVNAME "wrap-led" macro
113 .name = DRVNAME,
131 pdev = platform_device_register_simple(DRVNAME, -1, NULL, 0); in wrap_led_init()
/drivers/char/
Dscx200_gpio.c24 #define DRVNAME "scx200_gpio" macro
81 printk(KERN_ERR DRVNAME ": no SCx200 gpio present\n"); in scx200_gpio_init()
86 pdev = platform_device_alloc(DRVNAME, 0); in scx200_gpio_init()
/drivers/hwmon/
Dsmsc47b397.c50 #define DRVNAME "smsc47b397" macro
250 .name = DRVNAME,
310 .name = DRVNAME, in smsc47b397_device_add()
319 pdev = platform_device_alloc(DRVNAME, address); in smsc47b397_device_add()
Dvia-cputemp.c42 #define DRVNAME "via_cputemp" macro
218 .name = DRVNAME,
239 pdev = platform_device_alloc(DRVNAME, cpu); in via_cputemp_device_add()
Dsmsc47m1.c51 #define DRVNAME "smsc47m1" macro
164 .name = DRVNAME,
639 err = acpi_check_region(start, len, DRVNAME); in smsc47m1_handle_resources()
645 if (!request_region(start, len, DRVNAME)) { in smsc47m1_handle_resources()
892 .name = DRVNAME, in smsc47m1_device_add()
901 pdev = platform_device_alloc(DRVNAME, address); in smsc47m1_device_add()
Di5k_amb.c35 #define DRVNAME "i5k_amb" macro
122 return sprintf(buf, "%s\n", DRVNAME); in show_name()
416 amb_pdev = platform_device_alloc(DRVNAME, 0); in i5k_amb_add()
539 reso = request_mem_region(data->amb_base, data->amb_len, DRVNAME); in i5k_amb_probe()
589 .name = DRVNAME,
Dcoretemp.c44 #define DRVNAME "coretemp" macro
120 return sprintf(buf, "%s\n", DRVNAME); in show_name()
576 .name = DRVNAME,
590 pdev = platform_device_alloc(DRVNAME, TO_PHYS_ID(cpu)); in coretemp_device_add()
Dibmaem.c42 #define DRVNAME "aem" macro
95 .name = DRVNAME,
557 data->pdev = platform_device_alloc(DRVNAME, data->id); in aem_init_aem1_inst()
697 data->pdev = platform_device_alloc(DRVNAME, data->id); in aem_init_aem2_inst()
819 return sprintf(buf, "%s%d\n", DRVNAME, data->ver_major); in show_name()
Dpc87427.c47 #define DRVNAME "pc87427" macro
104 static const char *logdev_str[2] = { DRVNAME " FMC", DRVNAME " HMC" };
983 if (!request_region(res->start, resource_size(res), DRVNAME)) { in pc87427_request_regions()
1187 .name = DRVNAME,
1216 pdev = platform_device_alloc(DRVNAME, res[0].start); in pc87427_device_add()
Dvt1211.c54 #define DRVNAME "vt1211" macro
1159 if (!request_region(res->start, resource_size(res), DRVNAME)) { in vt1211_probe()
1166 data->name = DRVNAME; in vt1211_probe()
1245 .name = DRVNAME,
1260 pdev = platform_device_alloc(DRVNAME, address); in vt1211_device_add()
Dsch5627.c33 #define DRVNAME "sch5627" macro
34 #define DEVNAME DRVNAME /* We only support one model */
596 .name = DRVNAME,
Dw83627hf.c61 #define DRVNAME "w83627hf" macro
407 .name = DRVNAME,
1239 pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%02x)\n", val); in w83627hf_find()
1259 pr_info(DRVNAME ": Found %s chip at %#x\n", in w83627hf_find()
1362 if (!request_region(res->start, WINB_REGION_SIZE, DRVNAME)) { in w83627hf_probe()
1865 .name = DRVNAME, in w83627hf_device_add()
1874 pdev = platform_device_alloc(DRVNAME, address); in w83627hf_device_add()
Dlm70.c42 #define DRVNAME "lm70" macro
Dlm73.c38 #define DRVNAME "lm73" macro
Dibmpex.c31 #define DRVNAME "ibmpex" macro
279 return sprintf(buf, "%s\n", DRVNAME); in show_name()
Dadcxx.c50 #define DRVNAME "adcxx" macro
/drivers/tty/serial/
Difx6x60.c1129 IRQF_TRIGGER_RISING|IRQF_TRIGGER_FALLING, DRVNAME, in ifx_spi_spi_probe()
1141 IRQF_TRIGGER_RISING, DRVNAME, in ifx_spi_spi_probe()
1337 .name = DRVNAME,
1375 pr_err("%s: alloc_tty_driver failed", DRVNAME); in ifx_spi_init()
1379 tty_drv->driver_name = DRVNAME; in ifx_spi_init()
1392 DRVNAME, result); in ifx_spi_init()
1400 DRVNAME, result); in ifx_spi_init()
Dlantiq.c43 #define DRVNAME "ltq_asc" macro
491 return DRVNAME; in lqasc_type()
660 .driver_name = DRVNAME,
734 .name = DRVNAME,
Difx6x60.h29 #define DRVNAME "ifx6x60" macro
/drivers/media/rc/
Dwinbond-cir.c60 #define DRVNAME "winbond-cir" macro
1036 if (!request_region(data->wbase, WAKEUP_IOMEM_LEN, DRVNAME)) { in wbcir_probe()
1043 if (!request_region(data->ebase, EHFUNC_IOMEM_LEN, DRVNAME)) { in wbcir_probe()
1050 if (!request_region(data->sbase, SP_IOMEM_LEN, DRVNAME)) { in wbcir_probe()
1058 IRQF_DISABLED, DRVNAME, device); in wbcir_probe()
/drivers/char/agp/
Dparisc-agp.c29 #define DRVNAME "quicksilver" macro
30 #define DRVPFX DRVNAME ": "
/drivers/watchdog/
Df71808e_wdt.c37 #define DRVNAME "f71808e_wdt" macro
193 if (!request_muxed_region(base, 2, DRVNAME)) { in superio_enter()

12