Lines Matching refs:ihost
83 struct isci_host *ihost = container_of(table, typeof(*ihost), phys[0]); in phy_to_host() local
85 return ihost; in phy_to_host()
119 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_link_layer_initialization() local
131 phy_user = &ihost->user_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization()
132 phy_oem = &ihost->oem_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization()
170 if (ihost->oem_parameters.controller.do_enable_ssc) { in sci_phy_link_layer_initialization()
171 struct scu_afe_registers __iomem *afe = &ihost->scu_registers->afe; in sci_phy_link_layer_initialization()
173 struct isci_pci_info *pci_info = to_pci_info(ihost->pdev); in sci_phy_link_layer_initialization()
187 sata_spread = ihost->oem_parameters.controller.ssc_sata_tx_spread_level; in sci_phy_link_layer_initialization()
188 sas_spread = ihost->oem_parameters.controller.ssc_sas_tx_spread_level; in sci_phy_link_layer_initialization()
195 sas_type = ihost->oem_parameters.controller.ssc_sas_tx_type; in sci_phy_link_layer_initialization()
261 if (is_c0(ihost->pdev) || is_c1(ihost->pdev)) { in sci_phy_link_layer_initialization()
268 (u8)ihost->user_parameters.no_outbound_task_timeout); in sci_phy_link_layer_initialization()
296 if (is_a2(ihost->pdev)) { in sci_phy_link_layer_initialization()
322 struct isci_host *ihost = iphy->owning_port->owning_controller; in phy_sata_timeout() local
325 spin_lock_irqsave(&ihost->scic_lock, flags); in phy_sata_timeout()
338 spin_unlock_irqrestore(&ihost->scic_lock, flags); in phy_sata_timeout()
973 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_frame_handler() local
982 result = sci_unsolicited_frame_control_get_header(&ihost->uf_control, in sci_phy_frame_handler()
1016 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
1023 result = sci_unsolicited_frame_control_get_header(&ihost->uf_control, in sci_phy_frame_handler()
1032 sci_unsolicited_frame_control_get_buffer(&ihost->uf_control, in sci_phy_frame_handler()
1053 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
1076 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sas_power_substate_enter() local
1078 sci_controller_power_control_queue_insert(ihost, iphy); in sci_phy_starting_await_sas_power_substate_enter()
1084 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sas_power_substate_exit() local
1086 sci_controller_power_control_queue_remove(ihost, iphy); in sci_phy_starting_await_sas_power_substate_exit()
1092 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sata_power_substate_enter() local
1094 sci_controller_power_control_queue_insert(ihost, iphy); in sci_phy_starting_await_sata_power_substate_enter()
1100 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sata_power_substate_exit() local
1102 sci_controller_power_control_queue_remove(ihost, iphy); in sci_phy_starting_await_sata_power_substate_exit()
1258 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter() local
1269 sci_controller_link_down(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_stopped_state_enter()
1276 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter() local
1286 sci_controller_link_down(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_starting_state_enter()
1295 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter() local
1297 sci_controller_link_up(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_ready_state_enter()
1391 void isci_phy_init(struct isci_phy *iphy, struct isci_host *ihost, int index) in isci_phy_init() argument
1393 struct sci_oem_params *oem = &ihost->oem_parameters; in isci_phy_init()
1407 iphy->sas_phy.ha = &ihost->sas_ha; in isci_phy_init()
1437 struct isci_host *ihost = sas_phy->ha->lldd_ha; in isci_phy_control() local
1440 dev_dbg(&ihost->pdev->dev, in isci_phy_control()
1446 spin_lock_irqsave(&ihost->scic_lock, flags); in isci_phy_control()
1449 spin_unlock_irqrestore(&ihost->scic_lock, flags); in isci_phy_control()
1453 spin_lock_irqsave(&ihost->scic_lock, flags); in isci_phy_control()
1457 spin_unlock_irqrestore(&ihost->scic_lock, flags); in isci_phy_control()
1464 ret = isci_port_perform_hard_reset(ihost, port->lldd_port, iphy); in isci_phy_control()
1480 dev_dbg(&ihost->pdev->dev, in isci_phy_control()