Home
last modified time | relevance | path

Searched refs:devlist (Results 1 – 25 of 31) sorted by relevance

12

/drivers/zorro/
DMakefile10 hostprogs := gen-devlist
13 clean-files := devlist.h
16 $(obj)/names.o: $(obj)/devlist.h
20 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
21 $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
22 $(call cmd,devlist)
D.gitignore2 devlist.h
3 gen-devlist
/drivers/eisa/
DMakefile15 $(obj)/eisa-bus.o: $(obj)/devlist.h
20 clean-files := devlist.h
21 $(obj)/devlist.h: $(src)/eisa.ids include/linux/device.h
D.gitignore2 devlist.h
/drivers/char/
Dmem.c695 } devlist[] = { variable
718 if (minor >= ARRAY_SIZE(devlist)) in memory_open()
721 dev = &devlist[minor]; in memory_open()
741 if (mode && devlist[MINOR(dev->devt)].mode) in mem_devnode()
742 *mode = devlist[MINOR(dev->devt)].mode; in mem_devnode()
760 for (minor = 1; minor < ARRAY_SIZE(devlist); minor++) { in chr_dev_init()
761 if (!devlist[minor].name) in chr_dev_init()
771 NULL, devlist[minor].name); in chr_dev_init()
/drivers/block/aoe/
Daoedev.c25 static struct aoedev *devlist; variable
328 for (d = devlist; d; d = d->next) { in flush()
359 for (d = devlist; d; d = d->next) { in flush()
372 for (dd = &devlist, d = *dd; d; d = *dd) { in flush()
448 for (d=devlist; d; d=d->next) in aoedev_by_aoeaddr()
490 d->next = devlist; in aoedev_by_aoeaddr()
491 devlist = d; in aoedev_by_aoeaddr()
/drivers/md/
Draid0.c52 bdevname(conf->devlist[j*raid_disks in dump_zones()
149 conf->devlist = kzalloc(array3_size(sizeof(struct md_rdev *), in create_strip_zones()
153 if (!conf->devlist) in create_strip_zones()
162 dev = conf->devlist; in create_strip_zones()
218 dev = conf->devlist + i * mddev->raid_disks; in create_strip_zones()
226 rdev = conf->devlist[j]; in create_strip_zones()
295 kfree(conf->devlist); in create_strip_zones()
353 return conf->devlist[(zone - conf->strip_zone)*raid_disks in map_sector()
375 kfree(conf->devlist); in free_conf()
564 rdev = conf->devlist[(zone - conf->strip_zone) * in raid0_handle_discard()
Draid0.h27 struct md_rdev **devlist; /* lists of rdevs, pointed to member
/drivers/media/pci/saa7164/
Dsaa7164-core.c79 static DEFINE_MUTEX(devlist);
952 mutex_lock(&devlist); in saa7164_dev_setup()
953 list_add_tail(&dev->devlist, &saa7164_devlist); in saa7164_dev_setup()
954 mutex_unlock(&devlist); in saa7164_dev_setup()
1051 mutex_lock(&devlist); in saa7164_seq_start()
1052 list_for_each_entry(dev, &saa7164_devlist, devlist) { in saa7164_seq_start()
1054 mutex_unlock(&devlist); in saa7164_seq_start()
1058 mutex_unlock(&devlist); in saa7164_seq_start()
1068 mutex_lock(&devlist); in saa7164_seq_next()
1069 if (list_is_last(&dev->devlist, &saa7164_devlist)) in saa7164_seq_next()
[all …]
Dsaa7164.h421 struct list_head devlist; member
/drivers/media/pci/cx88/
Dcx88-core.c62 static DEFINE_MUTEX(devlist);
1037 mutex_lock(&devlist); in cx88_core_get()
1038 list_for_each_entry(core, &cx88_devlist, devlist) { in cx88_core_get()
1045 mutex_unlock(&devlist); in cx88_core_get()
1049 mutex_unlock(&devlist); in cx88_core_get()
1056 list_add_tail(&core->devlist, &cx88_devlist); in cx88_core_get()
1059 mutex_unlock(&devlist); in cx88_core_get()
1072 mutex_lock(&devlist); in cx88_core_put()
1078 list_del(&core->devlist); in cx88_core_put()
1081 mutex_unlock(&devlist); in cx88_core_put()
Dcx88-mpeg.c615 list_for_each_entry(dev, &cx8802_devlist, devlist) { in cx8802_register_driver()
667 list_for_each_entry(dev, &cx8802_devlist, devlist) { in cx8802_unregister_driver()
733 list_add_tail(&dev->devlist, &cx8802_devlist); in cx8802_probe()
Dcx88.h333 struct list_head devlist; member
554 struct list_head devlist; member
/drivers/s390/block/
Ddasd.c1781 list_add(&fcqr->devlist, &device->ccw_queue); in dasd_int_handler()
1812 if (cqr->devlist.next != &device->ccw_queue) { in dasd_int_handler()
1813 next = list_entry(cqr->devlist.next, in dasd_int_handler()
1814 struct dasd_ccw_req, devlist); in dasd_int_handler()
1895 cqr = list_entry(l, struct dasd_ccw_req, devlist); in __dasd_device_recovery()
1915 cqr = list_entry(l, struct dasd_ccw_req, devlist); in __dasd_device_process_ccw_queue()
1926 list_move_tail(&cqr->devlist, final_queue); in __dasd_device_process_ccw_queue()
1969 cqr = list_entry(l, struct dasd_ccw_req, devlist); in __dasd_device_process_final_queue()
1970 list_del_init(&cqr->devlist); in __dasd_device_process_final_queue()
1992 cqr = list_entry(device->ccw_queue.next, struct dasd_ccw_req, devlist); in __dasd_device_check_expire()
[all …]
Ddasd_erp.c51 INIT_LIST_HEAD(&cqr->devlist); in dasd_alloc_erp_request()
Ddasd_eer.c421 list_add(&cqr->devlist, &device->ccw_queue); in dasd_eer_snss()
/drivers/media/platform/marvell-ccic/
Dmmp-driver.c40 struct list_head devlist; member
191 INIT_LIST_HEAD(&cam->devlist); in mmpcam_probe()
/drivers/media/usb/tm6000/
Dtm6000-core.c832 list_del(&dev->devlist); in tm6000_remove_from_devlist()
839 list_add_tail(&dev->devlist, &tm6000_devlist); in tm6000_add_into_devlist()
870 list_for_each_entry(dev, &tm6000_devlist, devlist) { in tm6000_register_extension()
885 list_for_each_entry(dev, &tm6000_devlist, devlist) in tm6000_unregister_extension()
Dtm6000.h201 struct list_head devlist; member
/drivers/net/ethernet/smsc/
Dsmc9194.c104 struct devlist { struct
109 static struct devlist smc_devlist[] __initdata = { argument
693 struct devlist *smcdev = smc_devlist; in smc_init()
797 struct devlist *smcdev; in smc_findirq()
/drivers/media/usb/em28xx/
Dem28xx-core.c1087 list_for_each_entry(dev, &em28xx_devlist, devlist) { in em28xx_register_extension()
1105 list_for_each_entry(dev, &em28xx_devlist, devlist) { in em28xx_unregister_extension()
1123 list_add_tail(&dev->devlist, &em28xx_devlist); in em28xx_init_extension()
1146 list_del(&dev->devlist); in em28xx_close_extension()
Dem28xx.h677 struct list_head devlist; member
/drivers/media/pci/saa7134/
Dsaa7134-core.c1191 list_add_tail(&dev->devlist, &saa7134_devlist); in saa7134_initdev()
1291 list_del(&dev->devlist); in saa7134_initdev()
1343 list_del(&dev->devlist); in saa7134_finidev()
1496 list_for_each_entry(dev, &saa7134_devlist, devlist) in saa7134_ts_register()
1509 list_for_each_entry(dev, &saa7134_devlist, devlist) in saa7134_ts_unregister()
/drivers/media/usb/cx231xx/
Dcx231xx-core.c67 list_del(&dev->devlist); in cx231xx_remove_from_devlist()
76 list_add_tail(&dev->devlist, &cx231xx_devlist); in cx231xx_add_into_devlist()
89 list_for_each_entry(dev, &cx231xx_devlist, devlist) { in cx231xx_register_extension()
103 list_for_each_entry(dev, &cx231xx_devlist, devlist) { in cx231xx_unregister_extension()
/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h614 struct list_head devlist; member

12