Home
last modified time | relevance | path

Searched refs:alloc_chrdev_region (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.12.1/drivers/char/
Dscx200_gpio.c101 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
Dpc8736x_gpio.c309 rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
Dbsr.c303 ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); in bsr_init()
/linux-6.12.1/arch/sh/boards/mach-landisk/
Dgio.c136 if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) { in gio_init()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Ddevice.c100 ret = alloc_chrdev_region(&hfi1_dev, 0, HFI1_NMINORS, DRIVER_NAME); in dev_init()
/linux-6.12.1/drivers/remoteproc/
Dremoteproc_cdev.c123 ret = alloc_chrdev_region(&rproc_major, 0, NUM_RPROC_DEVICES, "remoteproc"); in rproc_init_cdev()
/linux-6.12.1/drivers/counter/
Dcounter-core.c260 err = alloc_chrdev_region(&counter_devt, 0, COUNTER_DEV_MAX, in counter_init()
/linux-6.12.1/fs/
Dchar_dev.c236 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region() function
683 EXPORT_SYMBOL(alloc_chrdev_region);
/linux-6.12.1/drivers/rpmsg/
Drpmsg_ctrl.c220 ret = alloc_chrdev_region(&rpmsg_major, 0, RPMSG_DEV_MAX, "rpmsg_ctrl"); in rpmsg_ctrldev_init()
/linux-6.12.1/drivers/char/xillybus/
Dxillybus_class.c82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev()
/linux-6.12.1/drivers/vfio/
Ddevice_cdev.c228 return alloc_chrdev_region(&device_devt, 0, in vfio_cdev_init()
/linux-6.12.1/drivers/s390/char/
Dhmcdrv_dev.c292 rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); in hmcdrv_dev_init()
Dtape_char.c472 if (alloc_chrdev_region(&dev, 0, 256, "tape") != 0) in tapechar_init()
/linux-6.12.1/drivers/dma-buf/
Ddma-heap.c316 ret = alloc_chrdev_region(&dma_heap_devt, 0, NUM_HEAP_MINORS, DEVNAME); in dma_heap_init()
/linux-6.12.1/block/
Dbsg.c259 ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg"); in bsg_init()
/linux-6.12.1/drivers/media/mc/
Dmc-devnode.c297 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()
/linux-6.12.1/drivers/gnss/
Dcore.c383 ret = alloc_chrdev_region(&gnss_first, 0, GNSS_MINORS, "gnss"); in gnss_module_init()
/linux-6.12.1/drivers/platform/chrome/wilco_ec/
Dtelemetry.c439 ret = alloc_chrdev_region(&dev_num, 0, TELEM_MAX_DEV, TELEM_DEV_NAME); in telem_module_init()
/linux-6.12.1/drivers/staging/fieldbus/
Ddev_core.c318 err = alloc_chrdev_region(&fieldbus_devt, 0, in fieldbus_init()
/linux-6.12.1/drivers/char/tpm/
Dtpm-interface.c481 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
/linux-6.12.1/drivers/soc/qcom/
Drmtfs_mem.c333 ret = alloc_chrdev_region(&qcom_rmtfs_mem_major, 0, in qcom_rmtfs_mem_init()
/linux-6.12.1/drivers/staging/greybus/
Draw.c350 retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); in raw_init()
Dauthentication.c412 ret = alloc_chrdev_region(&cap_dev_num, 0, NUM_MINORS, in cap_init()
/linux-6.12.1/drivers/hid/
Dhid-roccat.c423 retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, in roccat_init()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_ctl_drv.c59 if (alloc_chrdev_region(&dev_id, 0, 1, DEVICE_NAME)) { in adf_chr_drv_create()

1234