H A D | qlt.c | 50 #include "qlt.h" 59 static fct_status_t qlt_reset_chip(qlt_state_t *qlt); 60 static fct_status_t qlt_download_fw(qlt_state_t *qlt); 61 static fct_status_t qlt_load_risc_ram(qlt_state_t *qlt, uint32_t *host_addr, 63 static fct_status_t qlt_raw_mailbox_command(qlt_state_t *qlt); 64 static mbox_cmd_t *qlt_alloc_mailbox_command(qlt_state_t *qlt, 66 void qlt_free_mailbox_command(qlt_state_t *qlt, mbox_cmd_t *mcp); 67 static fct_status_t qlt_mailbox_command(qlt_state_t *qlt, mbox_cmd_t *mcp); 71 static void qlt_handle_inot(qlt_state_t *qlt, uint8_t *inot); 72 static void qlt_handle_purex(qlt_state_t *qlt, uint8_ 311 qlt_state_t *qlt; local 566 qlt_state_t *qlt; local 613 qlt_state_t *qlt; local 650 qlt_enable_intr(qlt_state_t *qlt) argument 663 qlt_disable_intr(qlt_state_t *qlt) argument 676 qlt_release_intr(qlt_state_t *qlt) argument 695 qlt_init_mutex(qlt_state_t *qlt) argument 708 qlt_destroy_mutex(qlt_state_t *qlt) argument 718 qlt_setup_msix(qlt_state_t *qlt) argument 794 qlt_setup_msi(qlt_state_t *qlt) argument 874 qlt_setup_fixed(qlt_state_t *qlt) argument 929 qlt_setup_interrupts(qlt_state_t *qlt) argument 967 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 1031 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 1093 qlt_state_t *qlt = (qlt_state_t *)arg; local 1177 qlt_state_t *qlt = (qlt_state_t *)arg; local 1198 qlt_port_online(qlt_state_t *qlt) argument 1467 qlt_port_offline(qlt_state_t *qlt) argument 1505 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 1594 qlt_state_t *qlt; local 1645 qlt_state_t *qlt; local 1686 qlt_state_t *qlt; local 1949 qlt_force_lip(qlt_state_t *qlt) argument 1978 qlt_state_t *qlt; local 2083 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 2098 qlt_get_req_entries(qlt_state_t *qlt, uint32_t n) argument 2135 qlt_submit_req_entries(qlt_state_t *qlt, uint32_t n) argument 2153 qlt_get_preq_entries(qlt_state_t *qlt, uint32_t n) argument 2191 qlt_submit_preq_entries(qlt_state_t *qlt, uint32_t n) argument 2213 qlt_reset_chip(qlt_state_t *qlt) argument 2273 qlt_download_fw(qlt_state_t *qlt) argument 2371 qlt_load_risc_ram(qlt_state_t *qlt, uint32_t *host_addr, uint32_t word_count, uint32_t risc_addr) argument 2424 qlt_raw_mailbox_command(qlt_state_t *qlt) argument 2457 qlt_alloc_mailbox_command(qlt_state_t *qlt, uint32_t dma_size) argument 2489 qlt_free_mailbox_command(qlt_state_t *qlt, mbox_cmd_t *mcp) argument 2500 qlt_mailbox_command(qlt_state_t *qlt, mbox_cmd_t *mcp) argument 2587 qlt_state_t *qlt = (qlt_state_t *)arg; local 2805 qlt_read_flash_word(qlt_state_t *qlt, uint32_t faddr, uint32_t *bp) argument 2836 qlt_read_nvram(qlt_state_t *qlt) argument 2903 qlt_sync_atio_queue(qlt_state_t *qlt) argument 2926 qlt_handle_atio_queue_update(qlt_state_t *qlt) argument 2965 qlt_sync_resp_queue(qlt_state_t *qlt) argument 2990 qlt_handle_resp_queue_update(qlt_state_t *qlt) argument 3061 qlt_portid_to_handle(qlt_state_t *qlt, uint32_t id, uint16_t cmd_handle, uint16_t *ret_handle) argument 3167 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 3213 qlt_state_t *qlt; local 3256 qlt_handle_purex(qlt_state_t *qlt, uint8_t *resp) argument 3336 qlt_state_t *qlt; local 3385 qlt_state_t *qlt = (qlt_state_t *)cmd->cmd_port->port_fca_private; local 3523 qlt_send_status(qlt_state_t *qlt, fct_cmd_t *cmd) argument 3753 qlt_send_els_response(qlt_state_t *qlt, fct_cmd_t *cmd) argument 3817 qlt_send_abts_response(qlt_state_t *qlt, fct_cmd_t *cmd, int terminate) argument 3866 qlt_handle_inot(qlt_state_t *qlt, uint8_t *inot) argument 3893 qlt_handle_atio(qlt_state_t *qlt, uint8_t *atio) argument 4061 qlt_handle_dereg_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4109 qlt_handle_unsol_els_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4196 qlt_handle_unsol_els_abort_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4272 qlt_handle_sol_els_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4347 qlt_handle_ct_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4415 qlt_handle_ctio_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4543 qlt_handle_sol_abort_completion(qlt_state_t *qlt, uint8_t *rsp) argument 4601 qlt_handle_rcvd_abts(qlt_state_t *qlt, uint8_t *resp) argument 4639 qlt_handle_abts_completion(qlt_state_t *qlt, uint8_t *resp) argument 4665 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 4706 qlt_abort_sol_cmd(qlt_state_t *qlt, fct_cmd_t *cmd) argument 4740 qlt_abort_purex(qlt_state_t *qlt, fct_cmd_t *cmd) argument 4788 qlt_abort_unsol_scsi_cmd(qlt_state_t *qlt, fct_cmd_t *cmd) argument 4825 qlt_state_t *qlt; local 4840 qlt_send_els(qlt_state_t *qlt, fct_cmd_t *cmd) argument 4900 qlt_send_ct(qlt_state_t *qlt, fct_cmd_t *cmd) argument 4966 qlt_state_t *qlt = (qlt_state_t *)port->port_fca_private; local 5716 qlt_fwdump_dump_regs(qlt_state_t *qlt, caddr_t buf, int startaddr, int count, uint_t size_left) argument 5736 qlt_dump_risc_ram(qlt_state_t *qlt, uint32_t addr, uint32_t words, caddr_t buf, uint_t size_left) argument 5762 qlt_dump_queue(qlt_state_t *qlt, caddr_t qadr, int entries, caddr_t buf, uint_t size_left) argument 5797 qlt_read_risc_ram(qlt_state_t *qlt, uint32_t addr, uint32_t words) argument 5832 qlt_verify_fw(qlt_state_t *qlt) argument 5858 qlt_handle_verify_fw_completion(qlt_state_t *qlt, uint8_t *rsp) argument 5887 qlt_el_trace_desc_ctor(qlt_state_t *qlt) argument 5929 qlt_el_trace_desc_dtor(qlt_state_t *qlt) argument 5964 qlt_el_msg(qlt_state_t *qlt, const char *fn, int ce, ...) argument 6034 qlt_dump_el_trace_buffer(qlt_state_t *qlt) argument 6095 qlt_validate_trace_desc(qlt_state_t *qlt) argument 6121 qlt_find_trace_start(qlt_state_t *qlt) argument 6151 qlt_read_int_prop(qlt_state_t *qlt, char *prop, int defval) argument 6158 qlt_read_string_prop(qlt_state_t *qlt, char *prop, char **prop_val) argument 6165 qlt_read_int_instance_prop(qlt_state_t *qlt, char *prop, int defval) argument 6185 qlt_read_string_instance_prop(qlt_state_t *qlt, char *prop, char **prop_val) argument 6202 qlt_wwn_overload_prop(qlt_state_t *qlt) argument 6304 qlt_mps_reset(qlt_state_t *qlt) argument 6344 qlt_raw_wrt_risc_ram_word(qlt_state_t *qlt, uint32_t risc_address, uint32_t data) argument 6376 qlt_raw_rd_risc_ram_word(qlt_state_t *qlt, uint32_t risc_address, uint32_t *data) argument 6396 qlt_properties(qlt_state_t *qlt) argument [all...] |