Home
last modified time | relevance | path

Searched refs:cl_dev (Results 1 – 2 of 2) sorted by relevance

/drivers/platform/x86/
Dacerhdf.c83 static struct thermal_cooling_device *cl_dev; variable
385 if (cdev != cl_dev) in acerhdf_bind()
400 if (cdev != cl_dev) in acerhdf_unbind()
674 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL, in acerhdf_register_thermal()
677 if (IS_ERR(cl_dev)) in acerhdf_register_thermal()
699 if (cl_dev) { in acerhdf_unregister_thermal()
700 thermal_cooling_device_unregister(cl_dev); in acerhdf_unregister_thermal()
701 cl_dev = NULL; in acerhdf_unregister_thermal()
/drivers/scsi/
Dsg.c1495 sg_add_device(struct device *cl_dev) in sg_add_device() argument
1497 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()
1532 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()
1552 dev_set_drvdata(cl_dev, sdp); in sg_add_device()
1595 sg_remove_device(struct device *cl_dev) in sg_remove_device() argument
1597 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove_device()
1598 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()