/openbmc/linux/drivers/char/ |
H A D | scx200_gpio.c | 102 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
|
H A D | pc8736x_gpio.c | 310 rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
|
H A D | bsr.c | 303 ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); in bsr_init()
|
/openbmc/linux/arch/sh/boards/mach-landisk/ |
H A D | gio.c | 136 if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) { in gio_init()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | device.c | 100 ret = alloc_chrdev_region(&hfi1_dev, 0, HFI1_NMINORS, DRIVER_NAME); in dev_init()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_cdev.c | 123 ret = alloc_chrdev_region(&rproc_major, 0, NUM_RPROC_DEVICES, "remoteproc"); in rproc_init_cdev()
|
/openbmc/linux/drivers/counter/ |
H A D | counter-core.c | 259 err = alloc_chrdev_region(&counter_devt, 0, COUNTER_DEV_MAX, in counter_init()
|
/openbmc/linux/drivers/vfio/ |
H A D | device_cdev.c | 221 return alloc_chrdev_region(&device_devt, 0, in vfio_cdev_init()
|
/openbmc/linux/fs/ |
H A D | char_dev.c | 236 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region() function 683 EXPORT_SYMBOL(alloc_chrdev_region);
|
/openbmc/linux/drivers/rpmsg/ |
H A D | rpmsg_ctrl.c | 220 ret = alloc_chrdev_region(&rpmsg_major, 0, RPMSG_DEV_MAX, "rpmsg_ctrl"); in rpmsg_ctrldev_init()
|
/openbmc/linux/drivers/char/xillybus/ |
H A D | xillybus_class.c | 82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev()
|
/openbmc/linux/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 295 rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); in hmcdrv_dev_init()
|
H A D | tape_char.c | 473 if (alloc_chrdev_region(&dev, 0, 256, "tape") != 0) in tapechar_init()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-heap.c | 313 ret = alloc_chrdev_region(&dma_heap_devt, 0, NUM_HEAP_MINORS, DEVNAME); in dma_heap_init()
|
/openbmc/linux/block/ |
H A D | bsg.c | 259 ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg"); in bsg_init()
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-devnode.c | 299 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()
|
/openbmc/u-boot/include/linux/ |
H A D | compat.h | 189 #define alloc_chrdev_region(...) 0 macro
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-interface.c | 491 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
H A D | telemetry.c | 434 ret = alloc_chrdev_region(&dev_num, 0, TELEM_MAX_DEV, TELEM_DEV_NAME); in telem_module_init()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rmtfs_mem.c | 326 ret = alloc_chrdev_region(&qcom_rmtfs_mem_major, 0, in qcom_rmtfs_mem_init()
|
/openbmc/linux/drivers/staging/fieldbus/ |
H A D | dev_core.c | 318 err = alloc_chrdev_region(&fieldbus_devt, 0, in fieldbus_init()
|
/openbmc/linux/drivers/gnss/ |
H A D | core.c | 384 ret = alloc_chrdev_region(&gnss_first, 0, GNSS_MINORS, "gnss"); in gnss_module_init()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | raw.c | 349 retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); in raw_init()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-roccat.c | 423 retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, in roccat_init()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_ctl_drv.c | 55 if (alloc_chrdev_region(&dev_id, 0, 1, DEVICE_NAME)) { in adf_chr_drv_create()
|