Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/thermal/thermal-engine/
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,
/linux-6.1.9/tools/lib/thermal/
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()
/linux-6.1.9/fs/
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
544 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add()
680 EXPORT_SYMBOL(cdev_add);
/linux-6.1.9/include/linux/
Dcdev.h29 int cdev_add(struct cdev *, dev_t, unsigned);
/linux-6.1.9/drivers/char/
Dscx200_gpio.c111 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
Dbsr.c241 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
Dpc8736x_gpio.c327 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
/linux-6.1.9/arch/sh/boards/mach-landisk/
Dgio.c145 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
/linux-6.1.9/drivers/s390/char/
Dtape_class.c73 rc = cdev_add(tcd->char_device, dev, 1); in register_tape_dev()
Dhmcdrv_dev.c302 rc = cdev_add(&hmcdrv_dev.dev, hmcdrv_dev_no, 1); in hmcdrv_dev_init()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Ddevice.c32 ret = cdev_add(cdev, dev, 1); in hfi1_cdev_init()
/linux-6.1.9/drivers/remoteproc/
Dremoteproc_cdev.c107 ret = cdev_add(&rproc->cdev, rproc->dev.devt, 1); in rproc_char_device_add()
/linux-6.1.9/tools/lib/thermal/include/
Dthermal.h30 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); member
/linux-6.1.9/drivers/char/xillybus/
Dxillybus_class.c100 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
/linux-6.1.9/drivers/dma-buf/
Ddma-heap.c257 ret = cdev_add(&heap->heap_cdev, heap->heap_devt, 1); in dma_heap_add()
/linux-6.1.9/drivers/staging/fieldbus/
Ddev_core.c280 err = cdev_add(&fb->cdev, devno, 1); in __fieldbus_dev_register()
/linux-6.1.9/drivers/staging/greybus/
Draw.c194 retval = cdev_add(&raw->cdev, raw->dev, 1); in gb_raw_probe()
Dauthentication.c334 ret = cdev_add(&cap->cdev, cap->dev_num, 1); in gb_cap_connection_init()
/linux-6.1.9/drivers/char/pcmcia/
Dscr24x_cs.c268 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/
Dadf_ctl_drv.c66 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
/linux-6.1.9/drivers/hid/
Dhid-roccat.c433 retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); in roccat_init()
/linux-6.1.9/drivers/pps/
Dpps.c374 err = cdev_add(&pps->cdev, devt, 1); in pps_register_cdev()
/linux-6.1.9/arch/powerpc/platforms/book3s/
Dvas-api.c598 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api()
/linux-6.1.9/drivers/misc/cxl/
Dflash.c528 if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { in cxl_guest_add_chardev()
/linux-6.1.9/fs/fuse/
Dcuse.c394 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()

123