cdevs             385 drivers/char/tpm/tpm-chip.c 	cdev_init(&chip->cdevs, &tpmrm_fops);
cdevs             387 drivers/char/tpm/tpm-chip.c 	chip->cdevs.owner = THIS_MODULE;
cdevs             453 drivers/char/tpm/tpm-chip.c 		rc = cdev_device_add(&chip->cdevs, &chip->devs);
cdevs             649 drivers/char/tpm/tpm-chip.c 		cdev_device_del(&chip->cdevs, &chip->devs);
cdevs              19 drivers/char/tpm/tpmrm-dev.c 	chip = container_of(inode->i_cdev, struct tpm_chip, cdevs);
cdevs             465 drivers/clk/davinci/psc.c 		const struct davinci_lpsc_clkdev_info *cdevs = info->cdevs;
cdevs             468 drivers/clk/davinci/psc.c 		if (!cdevs || IS_ERR_OR_NULL(clk))
cdevs             471 drivers/clk/davinci/psc.c 		for (; cdevs->con_id || cdevs->dev_id; cdevs++)
cdevs             472 drivers/clk/davinci/psc.c 			clk_register_clkdev(clk, cdevs->con_id, cdevs->dev_id);
cdevs              63 drivers/clk/davinci/psc.h 	const struct davinci_lpsc_clkdev_info *cdevs;
cdevs              73 drivers/clk/davinci/psc.h 	.cdevs	= (c),		\
cdevs             110 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX];
cdevs             139 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		if (thermal->cdevs[i] == cdev)
cdevs            1034 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 			thermal->cdevs[i] = cdev;
cdevs            1081 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		if (thermal->cdevs[i])
cdevs            1082 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 			thermal_cooling_device_unregister(thermal->cdevs[i]);
cdevs            1100 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		if (thermal->cdevs[i]) {
cdevs            1101 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 			thermal_cooling_device_unregister(thermal->cdevs[i]);
cdevs            1102 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 			thermal->cdevs[i] = NULL;
cdevs            2283 drivers/scsi/st.c 		cd0 = STm->cdevs[0];
cdevs            2284 drivers/scsi/st.c 		cd1 = STm->cdevs[1];
cdevs            2288 drivers/scsi/st.c 		STm->cdevs[0] = cd0;
cdevs            2289 drivers/scsi/st.c 		STm->cdevs[1] = cd1;
cdevs            4191 drivers/scsi/st.c 	STm->cdevs[rew] = cdev;
cdevs            4217 drivers/scsi/st.c 	cdev_del(STm->cdevs[rew]);
cdevs            4219 drivers/scsi/st.c 	STm->cdevs[rew] = NULL;
cdevs            4247 drivers/scsi/st.c 			if (STm->cdevs[rew])
cdevs            4248 drivers/scsi/st.c 				cdev_del(STm->cdevs[rew]);
cdevs              72 drivers/scsi/st.h 	struct cdev *cdevs[2];  /* Auto-rewind and non-rewind devices */
cdevs            3041 drivers/tty/tty_io.c 	driver->cdevs[index] = cdev_alloc();
cdevs            3042 drivers/tty/tty_io.c 	if (!driver->cdevs[index])
cdevs            3044 drivers/tty/tty_io.c 	driver->cdevs[index]->ops = &tty_fops;
cdevs            3045 drivers/tty/tty_io.c 	driver->cdevs[index]->owner = driver->owner;
cdevs            3046 drivers/tty/tty_io.c 	err = cdev_add(driver->cdevs[index], dev, count);
cdevs            3048 drivers/tty/tty_io.c 		kobject_put(&driver->cdevs[index]->kobj);
cdevs            3190 drivers/tty/tty_io.c 		cdev_del(driver->cdevs[index]);
cdevs            3191 drivers/tty/tty_io.c 		driver->cdevs[index] = NULL;
cdevs            3209 drivers/tty/tty_io.c 	unsigned int cdevs = 1;
cdevs            3243 drivers/tty/tty_io.c 		cdevs = lines;
cdevs            3246 drivers/tty/tty_io.c 	driver->cdevs = kcalloc(cdevs, sizeof(*driver->cdevs), GFP_KERNEL);
cdevs            3247 drivers/tty/tty_io.c 	if (!driver->cdevs) {
cdevs            3257 drivers/tty/tty_io.c 	kfree(driver->cdevs);
cdevs            3281 drivers/tty/tty_io.c 			cdev_del(driver->cdevs[0]);
cdevs            3283 drivers/tty/tty_io.c 	kfree(driver->cdevs);
cdevs             112 include/linux/tpm.h 	struct cdev cdevs;
cdevs             305 include/linux/tty_driver.h 	struct cdev **cdevs;