Lines Matching refs:ctlr_dev
164 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local
192 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()
3224 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected() local
3225 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()
3237 mutex_unlock(&ctlr_dev->lock); in fcoe_fcf_get_selected()
3242 void fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_set_fip_mode() argument
3244 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_set_fip_mode()
3248 switch (ctlr_dev->mode) { in fcoe_ctlr_set_fip_mode()