Searched refs:ctlr_dev (Results 1 – 6 of 6) sorted by relevance
421 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_r_a_tov() local422 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_r_a_tov()424 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_r_a_tov()426 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_r_a_tov()435 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in show_ctlr_r_a_tov() local436 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_r_a_tov()448 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_e_d_tov() local449 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_e_d_tov()451 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_e_d_tov()453 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_e_d_tov()[all …]
382 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local398 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()2039 fcoe_ctlr_set_fip_mode(ctlr_dev); in fcoe_ctlr_mode()2187 struct fcoe_ctlr_device *ctlr_dev; in _fcoe_create() local2208 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in _fcoe_create()2219 fcoe_ctlr_device_delete(ctlr_dev); in _fcoe_create()2246 ctlr_dev->enabled = FCOE_CTLR_ENABLED; in _fcoe_create()[all …]
164 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local192 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add()193 if (ctlr_dev) { in fcoe_sysfs_fcf_add()194 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()195 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add()198 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()216 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()3217 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()3221 mutex_lock(&ctlr_dev->lock); in fcoe_fcf_get_selected()3229 mutex_unlock(&ctlr_dev->lock); in fcoe_fcf_get_selected()[all …]
218 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_get_lesb() argument220 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb()224 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); in fcoe_ctlr_get_lesb()
141 struct fcoe_ctlr_device *ctlr_dev = in bnx2fc_fcf_get_vlan_id() local143 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id()1302 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_release() local1311 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in bnx2fc_interface_release()1318 fcoe_ctlr_device_delete(ctlr_dev); in bnx2fc_interface_release()1434 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_create() local1441 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, in bnx2fc_interface_create()1443 if (!ctlr_dev) { in bnx2fc_interface_create()1447 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_interface_create()1448 ctlr->cdev = ctlr_dev; in bnx2fc_interface_create()[all …]
269 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);
Completed in 30 milliseconds