Home
last modified time | relevance | path

Searched refs:ctlr_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c421 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_r_a_tov() local
422 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() local
436 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() local
449 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 …]
H A Dfcoe_ctlr.c164 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()
3215 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_dev_to_ctlr_dev(fcf_dev); in fcoe_fcf_get_selected() local
3216 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_fcf_get_selected()
3220 mutex_lock(&ctlr_dev->lock); in fcoe_fcf_get_selected()
[all …]