Searched refs:ctlr_dev (Results 1 – 5 of 5) sorted by relevance
388 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local402 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, in fcoe_interface_create()404 if (!ctlr_dev) { in fcoe_interface_create()410 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create()411 ctlr->cdev = ctlr_dev; in fcoe_interface_create()427 fcoe_ctlr_device_delete(ctlr_dev); in fcoe_interface_create()2324 struct fcoe_ctlr_device *ctlr_dev; in _fcoe_create() local2345 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in _fcoe_create()2346 lport = fcoe_if_create(fcoe, &ctlr_dev->dev, 0); in _fcoe_create()2354 fcoe_ctlr_device_delete(ctlr_dev); in _fcoe_create()[all …]
172 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local200 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add()201 if (ctlr_dev) { in fcoe_sysfs_fcf_add()202 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()203 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add()206 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()224 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()2927 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected() local2928 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()2932 mutex_lock(&ctlr_dev->lock); in fcoe_fcf_get_selected()[all …]
206 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_get_lesb() argument208 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb()212 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); in fcoe_ctlr_get_lesb()
116 struct fcoe_ctlr_device *ctlr_dev = in bnx2fc_fcf_get_vlan_id() local118 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id()1241 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_release() local1250 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in bnx2fc_interface_release()1257 fcoe_ctlr_device_delete(ctlr_dev); in bnx2fc_interface_release()1371 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_create() local1378 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, in bnx2fc_interface_create()1380 if (!ctlr_dev) { in bnx2fc_interface_create()1384 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_interface_create()1385 ctlr->cdev = ctlr_dev; in bnx2fc_interface_create()[all …]
270 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);