Searched refs:idc_control (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 701 uint32_t idc_control; in qla2x00_sysfs_write_reset() local 727 idc_control = qla8044_rd_reg(ha, in qla2x00_sysfs_write_reset() 730 (idc_control | GRACEFUL_RESET_BIT1)); in qla2x00_sysfs_write_reset() 749 uint32_t idc_control; in qla2x00_sysfs_write_reset() local 753 idc_control |= QLA83XX_IDC_GRACEFUL_RESET; in qla2x00_sysfs_write_reset() 754 __qla83xx_set_idc_control(vha, idc_control); in qla2x00_sysfs_write_reset() 793 __qla83xx_get_idc_control(vha, &idc_control); in qla2x00_sysfs_write_reset() 794 idc_control |= QLA83XX_IDC_RESET_DISABLED; in qla2x00_sysfs_write_reset() 795 __qla83xx_set_idc_control(vha, idc_control); in qla2x00_sysfs_write_reset() 805 idc_control &= ~QLA83XX_IDC_RESET_DISABLED; in qla2x00_sysfs_write_reset() [all …]
|
H A D | qla_nx2.c | 3223 uint32_t timestamp, idc_control; in qla8044_collect_md_data() local 3249 idc_control = qla8044_rd_reg(ha, QLA8044_IDC_DRV_CTRL); in qla8044_collect_md_data() 3250 if (idc_control & GRACEFUL_RESET_BIT1) { in qla8044_collect_md_data() 3255 (idc_control & ~GRACEFUL_RESET_BIT1)); in qla8044_collect_md_data()
|
H A D | qla_init.c | 7163 uint32_t idc_control, dev_state; in qla83xx_initiating_reset() local 7165 __qla83xx_get_idc_control(vha, &idc_control); in qla83xx_initiating_reset() 7166 if ((idc_control & QLA83XX_IDC_RESET_DISABLED)) { in qla83xx_initiating_reset() 7169 idc_control); in qla83xx_initiating_reset() 7201 __qla83xx_set_idc_control(scsi_qla_host_t *vha, uint32_t idc_control) in __qla83xx_set_idc_control() argument 7203 return qla83xx_wr_reg(vha, QLA83XX_IDC_CONTROL, idc_control); in __qla83xx_set_idc_control() 7207 __qla83xx_get_idc_control(scsi_qla_host_t *vha, uint32_t *idc_control) in __qla83xx_get_idc_control() argument 7209 return qla83xx_rd_reg(vha, QLA83XX_IDC_CONTROL, idc_control); in __qla83xx_get_idc_control()
|
H A D | qla_os.c | 5842 uint32_t dev_state, idc_control; in qla83xx_service_idc_aen() local 5846 qla83xx_rd_reg(base_vha, QLA83XX_IDC_CONTROL, &idc_control); in qla83xx_service_idc_aen() 5849 if (idc_control & QLA83XX_IDC_GRACEFUL_RESET) { in qla83xx_service_idc_aen() 6662 uint32_t idc_control; in qla83xx_device_bootstrap() local 6668 __qla83xx_get_idc_control(vha, &idc_control); in qla83xx_device_bootstrap() 6669 idc_control &= ~QLA83XX_IDC_GRACEFUL_RESET; in qla83xx_device_bootstrap()
|