Searched refs:cdevs (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/drivers/clk/davinci/ |
| H A D | psc.c | 464 const struct davinci_lpsc_clkdev_info *cdevs = info->cdevs; in davinci_psc_register_clocks() local 467 if (!cdevs || IS_ERR_OR_NULL(clk)) in davinci_psc_register_clocks() 470 for (; cdevs->con_id || cdevs->dev_id; cdevs++) in davinci_psc_register_clocks() 471 clk_register_clkdev(clk, cdevs->con_id, cdevs->dev_id); in davinci_psc_register_clocks()
|
| H A D | psc.h | 63 const struct davinci_lpsc_clkdev_info *cdevs; member 73 .cdevs = (c), \
|
| /linux-6.15/drivers/tty/ |
| H A D | tty_io.c | 3177 driver->cdevs[index] = cdev_alloc(); in tty_cdev_add() 3178 if (!driver->cdevs[index]) in tty_cdev_add() 3322 cdev_del(driver->cdevs[index]); in tty_unregister_device() 3323 driver->cdevs[index] = NULL; in tty_unregister_device() 3343 unsigned int cdevs = 1; in __tty_alloc_driver() local 3376 cdevs = lines; in __tty_alloc_driver() 3379 driver->cdevs = kcalloc(cdevs, sizeof(*driver->cdevs), GFP_KERNEL); in __tty_alloc_driver() 3380 if (!driver->cdevs) { in __tty_alloc_driver() 3390 kfree(driver->cdevs); in __tty_alloc_driver() 3414 cdev_del(driver->cdevs[0]); in destruct_tty_driver() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 132 struct mlxsw_thermal_cooling_device cdevs[MLXSW_MFCR_PWMS_MAX]; member 156 if (thermal->cdevs[i].cdev == cdev) in mlxsw_get_cooling_device_idx() 693 mlxsw_cdev = &thermal->cdevs[i]; in mlxsw_thermal_init() 762 thermal_cooling_device_unregister(thermal->cdevs[i].cdev); in mlxsw_thermal_init() 782 thermal_cooling_device_unregister(thermal->cdevs[i].cdev); in mlxsw_thermal_fini()
|
| /linux-6.15/drivers/char/tpm/ |
| H A D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
|
| H A D | tpm2-space.c | 601 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove() 625 cdev_init(&chip->cdevs, &tpmrm_fops); in tpm_devs_add() 626 chip->cdevs.owner = THIS_MODULE; in tpm_devs_add() 632 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add()
|
| /linux-6.15/drivers/scsi/ |
| H A D | st.h | 71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
|
| H A D | st.c | 2311 cd0 = STm->cdevs[0]; 2312 cd1 = STm->cdevs[1]; 2316 STm->cdevs[0] = cd0; 2317 STm->cdevs[1] = cd1; 4238 STm->cdevs[rew] = cdev; in create_one_cdev() 4264 cdev_del(STm->cdevs[rew]); in create_one_cdev() 4266 STm->cdevs[rew] = NULL; in create_one_cdev() 4294 if (STm->cdevs[rew]) in remove_cdevs() 4295 cdev_del(STm->cdevs[rew]); in remove_cdevs()
|
| /linux-6.15/include/linux/ |
| H A D | tty_driver.h | 528 struct cdev **cdevs; member
|
| H A D | tpm.h | 154 struct cdev cdevs; member
|