Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/char/
H A Dscx200_gpio.c102 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
H A Dpc8736x_gpio.c310 rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
H A Dbsr.c303 ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); in bsr_init()
/openbmc/linux/arch/sh/boards/mach-landisk/
H A Dgio.c136 if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) { in gio_init()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Ddevice.c100 ret = alloc_chrdev_region(&hfi1_dev, 0, HFI1_NMINORS, DRIVER_NAME); in dev_init()
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_cdev.c123 ret = alloc_chrdev_region(&rproc_major, 0, NUM_RPROC_DEVICES, "remoteproc"); in rproc_init_cdev()
/openbmc/linux/drivers/counter/
H A Dcounter-core.c259 err = alloc_chrdev_region(&counter_devt, 0, COUNTER_DEV_MAX, in counter_init()
/openbmc/linux/drivers/vfio/
H A Ddevice_cdev.c221 return alloc_chrdev_region(&device_devt, 0, in vfio_cdev_init()
/openbmc/linux/fs/
H A 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);
/openbmc/linux/drivers/rpmsg/
H A Drpmsg_ctrl.c220 ret = alloc_chrdev_region(&rpmsg_major, 0, RPMSG_DEV_MAX, "rpmsg_ctrl"); in rpmsg_ctrldev_init()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_class.c82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev()
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_dev.c295 rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); in hmcdrv_dev_init()
H A Dtape_char.c473 if (alloc_chrdev_region(&dev, 0, 256, "tape") != 0) in tapechar_init()
/openbmc/linux/drivers/dma-buf/
H A Ddma-heap.c313 ret = alloc_chrdev_region(&dma_heap_devt, 0, NUM_HEAP_MINORS, DEVNAME); in dma_heap_init()
/openbmc/linux/block/
H A Dbsg.c259 ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg"); in bsg_init()
/openbmc/linux/drivers/media/mc/
H A Dmc-devnode.c299 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()
/openbmc/u-boot/include/linux/
H A Dcompat.h189 #define alloc_chrdev_region(...) 0 macro
/openbmc/linux/drivers/char/tpm/
H A Dtpm-interface.c491 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c434 ret = alloc_chrdev_region(&dev_num, 0, TELEM_MAX_DEV, TELEM_DEV_NAME); in telem_module_init()
/openbmc/linux/drivers/soc/qcom/
H A Drmtfs_mem.c326 ret = alloc_chrdev_region(&qcom_rmtfs_mem_major, 0, in qcom_rmtfs_mem_init()
/openbmc/linux/drivers/staging/fieldbus/
H A Ddev_core.c318 err = alloc_chrdev_region(&fieldbus_devt, 0, in fieldbus_init()
/openbmc/linux/drivers/gnss/
H A Dcore.c384 ret = alloc_chrdev_region(&gnss_first, 0, GNSS_MINORS, "gnss"); in gnss_module_init()
/openbmc/linux/drivers/staging/greybus/
H A Draw.c349 retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); in raw_init()
/openbmc/linux/drivers/hid/
H A Dhid-roccat.c423 retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, in roccat_init()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c55 if (alloc_chrdev_region(&dev_id, 0, 1, DEVICE_NAME)) { in adf_chr_drv_create()

1234