Searched refs:ctlr_dev (Results 1 – 6 of 6) sorted by relevance
441 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_r_a_tov() local442 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_r_a_tov()444 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_r_a_tov()446 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_r_a_tov()455 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in show_ctlr_r_a_tov() local456 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_r_a_tov()468 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_e_d_tov() local469 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_e_d_tov()471 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_e_d_tov()473 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_e_d_tov()[all …]
116 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev);382 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local396 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() argument2040 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()[all …]
163 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local191 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add()192 if (ctlr_dev) { in fcoe_sysfs_fcf_add()193 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()194 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add()197 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()215 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()3224 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected() local3225 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()3229 mutex_lock(&ctlr_dev->lock); in fcoe_fcf_get_selected()[all …]
217 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_get_lesb() argument219 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb()223 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); in fcoe_ctlr_get_lesb()
139 struct fcoe_ctlr_device *ctlr_dev = in bnx2fc_fcf_get_vlan_id() local141 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id()1309 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_release() local1318 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in bnx2fc_interface_release()1325 fcoe_ctlr_device_delete(ctlr_dev); in bnx2fc_interface_release()1441 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_create() local1448 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, in bnx2fc_interface_create()1450 if (!ctlr_dev) { in bnx2fc_interface_create()1454 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_interface_create()1455 ctlr->cdev = ctlr_dev; in bnx2fc_interface_create()[all …]
264 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);