/linux-6.1.9/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 167 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,
|
/linux-6.1.9/tools/lib/thermal/ |
D | events.c | 83 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()
|
/linux-6.1.9/fs/ |
D | char_dev.c | 288 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 544 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add() 680 EXPORT_SYMBOL(cdev_add);
|
/linux-6.1.9/include/linux/ |
D | cdev.h | 29 int cdev_add(struct cdev *, dev_t, unsigned);
|
/linux-6.1.9/drivers/char/ |
D | scx200_gpio.c | 111 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
|
D | bsr.c | 241 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
|
D | pc8736x_gpio.c | 327 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
|
/linux-6.1.9/arch/sh/boards/mach-landisk/ |
D | gio.c | 145 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
|
/linux-6.1.9/drivers/s390/char/ |
D | tape_class.c | 73 rc = cdev_add(tcd->char_device, dev, 1); in register_tape_dev()
|
D | hmcdrv_dev.c | 302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | device.c | 32 ret = cdev_add(cdev, dev, 1); in hfi1_cdev_init()
|
/linux-6.1.9/drivers/remoteproc/ |
D | remoteproc_cdev.c | 107 ret = cdev_add(&rproc->cdev, rproc->dev.devt, 1); in rproc_char_device_add()
|
/linux-6.1.9/tools/lib/thermal/include/ |
D | thermal.h | 30 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); member
|
/linux-6.1.9/drivers/char/xillybus/ |
D | xillybus_class.c | 100 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
|
/linux-6.1.9/drivers/dma-buf/ |
D | dma-heap.c | 257 ret = cdev_add(&heap->heap_cdev, heap->heap_devt, 1); in dma_heap_add()
|
/linux-6.1.9/drivers/staging/fieldbus/ |
D | dev_core.c | 280 err = cdev_add(&fb->cdev, devno, 1); in __fieldbus_dev_register()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | raw.c | 194 retval = cdev_add(&raw->cdev, raw->dev, 1); in gb_raw_probe()
|
D | authentication.c | 334 ret = cdev_add(&cap->cdev, cap->dev_num, 1); in gb_cap_connection_init()
|
/linux-6.1.9/drivers/char/pcmcia/ |
D | scr24x_cs.c | 268 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 66 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
|
/linux-6.1.9/drivers/hid/ |
D | hid-roccat.c | 433 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
|
/linux-6.1.9/drivers/pps/ |
D | pps.c | 374 err = cdev_add(&pps->cdev, devt, 1); in pps_register_cdev()
|
/linux-6.1.9/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 598 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api()
|
/linux-6.1.9/drivers/misc/cxl/ |
D | flash.c | 528 if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { in cxl_guest_add_chardev()
|
/linux-6.1.9/fs/fuse/ |
D | cuse.c | 394 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
|