Home
last modified time | relevance | path

Searched refs:MINOR (Results 1 – 25 of 69) 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.c396 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/
Ddpu_hw_catalog.h20 #define DPU_HW_VER(MAJOR, MINOR, STEP) (((MAJOR & 0xF) << 28) |\ argument
21 ((MINOR & 0xFFF) << 16) |\
/drivers/mtd/
Dmtdsuper.c180 return mtd_get_sb_by_nr(fc, MINOR(dev), fill_super); in get_tree_mtd()
/drivers/tty/
Dtty_audit.c76 loginuid, sessionid, MAJOR(dev), MINOR(dev)); in tty_audit_log()
/drivers/char/
Dmem.c741 if (mode && devlist[MINOR(dev->devt)].mode) in mem_devnode()
742 *mode = devlist[MINOR(dev->devt)].mode; in mem_devnode()
/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/comedi/
Dcomedi_fops.c383 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/
Dxillybus_class.c88 unit->lowest_minor = MINOR(mdev); in xillybus_init_chrdev()
/drivers/md/
Dmd-autodetect.c214 .minor = MINOR(devices[i]), in md_setup_drive()
/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/block/
Dz2ram.c151 device = MINOR(bdev->bd_dev); in z2_open()
Dataflop.c1920 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()
Dbrd.c443 brd_alloc(MINOR(dev) / max_part); in brd_probe()
/drivers/gpu/drm/
Ddrm_dp_aux_dev.c110 drm_dp_aux_dev_get_by_minor(MINOR(dev->devt)); in name_show()
/drivers/s390/block/
Ddasd_proc.c62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
/drivers/s390/crypto/
Dzcrypt_api.c345 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/
Dlirc_dev.c790 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/
Daxis-fifo.c912 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/
Dtelemetry.c409 ida_simple_remove(&telem_ida, MINOR(dev_data->dev.devt)); in telem_device_remove()
Devent.c508 ida_simple_remove(&event_ida, MINOR(dev_data->dev.devt)); in event_device_remove()
/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/dma-buf/
Ddma-heap.c255 int minor = MINOR(heap->heap_devt); in dma_heap_release()
/drivers/net/wwan/
Dwwan_core.c276 ida_free(&minors, MINOR(port->dev.devt)); in wwan_port_destroy()
291 MINOR(dev->devt) == *(unsigned int *)minor); in wwan_port_minor_match()

123