pm8001_hba_info 54 drivers/scsi/pm8001/pm8001_chips.h static inline u32 pm8001_cr32(struct pm8001_hba_info *pm8001_ha, u32 bar, pm8001_hba_info 60 drivers/scsi/pm8001/pm8001_chips.h static inline void pm8001_cw32(struct pm8001_hba_info *pm8001_ha, u32 bar, pm8001_hba_info 59 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 84 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 114 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 139 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 165 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 188 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 214 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 259 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 287 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 306 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 315 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 339 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 374 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 407 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 438 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 476 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 494 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 594 drivers/scsi/pm8001/pm8001_ctl.c static int pm8001_set_nvmd(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 630 drivers/scsi/pm8001/pm8001_ctl.c static int pm8001_update_flash(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 712 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 789 drivers/scsi/pm8001/pm8001_ctl.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 50 drivers/scsi/pm8001/pm8001_hwi.c static void read_main_config_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 93 drivers/scsi/pm8001/pm8001_hwi.c static void read_general_status_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 152 drivers/scsi/pm8001/pm8001_hwi.c static void read_inbnd_queue_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 169 drivers/scsi/pm8001/pm8001_hwi.c static void read_outbnd_queue_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 186 drivers/scsi/pm8001/pm8001_hwi.c static void init_default_table_values(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 282 drivers/scsi/pm8001/pm8001_hwi.c static void update_main_config_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 337 drivers/scsi/pm8001/pm8001_hwi.c static void update_inbnd_queue_table(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 358 drivers/scsi/pm8001/pm8001_hwi.c static void update_outbnd_queue_table(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 382 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue) pm8001_hba_info 410 drivers/scsi/pm8001/pm8001_hwi.c static void mpi_set_phys_g3_with_ssc(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 478 drivers/scsi/pm8001/pm8001_hwi.c static void mpi_set_open_retry_interval_reg(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 524 drivers/scsi/pm8001/pm8001_hwi.c static int mpi_init_check(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 559 drivers/scsi/pm8001/pm8001_hwi.c static int check_fw_ready(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 610 drivers/scsi/pm8001/pm8001_hwi.c static void init_pci_device_addresses(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 640 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_init(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 697 drivers/scsi/pm8001/pm8001_hwi.c static int mpi_uninit_check(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 756 drivers/scsi/pm8001/pm8001_hwi.c static u32 soft_reset_ready_check(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 815 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_soft_rst(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1149 drivers/scsi/pm8001/pm8001_hwi.c static void pm8001_hw_chip_rst(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1186 drivers/scsi/pm8001/pm8001_hwi.c void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1213 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_intx_interrupt_enable(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1224 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_intx_interrupt_disable(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1236 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_msix_interrupt_enable(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1254 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_msix_interrupt_disable(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1269 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 1283 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_disable(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 1340 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_build_cmd(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1374 drivers/scsi/pm8001/pm8001_hwi.c u32 pm8001_mpi_msg_free_set(struct pm8001_hba_info *pm8001_ha, void *pMsg, pm8001_hba_info 1421 drivers/scsi/pm8001/pm8001_hwi.c u32 pm8001_mpi_msg_consume(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1527 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; pm8001_hba_info 1587 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; pm8001_hba_info 1699 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_handle_event(struct pm8001_hba_info *pm8001_ha, void *data, pm8001_hba_info 1718 drivers/scsi/pm8001/pm8001_hwi.c static void pm8001_send_abort_all(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1767 drivers/scsi/pm8001/pm8001_hwi.c static void pm8001_send_read_log(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1854 drivers/scsi/pm8001/pm8001_hwi.c mpi_ssp_completion(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 2105 drivers/scsi/pm8001/pm8001_hwi.c static void mpi_ssp_event(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 2294 drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 2680 drivers/scsi/pm8001/pm8001_hwi.c static void mpi_sata_event(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 2901 drivers/scsi/pm8001/pm8001_hwi.c mpi_smp_completion(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3099 drivers/scsi/pm8001/pm8001_hwi.c void pm8001_mpi_set_dev_state_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3120 drivers/scsi/pm8001/pm8001_hwi.c void pm8001_mpi_set_nvmd_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3140 drivers/scsi/pm8001/pm8001_hwi.c pm8001_mpi_get_nvmd_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3205 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_local_phy_ctl(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3243 drivers/scsi/pm8001/pm8001_hwi.c void pm8001_bytes_dmaed(struct pm8001_hba_info *pm8001_ha, int i) pm8001_hba_info 3321 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_hba_info *pm8001_ha = phy->sas_phy.ha->lldd_ha; pm8001_hba_info 3343 drivers/scsi/pm8001/pm8001_hwi.c static void pm8001_hw_event_ack_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3361 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3370 drivers/scsi/pm8001/pm8001_hwi.c hw_event_sas_phy_up(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3449 drivers/scsi/pm8001/pm8001_hwi.c hw_event_sata_phy_up(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3494 drivers/scsi/pm8001/pm8001_hwi.c hw_event_phy_down(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3562 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_reg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3624 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_dereg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3645 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_fw_flash_update_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3704 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_general_event(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 3720 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_mpi_task_abort_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3791 drivers/scsi/pm8001/pm8001_hwi.c static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void* piomb) pm8001_hba_info 4005 drivers/scsi/pm8001/pm8001_hwi.c static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 4171 drivers/scsi/pm8001/pm8001_hwi.c static int process_oq(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 4238 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_smp_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4307 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_ssp_io_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4359 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_sata_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4475 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) pm8001_hba_info 4509 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_phy_stop_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4528 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_reg_dev_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4587 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_chip_dereg_dev_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4612 drivers/scsi/pm8001/pm8001_hwi.c static int pm8001_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4628 drivers/scsi/pm8001/pm8001_hwi.c static u32 pm8001_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 4649 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_isr(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 4657 drivers/scsi/pm8001/pm8001_hwi.c static int send_task_abort(struct pm8001_hba_info *pm8001_ha, u32 opc, pm8001_hba_info 4684 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_chip_abort_task(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4712 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_chip_ssp_tm_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4736 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_chip_get_nvmd_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4830 drivers/scsi/pm8001/pm8001_hwi.c int pm8001_chip_set_nvmd_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4920 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_fw_flash_update_build(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4946 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_fw_flash_update_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4996 drivers/scsi/pm8001/pm8001_hwi.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 5066 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_set_dev_state_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 5092 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_sas_re_initialization(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 119 drivers/scsi/pm8001/pm8001_init.c static void pm8001_phy_init(struct pm8001_hba_info *pm8001_ha, int phy_id) pm8001_hba_info 145 drivers/scsi/pm8001/pm8001_init.c static void pm8001_free(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 176 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 197 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 221 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 243 drivers/scsi/pm8001/pm8001_init.c static int pm8001_alloc(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 396 drivers/scsi/pm8001/pm8001_init.c static int pm8001_ioremap(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 448 drivers/scsi/pm8001/pm8001_init.c static struct pm8001_hba_info *pm8001_pci_alloc(struct pci_dev *pdev, pm8001_hba_info 453 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 538 drivers/scsi/pm8001/pm8001_init.c sha->lldd_ha = kzalloc(sizeof(struct pm8001_hba_info), GFP_KERNEL); pm8001_hba_info 568 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 594 drivers/scsi/pm8001/pm8001_init.c static void pm8001_init_sas_add(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 686 drivers/scsi/pm8001/pm8001_init.c static int pm8001_get_phy_settings_info(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 735 drivers/scsi/pm8001/pm8001_init.c void pm8001_get_internal_phy_settings(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 755 drivers/scsi/pm8001/pm8001_init.c void pm8001_get_external_phy_settings(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 775 drivers/scsi/pm8001/pm8001_init.c void pm8001_get_phy_mask(struct pm8001_hba_info *pm8001_ha, int *phymask) pm8001_hba_info 812 drivers/scsi/pm8001/pm8001_init.c int pm8001_set_phy_settings_ven_117c_12G(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 846 drivers/scsi/pm8001/pm8001_init.c static int pm8001_configure_phy_settings(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 870 drivers/scsi/pm8001/pm8001_init.c static u32 pm8001_setup_msix(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 923 drivers/scsi/pm8001/pm8001_init.c static u32 pm8001_request_irq(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 964 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1073 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1119 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1169 drivers/scsi/pm8001/pm8001_init.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 65 drivers/scsi/pm8001/pm8001_sas.c void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag) pm8001_hba_info 76 drivers/scsi/pm8001/pm8001_sas.c inline int pm8001_tag_alloc(struct pm8001_hba_info *pm8001_ha, u32 *tag_out) pm8001_hba_info 94 drivers/scsi/pm8001/pm8001_sas.c void pm8001_tag_init(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 138 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_find_ha_by_dev(struct domain_device *dev) pm8001_hba_info 141 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 158 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = NULL; pm8001_hba_info 266 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 294 drivers/scsi/pm8001/pm8001_sas.c static int pm8001_task_prep_smp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 321 drivers/scsi/pm8001/pm8001_sas.c static int pm8001_task_prep_ata(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 333 drivers/scsi/pm8001/pm8001_sas.c static int pm8001_task_prep_ssp_tm(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 344 drivers/scsi/pm8001/pm8001_sas.c static int pm8001_task_prep_ssp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 382 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 523 drivers/scsi/pm8001/pm8001_sas.c void pm8001_ccb_task_free(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 559 drivers/scsi/pm8001/pm8001_sas.c static struct pm8001_device *pm8001_alloc_dev(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 579 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_device *pm8001_find_dev(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 620 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = NULL; pm8001_hba_info 714 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = pm8001_find_ha_by_dev(dev); pm8001_hba_info 796 drivers/scsi/pm8001/pm8001_sas.c pm8001_exec_internal_task_abort(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 876 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 924 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1001 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1052 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1114 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = pm8001_find_ha_by_dev(dev); pm8001_hba_info 1150 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = pm8001_hba_info 1192 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 1329 drivers/scsi/pm8001/pm8001_sas.c struct pm8001_hba_info *pm8001_ha = pm8001_find_ha_by_dev(dev); pm8001_hba_info 117 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_info; pm8001_hba_info 193 drivers/scsi/pm8001/pm8001_sas.h int (*chip_init)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 194 drivers/scsi/pm8001/pm8001_sas.h int (*chip_soft_rst)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 195 drivers/scsi/pm8001/pm8001_sas.h void (*chip_rst)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 196 drivers/scsi/pm8001/pm8001_sas.h int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 197 drivers/scsi/pm8001/pm8001_sas.h void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 198 drivers/scsi/pm8001/pm8001_sas.h irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec); pm8001_hba_info 199 drivers/scsi/pm8001/pm8001_sas.h u32 (*is_our_interrupt)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 200 drivers/scsi/pm8001/pm8001_sas.h int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec); pm8001_hba_info 201 drivers/scsi/pm8001/pm8001_sas.h void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec); pm8001_hba_info 202 drivers/scsi/pm8001/pm8001_sas.h void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec); pm8001_hba_info 204 drivers/scsi/pm8001/pm8001_sas.h int (*smp_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 206 drivers/scsi/pm8001/pm8001_sas.h int (*ssp_io_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 208 drivers/scsi/pm8001/pm8001_sas.h int (*sata_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 210 drivers/scsi/pm8001/pm8001_sas.h int (*phy_start_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id); pm8001_hba_info 211 drivers/scsi/pm8001/pm8001_sas.h int (*phy_stop_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id); pm8001_hba_info 212 drivers/scsi/pm8001/pm8001_sas.h int (*reg_dev_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 214 drivers/scsi/pm8001/pm8001_sas.h int (*dereg_dev_req)(struct pm8001_hba_info *pm8001_ha, u32 device_id); pm8001_hba_info 215 drivers/scsi/pm8001/pm8001_sas.h int (*phy_ctl_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 217 drivers/scsi/pm8001/pm8001_sas.h int (*task_abort)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 220 drivers/scsi/pm8001/pm8001_sas.h int (*ssp_tm_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 222 drivers/scsi/pm8001/pm8001_sas.h int (*get_nvmd_req)(struct pm8001_hba_info *pm8001_ha, void *payload); pm8001_hba_info 223 drivers/scsi/pm8001/pm8001_sas.h int (*set_nvmd_req)(struct pm8001_hba_info *pm8001_ha, void *payload); pm8001_hba_info 224 drivers/scsi/pm8001/pm8001_sas.h int (*fw_flash_update_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 226 drivers/scsi/pm8001/pm8001_sas.h int (*set_dev_state_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 228 drivers/scsi/pm8001/pm8001_sas.h int (*sas_diag_start_end_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 230 drivers/scsi/pm8001/pm8001_sas.h int (*sas_diag_execute_req)(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 232 drivers/scsi/pm8001/pm8001_sas.h int (*sas_re_init_req)(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 251 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 480 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_info *drv_inst; pm8001_hba_info 548 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_info *pm8001_ha; pm8001_hba_info 635 drivers/scsi/pm8001/pm8001_sas.h int pm8001_tag_alloc(struct pm8001_hba_info *pm8001_ha, u32 *tag_out); pm8001_hba_info 636 drivers/scsi/pm8001/pm8001_sas.h void pm8001_tag_init(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 638 drivers/scsi/pm8001/pm8001_sas.h void pm8001_ccb_task_free(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 656 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 663 drivers/scsi/pm8001/pm8001_sas.h void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 664 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_build_cmd(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 669 drivers/scsi/pm8001/pm8001_sas.h u32 pm8001_mpi_msg_free_set(struct pm8001_hba_info *pm8001_ha, void *pMsg, pm8001_hba_info 671 drivers/scsi/pm8001/pm8001_sas.h u32 pm8001_mpi_msg_consume(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 674 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_set_dev_state_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 676 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_fw_flash_update_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 678 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_fw_flash_update_build(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 680 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_set_nvmd_req(struct pm8001_hba_info *pm8001_ha, void *payload); pm8001_hba_info 681 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_get_nvmd_req(struct pm8001_hba_info *pm8001_ha, void *payload); pm8001_hba_info 682 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_ssp_tm_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 685 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_abort_task(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 688 drivers/scsi/pm8001/pm8001_sas.h int pm8001_chip_dereg_dev_req(struct pm8001_hba_info *pm8001_ha, u32 device_id); pm8001_hba_info 691 drivers/scsi/pm8001/pm8001_sas.h int pm8001_handle_event(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 693 drivers/scsi/pm8001/pm8001_sas.h void pm8001_mpi_set_dev_state_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 695 drivers/scsi/pm8001/pm8001_sas.h void pm8001_mpi_set_nvmd_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 697 drivers/scsi/pm8001/pm8001_sas.h void pm8001_mpi_get_nvmd_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 699 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_local_phy_ctl(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 703 drivers/scsi/pm8001/pm8001_sas.h void pm8001_bytes_dmaed(struct pm8001_hba_info *pm8001_ha, int i); pm8001_hba_info 704 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_reg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb); pm8001_hba_info 705 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_dereg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb); pm8001_hba_info 706 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_fw_flash_update_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 708 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_general_event(struct pm8001_hba_info *pm8001_ha , void *piomb); pm8001_hba_info 709 drivers/scsi/pm8001/pm8001_sas.h int pm8001_mpi_task_abort_resp(struct pm8001_hba_info *pm8001_ha, void *piomb); pm8001_hba_info 713 drivers/scsi/pm8001/pm8001_sas.h void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag); pm8001_hba_info 714 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_device *pm8001_find_dev(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 716 drivers/scsi/pm8001/pm8001_sas.h int pm80xx_set_thermal_config(struct pm8001_hba_info *pm8001_ha); pm8001_hba_info 718 drivers/scsi/pm8001/pm8001_sas.h int pm8001_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue); pm8001_hba_info 719 drivers/scsi/pm8001/pm8001_sas.h void pm8001_set_phy_profile(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 721 drivers/scsi/pm8001/pm8001_sas.h void pm8001_set_phy_profile_single(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 723 drivers/scsi/pm8001/pm8001_sas.h int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shiftValue); pm8001_hba_info 731 drivers/scsi/pm8001/pm8001_sas.h pm8001_ccb_task_free_done(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 50 drivers/scsi/pm8001/pm80xx_hwi.c int pm80xx_bar4_shift(struct pm8001_hba_info *pm8001_ha, u32 shift_value) pm8001_hba_info 69 drivers/scsi/pm8001/pm80xx_hwi.c void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, pm8001_hba_info 92 drivers/scsi/pm8001/pm80xx_hwi.c struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; pm8001_hba_info 267 drivers/scsi/pm8001/pm80xx_hwi.c static void read_main_config_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 326 drivers/scsi/pm8001/pm80xx_hwi.c static void read_general_status_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 362 drivers/scsi/pm8001/pm80xx_hwi.c static void read_phy_attr_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 437 drivers/scsi/pm8001/pm80xx_hwi.c static void read_inbnd_queue_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 455 drivers/scsi/pm8001/pm80xx_hwi.c static void read_outbnd_queue_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 473 drivers/scsi/pm8001/pm80xx_hwi.c static void init_default_table_values(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 559 drivers/scsi/pm8001/pm80xx_hwi.c static void update_main_config_table(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 617 drivers/scsi/pm8001/pm80xx_hwi.c static void update_inbnd_queue_table(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 638 drivers/scsi/pm8001/pm80xx_hwi.c static void update_outbnd_queue_table(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 661 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_init_check(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 708 drivers/scsi/pm8001/pm80xx_hwi.c static int check_fw_ready(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 789 drivers/scsi/pm8001/pm80xx_hwi.c static void init_pci_device_addresses(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 862 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_set_thermal_config(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 901 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_set_sas_protocol_timer_config(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 982 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_get_encrypt_info(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1072 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_encrypt_update(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1104 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_init(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1164 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_uninit_check(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1221 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_soft_rst(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1317 drivers/scsi/pm8001/pm80xx_hwi.c static void pm80xx_hw_chip_rst(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1348 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_intx_interrupt_enable(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1359 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_intx_interrupt_disable(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 1369 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 1387 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_disable(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 1401 drivers/scsi/pm8001/pm80xx_hwi.c static void pm80xx_send_abort_all(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1453 drivers/scsi/pm8001/pm80xx_hwi.c static void pm80xx_send_read_log(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 1542 drivers/scsi/pm8001/pm80xx_hwi.c mpi_ssp_completion(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 1807 drivers/scsi/pm8001/pm80xx_hwi.c static void mpi_ssp_event(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 2005 drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 2395 drivers/scsi/pm8001/pm80xx_hwi.c static void mpi_sata_event(struct pm8001_hba_info *pm8001_ha , void *piomb) pm8001_hba_info 2632 drivers/scsi/pm8001/pm80xx_hwi.c mpi_smp_completion(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 2863 drivers/scsi/pm8001/pm80xx_hwi.c static void pm80xx_hw_event_ack_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 2881 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 2884 drivers/scsi/pm8001/pm80xx_hwi.c static void hw_event_port_recover(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 2916 drivers/scsi/pm8001/pm80xx_hwi.c hw_event_sas_phy_up(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 2999 drivers/scsi/pm8001/pm80xx_hwi.c hw_event_sata_phy_up(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3047 drivers/scsi/pm8001/pm80xx_hwi.c hw_event_phy_down(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3119 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_phy_start_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3147 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_thermal_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3177 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3393 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_phy_stop_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3416 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_set_controller_config_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3436 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_get_controller_config_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3450 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_get_phy_profile_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3464 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_flash_op_ext_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3477 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_set_phy_profile_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3509 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_kek_management_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3530 drivers/scsi/pm8001/pm80xx_hwi.c static int mpi_dek_management_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3544 drivers/scsi/pm8001/pm80xx_hwi.c static int ssp_coalesced_comp_resp(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 3558 drivers/scsi/pm8001/pm80xx_hwi.c static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) pm8001_hba_info 3769 drivers/scsi/pm8001/pm80xx_hwi.c static void print_scratchpad_registers(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 3809 drivers/scsi/pm8001/pm80xx_hwi.c static int process_oq(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 3886 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_smp_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4049 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_ssp_io_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4209 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_sata_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4457 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) pm8001_hba_info 4511 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_phy_stop_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4530 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_reg_dev_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4603 drivers/scsi/pm8001/pm80xx_hwi.c static int pm80xx_chip_phy_ctl_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4622 drivers/scsi/pm8001/pm80xx_hwi.c static u32 pm80xx_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) pm8001_hba_info 4643 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_isr(struct pm8001_hba_info *pm8001_ha, u8 vec) pm8001_hba_info 4651 drivers/scsi/pm8001/pm80xx_hwi.c void mpi_set_phy_profile_req(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4679 drivers/scsi/pm8001/pm80xx_hwi.c void pm8001_set_phy_profile(struct pm8001_hba_info *pm8001_ha, pm8001_hba_info 4692 drivers/scsi/pm8001/pm80xx_hwi.c void pm8001_set_phy_profile_single(struct pm8001_hba_info *pm8001_ha,