/drivers/scsi/isci/ |
D | host.h | 109 typedef void (*port_config_fn)(struct isci_host *, 112 bool is_port_config_apc(struct isci_host *ihost); 113 bool is_controller_start_complete(struct isci_host *ihost); 149 struct isci_host { struct 299 struct isci_host *hosts[SCI_MAX_CONTROLLERS]; 308 static inline struct Scsi_Host *to_shost(struct isci_host *ihost) in to_shost() 317 static inline void wait_for_start(struct isci_host *ihost) in wait_for_start() 322 static inline void wait_for_stop(struct isci_host *ihost) in wait_for_stop() 327 static inline void wait_for_device_start(struct isci_host *ihost, struct isci_remote_device *idev) in wait_for_device_start() 332 static inline void wait_for_device_stop(struct isci_host *ihost, struct isci_remote_device *idev) in wait_for_device_stop() [all …]
|
D | host.c | 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() [all …]
|
D | init.c | 138 struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha); in isci_show_id() 228 static int isci_register_sas_ha(struct isci_host *isci_host) in isci_register_sas_ha() argument 231 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha() 235 sas_phys = devm_kzalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 241 sas_ports = devm_kzalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 249 sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0]; in isci_register_sas_ha() 252 sas_phys[i] = &isci_host->phys[i].sas_phy; in isci_register_sas_ha() 253 sas_ports[i] = &isci_host->sas_ports[i]; in isci_register_sas_ha() 267 static void isci_unregister(struct isci_host *isci_host) in isci_unregister() argument 271 if (!isci_host) in isci_unregister() [all …]
|
D | remote_device.h | 139 enum sci_status isci_remote_device_stop(struct isci_host *ihost, 141 void isci_remote_device_nuke_requests(struct isci_host *ihost, 327 struct isci_host *ihost, 332 struct isci_host *ihost, 337 struct isci_host *ihost, 356 struct isci_host *ihost, 365 struct isci_host *ihost, 369 struct isci_host *ihost, 373 struct isci_host *ihost, 377 struct isci_host *ihost, [all …]
|
D | remote_device.c | 90 static void isci_remote_device_ready(struct isci_host *ihost, struct isci_remote_device *idev) in isci_remote_device_ready() 102 struct isci_host *ihost, in sci_remote_device_terminate_req() 125 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_device_terminate_reqs_checkabort() 154 struct isci_host *ihost, in isci_check_reqterm() 171 struct isci_host *ihost, in isci_check_devempty() 187 struct isci_host *ihost, in isci_remote_device_terminate_requests() 296 static void isci_remote_device_not_ready(struct isci_host *ihost, in isci_remote_device_not_ready() 444 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_device_frame_handler() 653 enum sci_status sci_remote_device_start_io(struct isci_host *ihost, in sci_remote_device_start_io() 789 enum sci_status sci_remote_device_complete_io(struct isci_host *ihost, in sci_remote_device_complete_io() [all …]
|
D | port.c | 77 struct isci_host *ihost; in sciport_to_dev() 159 static void isci_port_bc_change_received(struct isci_host *ihost, in isci_port_bc_change_received() 171 static void isci_port_link_up(struct isci_host *isci_host, in isci_port_link_up() argument 179 dev_dbg(&isci_host->pdev->dev, in isci_port_link_up() 215 dev_err(&isci_host->pdev->dev, "%s: unknown target\n", __func__); in isci_port_link_up() 226 isci_host->sas_ha.notify_port_event(&iphy->sas_phy, in isci_port_link_up() 239 static void isci_port_link_down(struct isci_host *isci_host, in isci_port_link_down() argument 245 dev_dbg(&isci_host->pdev->dev, in isci_port_link_down() 261 dev_dbg(&isci_host->pdev->dev, in isci_port_link_down() 273 isci_host->sas_ha.notify_phy_event(&isci_phy->sas_phy, in isci_port_link_down() [all …]
|
D | port.h | 70 struct isci_host; 98 struct isci_host *isci_host; member 117 struct isci_host *owning_controller; 205 struct isci_host *ihost); 222 void isci_port_bcn_enable(struct isci_host *, struct isci_port *); 280 int isci_port_perform_hard_reset(struct isci_host *ihost, struct isci_port *iport,
|
D | port_config.c | 116 struct isci_host *ihost, in sci_port_configuration_agent_find_port() 160 struct isci_host *ihost, in sci_port_configuration_agent_validate_ports() 242 sci_mpc_agent_validate_phy_configuration(struct isci_host *ihost, in sci_mpc_agent_validate_phy_configuration() 327 struct isci_host *ihost; in mpc_agent_timeout() 358 static void sci_mpc_agent_link_up(struct isci_host *ihost, in sci_mpc_agent_link_up() 394 struct isci_host *ihost, in sci_mpc_agent_link_down() 433 sci_apc_agent_validate_phy_configuration(struct isci_host *ihost, in sci_apc_agent_validate_phy_configuration() 482 static void sci_apc_agent_configure_ports(struct isci_host *ihost, in sci_apc_agent_configure_ports() 604 static void sci_apc_agent_link_up(struct isci_host *ihost, in sci_apc_agent_link_up() 637 struct isci_host *ihost, in sci_apc_agent_link_down() [all …]
|
D | task.c | 76 static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task, in isci_task_refuse() 126 struct isci_host *ihost = dev_to_ihost(task->dev); in isci_task_execute_task() 214 static struct isci_request *isci_task_request_build(struct isci_host *ihost, in isci_task_request_build() 256 static int isci_task_execute_tmf(struct isci_host *ihost, in isci_task_execute_tmf() 380 struct isci_host *isci_host, in isci_task_send_lu_reset_sas() argument 387 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() 389 __func__, isci_host, isci_device); in isci_task_send_lu_reset_sas() 398 ret = isci_task_execute_tmf(isci_host, isci_device, &tmf, ISCI_LU_RESET_TIMEOUT_MS); in isci_task_send_lu_reset_sas() 401 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() 405 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() [all …]
|
D | request.h | 97 struct isci_host *isci_host; member 114 struct isci_host *owning_controller; 290 struct isci_request *isci_tmf_request_from_tag(struct isci_host *ihost, 293 int isci_request_execute(struct isci_host *ihost, struct isci_remote_device *idev, 296 sci_task_request_construct(struct isci_host *ihost,
|
D | task.h | 99 static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf) in isci_print_tmf() 168 struct isci_host *isci_host,
|
D | phy.c | 80 static struct isci_host *phy_to_host(struct isci_phy *iphy) in phy_to_host() 83 struct isci_host *ihost = container_of(table, typeof(*ihost), phys[0]); in phy_to_host() 119 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_link_layer_initialization() 322 struct isci_host *ihost = iphy->owning_port->owning_controller; in phy_sata_timeout() 973 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_frame_handler() 1076 struct isci_host *ihost = iphy->owning_port->owning_controller; 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() 1092 struct isci_host *ihost = iphy->owning_port->owning_controller; 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() 1258 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter() [all …]
|
D | remote_node_context.c | 105 static union scu_remote_node_context *sci_rnc_by_id(struct isci_host *ihost, u16 id) in sci_rnc_by_id() 120 struct isci_host *ihost; in sci_remote_node_context_construct_buffer() 196 struct isci_host *ihost = idev_to_ihost(rnc_to_dev(sci_rnc)); in sci_remote_node_context_setup_to_destroy() 244 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_validate_context_buffer() 265 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_invalidate_context_buffer() 279 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_initial_state_enter() 363 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_tx_rx_suspended_state_enter() 642 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_suspend()
|
D | request.c | 87 static dma_addr_t to_sgl_element_pair_dma(struct isci_host *ihost, in to_sgl_element_pair_dma() 115 struct isci_host *ihost = ireq->isci_host; in sci_request_build_sgl() 788 struct isci_host *ihost = ireq->owning_controller; in sci_req_tx_bytes() 812 struct isci_host *ihost = ireq->owning_controller; in sci_request_start() 921 struct isci_host *ihost = ireq->owning_controller; in sci_request_complete() 942 struct isci_host *ihost = ireq->owning_controller; in sci_io_request_event_handler() 1558 struct isci_host *ihost = ireq->owning_controller; in sci_stp_request_udma_general_frame_handler() 1586 struct isci_host *ihost = ireq->owning_controller; in process_unsolicited_fis() 1599 dev_err(&ireq->isci_host->pdev->dev, in process_unsolicited_fis() 1709 struct isci_host *ihost = ireq->owning_controller; in sci_io_request_frame_handler() [all …]
|
D | unsolicited_frame_control.h | 264 struct isci_host; 266 void sci_unsolicited_frame_control_construct(struct isci_host *ihost);
|
D | phy.h | 456 struct isci_host; 457 void isci_phy_init(struct isci_phy *iphy, struct isci_host *ihost, int index);
|
D | unsolicited_frame_control.c | 60 void sci_unsolicited_frame_control_construct(struct isci_host *ihost) in sci_unsolicited_frame_control_construct()
|