Home
last modified time | relevance | path

Searched refs:iport (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/isci/
Dport.c73 static struct device *sciport_to_dev(struct isci_port *iport) in sciport_to_dev() argument
75 int i = iport->physical_port_index; in sciport_to_dev()
82 table = iport - i; in sciport_to_dev()
88 static void sci_port_get_protocols(struct isci_port *iport, struct sci_phy_proto *proto) in sci_port_get_protocols() argument
94 struct isci_phy *iphy = iport->phy_table[index]; in sci_port_get_protocols()
102 static u32 sci_port_get_phys(struct isci_port *iport) in sci_port_get_phys() argument
109 if (iport->phy_table[index]) in sci_port_get_phys()
128 enum sci_status sci_port_get_properties(struct isci_port *iport, in sci_port_get_properties() argument
131 if (!iport || iport->logical_port_index == SCIC_SDS_DUMMY_PORT) in sci_port_get_properties()
134 prop->index = iport->logical_port_index; in sci_port_get_properties()
[all …]
Dport.h189 static inline void sci_port_decrement_request_count(struct isci_port *iport) in sci_port_decrement_request_count() argument
191 if (WARN_ONCE(iport->started_request_count == 0, in sci_port_decrement_request_count()
196 iport->started_request_count--; in sci_port_decrement_request_count()
203 struct isci_port *iport,
207 enum sci_status sci_port_start(struct isci_port *iport);
208 enum sci_status sci_port_stop(struct isci_port *iport);
211 struct isci_port *iport,
215 struct isci_port *iport,
219 struct isci_port *iport,
225 struct isci_port *iport,
[all …]
Dport_config.c134 struct isci_port *iport = &ihost->ports[i]; in sci_port_configuration_agent_find_port() local
136 sci_port_get_sas_address(iport, &port_sas_address); in sci_port_configuration_agent_find_port()
137 sci_port_get_attached_sas_address(iport, &port_attached_device_address); in sci_port_configuration_agent_find_port()
141 return iport; in sci_port_configuration_agent_find_port()
360 struct isci_port *iport, in sci_mpc_agent_link_up() argument
367 if (!iport) in sci_mpc_agent_link_up()
371 sci_port_link_up(iport, iphy); in sci_mpc_agent_link_up()
372 if ((iport->active_phy_mask & (1 << iphy->phy_index))) in sci_mpc_agent_link_up()
396 struct isci_port *iport, in sci_mpc_agent_link_down() argument
399 if (iport != NULL) { in sci_mpc_agent_link_down()
[all …]
Dremote_device.c485 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_request() local
489 sci_port_complete_io(iport, idev, ireq); in sci_remote_device_start_request()
502 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_io() local
524 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
546 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
571 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
587 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
614 static enum sci_status common_complete_io(struct isci_port *iport, in common_complete_io() argument
624 status = sci_port_complete_io(iport, idev, ireq); in common_complete_io()
638 struct isci_port *iport = idev->owning_port; in sci_remote_device_complete_io() local
[all …]
Dphy.c355 struct isci_port *iport = iphy->owning_port; in phy_get_non_dummy_port() local
357 if (iport->physical_port_index == SCIC_SDS_DUMMY_PORT) in phy_get_non_dummy_port()
372 struct isci_port *iport) in sci_phy_set_port() argument
374 iphy->owning_port = iport; in sci_phy_set_port()
1193 struct isci_port *iport = iphy->owning_port; in sci_phy_stopped_state_enter() local
1194 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter()
1211 struct isci_port *iport = iphy->owning_port; in sci_phy_starting_state_enter() local
1212 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter()
1230 struct isci_port *iport = iphy->owning_port; in sci_phy_ready_state_enter() local
1231 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter()
[all …]
Dphy.h180 struct isci_port *iport; member
408 struct isci_port *iport,
415 struct isci_port *iport);
Dhost.c1027 struct isci_port *iport = &ihost->ports[index]; in sci_controller_start() local
1029 result = sci_port_start(iport); in sci_controller_start()
1270 struct isci_port *iport = &ihost->ports[i]; in isci_host_deinit() local
1273 list_for_each_entry_safe(idev, d, &iport->remote_dev_list, node) { in isci_host_deinit()
1296 struct isci_port *iport = &ihost->ports[i]; in isci_host_deinit() local
1297 del_timer_sync(&iport->timer.timer); in isci_host_deinit()
1546 struct isci_port *iport = &ihost->ports[index]; in sci_controller_stop_ports() local
1548 port_status = sci_port_stop(iport); in sci_controller_stop_ports()
1558 iport->logical_port_index, in sci_controller_stop_ports()
2367 struct isci_port *iport = &ihost->ports[i]; in sci_controller_initialize() local
[all …]
Drequest.c222 struct isci_port *iport; in scu_ssp_reqeust_construct_task_context() local
225 iport = idev->owning_port; in scu_ssp_reqeust_construct_task_context()
233 task_context->logical_port_index = iport->physical_port_index; in scu_ssp_reqeust_construct_task_context()
255 (iport->physical_port_index << in scu_ssp_reqeust_construct_task_context()
504 struct isci_port *iport; in scu_sata_reqeust_construct_task_context() local
507 iport = idev->owning_port; in scu_sata_reqeust_construct_task_context()
515 task_context->logical_port_index = iport->physical_port_index; in scu_sata_reqeust_construct_task_context()
541 (iport->physical_port_index << in scu_sata_reqeust_construct_task_context()
3277 struct isci_port *iport; in sci_io_request_construct_smp() local
3321 iport = idev->owning_port; in sci_io_request_construct_smp()
[all …]
Dhost.h491 struct isci_port *iport,
496 struct isci_port *iport,
Dtask.c1257 struct isci_port *iport = dev->port->lldd_port; in isci_reset_device() local
1276 rc = isci_port_perform_hard_reset(ihost, iport, iphy); in isci_reset_device()