Lines Matching refs:isci_host

181 static bool sci_controller_completion_queue_has_entries(struct isci_host *ihost)  in sci_controller_completion_queue_has_entries()
193 static bool sci_controller_isr(struct isci_host *ihost) in sci_controller_isr()
222 struct isci_host *ihost = data; in isci_msix_isr()
230 static bool sci_controller_error_isr(struct isci_host *ihost) in sci_controller_error_isr()
257 static void sci_controller_task_completion(struct isci_host *ihost, u32 ent) in sci_controller_task_completion()
272 static void sci_controller_sdma_completion(struct isci_host *ihost, u32 ent) in sci_controller_sdma_completion()
307 static void sci_controller_unsolicited_frame(struct isci_host *ihost, u32 ent) in sci_controller_unsolicited_frame()
368 static void sci_controller_event_completion(struct isci_host *ihost, u32 ent) in sci_controller_event_completion()
485 static void sci_controller_process_completions(struct isci_host *ihost) in sci_controller_process_completions()
581 static void sci_controller_error_handler(struct isci_host *ihost) in sci_controller_error_handler()
611 struct isci_host *ihost = data; in isci_intx_isr()
629 struct isci_host *ihost = data; in isci_error_isr()
645 static void isci_host_start_complete(struct isci_host *ihost, enum sci_status completion_status) in isci_host_start_complete()
657 struct isci_host *ihost = ha->lldd_ha; in isci_host_scan_finished()
679 static u32 sci_controller_get_suggested_start_timeout(struct isci_host *ihost) in sci_controller_get_suggested_start_timeout()
704 static void sci_controller_enable_interrupts(struct isci_host *ihost) in sci_controller_enable_interrupts()
710 void sci_controller_disable_interrupts(struct isci_host *ihost) in sci_controller_disable_interrupts()
717 static void sci_controller_enable_port_task_scheduler(struct isci_host *ihost) in sci_controller_enable_port_task_scheduler()
730 static void sci_controller_assign_task_entries(struct isci_host *ihost) in sci_controller_assign_task_entries()
751 static void sci_controller_initialize_completion_queue(struct isci_host *ihost) in sci_controller_initialize_completion_queue()
798 static void sci_controller_initialize_unsolicited_frame_queue(struct isci_host *ihost) in sci_controller_initialize_unsolicited_frame_queue()
825 void sci_controller_transition_to_ready(struct isci_host *ihost, enum sci_status status) in sci_controller_transition_to_ready()
861 bool is_controller_start_complete(struct isci_host *ihost) in is_controller_start_complete()
902 static enum sci_status sci_controller_start_next_phy(struct isci_host *ihost) in sci_controller_start_next_phy()
964 struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer); in phy_startup_timeout()
983 static u16 isci_tci_active(struct isci_host *ihost) in isci_tci_active()
988 static enum sci_status sci_controller_start(struct isci_host *ihost, in sci_controller_start()
1049 struct isci_host *ihost = SHOST_TO_SAS_HA(shost)->lldd_ha; in isci_host_start()
1060 static void isci_host_stop_complete(struct isci_host *ihost) in isci_host_stop_complete()
1067 static void sci_controller_completion_handler(struct isci_host *ihost) in sci_controller_completion_handler()
1080 void ireq_done(struct isci_host *ihost, struct isci_request *ireq, struct sas_task *task) in ireq_done()
1118 struct isci_host *ihost = (struct isci_host *)data; in isci_host_completion_routine()
1158 static enum sci_status sci_controller_stop(struct isci_host *ihost, u32 timeout) in sci_controller_stop()
1183 static enum sci_status sci_controller_reset(struct isci_host *ihost) in sci_controller_reset()
1203 static enum sci_status sci_controller_stop_phys(struct isci_host *ihost) in sci_controller_stop_phys()
1241 void isci_host_deinit(struct isci_host *ihost) in isci_host_deinit()
1294 static void __iomem *scu_base(struct isci_host *isci_host) in scu_base() argument
1296 struct pci_dev *pdev = isci_host->pdev; in scu_base()
1297 int id = isci_host->id; in scu_base()
1302 static void __iomem *smu_base(struct isci_host *isci_host) in smu_base() argument
1304 struct pci_dev *pdev = isci_host->pdev; in smu_base()
1305 int id = isci_host->id; in smu_base()
1312 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_initial_state_enter()
1319 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_starting_state_exit()
1349 sci_controller_set_interrupt_coalescence(struct isci_host *ihost, in sci_controller_set_interrupt_coalescence()
1446 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_ready_state_enter()
1463 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_ready_state_exit()
1469 static enum sci_status sci_controller_stop_ports(struct isci_host *ihost) in sci_controller_stop_ports()
1496 static enum sci_status sci_controller_stop_devices(struct isci_host *ihost) in sci_controller_stop_devices()
1526 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_stopping_state_enter()
1537 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_stopping_state_exit()
1542 static void sci_controller_reset_hardware(struct isci_host *ihost) in sci_controller_reset_hardware()
1565 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_resetting_state_enter()
1598 struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer); in controller_timeout()
1622 static enum sci_status sci_controller_construct(struct isci_host *ihost, in sci_controller_construct()
1730 static u8 max_spin_up(struct isci_host *ihost) in max_spin_up()
1743 struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer); in power_control_timeout()
1814 void sci_controller_power_control_queue_insert(struct isci_host *ihost, in sci_controller_power_control_queue_insert()
1866 void sci_controller_power_control_queue_remove(struct isci_host *ihost, in sci_controller_power_control_queue_remove()
1895 static unsigned char *to_cable_select(struct isci_host *ihost) in to_cable_select()
1904 enum cable_selections decode_cable_selection(struct isci_host *ihost, int phy) in decode_cable_selection()
1923 static void sci_controller_afe_initialization(struct isci_host *ihost) in sci_controller_afe_initialization()
2124 static void sci_controller_initialize_power_control(struct isci_host *ihost) in sci_controller_initialize_power_control()
2135 static enum sci_status sci_controller_initialize(struct isci_host *ihost) in sci_controller_initialize()
2246 static int sci_controller_dma_alloc(struct isci_host *ihost) in sci_controller_dma_alloc()
2291 ireq->isci_host = ihost; in sci_controller_dma_alloc()
2298 static int sci_controller_mem_init(struct isci_host *ihost) in sci_controller_mem_init()
2341 int isci_host_init(struct isci_host *ihost) in isci_host_init()
2381 void sci_controller_link_up(struct isci_host *ihost, struct isci_port *iport, in sci_controller_link_up()
2404 void sci_controller_link_down(struct isci_host *ihost, struct isci_port *iport, in sci_controller_link_down()
2423 bool sci_controller_has_remote_devices_stopping(struct isci_host *ihost) in sci_controller_has_remote_devices_stopping()
2436 void sci_controller_remote_device_stopped(struct isci_host *ihost, in sci_controller_remote_device_stopped()
2452 void sci_controller_post_request(struct isci_host *ihost, u32 request) in sci_controller_post_request()
2460 struct isci_request *sci_request_by_tag(struct isci_host *ihost, u16 io_tag) in sci_request_by_tag()
2495 enum sci_status sci_controller_allocate_remote_node_context(struct isci_host *ihost, in sci_controller_allocate_remote_node_context()
2517 void sci_controller_free_remote_node_context(struct isci_host *ihost, in sci_controller_free_remote_node_context()
2544 void sci_controller_release_frame(struct isci_host *ihost, u32 frame_index) in sci_controller_release_frame()
2551 void isci_tci_free(struct isci_host *ihost, u16 tci) in isci_tci_free()
2559 static u16 isci_tci_alloc(struct isci_host *ihost) in isci_tci_alloc()
2568 static u16 isci_tci_space(struct isci_host *ihost) in isci_tci_space()
2573 u16 isci_alloc_tag(struct isci_host *ihost) in isci_alloc_tag()
2585 enum sci_status isci_free_tag(struct isci_host *ihost, u16 io_tag) in isci_free_tag()
2604 enum sci_status sci_controller_start_io(struct isci_host *ihost, in sci_controller_start_io()
2625 enum sci_status sci_controller_terminate_request(struct isci_host *ihost, in sci_controller_terminate_request()
2669 enum sci_status sci_controller_complete_io(struct isci_host *ihost, in sci_controller_complete_io()
2698 struct isci_host *ihost = ireq->owning_controller; in sci_controller_continue_io()
2720 enum sci_status sci_controller_start_task(struct isci_host *ihost, in sci_controller_start_task()
2756 static int sci_write_gpio_tx_gp(struct isci_host *ihost, u8 reg_index, u8 reg_count, u8 *write_data) in sci_write_gpio_tx_gp()
2795 struct isci_host *ihost = sas_ha->lldd_ha; in isci_gpio_write()