Home
last modified time | relevance | path

Searched refs:cdev_add (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c167 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add() function
210 .events.cdev_add = cdev_add,
/openbmc/linux/include/linux/
H A Dcdev.h29 int cdev_add(struct cdev *, dev_t, unsigned);
/openbmc/linux/tools/lib/thermal/
H A Devents.c83 return ops->cdev_add(nla_get_string(attrs[THERMAL_GENL_ATTR_CDEV_NAME]), in handle_thermal_event()
113 enabled_ops[THERMAL_GENL_EVENT_CDEV_ADD] = !!ops->cdev_add; in thermal_events_ops_init()
/openbmc/linux/fs/
H A Dchar_dev.c288 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev()
479 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add() function
551 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add()
687 EXPORT_SYMBOL(cdev_add);
/openbmc/linux/drivers/char/
H A Dscx200_gpio.c111 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
H A Dpc8736x_gpio.c327 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
H A Dbsr.c244 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
/openbmc/linux/arch/sh/boards/mach-landisk/
H A Dgio.c145 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
/openbmc/linux/drivers/s390/char/
H A Dtape_class.c73 rc = cdev_add(tcd->char_device, dev, 1); in register_tape_dev()
H A Dhmcdrv_dev.c302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Ddevice.c53 ret = cdev_add(cdev, dev, 1); in hfi1_cdev_init()
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_cdev.c107 ret = cdev_add(&rproc->cdev, rproc->dev.devt, 1); in rproc_char_device_add()
/openbmc/linux/tools/lib/thermal/include/
H A Dthermal.h30 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); member
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_class.c102 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
/openbmc/linux/drivers/dma-buf/
H A Ddma-heap.c257 ret = cdev_add(&heap->heap_cdev, heap->heap_devt, 1); in dma_heap_add()
/openbmc/u-boot/include/linux/
H A Dcompat.h290 #define cdev_add(...) 0 macro
/openbmc/linux/drivers/staging/fieldbus/
H A Ddev_core.c276 err = cdev_add(&fb->cdev, devno, 1); in __fieldbus_dev_register()
/openbmc/linux/drivers/staging/greybus/
H A Draw.c194 retval = cdev_add(&raw->cdev, raw->dev, 1); in gb_raw_probe()
H A Dauthentication.c334 ret = cdev_add(&cap->cdev, cap->dev_num, 1); in gb_cap_connection_init()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dvmt.c267 err = cdev_add(&vol->cdev, dev, 1); in ubi_create_volume()
595 err = cdev_add(&vol->cdev, dev, 1); in ubi_add_volume()
/openbmc/linux/drivers/hid/
H A Dhid-roccat.c433 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c67 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
/openbmc/linux/drivers/pps/
H A Dpps.c374 err = cdev_add(&pps->cdev, devt, 1); in pps_register_cdev()
/openbmc/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c597 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api()
/openbmc/linux/drivers/misc/cxl/
H A Dflash.c528 if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { in cxl_guest_add_chardev()

123