/linux-4.1.27/fs/fuse/ |
H A D | cuse.c | 75 static struct list_head *cuse_conntbl_head(dev_t devt) cuse_conntbl_head() argument 77 return &cuse_conntbl[(MAJOR(devt) + MINOR(devt)) % CUSE_CONNTBL_LEN]; cuse_conntbl_head() 113 dev_t devt = inode->i_cdev->dev; cuse_open() local 119 list_for_each_entry(pos, cuse_conntbl_head(devt), list) cuse_open() 120 if (pos->dev->devt == devt) { cuse_open() 315 dev_t devt; cuse_process_init_reply() local 335 /* determine and reserve devt */ cuse_process_init_reply() 336 devt = MKDEV(arg->dev_major, arg->dev_minor); cuse_process_init_reply() 337 if (!MAJOR(devt)) cuse_process_init_reply() 338 rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); cuse_process_init_reply() 340 rc = register_chrdev_region(devt, 1, devinfo.name); cuse_process_init_reply() 346 /* devt determined, create device */ cuse_process_init_reply() 355 dev->devt = devt; cuse_process_init_reply() 382 rc = cdev_add(cdev, devt, 1); cuse_process_init_reply() 390 list_add(&cc->list, cuse_conntbl_head(devt)); cuse_process_init_reply() 407 unregister_chrdev_region(devt, 1); cuse_process_init_reply()
|
/linux-4.1.27/block/ |
H A D | genhd.c | 28 /* for extended dynamic devt allocation, currently only one major is used */ 31 /* For extended devt allocation. ext_devt_lock prevents look up 400 * @devt: out parameter for resulting dev_t 405 * 0 on success, allocated dev_t is returned in *@devt. -errno on 411 int blk_alloc_devt(struct hd_struct *part, dev_t *devt) blk_alloc_devt() argument 418 *devt = MKDEV(disk->major, disk->first_minor + part->partno); blk_alloc_devt() 422 /* allocate ext devt */ blk_alloc_devt() 433 *devt = MKDEV(BLOCK_EXT_MAJOR, blk_mangle_minor(idx)); blk_alloc_devt() 439 * @devt: dev_t to free 441 * Free @devt which was allocated using blk_alloc_devt(). 446 void blk_free_devt(dev_t devt) blk_free_devt() argument 448 if (devt == MKDEV(0, 0)) blk_free_devt() 451 if (MAJOR(devt) == BLOCK_EXT_MAJOR) { blk_free_devt() 453 idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); blk_free_devt() 458 static char *bdevt_str(dev_t devt, char *buf) bdevt_str() argument 460 if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { bdevt_str() 462 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); bdevt_str() 465 snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); bdevt_str() 475 void blk_register_region(dev_t devt, unsigned long range, struct module *module, blk_register_region() argument 479 kobj_map(bdev_map, devt, range, module, probe, lock, data); blk_register_region() 484 void blk_unregister_region(dev_t devt, unsigned long range) blk_unregister_region() argument 486 kobj_unmap(bdev_map, devt, range); blk_unregister_region() 491 static struct kobject *exact_match(dev_t devt, int *partno, void *data) exact_match() argument 498 static int exact_lock(dev_t devt, void *data) exact_lock() argument 585 dev_t devt; add_disk() local 588 /* minors == 0 indicates to use ext devt from part0 and should add_disk() 597 retval = blk_alloc_devt(&disk->part0, &devt); add_disk() 602 disk_to_dev(disk)->devt = devt; add_disk() 607 disk->major = MAJOR(devt); add_disk() 608 disk->first_minor = MINOR(devt); add_disk() 674 * @devt: device to get partitioning information for 678 * information for the given device @devt. 680 struct gendisk *get_gendisk(dev_t devt, int *partno) get_gendisk() argument 684 if (MAJOR(devt) != BLOCK_EXT_MAJOR) { get_gendisk() 687 kobj = kobj_lookup(bdev_map, devt, partno); get_gendisk() 694 part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); get_gendisk() 891 static struct kobject *base_probe(dev_t devt, int *partno, void *data) base_probe() argument 893 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) base_probe() 895 request_module("block-major-%d", MAJOR(devt)); base_probe() 1108 blk_free_devt(dev->devt); disk_release() 1220 dev_t devt = MKDEV(0, 0); blk_lookup_devt() local 1236 devt = MKDEV(MAJOR(dev->devt), blk_lookup_devt() 1237 MINOR(dev->devt) + partno); blk_lookup_devt() 1242 devt = part_devt(part); blk_lookup_devt() 1249 return devt; blk_lookup_devt()
|
H A D | partition-generic.c | 214 blk_free_devt(dev->devt); part_release() 274 dev_t devt = MKDEV(0, 0); add_partition() local 329 err = blk_alloc_devt(p, &devt); add_partition() 332 pdev->devt = devt; add_partition() 374 blk_free_devt(devt); add_partition() 525 md_autodetect_dev(part_to_dev(part)->devt); rescan_partitions()
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm-chip.c | 124 chip->dev.devt = MKDEV(MISC_MAJOR, TPM_MINOR); tpmm_chip_alloc() 126 chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num); tpmm_chip_alloc() 144 rc = cdev_add(&chip->cdev, chip->dev.devt, 1); tpm_dev_add_device() 148 chip->devname, MAJOR(chip->dev.devt), tpm_dev_add_device() 149 MINOR(chip->dev.devt), rc); tpm_dev_add_device() 159 chip->devname, MAJOR(chip->dev.devt), tpm_dev_add_device() 160 MINOR(chip->dev.devt), rc); tpm_dev_add_device()
|
/linux-4.1.27/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 603 dev_t devt; hwicap_setup() local 631 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id); hwicap_setup() 659 drvdata->devt = devt; hwicap_setup() 681 retval = cdev_add(&drvdata->cdev, devt, 1); hwicap_setup() 687 device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id); hwicap_setup() 730 device_destroy(icap_class, drvdata->devt); hwicap_remove() 737 probed_devices[MINOR(dev->devt)-XHWICAP_MINOR] = 0; hwicap_remove() 853 dev_t devt; hwicap_module_init() local 859 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); hwicap_module_init() 860 retval = register_chrdev_region(devt, hwicap_module_init() 873 unregister_chrdev_region(devt, HWICAP_DEVICES); hwicap_module_init() 880 dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); hwicap_module_cleanup() local 886 unregister_chrdev_region(devt, HWICAP_DEVICES); hwicap_module_cleanup()
|
H A D | xilinx_hwicap.h | 54 dev_t devt; member in struct:hwicap_drvdata
|
/linux-4.1.27/drivers/base/ |
H A D | core.c | 305 if (MAJOR(dev->devt)) { dev_uevent() 312 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); dev_uevent() 313 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); dev_uevent() 529 return print_dev_t(buf, dev->devt); dev_show() 924 format_dev_t(devt_str, dev->devt); device_create_sys_dev_entry() 937 format_dev_t(devt_str, dev->devt); device_remove_sys_dev_entry() 1051 if (MAJOR(dev->devt)) { device_add() 1093 if (MAJOR(dev->devt)) device_add() 1197 if (MAJOR(dev->devt)) { device_del() 1590 dev_t devt, void *drvdata, device_create_groups_vargs() 1607 dev->devt = devt; device_create_groups_vargs() 1633 * @devt: the dev_t for the char device to be added 1655 dev_t devt, void *drvdata, const char *fmt, device_create_vargs() 1658 return device_create_groups_vargs(class, parent, devt, drvdata, NULL, device_create_vargs() 1667 * @devt: the dev_t for the char device to be added 1688 dev_t devt, void *drvdata, const char *fmt, ...) device_create() 1694 dev = device_create_vargs(class, parent, devt, drvdata, fmt, vargs); device_create() 1704 * @devt: the dev_t for the char device to be added 1728 struct device *parent, dev_t devt, device_create_with_groups() 1737 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups, device_create_with_groups() 1746 const dev_t *devt = data; __match_devt() local 1748 return dev->devt == *devt; __match_devt() 1754 * @devt: the dev_t of the device that was previously registered 1759 void device_destroy(struct class *class, dev_t devt) device_destroy() argument 1763 dev = class_find_device(class, NULL, &devt, __match_devt); device_destroy() 2035 if (MAJOR(dev->devt)) { create_syslog_header() 2045 c, MAJOR(dev->devt), MINOR(dev->devt)); create_syslog_header() 1589 device_create_groups_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, va_list args) device_create_groups_vargs() argument 1654 device_create_vargs(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, va_list args) device_create_vargs() argument 1687 device_create(struct class *class, struct device *parent, dev_t devt, void *drvdata, const char *fmt, ...) device_create() argument 1727 device_create_with_groups(struct class *class, struct device *parent, dev_t devt, void *drvdata, const struct attribute_group **groups, const char *fmt, ...) device_create_with_groups() argument
|
H A D | devtmpfs.c | 210 err = vfs_mknod(d_inode(path.dentry), dentry, mode, dev->devt); handle_create() 291 if (stat->rdev != dev->devt) dev_mynode()
|
/linux-4.1.27/drivers/pps/ |
H A D | pps.c | 295 dev_t devt; pps_register_cdev() local 314 devt = MKDEV(MAJOR(pps_devt), pps->id); pps_register_cdev() 319 err = cdev_add(&pps->cdev, devt, 1); pps_register_cdev() 325 pps->dev = device_create(pps_class, pps->info.dev, devt, pps, pps_register_cdev() 355 device_destroy(pps_class, pps->dev->devt); pps_unregister_cdev()
|
/linux-4.1.27/include/linux/ |
H A D | genhd.h | 137 #define GENHD_FL_EXT_DEVT 64 /* allow extended devt */ 255 return disk_to_dev(disk)->devt; disk_devt() 260 return part_to_dev(part)->devt; part_devt() 601 extern int blk_alloc_devt(struct hd_struct *part, dev_t *devt); 602 extern void blk_free_devt(dev_t devt); 622 extern void blk_register_region(dev_t devt, unsigned long range, 627 extern void blk_unregister_region(dev_t devt, unsigned long range); 723 dev_t devt = MKDEV(0, 0); blk_lookup_devt() local 724 return devt; blk_lookup_devt()
|
H A D | device.h | 700 * @devt: For creating the sysfs "dev". 777 dev_t devt; /* dev_t, creates the sysfs "dev" */ member in struct:device 985 dev_t devt, 991 dev_t devt, void *drvdata, 995 struct device *parent, dev_t devt, void *drvdata, 998 extern void device_destroy(struct class *cls, dev_t devt);
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | block2mtd.c | 247 dev_t devt; add_device() local 258 devt = name_to_dev_t(devname); add_device() 259 if (!devt) add_device() 261 bdev = blkdev_get_by_dev(devt, mode, dev); add_device()
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | file.c | 387 if (CXL_DEVT_IS_CARD(dev->devt)) { cxl_devnode() 399 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, cxl_add_chardev() argument 407 if ((rc = cdev_add(cdev, devt, 1))) { cxl_add_chardev() 412 dev = device_create(cxl_class, &afu->dev, devt, afu, cxl_add_chardev() 482 * adapter->dev.devt = CXL_CARD_MKDEV(adapter); cxl_register_adapter()
|
/linux-4.1.27/drivers/spi/ |
H A D | spidev.c | 76 dev_t devt; member in struct:spidev_data 603 if (spidev->devt == inode->i_rdev) { spidev_open() 754 spidev->devt = MKDEV(SPIDEV_MAJOR, minor); spidev_probe() 755 dev = device_create(spidev_class, &spi->dev, spidev->devt, spidev_probe() 791 device_destroy(spidev_class, spidev->devt); spidev_remove() 792 clear_bit(MINOR(spidev->devt), minors); spidev_remove()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | vpe-cmp.c | 123 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); vpe_module_init()
|
H A D | vpe-mt.c | 371 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); vpe_module_init()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_printer.c | 1017 dev_t devt; printer_func_bind() local 1075 devt = MKDEV(major, dev->minor); printer_func_bind() 1076 pdev = device_create(usb_gadget_class, NULL, devt, printer_func_bind() 1090 ret = cdev_add(&dev->printer_cdev, devt, 1); printer_func_bind() 1099 device_destroy(usb_gadget_class, devt); printer_func_bind() 1439 dev_t devt; gprinter_setup() local 1449 status = alloc_chrdev_region(&devt, 0, count, "USB printer gadget"); gprinter_setup() 1457 major = MAJOR(devt); gprinter_setup()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | core.h | 932 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, 934 int ath6kl_control_tx(void *devt, struct sk_buff *skb, 949 void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr); 952 void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active); 953 enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac);
|
H A D | main.c | 149 enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac) ath6kl_ac2_endpoint_id() argument 151 struct ath6kl *ar = devt; ath6kl_ac2_endpoint_id() 522 void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver, ath6kl_ready_event() argument 525 struct ath6kl *ar = devt; ath6kl_ready_event() 854 void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr) ath6kl_txpwr_rx_evt() argument 856 struct ath6kl *ar = (struct ath6kl *) devt; ath6kl_txpwr_rx_evt()
|
H A D | txrx.c | 286 int ath6kl_control_tx(void *devt, struct sk_buff *skb, ath6kl_control_tx() argument 289 struct ath6kl *ar = devt; ath6kl_control_tx() 530 void ath6kl_indicate_tx_activity(void *devt, u8 traffic_class, bool active) ath6kl_indicate_tx_activity() argument 532 struct ath6kl *ar = devt; ath6kl_indicate_tx_activity()
|
H A D | wmi.h | 2727 void *ath6kl_wmi_init(struct ath6kl *devt);
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-dev.c | 471 rtc->dev.devt = MKDEV(MAJOR(rtc_devt), rtc->id); rtc_dev_prepare() 484 if (cdev_add(&rtc->char_dev, rtc->dev.devt, 1)) rtc_dev_add_device() 494 if (rtc->dev.devt) rtc_dev_del_device()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | cpuid.c | 180 return kasprintf(GFP_KERNEL, "cpu/%u/cpuid", MINOR(dev->devt)); cpuid_devnode()
|
H A D | msr.c | 244 return kasprintf(GFP_KERNEL, "cpu/%u/msr", MINOR(dev->devt)); msr_devnode()
|
/linux-4.1.27/drivers/net/ |
H A D | macvtap.c | 1181 dev_t devt; macvtap_device_event() local 1199 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); macvtap_device_event() 1200 classdev = device_create(macvtap_class, &dev->dev, devt, macvtap_device_event() 1208 devt = MKDEV(MAJOR(macvtap_major), vlan->minor); macvtap_device_event() 1209 device_destroy(macvtap_class, devt); macvtap_device_event()
|
/linux-4.1.27/drivers/input/ |
H A D | joydev.c | 909 joydev->dev.devt = MKDEV(INPUT_MAJOR, minor); joydev_connect() 921 error = cdev_add(&joydev->cdev, joydev->dev.devt, 1); joydev_connect() 948 input_free_minor(MINOR(joydev->dev.devt)); joydev_disconnect()
|
H A D | mousedev.c | 893 mousedev->dev.devt = MKDEV(INPUT_MAJOR, minor); mousedev_create() 905 error = cdev_add(&mousedev->cdev, mousedev->dev.devt, 1); mousedev_create() 932 input_free_minor(MINOR(mousedev->dev.devt)); mousedev_destroy()
|
H A D | evdev.c | 1179 evdev->dev.devt = MKDEV(INPUT_MAJOR, minor); evdev_connect() 1191 error = cdev_add(&evdev->cdev, evdev->dev.devt, 1); evdev_connect() 1218 input_free_minor(MINOR(evdev->dev.devt)); evdev_disconnect()
|
/linux-4.1.27/drivers/staging/comedi/ |
H A D | comedi_fops.c | 373 unsigned int minor = MINOR(csdev->devt); max_read_buffer_kb_show() 396 unsigned int minor = MINOR(csdev->devt); max_read_buffer_kb_store() 429 unsigned int minor = MINOR(csdev->devt); read_buffer_kb_show() 452 unsigned int minor = MINOR(csdev->devt); read_buffer_kb_store() 486 unsigned int minor = MINOR(csdev->devt); max_write_buffer_kb_show() 509 unsigned int minor = MINOR(csdev->devt); max_write_buffer_kb_store() 542 unsigned int minor = MINOR(csdev->devt); write_buffer_kb_show() 565 unsigned int minor = MINOR(csdev->devt); write_buffer_kb_store()
|
/linux-4.1.27/drivers/pwm/ |
H A D | sysfs.c | 199 export->child.devt = MKDEV(0, 0); pwm_export_child()
|
/linux-4.1.27/drivers/firewire/ |
H A D | core-device.c | 764 struct fw_device *fw_device_get_by_devt(dev_t devt) fw_device_get_by_devt() argument 769 device = idr_find(&fw_device_idr, MINOR(devt)); fw_device_get_by_devt() 806 int minor = MINOR(device->device.devt); fw_device_shutdown() 1052 device->device.devt = MKDEV(fw_cdev_major, minor); fw_device_init()
|
H A D | core.h | 150 struct fw_device *fw_device_get_by_devt(dev_t devt);
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 818 isar_pump_statev_modem(struct isar_ch *ch, u8 devt) { isar_pump_statev_modem() argument 821 switch (devt) { isar_pump_statev_modem() 867 pr_info("u%s: unknown pump stev %x\n", ch->is->name, devt); isar_pump_statev_modem() 873 isar_pump_statev_fax(struct isar_ch *ch, u8 devt) { isar_pump_statev_fax() argument 877 switch (devt) { isar_pump_statev_fax()
|
/linux-4.1.27/drivers/char/ |
H A D | virtio_console.c | 1395 dev_t devt; add_port() local 1432 devt = MKDEV(portdev->chr_major, id); add_port() 1433 err = cdev_add(port->cdev, devt, 1); add_port() 1440 devt, port, "vport%up%u", add_port() 1508 device_destroy(pdrvdata.class, port->dev->devt); add_port() 1592 device_destroy(pdrvdata.class, port->dev->devt); unplug_port()
|
H A D | mem.c | 836 if (mode && devlist[MINOR(dev->devt)].mode) mem_devnode() 837 *mode = devlist[MINOR(dev->devt)].mode; mem_devnode()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 697 (long)old_encode_dev(file_priv->minor->kdev->devt), drm_ioctl() 755 (long)old_encode_dev(file_priv->minor->kdev->devt), drm_ioctl()
|
H A D | drm_fops.c | 394 (long)old_encode_dev(file_priv->minor->kdev->devt), drm_release()
|
H A D | drm_sysfs.c | 569 kdev->devt = MKDEV(DRM_MAJOR, minor->index); drm_sysfs_minor_alloc()
|
/linux-4.1.27/drivers/media/ |
H A D | media-devnode.c | 266 mdev->dev.devt = MKDEV(MAJOR(media_dev_t), mdev->minor); media_devnode_register()
|
/linux-4.1.27/sound/core/ |
H A D | sound.c | 288 device->devt = MKDEV(major, minor); snd_register_device()
|
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | isar.c | 897 isar_pump_statev_modem(struct BCState *bcs, u_char devt) { isar_pump_statev_modem() argument 901 switch (devt) { isar_pump_statev_modem() 961 debugl1(cs, "unknown pump stev %x", devt); isar_pump_statev_modem() 982 isar_pump_statev_fax(struct BCState *bcs, u_char devt) { isar_pump_statev_fax() argument 987 switch (devt) { isar_pump_statev_fax()
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_io.c | 3124 const dev_t *devt = data; dev_match_devt() local 3125 return dev->devt == *devt; dev_match_devt() 3131 dev_t devt = tty_devnum(tty); tty_get_device() local 3132 return class_find_device(tty_class, NULL, &devt, dev_match_devt); tty_get_device() 3283 dev_t devt = MKDEV(driver->major, driver->minor_start) + index; tty_register_device_attr() local 3300 retval = tty_cdev_add(driver, devt, index, 1); tty_register_device_attr() 3312 dev->devt = devt; tty_register_device_attr() 3592 if (dev->devt == MKDEV(TTYAUX_MAJOR, 0) || tty_devnode() 3593 dev->devt == MKDEV(TTYAUX_MAJOR, 2)) tty_devnode()
|
/linux-4.1.27/drivers/scsi/osd/ |
H A D | osd_uld.c | 487 oud->class_dev.devt = oud->cdev.dev; osd_probe()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-pciercx-defs.h | 142 uint32_t devt:2; member in struct:cvmx_pciercx_cfg001::cvmx_pciercx_cfg001_s 180 uint32_t devt:2; 340 uint32_t devt:2; member in struct:cvmx_pciercx_cfg007::cvmx_pciercx_cfg007_s 364 uint32_t devt:2;
|
H A D | cvmx-pci-defs.h | 204 uint32_t devt:2; member in struct:cvmx_pci_cfg01::cvmx_pci_cfg01_s 242 uint32_t devt:2;
|
/linux-4.1.27/init/ |
H A D | do_mounts.c | 154 res = dev->devt; devt_from_partuuid()
|
/linux-4.1.27/sound/ |
H A D | sound_core.c | 34 if (MAJOR(dev->devt) == SOUND_MAJOR) sound_devnode()
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-core.c | 1187 indio_dev->dev.devt = MKDEV(MAJOR(iio_devt), indio_dev->id); iio_device_register() 1225 ret = cdev_add(&indio_dev->chrdev, indio_dev->dev.devt, 1); iio_device_register()
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | vmt.c | 325 vol->dev.devt = dev; ubi_create_volume() 655 vol->dev.devt = dev; ubi_add_volume()
|
H A D | build.c | 409 ubi->dev.devt = ubi->cdev.dev; ubi_sysfs_init()
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | core.h | 963 * @devt: Device Event 970 struct dwc3_event_devt devt; member in union:dwc3_event
|
H A D | gadget.c | 2592 dwc3_gadget_interrupt(dwc, &event->devt); dwc3_process_event_entry()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devio.c | 857 return dev->devt == (dev_t) (unsigned long) data; match_devt() 860 static struct usb_device *usbdev_lookup_by_devt(dev_t devt) usbdev_lookup_by_devt() argument 865 (void *) (unsigned long) devt, match_devt); usbdev_lookup_by_devt()
|
H A D | hub.c | 2460 udev->dev.devt = MKDEV(USB_DEVICE_MAJOR, usb_new_device()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-dev.c | 103 struct i2c_dev *i2c_dev = i2c_dev_get_by_minor(MINOR(dev->devt)); name_show()
|
/linux-4.1.27/drivers/scsi/ |
H A D | sd.c | 533 static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data) sd_default_probe() argument 3022 dev_t devt; sd_remove() local 3025 devt = disk_devt(sdkp->disk); sd_remove() 3034 blk_register_region(devt, SD_MINORS, NULL, sd_remove()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | serial_core.c | 2013 dev_t devt = MKDEV(tty_drv->major, tty_drv->minor_start) + serial_match_port() local 2016 return dev->devt == devt; /* Actually, only one tty per port */ serial_match_port()
|
/linux-4.1.27/drivers/staging/unisys/visorchipset/ |
H A D | visorchipset_main.c | 2236 visorchipset_platform_device.dev.devt = major_dev; visorchipset_init() 2281 visorchipset_file_cleanup(visorchipset_platform_device.dev.devt); visorchipset_exit()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | ucm.c | 1293 ucm_dev->dev.devt = ucm_dev->cdev.dev; ib_ucm_add_one()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdcore.c | 430 mtd->dev.devt = MTD_DEVT(i); add_mtd_device()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 892 vdev->dev.devt = MKDEV(VIDEO_MAJOR, vdev->minor); __video_register_device()
|
/linux-4.1.27/drivers/usb/mon/ |
H A D | mon_bin.c | 1350 device_destroy(mon_bin_class, mbus->classdev->devt); mon_bin_del()
|