/drivers/rpmsg/ |
D | rpmsg_ctrl.c | 134 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()
|
D | rpmsg_char.c | 396 ida_simple_remove(&rpmsg_minor_ida, MINOR(eptdev->dev.devt)); in rpmsg_eptdev_release_device() 460 ida_simple_remove(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_chrdev_eptdev_add()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_catalog.h | 20 #define DPU_HW_VER(MAJOR, MINOR, STEP) (((MAJOR & 0xF) << 28) |\ argument 21 ((MINOR & 0xFFF) << 16) |\
|
/drivers/mtd/ |
D | mtdsuper.c | 180 return mtd_get_sb_by_nr(fc, MINOR(dev), fill_super); in get_tree_mtd()
|
/drivers/tty/ |
D | tty_audit.c | 76 loginuid, sessionid, MAJOR(dev), MINOR(dev)); in tty_audit_log()
|
/drivers/char/ |
D | mem.c | 741 if (mode && devlist[MINOR(dev->devt)].mode) in mem_devnode() 742 *mode = devlist[MINOR(dev->devt)].mode; in mem_devnode()
|
/drivers/misc/ocxl/ |
D | file.c | 26 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/comedi/ |
D | comedi_fops.c | 383 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_show() 406 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_store() 439 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_show() 462 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_store() 496 unsigned int minor = MINOR(csdev->devt); in max_write_buffer_kb_show() 519 unsigned int minor = MINOR(csdev->devt); in max_write_buffer_kb_store() 552 unsigned int minor = MINOR(csdev->devt); in write_buffer_kb_show() 575 unsigned int minor = MINOR(csdev->devt); in write_buffer_kb_store()
|
/drivers/char/xillybus/ |
D | xillybus_class.c | 88 unit->lowest_minor = MINOR(mdev); in xillybus_init_chrdev()
|
/drivers/md/ |
D | md-autodetect.c | 214 .minor = MINOR(devices[i]), in md_setup_drive()
|
/drivers/misc/cxl/ |
D | file.c | 35 #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/block/ |
D | z2ram.c | 151 device = MINOR(bdev->bd_dev); in z2_open()
|
D | ataflop.c | 1920 int type = MINOR(bdev->bd_dev) >> 2; in floppy_open() 2014 int drive = MINOR(dev) & 3; in ataflop_probe() 2015 int type = MINOR(dev) >> 2; in ataflop_probe()
|
D | brd.c | 443 brd_alloc(MINOR(dev) / max_part); in brd_probe()
|
/drivers/gpu/drm/ |
D | drm_dp_aux_dev.c | 110 drm_dp_aux_dev_get_by_minor(MINOR(dev->devt)); in name_show()
|
/drivers/s390/block/ |
D | dasd_proc.c | 62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
|
/drivers/s390/crypto/ |
D | zcrypt_api.c | 345 MAJOR(dev->devt), MINOR(dev->devt)); in zcdn_device_release() 372 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_create() 398 ZCRYPT_NAME "_%d", (int) MINOR(devt)); in zcdn_create() 412 MAJOR(devt), MINOR(devt)); in zcdn_create() 454 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_destroy_all()
|
/drivers/media/rc/ |
D | lirc_dev.c | 790 dev->driver_name, MINOR(dev->lirc_dev.devt)); in lirc_unregister() 798 ida_simple_remove(&lirc_ida, MINOR(dev->lirc_dev.devt)); in lirc_unregister()
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 912 MAJOR(fifo->devt), MINOR(fifo->devt)); in axis_fifo_probe() 942 MAJOR(fifo->devt), MINOR(fifo->devt)); in axis_fifo_probe()
|
/drivers/platform/chrome/wilco_ec/ |
D | telemetry.c | 409 ida_simple_remove(&telem_ida, MINOR(dev_data->dev.devt)); in telem_device_remove()
|
D | event.c | 508 ida_simple_remove(&event_ida, MINOR(dev_data->dev.devt)); in event_device_remove()
|
/drivers/staging/greybus/ |
D | raw.c | 235 ida_simple_remove(&minors, MINOR(raw->dev)); in gb_raw_disconnect()
|
D | authentication.c | 375 ida_simple_remove(&cap_minors_map, MINOR(cap->dev_num)); in gb_cap_connection_exit()
|
/drivers/dma-buf/ |
D | dma-heap.c | 255 int minor = MINOR(heap->heap_devt); in dma_heap_release()
|
/drivers/net/wwan/ |
D | wwan_core.c | 276 ida_free(&minors, MINOR(port->dev.devt)); in wwan_port_destroy() 291 MINOR(dev->devt) == *(unsigned int *)minor); in wwan_port_minor_match()
|