Lines Matching refs:ctlr_dev
175 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local
203 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add()
204 if (ctlr_dev) { in fcoe_sysfs_fcf_add()
205 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()
206 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add()
209 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()
227 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add()
3241 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected() local
3242 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()
3246 mutex_lock(&ctlr_dev->lock); in fcoe_fcf_get_selected()
3254 mutex_unlock(&ctlr_dev->lock); in fcoe_fcf_get_selected()
3259 void fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_set_fip_mode() argument
3261 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_set_fip_mode()
3265 switch (ctlr_dev->mode) { in fcoe_ctlr_set_fip_mode()