Searched refs:cdevs (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/clk/davinci/ |
A D | psc.c | 465 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 D | psc.h | 63 const struct davinci_lpsc_clkdev_info *cdevs; member 73 .cdevs = (c), \
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 92 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; member 121 if (thermal->cdevs[i] == cdev) in mlxsw_get_cooling_device_idx() 954 thermal->cdevs[i] = cdev; in mlxsw_thermal_init() 1005 if (thermal->cdevs[i]) in mlxsw_thermal_init() 1006 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_init() 1024 if (thermal->cdevs[i]) { in mlxsw_thermal_fini() 1025 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_fini() 1026 thermal->cdevs[i] = NULL; in mlxsw_thermal_fini()
|
/linux/drivers/tty/ |
A D | tty_io.c | 3186 driver->cdevs[index] = cdev_alloc(); in tty_cdev_add() 3187 if (!driver->cdevs[index]) in tty_cdev_add() 3335 cdev_del(driver->cdevs[index]); in tty_unregister_device() 3336 driver->cdevs[index] = NULL; in tty_unregister_device() 3354 unsigned int cdevs = 1; in __tty_alloc_driver() local 3388 cdevs = lines; in __tty_alloc_driver() 3391 driver->cdevs = kcalloc(cdevs, sizeof(*driver->cdevs), GFP_KERNEL); in __tty_alloc_driver() 3392 if (!driver->cdevs) { in __tty_alloc_driver() 3402 kfree(driver->cdevs); in __tty_alloc_driver() 3426 cdev_del(driver->cdevs[0]); in destruct_tty_driver() [all …]
|
/linux/drivers/char/tpm/ |
A D | tpm-chip.c | 385 cdev_init(&chip->cdevs, &tpmrm_fops); in tpm_chip_alloc() 387 chip->cdevs.owner = THIS_MODULE; in tpm_chip_alloc() 448 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_add_char_device() 644 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_chip_unregister()
|
A D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
|
/linux/drivers/scsi/ |
A D | st.h | 71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
|
A D | st.c | 2280 cd0 = STm->cdevs[0]; 2281 cd1 = STm->cdevs[1]; 2285 STm->cdevs[0] = cd0; 2286 STm->cdevs[1] = cd1; 4176 STm->cdevs[rew] = cdev; in create_one_cdev() 4202 cdev_del(STm->cdevs[rew]); in create_one_cdev() 4204 STm->cdevs[rew] = NULL; in create_one_cdev() 4232 if (STm->cdevs[rew]) in remove_cdevs() 4233 cdev_del(STm->cdevs[rew]); in remove_cdevs()
|
/linux/include/linux/ |
A D | tty_driver.h | 297 struct cdev **cdevs; member
|
A D | tpm.h | 123 struct cdev cdevs; member
|
Completed in 29 milliseconds