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()
969 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_frame_handler() local
978 result = sci_unsolicited_frame_control_get_header(&ihost->uf_control, in sci_phy_frame_handler()
1012 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
1019 result = sci_unsolicited_frame_control_get_header(&ihost->uf_control, in sci_phy_frame_handler()
1028 sci_unsolicited_frame_control_get_buffer(&ihost->uf_control, in sci_phy_frame_handler()
1049 sci_controller_release_frame(ihost, frame_index); in sci_phy_frame_handler()
1072 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sas_power_substate_enter() local
1074 sci_controller_power_control_queue_insert(ihost, iphy); in sci_phy_starting_await_sas_power_substate_enter()
1080 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sas_power_substate_exit() local
1082 sci_controller_power_control_queue_remove(ihost, iphy); in sci_phy_starting_await_sas_power_substate_exit()
1088 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sata_power_substate_enter() local
1090 sci_controller_power_control_queue_insert(ihost, iphy); in sci_phy_starting_await_sata_power_substate_enter()
1096 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_starting_await_sata_power_substate_exit() local
1098 sci_controller_power_control_queue_remove(ihost, iphy); in sci_phy_starting_await_sata_power_substate_exit()
1255 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter() local
1266 sci_controller_link_down(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_stopped_state_enter()
1273 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter() local
1283 sci_controller_link_down(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_starting_state_enter()
1292 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter() local
1294 sci_controller_link_up(ihost, phy_get_non_dummy_port(iphy), iphy); in sci_phy_ready_state_enter()
1388 void isci_phy_init(struct isci_phy *iphy, struct isci_host *ihost, int index) in isci_phy_init() argument
1390 struct sci_oem_params *oem = &ihost->oem_parameters; in isci_phy_init()
1404 iphy->sas_phy.ha = &ihost->sas_ha; in isci_phy_init()
1432 struct isci_host *ihost = sas_phy->ha->lldd_ha; in isci_phy_control() local
1435 dev_dbg(&ihost->pdev->dev, in isci_phy_control()
1441 spin_lock_irqsave(&ihost->scic_lock, flags); in isci_phy_control()
1444 spin_unlock_irqrestore(&ihost->scic_lock, flags); in isci_phy_control()
1448 spin_lock_irqsave(&ihost->scic_lock, flags); in isci_phy_control()
1452 spin_unlock_irqrestore(&ihost->scic_lock, flags); in isci_phy_control()
1459 ret = isci_port_perform_hard_reset(ihost, port->lldd_port, iphy); in isci_phy_control()
1475 dev_dbg(&ihost->pdev->dev, in isci_phy_control()