Lines Matching refs:ctlr_dev
116 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev);
382 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local
396 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, in fcoe_interface_create()
398 if (!ctlr_dev) { in fcoe_interface_create()
404 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create()
405 ctlr->cdev = ctlr_dev; in fcoe_interface_create()
421 fcoe_ctlr_device_delete(ctlr_dev); in fcoe_interface_create()
2038 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_mode() argument
2040 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_mode()
2043 if (ctlr_dev->mode == FIP_CONN_TYPE_VN2VN && in fcoe_ctlr_mode()
2053 fcoe_ctlr_set_fip_mode(ctlr_dev); in fcoe_ctlr_mode()
2203 struct fcoe_ctlr_device *ctlr_dev; in _fcoe_create() local
2224 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in _fcoe_create()
2225 lport = fcoe_if_create(fcoe, &ctlr_dev->dev, 0); in _fcoe_create()
2235 fcoe_ctlr_device_delete(ctlr_dev); in _fcoe_create()
2262 ctlr_dev->enabled = FCOE_CTLR_ENABLED; in _fcoe_create()
2264 ctlr_dev->enabled = FCOE_CTLR_DISABLED; in _fcoe_create()
2809 struct fcoe_ctlr_device *ctlr_dev = in fcoe_fcf_get_vlan_id() local
2811 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_vlan_id()