Home
last modified time | relevance | path

Searched full:driver_name (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/linux/drivers/base/
H A Dmodule.c14 char *driver_name; in make_driver_name() local
16 driver_name = kasprintf(GFP_KERNEL, "%s:%s", drv->bus->name, drv->name); in make_driver_name()
17 if (!driver_name) in make_driver_name()
20 return driver_name; in make_driver_name()
35 char *driver_name; in module_add_driver() local
62 driver_name = make_driver_name(drv); in module_add_driver()
63 if (!driver_name) { in module_add_driver()
74 ret = sysfs_create_link(mk->drivers_dir, &drv->p->kobj, driver_name); in module_add_driver()
78 kfree(driver_name); in module_add_driver()
83 sysfs_remove_link(mk->drivers_dir, driver_name); in module_add_driver()
[all …]
/linux/include/trace/events/
H A Ddevlink.h26 __string(driver_name, devlink_to_dev(devlink)->driver->name)
36 __assign_str(driver_name);
43 TP_printk("bus_name=%s dev_name=%s driver_name=%s incoming=%d type=%lu buf=0x[%*phD] len=%zu",
45 __get_str(driver_name), __entry->incoming, __entry->type,
60 __string(driver_name, devlink_to_dev(devlink)->driver->name)
68 __assign_str(driver_name);
73 TP_printk("bus_name=%s dev_name=%s driver_name=%s err=%d %s",
75 __get_str(driver_name), __entry->err, __get_str(msg))
90 __string(driver_name, devlink_to_dev(devlink)->driver->name)
98 __assign_str(driver_name);
[all...]
/linux/drivers/mfd/
H A Dtps65010.c31 #define DRIVER_NAME (tps65010_driver.driver.name) macro
154 pr_debug("%s: %s %s", DRIVER_NAME, label, buf); in show_chgstatus()
162 pr_debug("%s: %s %s", DRIVER_NAME, label, buf); in show_regstatus()
170 pr_debug("%s: %s %s", DRIVER_NAME, label, buf); in show_chgconfig()
199 DRIVER_NAME, DRIVER_VERSION, chip); in dbg_show()
331 pr_info("%s: power off button\n", DRIVER_NAME); in tps65010_interrupt()
378 DRIVER_NAME, charging ? "" : in tps65010_interrupt()
550 DRIVER_NAME, tps); in tps65010_probe()
576 pr_debug("%s: vdcdc1 0x%02x, vdcdc2 %02x, vregs1 %02x\n", DRIVER_NAME, in tps65010_probe()
580 pr_debug("%s: defgpio 0x%02x, mask3 0x%02x\n", DRIVER_NAME, in tps65010_probe()
[all …]
H A Dmcp-sa11x0.c25 #define DRIVER_NAME "sa11x0-mcp" macro
170 DRIVER_NAME)) { in mcp_sa11x0_probe()
176 DRIVER_NAME)) { in mcp_sa11x0_probe()
291 .name = DRIVER_NAME,
301 MODULE_ALIAS("platform:" DRIVER_NAME);
/linux/drivers/pcmcia/
H A Domap_cf.c53 static const char driver_name[] = "omap_cf"; variable
85 pr_debug("%s: card %s\n", driver_name, in omap_cf_timer()
143 driver_name, s->Vcc, s->io_irq, s->flags, s->csc_mask); in omap_cf_set_socket()
150 pr_debug("%s: %s\n", driver_name, __func__); in omap_cf_ss_suspend()
231 driver_name, cf); in omap_cf_probe()
246 if (!request_mem_region(cf->phys_cf, SZ_8K, driver_name)) { in omap_cf_probe()
260 pr_info("%s: cs%d on irq %d\n", driver_name, seg, irq); in omap_cf_probe()
264 pr_debug("%s: sts %04x cfg %04x control %04x %s\n", driver_name, in omap_cf_probe()
315 .name = driver_name,
H A Delectra_cf.c27 static const char driver_name[] = "electra-cf"; variable
141 driver_name, s->Vcc, s->io_irq, s->flags, s->csc_mask); in electra_cf_set_socket()
224 driver_name, cf); in electra_cf_probe()
257 if (!request_mem_region(cf->mem_phys, cf->mem_size, driver_name)) { in electra_cf_probe()
263 if (!request_region(cf->io_base, cf->io_size, driver_name)) { in electra_cf_probe()
341 .name = driver_name,
/linux/drivers/media/usb/as102/
H A Das102_fw.c183 DRIVER_NAME, fw1); in as102_fw_upload()
191 DRIVER_NAME); in as102_fw_upload()
196 DRIVER_NAME, fw1); in as102_fw_upload()
207 DRIVER_NAME, fw2); in as102_fw_upload()
215 DRIVER_NAME); in as102_fw_upload()
220 DRIVER_NAME, fw2); in as102_fw_upload()
/linux/drivers/comedi/
H A Dproc.c28 "\"%2d: %-20s %-20s %4d\", i, driver_name, board_name, n_subdevices"); in comedi_read()
40 i, dev->driver->driver_name, in comedi_read()
51 seq_printf(m, "%s:\n", driv->driver_name); in comedi_read()
58 seq_printf(m, " %s\n", driv->driver_name); in comedi_read()
/linux/drivers/watchdog/
H A Dadvantech_ec_wdt.c19 #define DRIVER_NAME "advantech_ec_wdt" macro
131 .identity = DRIVER_NAME,
171 .name = DRIVER_NAME,
180 if (!request_region(EC_BASE_ADDR, EC_ADDR_EXTENT, DRIVER_NAME)) in adv_ec_wdt_init()
205 MODULE_ALIAS("isa:" DRIVER_NAME);
H A Driowd.c51 #define DRIVER_NAME "riowd" macro
52 #define PFX DRIVER_NAME ": "
93 .identity = DRIVER_NAME, in riowd_ioctl()
191 p->regs = of_ioremap(&op->resource[0], 0, 2, DRIVER_NAME); in riowd_probe()
237 .name = DRIVER_NAME,
/linux/tools/testing/selftests/arm64/fp/
H A Dkernel-test.c71 char *c, *driver_name; in create_socket() local
98 driver_name = NULL; in create_socket()
115 if (is_shash && driver_name) { in create_socket()
118 driver_name) == 0) { in create_socket()
127 free(driver_name); in create_socket()
128 driver_name = NULL; in create_socket()
156 driver_name = strdup(c); in create_socket()
/linux/sound/soc/intel/boards/
H A Dbytcht_cx2072x.c208 #define DRIVER_NAME NULL /* card name will be used for driver name */ macro
213 .driver_name = DRIVER_NAME,
272 byt_cht_cx2072x_card.driver_name = SOF_DRIVER_NAME; in snd_byt_cht_cx2072x_probe()
275 byt_cht_cx2072x_card.driver_name = DRIVER_NAME; in snd_byt_cht_cx2072x_probe()
H A Dbytcht_da7213.c208 #define DRIVER_NAME NULL /* card name will be used for driver name */ macro
213 .driver_name = DRIVER_NAME,
276 bytcht_da7213_card.driver_name = SOF_DRIVER_NAME; in bytcht_da7213_probe()
279 bytcht_da7213_card.driver_name = DRIVER_NAME; in bytcht_da7213_probe()
/linux/drivers/uio/
H A Duio_dfl.c12 #define DRIVER_NAME "uio_dfl" macro
26 uioinfo->name = DRIVER_NAME; in uio_dfl_probe()
63 .name = DRIVER_NAME,
/linux/drivers/gpio/
H A Dgpio-mc33880.c19 #define DRIVER_NAME "mc33880" macro
105 mc->chip.label = DRIVER_NAME; in mc33880_probe()
124 dev_err(&spi->dev, "Failed writing to " DRIVER_NAME ": %d\n", in mc33880_probe()
152 .name = DRIVER_NAME,
/linux/drivers/mtd/maps/
H A Dsun_uflash.c27 #define DRIVER_NAME "sun_uflash" macro
28 #define PFX DRIVER_NAME ": "
80 DRIVER_NAME); in uflash_devinit()
148 .name = DRIVER_NAME,
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c17 #define DRIVER_NAME "saa7164" macro
346 DRIVER_NAME, result); in dvb_register()
374 DRIVER_NAME, result); in dvb_register()
384 result = dvb_register_adapter(&dvb->adapter, DRIVER_NAME, THIS_MODULE, in dvb_register()
388 DRIVER_NAME, result); in dvb_register()
397 DRIVER_NAME, result); in dvb_register()
413 DRIVER_NAME, result); in dvb_register()
423 DRIVER_NAME, result); in dvb_register()
431 DRIVER_NAME, result); in dvb_register()
439 DRIVER_NAME, result); in dvb_register()
[all …]
/linux/drivers/parisc/
H A Dpower.c25 #define DRIVER_NAME "powersw" macro
220 case 0: printk(KERN_INFO DRIVER_NAME ": Gecko-style soft power switch enabled.\n"); in power_init()
223 case -1UL: printk(KERN_INFO DRIVER_NAME ": Soft power switch support not available.\n"); in power_init()
226 default: printk(KERN_INFO DRIVER_NAME ": Soft power switch at 0x%08lx enabled.\n", in power_init()
238 printk(KERN_ERR DRIVER_NAME ": thread creation failed. Driver not loaded.\n"); in power_init()
/linux/drivers/media/rc/
H A Dpwm-ir-tx.c17 #define DRIVER_NAME "pwm-ir-tx" macro
177 rcdev->driver_name = DRIVER_NAME; in pwm_ir_probe()
192 .name = DRIVER_NAME,
/linux/include/uapi/linux/usb/
H A Draw_gadget.h15 /* Maximum length of driver_name/device_name in the usb_raw_init struct. */
22 * @driver_name: The name of the UDC driver.
26 * For example, Dummy UDC has "dummy_udc" as its driver_name and "dummy_udc.N"
29 * "20980000.usb" as both driver_name and device_name.
32 __u8 driver_name[UDC_NAME_LENGTH_MAX]; member
/linux/drivers/mtd/nand/onenand/
H A Dgeneric.c25 #define DRIVER_NAME "onenand-flash" macro
104 .name = DRIVER_NAME,
115 MODULE_ALIAS("platform:" DRIVER_NAME);
/linux/fs/proc/
H A Dproc_tty.c29 seq_printf(m, "%-20s ", p->driver_name ? p->driver_name : "unknown"); in show_tty_range()
135 if (!driver->driver_name || driver->proc_entry || in proc_tty_register_driver()
139 ent = proc_create_single_data(driver->driver_name, 0, proc_tty_driver, in proc_tty_register_driver()
/linux/sound/pci/cs5535audio/
H A Dcs5535audio.c26 #define DRIVER_NAME "cs5535audio" macro
49 MODULE_PARM_DESC(index, "Index value for " DRIVER_NAME);
51 MODULE_PARM_DESC(id, "ID string for " DRIVER_NAME);
53 MODULE_PARM_DESC(enable, "Enable " DRIVER_NAME);
320 strscpy(card->driver, DRIVER_NAME); in __snd_cs5535audio_probe()
/linux/drivers/bluetooth/
H A Dbtrtl.h113 const char *driver_name; member
150 void btrtl_set_driver_name(struct hci_dev *hdev, const char *driver_name);
194 static inline void btrtl_set_driver_name(struct hci_dev *hdev, const char *driver_name) in btrtl_set_driver_name() argument
/linux/drivers/gpu/drm/sti/
H A Dsti_drv.c30 #define DRIVER_NAME "sti" macro
106 DRM_INFO("%s: debugfs installed\n", DRIVER_NAME); in sti_drm_dbg_init()
143 .name = DRIVER_NAME,
274 .name = DRIVER_NAME,

12345678910>>...25