Searched refs:cgdev (Results 1 – 4 of 4) sorted by relevance
1153 struct ccwgroup_device *cgdev; in ctcm_irq_handler() local1163 cgdev = dev_get_drvdata(&cdev->dev); in ctcm_irq_handler()1169 if (cgdev == NULL) { in ctcm_irq_handler()1178 priv = dev_get_drvdata(&cgdev->dev); in ctcm_irq_handler()1261 static int ctcm_probe_device(struct ccwgroup_device *cgdev) in ctcm_probe_device() argument1267 __func__, cgdev); in ctcm_probe_device()1269 if (!get_device(&cgdev->dev)) in ctcm_probe_device()1277 put_device(&cgdev->dev); in ctcm_probe_device()1281 cgdev->cdev[0]->handler = ctcm_irq_handler; in ctcm_probe_device()1282 cgdev->cdev[1]->handler = ctcm_irq_handler; in ctcm_probe_device()[all …]
181 struct ccwgroup_device *cgdev; in ctcm_type_show() local183 cgdev = to_ccwgroupdev(dev); in ctcm_type_show()184 if (!cgdev) in ctcm_type_show()188 ctcm_type[cgdev->cdev[0]->id.driver_info]); in ctcm_type_show()
1952 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) in qeth_l3_remove_device() argument1954 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l3_remove_device()1956 if (cgdev->dev.type != &qeth_l3_devtype) in qeth_l3_remove_device()1957 device_remove_groups(&cgdev->dev, qeth_l3_attr_groups); in qeth_l3_remove_device()1962 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l3_remove_device()
1934 struct ccwgroup_device *cgdev; in lcs_type_show() local1936 cgdev = to_ccwgroupdev(dev); in lcs_type_show()1937 if (!cgdev) in lcs_type_show()1941 lcs_type[cgdev->cdev[0]->id.driver_info]); in lcs_type_show()