Lines Matching defs:hisi_hba
563 static u32 hisi_sas_read32(struct hisi_hba *hisi_hba, u32 off) in hisi_sas_read32()
570 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32()
577 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32()
585 static u32 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, in hisi_sas_phy_read32()
607 static void interrupt_enable_v3_hw(struct hisi_hba *hisi_hba) in interrupt_enable_v3_hw()
628 static void init_reg_v3_hw(struct hisi_hba *hisi_hba) in init_reg_v3_hw()
780 static void config_phy_opt_mode_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v3_hw()
789 static void config_id_frame_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v3_hw()
819 static void setup_itct_v3_hw(struct hisi_hba *hisi_hba, in setup_itct_v3_hw()
871 static int clear_itct_v3_hw(struct hisi_hba *hisi_hba, in clear_itct_v3_hw()
901 static void dereg_device_v3_hw(struct hisi_hba *hisi_hba, in dereg_device_v3_hw()
926 static int reset_hw_v3_hw(struct hisi_hba *hisi_hba) in reset_hw_v3_hw()
962 static int hw_init_v3_hw(struct hisi_hba *hisi_hba) in hw_init_v3_hw()
1002 static void enable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in enable_phy_v3_hw()
1011 static void disable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in disable_phy_v3_hw()
1043 static void start_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in start_phy_v3_hw()
1050 static void phy_hard_reset_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_hard_reset_v3_hw()
1070 static void phys_init_v3_hw(struct hisi_hba *hisi_hba) in phys_init_v3_hw()
1085 static void sl_notify_ssp_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in sl_notify_ssp_v3_hw()
1098 static int get_wideport_bitmap_v3_hw(struct hisi_hba *hisi_hba, int port_id) in get_wideport_bitmap_v3_hw()
1114 struct hisi_hba *hisi_hba = dq->hisi_hba; in start_delivery_v3_hw() local
1138 static void prep_prd_sge_v3_hw(struct hisi_hba *hisi_hba, in prep_prd_sge_v3_hw()
1162 static void prep_prd_sge_dif_v3_hw(struct hisi_hba *hisi_hba, in prep_prd_sge_dif_v3_hw()
1257 static void prep_ssp_v3_hw(struct hisi_hba *hisi_hba, in prep_ssp_v3_hw()
1379 static void prep_smp_v3_hw(struct hisi_hba *hisi_hba, in prep_smp_v3_hw()
1418 static void prep_ata_v3_hw(struct hisi_hba *hisi_hba, in prep_ata_v3_hw()
1497 static void prep_abort_v3_hw(struct hisi_hba *hisi_hba, in prep_abort_v3_hw()
1523 static irqreturn_t phy_up_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_up_v3_hw()
1636 static irqreturn_t phy_down_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_down_v3_hw()
1666 static irqreturn_t phy_bcast_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_bcast_v3_hw()
1684 struct hisi_hba *hisi_hba = p; in int_phy_up_down_bcast_v3_hw() local
1767 static void handle_chl_int1_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int1_v3_hw()
1795 static void phy_get_events_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_get_events_v3_hw()
1828 static void handle_chl_int2_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int2_v3_hw()
1896 static void handle_chl_int0_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int0_v3_hw()
1911 struct hisi_hba *hisi_hba = p; in int_chnl_int_v3_hw() local
2015 static void multi_bit_ecc_error_process_v3_hw(struct hisi_hba *hisi_hba, in multi_bit_ecc_error_process_v3_hw()
2036 static void fatal_ecc_int_v3_hw(struct hisi_hba *hisi_hba) in fatal_ecc_int_v3_hw()
2125 struct hisi_hba *hisi_hba = p; in fatal_axi_int_v3_hw() local
2204 slot_err_v3_hw(struct hisi_hba *hisi_hba, struct sas_task *task, in slot_err_v3_hw()
2279 static void slot_complete_v3_hw(struct hisi_hba *hisi_hba, in slot_complete_v3_hw()
2438 struct hisi_hba *hisi_hba = cq->hisi_hba; in complete_v3_hw() local
2502 struct hisi_hba *hisi_hba = shost_priv(shost); in queue_complete_v3_hw() local
2525 struct hisi_hba *hisi_hba = cq->hisi_hba; in cq_interrupt_v3_hw() local
2540 static int interrupt_preinit_v3_hw(struct hisi_hba *hisi_hba) in interrupt_preinit_v3_hw()
2567 static int interrupt_init_v3_hw(struct hisi_hba *hisi_hba) in interrupt_init_v3_hw()
2627 static int hisi_sas_v3_init(struct hisi_hba *hisi_hba) in hisi_sas_v3_init()
2642 static void phy_set_linkrate_v3_hw(struct hisi_hba *hisi_hba, int phy_no, in phy_set_linkrate_v3_hw()
2655 static void interrupt_disable_v3_hw(struct hisi_hba *hisi_hba) in interrupt_disable_v3_hw()
2683 static u32 get_phys_state_v3_hw(struct hisi_hba *hisi_hba) in get_phys_state_v3_hw()
2688 static int disable_host_v3_hw(struct hisi_hba *hisi_hba) in disable_host_v3_hw()
2719 static int soft_reset_v3_hw(struct hisi_hba *hisi_hba) in soft_reset_v3_hw()
2736 static int write_gpio_v3_hw(struct hisi_hba *hisi_hba, u8 reg_type, in write_gpio_v3_hw()
2765 static void wait_cmds_complete_timeout_v3_hw(struct hisi_hba *hisi_hba, in wait_cmds_complete_timeout_v3_hw()
2795 static void config_intr_coal_v3_hw(struct hisi_hba *hisi_hba) in config_intr_coal_v3_hw()
2820 struct hisi_hba *hisi_hba = shost_priv(shost); in intr_coal_ticks_v3_hw_show() local
2831 struct hisi_hba *hisi_hba = shost_priv(shost); in intr_coal_ticks_v3_hw_store() local
2859 struct hisi_hba *hisi_hba = shost_priv(shost); in intr_coal_count_v3_hw_show() local
2870 struct hisi_hba *hisi_hba = shost_priv(shost); in intr_coal_count_v3_hw_store() local
2898 struct hisi_hba *hisi_hba = shost_priv(shost); in iopoll_q_cnt_v3_hw_show() local
2909 struct hisi_hba *hisi_hba = shost_priv(shost); in device_configure_v3_hw() local
3120 static void debugfs_snapshot_prepare_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_prepare_v3_hw()
3132 static void debugfs_snapshot_restore_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_restore_v3_hw()
3143 static void read_iost_itct_cache_v3_hw(struct hisi_hba *hisi_hba, in read_iost_itct_cache_v3_hw()
3173 static void hisi_sas_bist_test_prep_v3_hw(struct hisi_hba *hisi_hba) in hisi_sas_bist_test_prep_v3_hw()
3193 static void hisi_sas_bist_test_restore_v3_hw(struct hisi_hba *hisi_hba) in hisi_sas_bist_test_restore_v3_hw()
3222 static int debugfs_set_bist_v3_hw(struct hisi_hba *hisi_hba, bool enable) in debugfs_set_bist_v3_hw()
3303 struct hisi_hba *hisi_hba = shost_priv(shost); in hisi_sas_map_queues() local
3378 struct hisi_hba *hisi_hba; in hisi_sas_shost_alloc_pci() local
3423 static void debugfs_snapshot_cq_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_cq_reg_v3_hw()
3435 static void debugfs_snapshot_dq_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_dq_reg_v3_hw()
3454 static void debugfs_snapshot_port_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_port_reg_v3_hw()
3472 static void debugfs_snapshot_global_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_global_reg_v3_hw()
3482 static void debugfs_snapshot_axi_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_axi_reg_v3_hw()
3493 static void debugfs_snapshot_ras_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_ras_reg_v3_hw()
3504 static void debugfs_snapshot_itct_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_itct_reg_v3_hw()
3522 static void debugfs_snapshot_iost_reg_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_iost_reg_v3_hw()
3653 struct hisi_hba *hisi_hba = cq->hisi_hba; in debugfs_cq_show_slot_v3_hw() local
3781 static void debugfs_create_files_v3_hw(struct hisi_hba *hisi_hba) in debugfs_create_files_v3_hw()
3864 struct hisi_hba *hisi_hba = file->f_inode->i_private; in debugfs_trigger_dump_v3_hw_write() local
3909 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_linkrate_v3_hw_show() local
3930 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_linkrate_v3_hw_write() local
3983 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_code_mode_v3_hw_show() local
4005 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_code_mode_v3_hw_write() local
4043 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_phy_v3_hw_write() local
4064 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_phy_v3_hw_show() local
4077 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_cnt_v3_hw_write() local
4097 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_cnt_v3_hw_show() local
4116 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_mode_v3_hw_show() local
4137 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_mode_v3_hw_write() local
4174 struct hisi_hba *hisi_hba = m->private; in debugfs_bist_enable_v3_hw_write() local
4199 struct hisi_hba *hisi_hba = s->private; in debugfs_bist_enable_v3_hw_show() local
4290 struct hisi_hba *hisi_hba = phy->hisi_hba; in debugfs_is_fifo_config_valid_v3_hw() local
4331 struct hisi_hba *hisi_hba = phy->hisi_hba; in debugfs_update_fifo_config_v3_hw() local
4402 struct hisi_hba *hisi_hba = phy->hisi_hba; in debugfs_read_fifo_data_v3_hw() local
4440 static void debugfs_fifo_init_v3_hw(struct hisi_hba *hisi_hba) in debugfs_fifo_init_v3_hw()
4513 static void debugfs_release_v3_hw(struct hisi_hba *hisi_hba, int dump_index) in debugfs_release_v3_hw()
4543 static int debugfs_alloc_v3_hw(struct hisi_hba *hisi_hba, int dump_index) in debugfs_alloc_v3_hw()
4631 static int debugfs_snapshot_regs_v3_hw(struct hisi_hba *hisi_hba) in debugfs_snapshot_regs_v3_hw()
4669 static void debugfs_phy_down_cnt_init_v3_hw(struct hisi_hba *hisi_hba) in debugfs_phy_down_cnt_init_v3_hw()
4684 static void debugfs_bist_init_v3_hw(struct hisi_hba *hisi_hba) in debugfs_bist_init_v3_hw()
4746 static void debugfs_exit_v3_hw(struct hisi_hba *hisi_hba) in debugfs_exit_v3_hw()
4752 static void debugfs_init_v3_hw(struct hisi_hba *hisi_hba) in debugfs_init_v3_hw()
4777 struct hisi_hba *hisi_hba; in hisi_sas_v3_probe() local
4914 hisi_sas_v3_destroy_irqs(struct pci_dev *pdev, struct hisi_hba *hisi_hba) in hisi_sas_v3_destroy_irqs()
4933 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_v3_remove() local
4953 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_reset_prepare_v3_hw() local
4971 struct hisi_hba *hisi_hba = sha->lldd_ha; in hisi_sas_reset_done_v3_hw() local
4997 static void enable_host_v3_hw(struct hisi_hba *hisi_hba) in enable_host_v3_hw()
5016 struct hisi_hba *hisi_hba = sha->lldd_ha; in _suspend_v3_hw() local
5075 struct hisi_hba *hisi_hba = sha->lldd_ha; in _resume_v3_hw() local
5114 struct hisi_hba *hisi_hba = sha->lldd_ha; in suspend_v3_hw() local
5130 struct hisi_hba *hisi_hba = sha->lldd_ha; in resume_v3_hw() local