Searched refs:cgdev (Results 1 - 12 of 12) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/s390/net/
H A Dctcm_main.c1203 struct ccwgroup_device *cgdev; local
1213 cgdev = dev_get_drvdata(&cdev->dev);
1219 if (cgdev == NULL) {
1228 priv = dev_get_drvdata(&cgdev->dev);
1302 * cgdev pointer to ccwgroup_device just added
1306 static int ctcm_probe_device(struct ccwgroup_device *cgdev) argument
1313 __func__, cgdev);
1315 if (!get_device(&cgdev->dev))
1323 put_device(&cgdev->dev);
1327 rc = ctcm_add_files(&cgdev
1527 ctcm_new_device(struct ccwgroup_device *cgdev) argument
1656 ctcm_shutdown_device(struct ccwgroup_device *cgdev) argument
1701 ctcm_remove_device(struct ccwgroup_device *cgdev) argument
[all...]
H A Dctcm_sysfs.c174 struct ccwgroup_device *cgdev; local
176 cgdev = to_ccwgroupdev(dev);
177 if (!cgdev)
181 ctcm_type[cgdev->cdev[0]->id.driver_info]);
H A Dclaw.c182 static int claw_probe(struct ccwgroup_device *cgdev);
183 static void claw_remove_device(struct ccwgroup_device *cgdev);
185 static int claw_new_device(struct ccwgroup_device *cgdev);
186 static int claw_shutdown_device(struct ccwgroup_device *cgdev);
206 static void probe_error( struct ccwgroup_device *cgdev);
327 claw_probe(struct ccwgroup_device *cgdev) argument
333 if (!get_device(&cgdev->dev))
336 dev_set_drvdata(&cgdev->dev, privptr);
338 probe_error(cgdev);
339 put_device(&cgdev
2029 probe_error( struct ccwgroup_device *cgdev) argument
2954 claw_new_device(struct ccwgroup_device *cgdev) argument
3065 claw_shutdown_device(struct ccwgroup_device *cgdev) argument
3096 claw_remove_device(struct ccwgroup_device *cgdev) argument
[all...]
H A Dqeth_l2_main.c847 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) argument
849 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
854 if (cgdev->state == CCWGROUP_ONLINE) {
856 qeth_l2_set_offline(cgdev);
1037 static int __qeth_l2_set_offline(struct ccwgroup_device *cgdev, argument
1040 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
1063 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
1069 static int qeth_l2_set_offline(struct ccwgroup_device *cgdev) argument
1071 return __qeth_l2_set_offline(cgdev, 0);
H A Dqeth_l3_main.c3353 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) argument
3355 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
3357 qeth_l3_remove_device_attributes(&cgdev->dev);
3362 if (cgdev->state == CCWGROUP_ONLINE) {
3364 qeth_l3_set_offline(cgdev);
3488 static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev, argument
3491 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
3514 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
3520 static int qeth_l3_set_offline(struct ccwgroup_device *cgdev) argument
3522 return __qeth_l3_set_offline(cgdev,
[all...]
H A Dlcs.c1976 struct ccwgroup_device *cgdev; local
1978 cgdev = to_ccwgroupdev(dev);
1979 if (!cgdev)
1982 return sprintf(buf, "%s\n", lcs_type[cgdev->cdev[0]->id.driver_info]);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/s390/net/
H A Dctcm_main.c1203 struct ccwgroup_device *cgdev; local
1213 cgdev = dev_get_drvdata(&cdev->dev);
1219 if (cgdev == NULL) {
1228 priv = dev_get_drvdata(&cgdev->dev);
1302 * cgdev pointer to ccwgroup_device just added
1306 static int ctcm_probe_device(struct ccwgroup_device *cgdev) argument
1313 __func__, cgdev);
1315 if (!get_device(&cgdev->dev))
1323 put_device(&cgdev->dev);
1327 rc = ctcm_add_files(&cgdev
1527 ctcm_new_device(struct ccwgroup_device *cgdev) argument
1656 ctcm_shutdown_device(struct ccwgroup_device *cgdev) argument
1701 ctcm_remove_device(struct ccwgroup_device *cgdev) argument
[all...]
H A Dctcm_sysfs.c174 struct ccwgroup_device *cgdev; local
176 cgdev = to_ccwgroupdev(dev);
177 if (!cgdev)
181 ctcm_type[cgdev->cdev[0]->id.driver_info]);
H A Dclaw.c182 static int claw_probe(struct ccwgroup_device *cgdev);
183 static void claw_remove_device(struct ccwgroup_device *cgdev);
185 static int claw_new_device(struct ccwgroup_device *cgdev);
186 static int claw_shutdown_device(struct ccwgroup_device *cgdev);
206 static void probe_error( struct ccwgroup_device *cgdev);
327 claw_probe(struct ccwgroup_device *cgdev) argument
333 if (!get_device(&cgdev->dev))
336 dev_set_drvdata(&cgdev->dev, privptr);
338 probe_error(cgdev);
339 put_device(&cgdev
2029 probe_error( struct ccwgroup_device *cgdev) argument
2954 claw_new_device(struct ccwgroup_device *cgdev) argument
3065 claw_shutdown_device(struct ccwgroup_device *cgdev) argument
3096 claw_remove_device(struct ccwgroup_device *cgdev) argument
[all...]
H A Dqeth_l2_main.c847 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) argument
849 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
854 if (cgdev->state == CCWGROUP_ONLINE) {
856 qeth_l2_set_offline(cgdev);
1037 static int __qeth_l2_set_offline(struct ccwgroup_device *cgdev, argument
1040 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
1063 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
1069 static int qeth_l2_set_offline(struct ccwgroup_device *cgdev) argument
1071 return __qeth_l2_set_offline(cgdev, 0);
H A Dqeth_l3_main.c3353 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) argument
3355 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
3357 qeth_l3_remove_device_attributes(&cgdev->dev);
3362 if (cgdev->state == CCWGROUP_ONLINE) {
3364 qeth_l3_set_offline(cgdev);
3488 static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev, argument
3491 struct qeth_card *card = dev_get_drvdata(&cgdev->dev);
3514 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE);
3520 static int qeth_l3_set_offline(struct ccwgroup_device *cgdev) argument
3522 return __qeth_l3_set_offline(cgdev,
[all...]
H A Dlcs.c1976 struct ccwgroup_device *cgdev; local
1978 cgdev = to_ccwgroupdev(dev);
1979 if (!cgdev)
1982 return sprintf(buf, "%s\n", lcs_type[cgdev->cdev[0]->id.driver_info]);

Completed in 215 milliseconds