Searched refs:fw_ddb_index (Results 1 – 8 of 8) sorted by relevance
/drivers/scsi/qla4xxx/ |
D | ql4_inline.h | 21 qla4xxx_lookup_ddb_by_fw_index(struct scsi_qla_host *ha, uint32_t fw_ddb_index) in qla4xxx_lookup_ddb_by_fw_index() argument 25 if ((fw_ddb_index < MAX_DDB_ENTRIES) && in qla4xxx_lookup_ddb_by_fw_index() 26 (ha->fw_ddb_index_map[fw_ddb_index] != in qla4xxx_lookup_ddb_by_fw_index() 28 ddb_entry = ha->fw_ddb_index_map[fw_ddb_index]; in qla4xxx_lookup_ddb_by_fw_index() 32 ha->host_no, __func__, fw_ddb_index, ddb_entry)); in qla4xxx_lookup_ddb_by_fw_index()
|
D | ql4_init.c | 51 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = in qla4xxx_free_ddb() 1001 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_ddb_change() argument 1011 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_ddb_change() 1046 clear_bit(fw_ddb_index, ha->ddb_idx_map); in qla4xxx_ddb_change() 1095 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_flash_ddb_change() argument 1105 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_flash_ddb_change() 1168 uint32_t fw_ddb_index, in qla4xxx_process_ddb_changed() argument 1174 if (fw_ddb_index >= MAX_DDB_ENTRIES) in qla4xxx_process_ddb_changed() 1178 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_process_ddb_changed() 1182 __func__, fw_ddb_index); in qla4xxx_process_ddb_changed() [all …]
|
D | ql4_glbl.h | 37 uint16_t fw_ddb_index, 47 int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, 52 uint16_t fw_ddb_index, 74 int qla4xxx_process_ddb_changed(struct scsi_qla_host *ha, uint32_t fw_ddb_index, 146 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index); 153 int qla4xxx_req_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index, 155 int qla4xxx_clear_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index); 158 int qla4xxx_get_mgmt_data(struct scsi_qla_host *ha, uint16_t fw_ddb_index, 180 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, 182 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
|
D | ql4_mbx.c | 822 uint16_t fw_ddb_index, in qla4xxx_get_fwddb_entry() argument 838 if (fw_ddb_index >= MAX_DDB_ENTRIES) { in qla4xxx_get_fwddb_entry() 840 ha->host_no, __func__, fw_ddb_index)); in qla4xxx_get_fwddb_entry() 849 mbox_cmd[1] = (uint32_t) fw_ddb_index; in qla4xxx_get_fwddb_entry() 861 if (fw_ddb_index != mbox_sts[1]) { in qla4xxx_get_fwddb_entry() 863 ha->host_no, __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry() 872 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry() 881 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry() 915 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index) in qla4xxx_conn_open() argument 925 mbox_cmd[1] = fw_ddb_index; in qla4xxx_conn_open() [all …]
|
D | ql4_iocb.c | 104 marker_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_marker_iocb() 325 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp() 407 passthru_iocb->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_passthru0()
|
D | ql4_os.c | 1840 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats() 3124 ddb_entry->fw_ddb_index = ddb_index; in qla4xxx_session_create() 3132 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = ddb_entry; in qla4xxx_session_create() 3165 ret = qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, in qla4xxx_session_destroy() 3180 qla4xxx_clear_ddb_entry(ha, ddb_entry->fw_ddb_index); in qla4xxx_session_destroy() 3182 clear_bit(ddb_entry->fw_ddb_index, ha->ddb_idx_map); in qla4xxx_session_destroy() 3304 __func__, ddb_entry->fw_ddb_index); in qla4xxx_conn_start() 3308 status = qla4xxx_conn_open(ha, ddb_entry->fw_ddb_index); in qla4xxx_conn_start() 3928 if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, in qla4xxx_update_session_conn_fwddb_param() 3934 ddb_entry->fw_ddb_index)); in qla4xxx_update_session_conn_fwddb_param() [all …]
|
D | ql4_def.h | 290 uint16_t fw_ddb_index; /* DDB firmware index */ member 297 int (*ddb_change)(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
|
D | ql4_isr.c | 372 uint32_t fw_ddb_index; in qla4xxx_passthru_status_entry() local 375 fw_ddb_index = le32_to_cpu(sts_entry->target); in qla4xxx_passthru_status_entry() 377 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_passthru_status_entry()
|