Home
last modified time | relevance | path

Searched refs:cdev_add (Results 1 - 25 of 144) sorted by relevance

123456

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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,
/kernel/linux/linux-5.10/fs/
H A Dchar_dev.c288 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev()
470 * cdev_add() - add a char device to the system
476 * cdev_add() adds the device represented by @p to the system, making it
479 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add() function
506 * should be called before cdev_add.
521 * just as cdev_add does. It then adds @dev to the system using device_add
544 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add()
649 * system with cdev_add().
680 EXPORT_SYMBOL(cdev_add); variable
/kernel/linux/linux-6.6/fs/
H A Dchar_dev.c288 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev()
470 * cdev_add() - add a char device to the system
476 * cdev_add() adds the device represented by @p to the system, making it
479 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add() function
513 * should be called before cdev_add.
528 * just as cdev_add does. It then adds @dev to the system using device_add
551 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add()
656 * system with cdev_add().
687 EXPORT_SYMBOL(cdev_add); variable
/kernel/linux/linux-5.10/include/linux/
H A Dcdev.h29 int cdev_add(struct cdev *, dev_t, unsigned);
/kernel/linux/linux-6.6/include/linux/
H A Dcdev.h29 int cdev_add(struct cdev *, dev_t, unsigned);
/kernel/linux/linux-5.10/arch/sh/boards/mach-landisk/
H A Dgio.c147 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
150 "gio: Couldn't cdev_add, error=%d\n", error); in gio_init()
/kernel/linux/linux-5.10/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.c241 result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); in bsr_add_node()
/kernel/linux/linux-6.6/arch/sh/boards/mach-landisk/
H A Dgio.c145 error = cdev_add(cdev_p, dev, DEVCOUNT); in gio_init()
148 "gio: Couldn't cdev_add, error=%d\n", error); in gio_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Ddevice.c75 ret = cdev_add(cdev, dev, 1); in hfi1_cdev_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_cdev.c105 ret = cdev_add(&rproc->cdev, rproc->dev.devt, 1); in rproc_char_device_add()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dremoteproc_cdev.c107 ret = cdev_add(&rproc->cdev, rproc->dev.devt, 1); in rproc_char_device_add()
/kernel/linux/linux-6.6/drivers/char/
H A Dscx200_gpio.c111 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Ddevice.c53 ret = cdev_add(cdev, dev, 1); in hfi1_cdev_init()
/kernel/linux/linux-6.6/tools/lib/thermal/include/
H A Dthermal.h30 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); member
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-heap.c245 ret = cdev_add(&heap->heap_cdev, heap->heap_devt, 1); in dma_heap_add()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dvas-api.c238 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api()
240 pr_err("cdev_add() failed %d\n", rc); in vas_register_coproc_api()
/kernel/linux/linux-6.6/drivers/char/xillybus/
H A Dxillybus_class.c102 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dscr24x_cs.c269 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe()

Completed in 11 milliseconds

123456