Lines Matching refs:ihost

112 bool is_port_config_apc(struct isci_host *ihost);
113 bool is_controller_start_complete(struct isci_host *ihost);
307 static inline struct Scsi_Host *to_shost(struct isci_host *ihost) in to_shost() argument
309 return ihost->sas_ha.shost; in to_shost()
312 #define for_each_isci_host(id, ihost, pdev) \ argument
314 (ihost = to_pci_info(pdev)->hosts[id]); id++)
316 static inline void wait_for_start(struct isci_host *ihost) in wait_for_start() argument
318 wait_event(ihost->eventq, !test_bit(IHOST_START_PENDING, &ihost->flags)); in wait_for_start()
321 static inline void wait_for_stop(struct isci_host *ihost) in wait_for_stop() argument
323 wait_event(ihost->eventq, !test_bit(IHOST_STOP_PENDING, &ihost->flags)); in wait_for_stop()
326 static inline void wait_for_device_start(struct isci_host *ihost, struct isci_remote_device *idev) in wait_for_device_start() argument
328 wait_event(ihost->eventq, !test_bit(IDEV_START_PENDING, &idev->flags)); in wait_for_device_start()
331 static inline void wait_for_device_stop(struct isci_host *ihost, struct isci_remote_device *idev) in wait_for_device_stop() argument
333 wait_event(ihost->eventq, !test_bit(IDEV_STOP_PENDING, &idev->flags)); in wait_for_device_stop()
429 enum cable_selections decode_cable_selection(struct isci_host *ihost, int phy);
430 void validate_cable_selections(struct isci_host *ihost);
440 static inline int isci_gpio_count(struct isci_host *ihost) in isci_gpio_count() argument
442 return ARRAY_SIZE(ihost->scu_registers->peg0.sgpio.output_data_select); in isci_gpio_count()
445 void sci_controller_post_request(struct isci_host *ihost,
447 void sci_controller_release_frame(struct isci_host *ihost,
452 enum sci_status sci_controller_allocate_remote_node_context(struct isci_host *ihost,
456 struct isci_host *ihost,
460 struct isci_request *sci_request_by_tag(struct isci_host *ihost, u16 io_tag);
461 void sci_controller_power_control_queue_insert(struct isci_host *ihost,
463 void sci_controller_power_control_queue_remove(struct isci_host *ihost,
465 void sci_controller_link_up(struct isci_host *ihost, struct isci_port *iport,
467 void sci_controller_link_down(struct isci_host *ihost, struct isci_port *iport,
469 void sci_controller_remote_device_stopped(struct isci_host *ihost,
475 u16 isci_alloc_tag(struct isci_host *ihost);
476 enum sci_status isci_free_tag(struct isci_host *ihost, u16 io_tag);
477 void isci_tci_free(struct isci_host *ihost, u16 tci);
478 void ireq_done(struct isci_host *ihost, struct isci_request *ireq, struct sas_task *task);
483 void sci_controller_disable_interrupts(struct isci_host *ihost);
484 bool sci_controller_has_remote_devices_stopping(struct isci_host *ihost);
485 void sci_controller_transition_to_ready(struct isci_host *ihost, enum sci_status status);
488 struct isci_host *ihost,
493 struct isci_host *ihost,
498 struct isci_host *ihost,
503 struct isci_host *ihost,
511 struct isci_host *ihost,