Lines Matching refs:iport
643 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_request() local
647 sci_port_complete_io(iport, idev, ireq); in sci_remote_device_start_request()
660 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_io() local
682 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
704 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
729 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
745 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
772 static enum sci_status common_complete_io(struct isci_port *iport, in common_complete_io() argument
782 status = sci_port_complete_io(iport, idev, ireq); in common_complete_io()
796 struct isci_port *iport = idev->owning_port; in sci_remote_device_complete_io() local
814 status = common_complete_io(iport, idev, ireq); in sci_remote_device_complete_io()
820 status = common_complete_io(iport, idev, ireq); in sci_remote_device_complete_io()
835 status = common_complete_io(iport, idev, ireq); in sci_remote_device_complete_io()
841 status = common_complete_io(iport, idev, ireq); in sci_remote_device_complete_io()
855 "could not complete\n", __func__, iport, in sci_remote_device_complete_io()
878 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_task() local
900 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_task()
936 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_task()
956 struct isci_port *iport = idev->owning_port; in sci_remote_device_post_request() local
961 (iport->physical_port_index << SCU_CONTEXT_COMMAND_LOGICAL_PORT_SHIFT) | in sci_remote_device_post_request()
964 sci_controller_post_request(iport->owning_controller, context); in sci_remote_device_post_request()
1248 static void sci_remote_device_construct(struct isci_port *iport, in sci_remote_device_construct() argument
1251 idev->owning_port = iport; in sci_remote_device_construct()
1274 static enum sci_status sci_remote_device_da_construct(struct isci_port *iport, in sci_remote_device_da_construct() argument
1280 sci_remote_device_construct(iport, idev); in sci_remote_device_da_construct()
1282 sci_port_get_properties(iport, &properties); in sci_remote_device_da_construct()
1286 status = sci_controller_allocate_remote_node_context(iport->owning_controller, in sci_remote_device_da_construct()
1293 idev->connection_rate = sci_port_get_max_allowed_speed(iport); in sci_remote_device_da_construct()
1310 static enum sci_status sci_remote_device_ea_construct(struct isci_port *iport, in sci_remote_device_ea_construct() argument
1316 sci_remote_device_construct(iport, idev); in sci_remote_device_ea_construct()
1318 status = sci_controller_allocate_remote_node_context(iport->owning_controller, in sci_remote_device_ea_construct()
1331 idev->connection_rate = min_t(u16, sci_port_get_max_allowed_speed(iport), in sci_remote_device_ea_construct()
1475 static enum sci_status isci_remote_device_construct(struct isci_port *iport, in isci_remote_device_construct() argument
1478 struct isci_host *ihost = iport->isci_host; in isci_remote_device_construct()
1483 status = sci_remote_device_ea_construct(iport, idev); in isci_remote_device_construct()
1485 status = sci_remote_device_da_construct(iport, idev); in isci_remote_device_construct()
1514 isci_remote_device_alloc(struct isci_host *ihost, struct isci_port *iport) in isci_remote_device_alloc() argument