Searched refs:cdevs (Results 1 - 10 of 10) sorted by relevance
/linux-master/drivers/clk/davinci/ |
H A D | psc.h | 55 * @cdevs: optional array of clkdev lookup table info 63 const struct davinci_lpsc_clkdev_info *cdevs; member in struct:davinci_lpsc_clk_info 73 .cdevs = (c), \
|
H A D | psc.c | 464 const struct davinci_lpsc_clkdev_info *cdevs = info->cdevs; local 467 if (!cdevs || IS_ERR_OR_NULL(clk)) 470 for (; cdevs->con_id || cdevs->dev_id; cdevs++) 471 clk_register_clkdev(clk, cdevs->con_id, cdevs->dev_id);
|
/linux-master/drivers/char/tpm/ |
H A D | tpmrm-dev.c | 19 chip = container_of(inode->i_cdev, struct tpm_chip, cdevs);
|
H A D | tpm2-space.c | 595 cdev_device_del(&chip->cdevs, &chip->devs); 613 * This holds the chip structure while cdevs is in use. The 619 cdev_init(&chip->cdevs, &tpmrm_fops); 620 chip->cdevs.owner = THIS_MODULE; 626 rc = cdev_device_add(&chip->cdevs, &chip->devs);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_thermal.c | 126 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; member in struct:mlxsw_thermal 150 if (thermal->cdevs[i] == cdev) 766 thermal->cdevs[i] = cdev; 827 if (thermal->cdevs[i]) 828 thermal_cooling_device_unregister(thermal->cdevs[i]); 851 if (thermal->cdevs[i]) { 852 thermal_cooling_device_unregister(thermal->cdevs[i]); 853 thermal->cdevs[i] = NULL;
|
/linux-master/drivers/tty/ |
H A D | tty_io.c | 3177 /* init here, since reused cdevs cause crashes */ 3178 driver->cdevs[index] = cdev_alloc(); 3179 if (!driver->cdevs[index]) 3181 driver->cdevs[index]->ops = &tty_fops; 3182 driver->cdevs[index]->owner = driver->owner; 3183 err = cdev_add(driver->cdevs[index], dev, count); 3185 kobject_put(&driver->cdevs[index]->kobj); 3323 cdev_del(driver->cdevs[index]); 3324 driver->cdevs[index] = NULL; 3342 unsigned int cdevs local [all...] |
/linux-master/drivers/scsi/ |
H A D | st.h | 71 struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ member in struct:st_modedef
|
H A D | st.c | 2294 cd0 = STm->cdevs[0]; 2295 cd1 = STm->cdevs[1]; 2299 STm->cdevs[0] = cd0; 2300 STm->cdevs[1] = cd1; 4196 STm->cdevs[rew] = cdev; 4222 cdev_del(STm->cdevs[rew]); 4224 STm->cdevs[rew] = NULL; 4252 if (STm->cdevs[rew]) 4253 cdev_del(STm->cdevs[rew]);
|
/linux-master/include/linux/ |
H A D | tty_driver.h | 400 * @cdevs: allocated/registered character /dev devices 434 struct cdev **cdevs; member in struct:tty_driver
|
H A D | tpm.h | 123 struct cdev cdevs; member in struct:tpm_chip
|
Completed in 297 milliseconds