Searched refs:cdevs (Results 1 – 9 of 9) sorted by relevance
464 const struct davinci_lpsc_clkdev_info *cdevs = info->cdevs; in davinci_psc_register_clocks() local467 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()
63 const struct davinci_lpsc_clkdev_info *cdevs; member73 .cdevs = (c), \
132 struct mlxsw_thermal_cooling_device cdevs[MLXSW_MFCR_PWMS_MAX]; member156 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()
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()
19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
2293 cd0 = STm->cdevs[0];2294 cd1 = STm->cdevs[1];2298 STm->cdevs[0] = cd0;2299 STm->cdevs[1] = cd1;4202 STm->cdevs[rew] = cdev; in create_one_cdev()4228 cdev_del(STm->cdevs[rew]); in create_one_cdev()4230 STm->cdevs[rew] = NULL; in create_one_cdev()4258 if (STm->cdevs[rew]) in remove_cdevs()4259 cdev_del(STm->cdevs[rew]); in remove_cdevs()
408 * @cdevs: allocated/registered character /dev devices442 struct cdev **cdevs;434 struct cdev **cdevs; global() member
154 struct cdev cdevs; member