Lines Matching defs:hisi_hba
729 static u32 hisi_sas_read32(struct hisi_hba *hisi_hba, u32 off) in hisi_sas_read32()
736 static u32 hisi_sas_read32_relaxed(struct hisi_hba *hisi_hba, u32 off) in hisi_sas_read32_relaxed()
743 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32()
750 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32()
758 static u32 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, in hisi_sas_phy_read32()
768 slot_index_alloc_quirk_v2_hw(struct hisi_hba *hisi_hba, in slot_index_alloc_quirk_v2_hw()
820 static bool sata_index_alloc_v2_hw(struct hisi_hba *hisi_hba, int *idx) in sata_index_alloc_v2_hw()
841 struct hisi_hba *hisi_hba = device->port->ha->lldd_ha; in alloc_dev_quirk_v2_hw() local
882 static void config_phy_opt_mode_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v2_hw()
891 static void config_id_frame_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v2_hw()
921 static void setup_itct_v2_hw(struct hisi_hba *hisi_hba, in setup_itct_v2_hw()
975 static int clear_itct_v2_hw(struct hisi_hba *hisi_hba, in clear_itct_v2_hw()
1009 struct hisi_hba *hisi_hba = sas_dev->hisi_hba; in free_device_v2_hw() local
1016 static int reset_hw_v2_hw(struct hisi_hba *hisi_hba) in reset_hw_v2_hw()
1118 static void phys_reject_stp_links_v2_hw(struct hisi_hba *hisi_hba) in phys_reject_stp_links_v2_hw()
1134 static void phys_try_accept_stp_links_v2_hw(struct hisi_hba *hisi_hba) in phys_try_accept_stp_links_v2_hw()
1162 static void init_reg_v2_hw(struct hisi_hba *hisi_hba) in init_reg_v2_hw()
1331 struct hisi_hba *hisi_hba = from_timer(hisi_hba, t, timer); in link_timeout_enable_link() local
1352 struct hisi_hba *hisi_hba = from_timer(hisi_hba, t, timer); in link_timeout_disable_link() local
1371 static void set_link_timer_quirk(struct hisi_hba *hisi_hba) in set_link_timer_quirk()
1378 static int hw_init_v2_hw(struct hisi_hba *hisi_hba) in hw_init_v2_hw()
1395 static void enable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in enable_phy_v2_hw()
1403 static bool is_sata_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in is_sata_phy_v2_hw()
1414 static bool tx_fifo_is_empty_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in tx_fifo_is_empty_v2_hw()
1426 static bool axi_bus_is_idle_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in axi_bus_is_idle_v2_hw()
1452 static bool wait_io_done_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in wait_io_done_v2_hw()
1475 static bool allowed_disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in allowed_disable_phy_v2_hw()
1490 static void disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in disable_phy_v2_hw()
1537 static void start_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in start_phy_v2_hw()
1544 static void phy_hard_reset_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_hard_reset_v2_hw()
1559 static void phy_get_events_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_get_events_v2_hw()
1578 static void phys_init_v2_hw(struct hisi_hba *hisi_hba) in phys_init_v2_hw()
1593 static void sl_notify_ssp_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in sl_notify_ssp_v2_hw()
1611 static void phy_set_linkrate_v2_hw(struct hisi_hba *hisi_hba, int phy_no, in phy_set_linkrate_v2_hw()
1622 static int get_wideport_bitmap_v2_hw(struct hisi_hba *hisi_hba, int port_id) in get_wideport_bitmap_v2_hw()
1648 struct hisi_hba *hisi_hba = dq->hisi_hba; in start_delivery_v2_hw() local
1672 static void prep_prd_sge_v2_hw(struct hisi_hba *hisi_hba, in prep_prd_sge_v2_hw()
1696 static void prep_smp_v2_hw(struct hisi_hba *hisi_hba, in prep_smp_v2_hw()
1735 static void prep_ssp_v2_hw(struct hisi_hba *hisi_hba, in prep_ssp_v2_hw()
2015 static void slot_err_v2_hw(struct hisi_hba *hisi_hba, in slot_err_v2_hw()
2326 static void slot_complete_v2_hw(struct hisi_hba *hisi_hba, in slot_complete_v2_hw()
2492 static void prep_ata_v2_hw(struct hisi_hba *hisi_hba, in prep_ata_v2_hw()
2594 struct hisi_hba *hisi_hba = phy->hisi_hba; in hisi_sas_internal_abort_quirk_timeout() local
2613 static void prep_abort_v2_hw(struct hisi_hba *hisi_hba, in prep_abort_v2_hw()
2644 static int phy_up_v2_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_up_v2_hw()
2717 static bool check_any_wideports_v2_hw(struct hisi_hba *hisi_hba) in check_any_wideports_v2_hw()
2728 static int phy_down_v2_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_down_v2_hw()
2763 struct hisi_hba *hisi_hba = p; in int_phy_updown_v2_hw() local
2821 static void phy_bcast_v2_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_bcast_v2_hw()
2864 struct hisi_hba *hisi_hba = p; in int_chnl_int_v2_hw() local
2941 one_bit_ecc_error_process_v2_hw(struct hisi_hba *hisi_hba, u32 irq_value) in one_bit_ecc_error_process_v2_hw()
2960 static void multi_bit_ecc_error_process_v2_hw(struct hisi_hba *hisi_hba, in multi_bit_ecc_error_process_v2_hw()
2985 struct hisi_hba *hisi_hba = p; in fatal_ecc_int_v2_hw() local
3059 struct hisi_hba *hisi_hba = p; in fatal_axi_int_v2_hw() local
3114 struct hisi_hba *hisi_hba = cq->hisi_hba; in cq_thread_v2_hw() local
3188 struct hisi_hba *hisi_hba = cq->hisi_hba; in cq_interrupt_v2_hw() local
3199 struct hisi_hba *hisi_hba = phy->hisi_hba; in sata_int_v2_hw() local
3303 static int hisi_sas_v2_interrupt_preinit(struct hisi_hba *hisi_hba) in hisi_sas_v2_interrupt_preinit()
3327 static int interrupt_init_v2_hw(struct hisi_hba *hisi_hba) in interrupt_init_v2_hw()
3392 static int hisi_sas_v2_init(struct hisi_hba *hisi_hba) in hisi_sas_v2_init()
3409 static void interrupt_disable_v2_hw(struct hisi_hba *hisi_hba) in interrupt_disable_v2_hw()
3432 static u32 get_phys_state_v2_hw(struct hisi_hba *hisi_hba) in get_phys_state_v2_hw()
3437 static int soft_reset_v2_hw(struct hisi_hba *hisi_hba) in soft_reset_v2_hw()
3478 static int write_gpio_v2_hw(struct hisi_hba *hisi_hba, u8 reg_type, in write_gpio_v2_hw()
3516 static void wait_cmds_complete_timeout_v2_hw(struct hisi_hba *hisi_hba, in wait_cmds_complete_timeout_v2_hw()
3554 struct hisi_hba *hisi_hba = shost_priv(shost); in map_queues_v2_hw() local