Lines Matching refs:ctlr_dev
116 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev);
382 struct fcoe_ctlr_device *ctlr_dev;
396 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ,
398 if (!ctlr_dev) {
404 ctlr = fcoe_ctlr_device_priv(ctlr_dev);
405 ctlr->cdev = ctlr_dev;
421 fcoe_ctlr_device_delete(ctlr_dev);
2032 * @ctlr_dev: The FCoE Controller that is being modified
2038 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev)
2040 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev);
2043 if (ctlr_dev->mode == FIP_CONN_TYPE_VN2VN &&
2053 fcoe_ctlr_set_fip_mode(ctlr_dev);
2201 struct fcoe_ctlr_device *ctlr_dev;
2222 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr);
2223 lport = fcoe_if_create(fcoe, &ctlr_dev->dev, 0);
2233 fcoe_ctlr_device_delete(ctlr_dev);
2260 ctlr_dev->enabled = FCOE_CTLR_ENABLED;
2262 ctlr_dev->enabled = FCOE_CTLR_DISABLED;
2808 struct fcoe_ctlr_device *ctlr_dev =
2810 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev);