Searched refs:cdevs (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/buildroot/package/thermald/ |
| H A D | 0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch | 36 if ((tm - cdevs[i].last_op_time) < cdevs[i].sampling_priod) { 41 - tm - cdevs[i].last_op_time); 45 - tm - cdevs[i].last_op_time); 47 + (intmax_t)tm - cdevs[i].last_op_time); 50 cdevs[i].last_op_time = tm;
|
| /OK3568_Linux_fs/kernel/drivers/clk/davinci/ |
| H 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()
|
| H A D | psc.h | 63 const struct davinci_lpsc_clkdev_info *cdevs; member 73 .cdevs = (c), \
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 101 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; member 130 if (thermal->cdevs[i] == cdev) in mlxsw_get_cooling_device_idx() 936 thermal->cdevs[i] = cdev; in mlxsw_thermal_init() 987 if (thermal->cdevs[i]) in mlxsw_thermal_init() 988 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_init() 1006 if (thermal->cdevs[i]) { in mlxsw_thermal_fini() 1007 thermal_cooling_device_unregister(thermal->cdevs[i]); in mlxsw_thermal_fini() 1008 thermal->cdevs[i] = NULL; in mlxsw_thermal_fini()
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | tty_io.c | 3135 driver->cdevs[index] = cdev_alloc(); in tty_cdev_add() 3136 if (!driver->cdevs[index]) in tty_cdev_add() 3138 driver->cdevs[index]->ops = &tty_fops; in tty_cdev_add() 3139 driver->cdevs[index]->owner = driver->owner; in tty_cdev_add() 3140 err = cdev_add(driver->cdevs[index], dev, count); in tty_cdev_add() 3142 kobject_put(&driver->cdevs[index]->kobj); in tty_cdev_add() 3284 cdev_del(driver->cdevs[index]); in tty_unregister_device() 3285 driver->cdevs[index] = NULL; in tty_unregister_device() 3303 unsigned int cdevs = 1; in __tty_alloc_driver() local 3337 cdevs = lines; in __tty_alloc_driver() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm2-space.c | 595 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()
|
| H A D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); in tpmrm_open()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | st.h | 72 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member
|
| H A D | st.c | 2284 cd0 = STm->cdevs[0]; 2285 cd1 = STm->cdevs[1]; 2289 STm->cdevs[0] = cd0; 2290 STm->cdevs[1] = cd1; 4211 STm->cdevs[rew] = cdev; in create_one_cdev() 4237 cdev_del(STm->cdevs[rew]); in create_one_cdev() 4239 STm->cdevs[rew] = NULL; in create_one_cdev() 4267 if (STm->cdevs[rew]) in remove_cdevs() 4268 cdev_del(STm->cdevs[rew]); in remove_cdevs()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tty_driver.h | 304 struct cdev **cdevs; member
|
| H A D | tpm.h | 116 struct cdev cdevs; member
|