Searched refs:ctlr_dev (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c172 struct fcoe_ctlr_device *ctlr_dev; fcoe_sysfs_fcf_add() local
193 * If ctlr_dev doesn't exist then it means we're a libfcoe user fcoe_sysfs_fcf_add()
200 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); fcoe_sysfs_fcf_add()
201 if (ctlr_dev) { fcoe_sysfs_fcf_add()
202 mutex_lock(&ctlr_dev->lock); fcoe_sysfs_fcf_add()
203 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); fcoe_sysfs_fcf_add()
206 mutex_unlock(&ctlr_dev->lock); fcoe_sysfs_fcf_add()
224 mutex_unlock(&ctlr_dev->lock); fcoe_sysfs_fcf_add()
252 * If ctlr_dev doesn't exist then it means we're a libfcoe user fcoe_sysfs_fcf_del()
2927 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); fcoe_fcf_get_selected() local
2928 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); fcoe_fcf_get_selected()
2932 mutex_lock(&ctlr_dev->lock); fcoe_fcf_get_selected()
2940 mutex_unlock(&ctlr_dev->lock); fcoe_fcf_get_selected()
2945 void fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev) fcoe_ctlr_set_fip_mode() argument
2947 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); fcoe_ctlr_set_fip_mode()
2951 switch (ctlr_dev->mode) { fcoe_ctlr_set_fip_mode()
H A Dfcoe.c389 struct fcoe_ctlr_device *ctlr_dev; fcoe_interface_create() local
403 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, fcoe_interface_create()
405 if (!ctlr_dev) { fcoe_interface_create()
411 ctlr = fcoe_ctlr_device_priv(ctlr_dev); fcoe_interface_create()
412 ctlr->cdev = ctlr_dev; fcoe_interface_create()
428 fcoe_ctlr_device_delete(ctlr_dev); fcoe_interface_create()
2326 struct fcoe_ctlr_device *ctlr_dev; _fcoe_create() local
2347 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); _fcoe_create()
2348 lport = fcoe_if_create(fcoe, &ctlr_dev->dev, 0); _fcoe_create()
2356 fcoe_ctlr_device_delete(ctlr_dev); _fcoe_create()
2383 ctlr_dev->enabled = FCOE_CTLR_ENABLED; _fcoe_create()
2385 ctlr_dev->enabled = FCOE_CTLR_DISABLED; _fcoe_create()
2936 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_get_vlan_id() local
2938 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); fcoe_fcf_get_vlan_id()
H A Dfcoe_transport.c203 * @ctlr_dev: The given fcoe controller device
206 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) fcoe_ctlr_get_lesb() argument
208 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); fcoe_ctlr_get_lesb()
212 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); fcoe_ctlr_get_lesb()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c116 struct fcoe_ctlr_device *ctlr_dev = bnx2fc_fcf_get_vlan_id() local
118 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); bnx2fc_fcf_get_vlan_id()
1242 struct fcoe_ctlr_device *ctlr_dev; bnx2fc_interface_release() local
1251 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); bnx2fc_interface_release()
1258 fcoe_ctlr_device_delete(ctlr_dev); bnx2fc_interface_release()
1372 struct fcoe_ctlr_device *ctlr_dev; bnx2fc_interface_create() local
1379 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, bnx2fc_interface_create()
1381 if (!ctlr_dev) { bnx2fc_interface_create()
1385 ctlr = fcoe_ctlr_device_priv(ctlr_dev); bnx2fc_interface_create()
1386 ctlr->cdev = ctlr_dev; bnx2fc_interface_create()
1406 fcoe_ctlr_device_delete(ctlr_dev); bnx2fc_interface_create()
/linux-4.1.27/include/scsi/
H A Dlibfcoe.h270 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);

Completed in 198 milliseconds