Lines Matching refs:ctlr_dev
389 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local
403 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, in fcoe_interface_create()
405 if (!ctlr_dev) { in fcoe_interface_create()
411 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create()
412 ctlr->cdev = ctlr_dev; in fcoe_interface_create()
428 fcoe_ctlr_device_delete(ctlr_dev); in fcoe_interface_create()
2326 struct fcoe_ctlr_device *ctlr_dev; in _fcoe_create() local
2347 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in _fcoe_create()
2348 lport = fcoe_if_create(fcoe, &ctlr_dev->dev, 0); in _fcoe_create()
2356 fcoe_ctlr_device_delete(ctlr_dev); in _fcoe_create()
2383 ctlr_dev->enabled = FCOE_CTLR_ENABLED; in _fcoe_create()
2385 ctlr_dev->enabled = FCOE_CTLR_DISABLED; in _fcoe_create()
2936 struct fcoe_ctlr_device *ctlr_dev = in fcoe_fcf_get_vlan_id() local
2938 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_vlan_id()