Home
last modified time | relevance | path

Searched refs:MINOR (Results 1 – 25 of 71) sorted by relevance

123

/drivers/rpmsg/
Drpmsg_ctrl.c134 ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_ctrldev_release_device()
184 ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_ctrldev_probe()
Drpmsg_char.c403 ida_simple_remove(&rpmsg_minor_ida, MINOR(eptdev->dev.devt)); in rpmsg_eptdev_release_device()
467 ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_chrdev_eptdev_add()
/drivers/md/
Ddm-audit.c74 int dev_minor = MINOR(bio->bi_bdev->bd_dev); in dm_audit_log_bio()
Dmd-autodetect.c206 .minor = MINOR(devices[i]), in md_setup_drive()
/drivers/mtd/
Dmtdsuper.c158 return mtd_get_sb_by_nr(fc, MINOR(dev), fill_super); in get_tree_mtd()
/drivers/misc/ocxl/
Dfile.c26 info = idr_find(&minors_idr, MINOR(devno)); in find_and_get_file_info()
46 idr_remove(&minors_idr, MINOR(info->dev.devt)); in free_minor()
/drivers/char/
Dmem.c744 if (mode && devlist[MINOR(dev->devt)].mode) in mem_devnode()
745 *mode = devlist[MINOR(dev->devt)].mode; in mem_devnode()
/drivers/tty/
Dtty_audit.c77 MAJOR(dev), MINOR(dev)); in tty_audit_log()
/drivers/comedi/
Dcomedi_fops.c370 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_show()
393 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_store()
426 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_show()
449 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_store()
483 unsigned int minor = MINOR(csdev->devt); in max_write_buffer_kb_show()
506 unsigned int minor = MINOR(csdev->devt); in max_write_buffer_kb_store()
539 unsigned int minor = MINOR(csdev->devt); in write_buffer_kb_show()
562 unsigned int minor = MINOR(csdev->devt); in write_buffer_kb_store()
/drivers/char/xillybus/
Dxillybus_class.c90 unit->lowest_minor = MINOR(mdev); in xillybus_init_chrdev()
/drivers/misc/cxl/
Dfile.c35 #define CXL_DEVT_AFU(dev) ((MINOR(dev) % CXL_DEV_MINORS - 1) / 3)
37 #define CXL_DEVT_IS_CARD(dev) (MINOR(dev) % CXL_DEV_MINORS == 0)
/drivers/usb/gadget/
Dandroid_configfs_uevent.c321 ida_free(&opts->function_ida, MINOR(dev->devt)); in android_remove_function_device()
/drivers/media/rc/
Dlirc_dev.c777 dev->driver_name, MINOR(dev->lirc_dev.devt)); in lirc_unregister()
785 ida_free(&lirc_ida, MINOR(dev->lirc_dev.devt)); in lirc_unregister()
/drivers/s390/block/
Ddasd_proc.c62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c110 drm_dp_aux_dev_get_by_minor(MINOR(dev->devt)); in name_show()
/drivers/s390/crypto/
Dzcrypt_api.c360 __func__, MAJOR(dev->devt), MINOR(dev->devt)); in zcdn_device_release()
386 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_create()
411 rc = dev_set_name(&zcdndev->device, ZCRYPT_NAME "_%d", (int)MINOR(devt)); in zcdn_create()
423 __func__, MAJOR(devt), MINOR(devt)); in zcdn_create()
465 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_destroy_all()
/drivers/staging/greybus/
Draw.c235 ida_simple_remove(&minors, MINOR(raw->dev)); in gb_raw_disconnect()
Dauthentication.c375 ida_simple_remove(&cap_minors_map, MINOR(cap->dev_num)); in gb_cap_connection_exit()
/drivers/platform/chrome/wilco_ec/
Dtelemetry.c408 ida_simple_remove(&telem_ida, MINOR(dev_data->dev.devt)); in telem_device_remove()
Devent.c507 ida_simple_remove(&event_ida, MINOR(dev_data->dev.devt)); in event_device_remove()
/drivers/block/
Dbrd.c379 brd_alloc(MINOR(dev) / max_part); in brd_probe()
/drivers/dma-buf/
Ddma-heap.c257 int minor = MINOR(heap->heap_devt); in dma_heap_release()
/drivers/net/wwan/
Dwwan_core.c351 ida_free(&minors, MINOR(port->dev.devt)); in wwan_port_destroy()
366 MINOR(dev->devt) == *(unsigned int *)minor); in wwan_port_minor_match()
/drivers/char/tpm/
Dtpm-chip.c422 MINOR(chip->dev.devt), rc); in tpm_add_char_device()
/drivers/media/dvb-frontends/drx39xyj/
Ddrx_driver.h436 #define DRX_VERSIONSTRING(MAJOR, MINOR, PATCH) \ argument
438 DRX_VERSIONSTRING_HELP(MINOR)"." \

123