Home
last modified time | relevance | path

Searched refs:cdevs (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/clk/davinci/
A Dpsc.c465 const struct davinci_lpsc_clkdev_info *cdevs = info->cdevs; in davinci_psc_register_clocks() local
468 if (!cdevs || IS_ERR_OR_NULL(clk)) in davinci_psc_register_clocks()
471 for (; cdevs->con_id || cdevs->dev_id; cdevs++) in davinci_psc_register_clocks()
472 clk_register_clkdev(clk, cdevs->con_id, cdevs->dev_id); in davinci_psc_register_clocks()
A Dpsc.h63 const struct davinci_lpsc_clkdev_info *cdevs; member
73 .cdevs = (c), \
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_thermal.c107 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; member
132 if (thermal->cdevs[i] == cdev) in mlxsw_get_cooling_device_idx()
858 thermal->cdevs[i] = cdev; in mlxsw_thermal_init()
924 if (thermal->cdevs[i]) in mlxsw_thermal_init()
925 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_init()
948 if (thermal->cdevs[i]) { in mlxsw_thermal_fini()
949 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_fini()
950 thermal->cdevs[i] = NULL; in mlxsw_thermal_fini()
/linux-6.3-rc2/drivers/tty/
A Dtty_io.c3154 driver->cdevs[index] = cdev_alloc(); in tty_cdev_add()
3155 if (!driver->cdevs[index]) in tty_cdev_add()
3300 cdev_del(driver->cdevs[index]); in tty_unregister_device()
3301 driver->cdevs[index] = NULL; in tty_unregister_device()
3319 unsigned int cdevs = 1; in __tty_alloc_driver() local
3352 cdevs = lines; in __tty_alloc_driver()
3355 driver->cdevs = kcalloc(cdevs, sizeof(*driver->cdevs), GFP_KERNEL); in __tty_alloc_driver()
3356 if (!driver->cdevs) { in __tty_alloc_driver()
3366 kfree(driver->cdevs); in __tty_alloc_driver()
3390 cdev_del(driver->cdevs[0]); in destruct_tty_driver()
[all …]
/linux-6.3-rc2/drivers/char/tpm/
A Dtpmrm-dev.c19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
A Dtpm2-space.c595 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove()
619 cdev_init(&chip->cdevs, &tpmrm_fops); in tpm_devs_add()
620 chip->cdevs.owner = THIS_MODULE; in tpm_devs_add()
626 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add()
/linux-6.3-rc2/drivers/scsi/
A Dst.h71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
A Dst.c2283 cd0 = STm->cdevs[0];
2284 cd1 = STm->cdevs[1];
2288 STm->cdevs[0] = cd0;
2289 STm->cdevs[1] = cd1;
4179 STm->cdevs[rew] = cdev; in create_one_cdev()
4205 cdev_del(STm->cdevs[rew]); in create_one_cdev()
4207 STm->cdevs[rew] = NULL; in create_one_cdev()
4235 if (STm->cdevs[rew]) in remove_cdevs()
4236 cdev_del(STm->cdevs[rew]); in remove_cdevs()
/linux-6.3-rc2/include/linux/
A Dtty_driver.h436 struct cdev **cdevs; member
A Dtpm.h123 struct cdev cdevs; member

Completed in 33 milliseconds