Lines Matching refs:isci_host

179 static bool sci_controller_completion_queue_has_entries(struct isci_host *ihost)  in sci_controller_completion_queue_has_entries()
191 static bool sci_controller_isr(struct isci_host *ihost) in sci_controller_isr()
220 struct isci_host *ihost = data; in isci_msix_isr()
228 static bool sci_controller_error_isr(struct isci_host *ihost) in sci_controller_error_isr()
255 static void sci_controller_task_completion(struct isci_host *ihost, u32 ent) in sci_controller_task_completion()
270 static void sci_controller_sdma_completion(struct isci_host *ihost, u32 ent) in sci_controller_sdma_completion()
305 static void sci_controller_unsolicited_frame(struct isci_host *ihost, u32 ent) in sci_controller_unsolicited_frame()
366 static void sci_controller_event_completion(struct isci_host *ihost, u32 ent) in sci_controller_event_completion()
483 static void sci_controller_process_completions(struct isci_host *ihost) in sci_controller_process_completions()
579 static void sci_controller_error_handler(struct isci_host *ihost) in sci_controller_error_handler()
609 struct isci_host *ihost = data; in isci_intx_isr()
627 struct isci_host *ihost = data; in isci_error_isr()
643 static void isci_host_start_complete(struct isci_host *ihost, enum sci_status completion_status) in isci_host_start_complete()
655 struct isci_host *ihost = ha->lldd_ha; in isci_host_scan_finished()
677 static u32 sci_controller_get_suggested_start_timeout(struct isci_host *ihost) in sci_controller_get_suggested_start_timeout()
702 static void sci_controller_enable_interrupts(struct isci_host *ihost) in sci_controller_enable_interrupts()
708 void sci_controller_disable_interrupts(struct isci_host *ihost) in sci_controller_disable_interrupts()
715 static void sci_controller_enable_port_task_scheduler(struct isci_host *ihost) in sci_controller_enable_port_task_scheduler()
728 static void sci_controller_assign_task_entries(struct isci_host *ihost) in sci_controller_assign_task_entries()
749 static void sci_controller_initialize_completion_queue(struct isci_host *ihost) in sci_controller_initialize_completion_queue()
796 static void sci_controller_initialize_unsolicited_frame_queue(struct isci_host *ihost) in sci_controller_initialize_unsolicited_frame_queue()
823 void sci_controller_transition_to_ready(struct isci_host *ihost, enum sci_status status) in sci_controller_transition_to_ready()
859 bool is_controller_start_complete(struct isci_host *ihost) in is_controller_start_complete()
900 static enum sci_status sci_controller_start_next_phy(struct isci_host *ihost) in sci_controller_start_next_phy()
962 struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer); in phy_startup_timeout()
981 static u16 isci_tci_active(struct isci_host *ihost) in isci_tci_active()
986 static enum sci_status sci_controller_start(struct isci_host *ihost, in sci_controller_start()
1047 struct isci_host *ihost = SHOST_TO_SAS_HA(shost)->lldd_ha; in isci_host_start()
1058 static void isci_host_stop_complete(struct isci_host *ihost) in isci_host_stop_complete()
1065 static void sci_controller_completion_handler(struct isci_host *ihost) in sci_controller_completion_handler()
1078 void ireq_done(struct isci_host *ihost, struct isci_request *ireq, struct sas_task *task) in ireq_done()
1116 struct isci_host *ihost = (struct isci_host *)data; in isci_host_completion_routine()
1156 static enum sci_status sci_controller_stop(struct isci_host *ihost, u32 timeout) in sci_controller_stop()
1181 static enum sci_status sci_controller_reset(struct isci_host *ihost) in sci_controller_reset()
1201 static enum sci_status sci_controller_stop_phys(struct isci_host *ihost) in sci_controller_stop_phys()
1239 void isci_host_deinit(struct isci_host *ihost) in isci_host_deinit()
1292 static void __iomem *scu_base(struct isci_host *isci_host) in scu_base() argument
1294 struct pci_dev *pdev = isci_host->pdev; in scu_base()
1295 int id = isci_host->id; in scu_base()
1300 static void __iomem *smu_base(struct isci_host *isci_host) in smu_base() argument
1302 struct pci_dev *pdev = isci_host->pdev; in smu_base()
1303 int id = isci_host->id; in smu_base()
1310 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_initial_state_enter()
1317 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_starting_state_exit()
1347 sci_controller_set_interrupt_coalescence(struct isci_host *ihost, in sci_controller_set_interrupt_coalescence()
1444 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_ready_state_enter()
1461 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_ready_state_exit()
1467 static enum sci_status sci_controller_stop_ports(struct isci_host *ihost) in sci_controller_stop_ports()
1494 static enum sci_status sci_controller_stop_devices(struct isci_host *ihost) in sci_controller_stop_devices()
1524 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_stopping_state_enter()
1535 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_stopping_state_exit()
1540 static void sci_controller_reset_hardware(struct isci_host *ihost) in sci_controller_reset_hardware()
1563 struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); in sci_controller_resetting_state_enter()
1596 struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer); in controller_timeout()
1620 static enum sci_status sci_controller_construct(struct isci_host *ihost, in sci_controller_construct()
1728 static u8 max_spin_up(struct isci_host *ihost) in max_spin_up()
1741 struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer); in power_control_timeout()
1812 void sci_controller_power_control_queue_insert(struct isci_host *ihost, in sci_controller_power_control_queue_insert()
1864 void sci_controller_power_control_queue_remove(struct isci_host *ihost, in sci_controller_power_control_queue_remove()
1893 static unsigned char *to_cable_select(struct isci_host *ihost) in to_cable_select()
1902 enum cable_selections decode_cable_selection(struct isci_host *ihost, int phy) in decode_cable_selection()
1921 static void sci_controller_afe_initialization(struct isci_host *ihost) in sci_controller_afe_initialization()
2122 static void sci_controller_initialize_power_control(struct isci_host *ihost) in sci_controller_initialize_power_control()
2133 static enum sci_status sci_controller_initialize(struct isci_host *ihost) in sci_controller_initialize()
2244 static int sci_controller_dma_alloc(struct isci_host *ihost) in sci_controller_dma_alloc()
2289 ireq->isci_host = ihost; in sci_controller_dma_alloc()
2296 static int sci_controller_mem_init(struct isci_host *ihost) in sci_controller_mem_init()
2339 int isci_host_init(struct isci_host *ihost) in isci_host_init()
2379 void sci_controller_link_up(struct isci_host *ihost, struct isci_port *iport, in sci_controller_link_up()
2402 void sci_controller_link_down(struct isci_host *ihost, struct isci_port *iport, in sci_controller_link_down()
2421 bool sci_controller_has_remote_devices_stopping(struct isci_host *ihost) in sci_controller_has_remote_devices_stopping()
2434 void sci_controller_remote_device_stopped(struct isci_host *ihost, in sci_controller_remote_device_stopped()
2450 void sci_controller_post_request(struct isci_host *ihost, u32 request) in sci_controller_post_request()
2458 struct isci_request *sci_request_by_tag(struct isci_host *ihost, u16 io_tag) in sci_request_by_tag()
2494 enum sci_status sci_controller_allocate_remote_node_context(struct isci_host *ihost, in sci_controller_allocate_remote_node_context()
2516 void sci_controller_free_remote_node_context(struct isci_host *ihost, in sci_controller_free_remote_node_context()
2543 void sci_controller_release_frame(struct isci_host *ihost, u32 frame_index) in sci_controller_release_frame()
2550 void isci_tci_free(struct isci_host *ihost, u16 tci) in isci_tci_free()
2558 static u16 isci_tci_alloc(struct isci_host *ihost) in isci_tci_alloc()
2567 static u16 isci_tci_space(struct isci_host *ihost) in isci_tci_space()
2572 u16 isci_alloc_tag(struct isci_host *ihost) in isci_alloc_tag()
2584 enum sci_status isci_free_tag(struct isci_host *ihost, u16 io_tag) in isci_free_tag()
2603 enum sci_status sci_controller_start_io(struct isci_host *ihost, in sci_controller_start_io()
2624 enum sci_status sci_controller_terminate_request(struct isci_host *ihost, in sci_controller_terminate_request()
2668 enum sci_status sci_controller_complete_io(struct isci_host *ihost, in sci_controller_complete_io()
2695 struct isci_host *ihost = ireq->owning_controller; in sci_controller_continue_io()
2717 enum sci_status sci_controller_start_task(struct isci_host *ihost, in sci_controller_start_task()
2753 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()
2792 struct isci_host *ihost = sas_ha->lldd_ha; in isci_gpio_write()