/Linux-v6.6/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 298 struct isci_host *hosts[SCI_MAX_CONTROLLERS]; 307 static inline struct Scsi_Host *to_shost(struct isci_host *ihost) in to_shost() 316 static inline void wait_for_start(struct isci_host *ihost) in wait_for_start() 321 static inline void wait_for_stop(struct isci_host *ihost) 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() 331 static inline void wait_for_device_stop(struct isci_host *ihost, struct isci_remote_device *idev) in wait_for_device_stop() [all …]
|
D | init.c | 138 struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha); in isci_show_id() 150 ATTRIBUTE_GROUPS(isci_host); 233 static int isci_register_sas_ha(struct isci_host *isci_host) in isci_register_sas_ha() argument 236 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha() 240 sas_phys = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 246 sas_ports = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 253 sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0]; in isci_register_sas_ha() 256 sas_phys[i] = &isci_host->phys[i].sas_phy; in isci_register_sas_ha() 257 sas_ports[i] = &isci_host->sas_ports[i]; in isci_register_sas_ha() 269 static void isci_unregister(struct isci_host *isci_host) in isci_unregister() argument [all …]
|
D | host.c | 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() [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, 322 struct isci_host *ihost, 327 struct isci_host *ihost, 332 struct isci_host *ihost, 351 struct isci_host *ihost, 360 struct isci_host *ihost, 364 struct isci_host *ihost, 368 struct isci_host *ihost, 372 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() 297 static void isci_remote_device_not_ready(struct isci_host *ihost, in isci_remote_device_not_ready() 445 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_device_frame_handler() 654 enum sci_status sci_remote_device_start_io(struct isci_host *ihost, in sci_remote_device_start_io() 790 enum sci_status sci_remote_device_complete_io(struct isci_host *ihost, in sci_remote_device_complete_io() [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.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() 172 static void isci_port_link_up(struct isci_host *isci_host, in isci_port_link_up() argument 180 dev_dbg(&isci_host->pdev->dev, in isci_port_link_up() 216 dev_err(&isci_host->pdev->dev, "%s: unknown target\n", __func__); in isci_port_link_up() 240 static void isci_port_link_down(struct isci_host *isci_host, in isci_port_link_down() argument 246 dev_dbg(&isci_host->pdev->dev, in isci_port_link_down() 262 dev_dbg(&isci_host->pdev->dev, in isci_port_link_down() 277 dev_dbg(&isci_host->pdev->dev, in isci_port_link_down() 319 struct isci_host *ihost = isci_port->owning_controller; in isci_port_hard_reset_complete() [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, 295 struct isci_request *isci_io_request_from_tag(struct isci_host *ihost, 299 sci_task_request_construct(struct isci_host *ihost,
|
D | task.c | 76 static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task, in isci_task_refuse() 125 struct isci_host *ihost = dev_to_ihost(task->dev); in isci_task_execute_task() 212 static struct isci_request *isci_task_request_build(struct isci_host *ihost, in isci_task_request_build() 254 static int isci_task_execute_tmf(struct isci_host *ihost, in isci_task_execute_tmf() 378 struct isci_host *isci_host, in isci_task_send_lu_reset_sas() argument 385 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() 387 __func__, isci_host, isci_device); in isci_task_send_lu_reset_sas() 396 ret = isci_task_execute_tmf(isci_host, isci_device, &tmf, ISCI_LU_RESET_TIMEOUT_MS); in isci_task_send_lu_reset_sas() 399 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() 403 dev_dbg(&isci_host->pdev->dev, in isci_task_send_lu_reset_sas() [all …]
|
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() 326 struct isci_host *ihost; in mpc_agent_timeout() 357 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() 605 static void sci_apc_agent_link_up(struct isci_host *ihost, in sci_apc_agent_link_up() 639 struct isci_host *ihost, in sci_apc_agent_link_down() [all …]
|
D | task.h | 99 static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf) in isci_print_tmf() 164 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() 969 struct isci_host *ihost = iphy->owning_port->owning_controller; in sci_phy_frame_handler() 1072 struct isci_host *ihost = iphy->owning_port->owning_controller; 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() 1088 struct isci_host *ihost = iphy->owning_port->owning_controller; 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() 1255 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter() [all …]
|
D | unsolicited_frame_control.h | 264 struct isci_host; 266 void sci_unsolicited_frame_control_construct(struct isci_host *ihost);
|
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() 191 struct isci_host *ihost = idev_to_ihost(rnc_to_dev(sci_rnc)); in sci_remote_node_context_setup_to_destroy() 237 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_validate_context_buffer() 258 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_invalidate_context_buffer() 272 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_initial_state_enter() 356 struct isci_host *ihost = idev->owning_port->owning_controller; in sci_remote_node_context_tx_rx_suspended_state_enter() 635 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() 783 struct isci_host *ihost = ireq->owning_controller; in sci_req_tx_bytes() 807 struct isci_host *ihost = ireq->owning_controller; in sci_request_start() 916 struct isci_host *ihost = ireq->owning_controller; in sci_request_complete() 937 struct isci_host *ihost = ireq->owning_controller; in sci_io_request_event_handler() 1552 struct isci_host *ihost = ireq->owning_controller; in sci_stp_request_udma_general_frame_handler() 1580 struct isci_host *ihost = ireq->owning_controller; in process_unsolicited_fis() 1593 dev_err(&ireq->isci_host->pdev->dev, in process_unsolicited_fis() 1703 struct isci_host *ihost = ireq->owning_controller; in sci_io_request_frame_handler() [all …]
|
D | phy.h | 455 struct isci_host; 456 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()
|