Home
last modified time | relevance | path

Searched refs:phy_no (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_v2_hw.c750 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument
753 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
759 int phy_no, u32 off) in hisi_sas_phy_read32()
761 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
882 static void config_phy_opt_mode_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v2_hw() argument
884 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v2_hw()
888 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); 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() argument
904 identify_frame.phy_id = phy_no; in config_id_frame_v2_hw()
907 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD in config_id_frame_v2_hw()
758 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
1121 int phy_no; phys_reject_stp_links_v2_hw() local
1136 int phy_no; phys_try_accept_stp_links_v2_hw() local
1395 enable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v2_hw() argument
1403 is_sata_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) is_sata_phy_v2_hw() argument
1414 tx_fifo_is_empty_v2_hw(struct hisi_hba *hisi_hba, int phy_no) tx_fifo_is_empty_v2_hw() argument
1426 axi_bus_is_idle_v2_hw(struct hisi_hba *hisi_hba, int phy_no) axi_bus_is_idle_v2_hw() argument
1452 wait_io_done_v2_hw(struct hisi_hba *hisi_hba, int phy_no) wait_io_done_v2_hw() argument
1475 allowed_disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) allowed_disable_phy_v2_hw() argument
1490 disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v2_hw() argument
1537 start_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v2_hw() argument
1544 phy_hard_reset_v2_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v2_hw() argument
1559 phy_get_events_v2_hw(struct hisi_hba *hisi_hba, int phy_no) phy_get_events_v2_hw() argument
1593 sl_notify_ssp_v2_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v2_hw() argument
1611 phy_set_linkrate_v2_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v2_hw() argument
2594 int phy_no = sas_phy->id; hisi_sas_internal_abort_quirk_timeout() local
2642 phy_up_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_up_v2_hw() argument
2732 phy_down_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_down_v2_hw() argument
2768 int phy_no = 0; int_phy_updown_v2_hw() local
2824 phy_bcast_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_bcast_v2_hw() argument
2872 int phy_no = 0; int_chnl_int_v2_hw() local
3213 int phy_no, offset; sata_int_v2_hw() local
3320 int i, phy_no, fatal_no, queue_no; interrupt_init_v2_hw() local
3475 int phy_no, count; write_gpio_v2_hw() local
[all...]
H A Dhisi_sas_v3_hw.c544 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument
547 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
553 int phy_no, u32 off) in hisi_sas_phy_read32()
555 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
728 static void config_phy_opt_mode_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v3_hw() argument
730 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v3_hw()
734 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v3_hw()
737 static void config_id_frame_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v3_hw() argument
750 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw()
753 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD in config_id_frame_v3_hw()
552 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
948 enable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v3_hw() argument
957 disable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v3_hw() argument
989 start_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v3_hw() argument
996 phy_hard_reset_v3_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v3_hw() argument
1031 sl_notify_ssp_v3_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v3_hw() argument
1469 phy_up_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_up_v3_hw() argument
1573 phy_down_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_down_v3_hw() argument
1602 phy_bcast_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_bcast_v3_hw() argument
1624 int phy_no = 0; int_phy_up_down_bcast_v3_hw() local
1705 handle_chl_int1_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int1_v3_hw() argument
1730 phy_get_events_v3_hw(struct hisi_hba *hisi_hba, int phy_no) phy_get_events_v3_hw() argument
1763 handle_chl_int2_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int2_v3_hw() argument
1828 handle_chl_int0_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int0_v3_hw() argument
1845 int phy_no = 0; int_chnl_int_v3_hw() local
2507 phy_set_linkrate_v3_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v3_hw() argument
3008 int phy_no = hisi_hba->debugfs_bist_phy_no; hisi_sas_bist_test_prep_v3_hw() local
3028 int phy_no = hisi_hba->debugfs_bist_phy_no; hisi_sas_bist_test_restore_v3_hw() local
3058 u32 phy_no = hisi_hba->debugfs_bist_phy_no; debugfs_set_bist_v3_hw() local
[all...]
H A Dhisi_sas_v1_hw.c428 int phy_no, u32 off, u32 val) in hisi_sas_phy_write32()
430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
436 int phy_no, u32 off) in hisi_sas_phy_read32()
438 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
443 static void config_phy_opt_mode_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v1_hw() argument
445 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v1_hw()
449 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v1_hw()
452 static void config_tx_tfe_autoneg_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_tx_tfe_autoneg_v1_hw() argument
454 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CONFIG2); in config_tx_tfe_autoneg_v1_hw()
457 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CONFIG in config_tx_tfe_autoneg_v1_hw()
427 hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, u32 off, u32 val) hisi_sas_phy_write32() argument
435 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
460 config_id_frame_v1_hw(struct hisi_hba *hisi_hba, int phy_no) config_id_frame_v1_hw() argument
765 enable_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v1_hw() argument
773 disable_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v1_hw() argument
781 start_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v1_hw() argument
789 phy_hard_reset_v1_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v1_hw() argument
821 sl_notify_ssp_v1_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v1_hw() argument
839 phy_set_linkrate_v1_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v1_hw() argument
1325 int i, phy_no = sas_phy->id; int_phyup_v1_hw() local
1412 int phy_no = sas_phy->id; int_bcast_v1_hw() local
1442 int phy_no = sas_phy->id; int_abnormal_v1_hw() local
[all...]
H A Dhisi_sas_main.c150 int phy_no; in hisi_sas_stop_phys() local
152 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
153 hisi_sas_phy_enable(hisi_hba, phy_no, 0); in hisi_sas_stop_phys()
621 static void hisi_sas_bytes_dmaed(struct hisi_hba *hisi_hba, int phy_no) in hisi_sas_bytes_dmaed() argument
623 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in hisi_sas_bytes_dmaed()
631 dev_warn(hisi_hba->dev, "phy%d during suspend filtered out\n", phy_no); in hisi_sas_bytes_dmaed()
788 int phy_no; in hisi_sas_dev_found() local
792 for (phy_no in hisi_sas_dev_found()
865 int phy_no = sas_phy->id; hisi_sas_phyup_work() local
903 int phy_no = phy->sas_phy.id; hisi_sas_wait_phyup_timedout() local
909 hisi_sas_phy_oob_ready(struct hisi_hba *hisi_hba, int phy_no) hisi_sas_phy_oob_ready() argument
925 hisi_sas_phy_init(struct hisi_hba *hisi_hba, int phy_no) hisi_sas_phy_init() argument
958 hisi_sas_phy_enable(struct hisi_hba *hisi_hba, int phy_no, int enable) hisi_sas_phy_enable() argument
1096 hisi_sas_phy_set_linkrate(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) hisi_sas_phy_set_linkrate() argument
1136 int phy_no = sas_phy->id; hisi_sas_control_phy() local
1419 int phy_no; hisi_sas_rescan_topology() local
2196 hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy) hisi_sas_phy_down() argument
3521 unsigned int phy_no; hisi_sas_debugfs_bist_phy_write() local
3936 int phy_no; hisi_sas_debugfs_phy_down_cnt_init() local
3949 int phy_no; hisi_sas_debugfs_bist_init() local
[all...]
H A Dhisi_sas.h320 void (*sl_notify_ssp)(struct hisi_hba *hisi_hba, int phy_no);
332 void (*phy_start)(struct hisi_hba *hisi_hba, int phy_no);
333 void (*phy_disable)(struct hisi_hba *hisi_hba, int phy_no);
334 void (*phy_hard_reset)(struct hisi_hba *hisi_hba, int phy_no);
335 void (*get_events)(struct hisi_hba *hisi_hba, int phy_no);
336 void (*phy_set_linkrate)(struct hisi_hba *hisi_hba, int phy_no,
659 extern void hisi_sas_phy_enable(struct hisi_hba *hisi_hba, int phy_no,
661 extern void hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy);
669 extern void hisi_sas_phy_oob_ready(struct hisi_hba *hisi_hba, int phy_no);
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_v2_hw.c750 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument
753 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
759 int phy_no, u32 off) in hisi_sas_phy_read32()
761 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
882 static void config_phy_opt_mode_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v2_hw() argument
884 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v2_hw()
888 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); 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() argument
904 identify_frame.phy_id = phy_no; in config_id_frame_v2_hw()
907 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD in config_id_frame_v2_hw()
758 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
1121 int phy_no; phys_reject_stp_links_v2_hw() local
1136 int phy_no; phys_try_accept_stp_links_v2_hw() local
1395 enable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v2_hw() argument
1403 is_sata_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) is_sata_phy_v2_hw() argument
1414 tx_fifo_is_empty_v2_hw(struct hisi_hba *hisi_hba, int phy_no) tx_fifo_is_empty_v2_hw() argument
1426 axi_bus_is_idle_v2_hw(struct hisi_hba *hisi_hba, int phy_no) axi_bus_is_idle_v2_hw() argument
1452 wait_io_done_v2_hw(struct hisi_hba *hisi_hba, int phy_no) wait_io_done_v2_hw() argument
1475 allowed_disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) allowed_disable_phy_v2_hw() argument
1490 disable_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v2_hw() argument
1537 start_phy_v2_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v2_hw() argument
1544 phy_hard_reset_v2_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v2_hw() argument
1559 phy_get_events_v2_hw(struct hisi_hba *hisi_hba, int phy_no) phy_get_events_v2_hw() argument
1593 sl_notify_ssp_v2_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v2_hw() argument
1611 phy_set_linkrate_v2_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v2_hw() argument
2595 int phy_no = sas_phy->id; hisi_sas_internal_abort_quirk_timeout() local
2644 phy_up_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_up_v2_hw() argument
2728 phy_down_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_down_v2_hw() argument
2765 int phy_no = 0; int_phy_updown_v2_hw() local
2821 phy_bcast_v2_hw(int phy_no, struct hisi_hba *hisi_hba) phy_bcast_v2_hw() argument
2867 int phy_no = 0; int_chnl_int_v2_hw() local
3207 int phy_no, offset; sata_int_v2_hw() local
3332 int i, phy_no, fatal_no, queue_no; interrupt_init_v2_hw() local
3482 int phy_no, count; write_gpio_v2_hw() local
[all...]
H A Dhisi_sas_v3_hw.c578 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument
581 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
587 int phy_no, u32 off) in hisi_sas_phy_read32()
589 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
781 static void config_phy_opt_mode_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v3_hw() argument
783 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v3_hw()
787 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v3_hw()
790 static void config_id_frame_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v3_hw() argument
803 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw()
806 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD in config_id_frame_v3_hw()
586 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
1003 enable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v3_hw() argument
1012 disable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v3_hw() argument
1044 start_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v3_hw() argument
1051 phy_hard_reset_v3_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v3_hw() argument
1086 sl_notify_ssp_v3_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v3_hw() argument
1524 phy_up_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_up_v3_hw() argument
1637 phy_down_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_down_v3_hw() argument
1667 phy_bcast_v3_hw(int phy_no, struct hisi_hba *hisi_hba) phy_bcast_v3_hw() argument
1687 int phy_no = 0; int_phy_up_down_bcast_v3_hw() local
1768 handle_chl_int1_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int1_v3_hw() argument
1796 phy_get_events_v3_hw(struct hisi_hba *hisi_hba, int phy_no) phy_get_events_v3_hw() argument
1829 handle_chl_int2_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int2_v3_hw() argument
1897 handle_chl_int0_v3_hw(struct hisi_hba *hisi_hba, int phy_no) handle_chl_int0_v3_hw() argument
1914 int phy_no = 0; int_chnl_int_v3_hw() local
2635 phy_set_linkrate_v3_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v3_hw() argument
3163 int phy_no = hisi_hba->debugfs_bist_phy_no; hisi_sas_bist_test_prep_v3_hw() local
3183 int phy_no = hisi_hba->debugfs_bist_phy_no; hisi_sas_bist_test_restore_v3_hw() local
3213 u32 phy_no = hisi_hba->debugfs_bist_phy_no; debugfs_set_bist_v3_hw() local
4106 unsigned int phy_no; debugfs_bist_phy_v3_hw_write() local
4483 int phy_no = phy->sas_phy.id; debugfs_update_fifo_config_v3_hw() local
4555 int phy_no = phy->sas_phy.id; debugfs_read_fifo_data_v3_hw() local
4593 int phy_no; debugfs_fifo_init_v3_hw() local
4796 int phy_no; debugfs_phy_down_cnt_init_v3_hw() local
4809 int phy_no; debugfs_bist_init_v3_hw() local
[all...]
H A Dhisi_sas_v1_hw.c428 int phy_no, u32 off, u32 val) in hisi_sas_phy_write32()
430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
436 int phy_no, u32 off) in hisi_sas_phy_read32()
438 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
443 static void config_phy_opt_mode_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v1_hw() argument
445 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v1_hw()
449 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v1_hw()
452 static void config_tx_tfe_autoneg_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_tx_tfe_autoneg_v1_hw() argument
454 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CONFIG2); in config_tx_tfe_autoneg_v1_hw()
457 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CONFIG in config_tx_tfe_autoneg_v1_hw()
427 hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, u32 off, u32 val) hisi_sas_phy_write32() argument
435 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, int phy_no, u32 off) hisi_sas_phy_read32() argument
460 config_id_frame_v1_hw(struct hisi_hba *hisi_hba, int phy_no) config_id_frame_v1_hw() argument
765 enable_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) enable_phy_v1_hw() argument
773 disable_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) disable_phy_v1_hw() argument
781 start_phy_v1_hw(struct hisi_hba *hisi_hba, int phy_no) start_phy_v1_hw() argument
789 phy_hard_reset_v1_hw(struct hisi_hba *hisi_hba, int phy_no) phy_hard_reset_v1_hw() argument
821 sl_notify_ssp_v1_hw(struct hisi_hba *hisi_hba, int phy_no) sl_notify_ssp_v1_hw() argument
839 phy_set_linkrate_v1_hw(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) phy_set_linkrate_v1_hw() argument
1321 int i, phy_no = sas_phy->id; int_phyup_v1_hw() local
1401 int phy_no = sas_phy->id; int_bcast_v1_hw() local
1430 int phy_no = sas_phy->id; int_abnormal_v1_hw() local
[all...]
H A Dhisi_sas_main.c148 int phy_no; in hisi_sas_stop_phys() local
150 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
151 hisi_sas_phy_enable(hisi_hba, phy_no, 0); in hisi_sas_stop_phys()
617 static void hisi_sas_bytes_dmaed(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_bytes_dmaed() argument
620 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in hisi_sas_bytes_dmaed()
848 int phy_no; in hisi_sas_dev_found() local
850 phy_no = sas_find_attached_phy_id(&parent_dev->ex_dev, device); in hisi_sas_dev_found()
851 if (phy_no < in hisi_sas_dev_found()
914 int phy_no = sas_phy->id; hisi_sas_phyup_work_common() local
970 int phy_no = phy->sas_phy.id; hisi_sas_wait_phyup_timedout() local
978 hisi_sas_phy_oob_ready(struct hisi_hba *hisi_hba, int phy_no) hisi_sas_phy_oob_ready() argument
1010 hisi_sas_phy_init(struct hisi_hba *hisi_hba, int phy_no) hisi_sas_phy_init() argument
1041 hisi_sas_phy_enable(struct hisi_hba *hisi_hba, int phy_no, int enable) hisi_sas_phy_enable() argument
1193 hisi_sas_phy_set_linkrate(struct hisi_hba *hisi_hba, int phy_no, struct sas_phy_linkrates *r) hisi_sas_phy_set_linkrate() argument
1237 int phy_no = sas_phy->id; hisi_sas_control_phy() local
1387 int phy_no; hisi_sas_rescan_topology() local
1522 int phy_no = phy->sas_phy.id; hisi_sas_async_init_wait_phyup() local
1537 int phy_no; hisi_sas_controller_reset_done() local
2036 hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy, gfp_t gfp_flags) hisi_sas_phy_down() argument
[all...]
H A Dhisi_sas.h316 void (*sl_notify_ssp)(struct hisi_hba *hisi_hba, int phy_no);
327 void (*phy_start)(struct hisi_hba *hisi_hba, int phy_no);
328 void (*phy_disable)(struct hisi_hba *hisi_hba, int phy_no);
329 void (*phy_hard_reset)(struct hisi_hba *hisi_hba, int phy_no);
330 void (*get_events)(struct hisi_hba *hisi_hba, int phy_no);
331 void (*phy_set_linkrate)(struct hisi_hba *hisi_hba, int phy_no,
652 extern void hisi_sas_phy_enable(struct hisi_hba *hisi_hba, int phy_no,
654 extern void hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy,
664 extern void hisi_sas_phy_oob_ready(struct hisi_hba *hisi_hba, int phy_no);
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_sas.c907 static void mvs_update_wideport(struct mvs_info *mvi, int phy_no) in mvs_update_wideport() argument
909 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_update_wideport()
1115 int phy_no = 0; in mvs_port_notify_deformed() local
1117 while (phy != &mvi->phy[phy_no]) { in mvs_port_notify_deformed()
1118 phy_no++; in mvs_port_notify_deformed()
1119 if (phy_no >= MVS_MAX_PHYS) in mvs_port_notify_deformed()
1123 mvs_do_release_task(phy->mvi, phy_no, dev); in mvs_port_notify_deformed()
1656 int phy_no, struct domain_device *dev) in mvs_do_release_task()
1663 phy = &mvi->phy[phy_no]; in mvs_do_release_task()
1710 u32 phy_no in mvs_work_queue() local
1655 mvs_do_release_task(struct mvs_info *mvi, int phy_no, struct domain_device *dev) mvs_do_release_task() argument
1770 u8 phy_no; mvs_sig_time_out() local
1781 mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events) mvs_int_port() argument
[all...]
H A Dmv_sas.h447 void mvs_do_release_task(struct mvs_info *mvi, int phy_no,
449 void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events);
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
H A Dmv_sas.c913 static void mvs_update_wideport(struct mvs_info *mvi, int phy_no) in mvs_update_wideport() argument
915 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_update_wideport()
1121 int phy_no = 0; in mvs_port_notify_deformed() local
1123 while (phy != &mvi->phy[phy_no]) { in mvs_port_notify_deformed()
1124 phy_no++; in mvs_port_notify_deformed()
1125 if (phy_no >= MVS_MAX_PHYS) in mvs_port_notify_deformed()
1129 mvs_do_release_task(phy->mvi, phy_no, dev); in mvs_port_notify_deformed()
1826 int phy_no, struct domain_device *dev) in mvs_do_release_task()
1833 phy = &mvi->phy[phy_no]; in mvs_do_release_task()
1880 u32 phy_no in mvs_work_queue() local
1825 mvs_do_release_task(struct mvs_info *mvi, int phy_no, struct domain_device *dev) mvs_do_release_task() argument
1940 u8 phy_no; mvs_sig_time_out() local
1951 mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events) mvs_int_port() argument
[all...]
H A Dmv_sas.h456 void mvs_do_release_task(struct mvs_info *mvi, int phy_no,
458 void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events);
/kernel/linux/linux-5.10/drivers/clk/renesas/
H A Dclk-sh73a0.c119 u32 phy_no = name[3] - '0'; in sh73a0_cpg_register_clock() local
121 (phy_no ? CPG_DSI1PHYCR : CPG_DSI0PHYCR); in sh73a0_cpg_register_clock()
123 parent_name = phy_no ? "dsi1pck" : "dsi0pck"; in sh73a0_cpg_register_clock()
/kernel/linux/linux-6.6/drivers/clk/renesas/
H A Dclk-sh73a0.c118 u32 phy_no = name[3] - '0'; in sh73a0_cpg_register_clock() local
120 (phy_no ? CPG_DSI1PHYCR : CPG_DSI0PHYCR); in sh73a0_cpg_register_clock()
122 parent_name = phy_no ? "dsi1pck" : "dsi0pck"; in sh73a0_cpg_register_clock()

Completed in 38 milliseconds