Home
last modified time | relevance | path

Searched refs:iport (Results 1 – 13 of 13) 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.c642 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_request() local
646 sci_port_complete_io(iport, idev, ireq); in sci_remote_device_start_request()
659 struct isci_port *iport = idev->owning_port; in sci_remote_device_start_io() local
681 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
703 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
728 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
744 status = sci_port_start_io(iport, idev, ireq); in sci_remote_device_start_io()
771 static enum sci_status common_complete_io(struct isci_port *iport, in common_complete_io() argument
781 status = sci_port_complete_io(iport, idev, ireq); in common_complete_io()
795 struct isci_port *iport = idev->owning_port; in sci_remote_device_complete_io() local
[all …]
Dphy.h173 struct isci_port *iport; member
401 struct isci_port *iport,
408 struct isci_port *iport);
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()
1257 struct isci_port *iport = iphy->owning_port; in sci_phy_stopped_state_enter() local
1258 struct isci_host *ihost = iport->owning_controller; in sci_phy_stopped_state_enter()
1275 struct isci_port *iport = iphy->owning_port; in sci_phy_starting_state_enter() local
1276 struct isci_host *ihost = iport->owning_controller; in sci_phy_starting_state_enter()
1294 struct isci_port *iport = iphy->owning_port; in sci_phy_ready_state_enter() local
1295 struct isci_host *ihost = iport->owning_controller; in sci_phy_ready_state_enter()
[all …]
Dhost.c1031 struct isci_port *iport = &ihost->ports[index]; in sci_controller_start() local
1033 result = sci_port_start(iport); in sci_controller_start()
1275 struct isci_port *iport = &ihost->ports[i]; in isci_host_deinit() local
1276 del_timer_sync(&iport->timer.timer); in isci_host_deinit()
1476 struct isci_port *iport = &ihost->ports[index]; in sci_controller_stop_ports() local
1478 port_status = sci_port_stop(iport); in sci_controller_stop_ports()
1488 iport->logical_port_index, in sci_controller_stop_ports()
2226 struct isci_port *iport = &ihost->ports[i]; in sci_controller_initialize() local
2228 iport->port_task_scheduler_registers = &ihost->scu_registers->peg0.ptsg.port[i]; in sci_controller_initialize()
2229 iport->port_pe_configuration_register = &ihost->scu_registers->peg0.ptsg.protocol_engine[0]; in sci_controller_initialize()
[all …]
Dhost.h466 void sci_controller_link_up(struct isci_host *ihost, struct isci_port *iport,
468 void sci_controller_link_down(struct isci_host *ihost, struct isci_port *iport,
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()
3188 struct isci_port *iport; in sci_io_request_construct_smp() local
3232 iport = idev->owning_port; in sci_io_request_construct_smp()
[all …]
Dinit.c559 struct isci_port *iport = &ihost->ports[i]; in isci_host_alloc() local
561 INIT_LIST_HEAD(&iport->remote_dev_list); in isci_host_alloc()
562 iport->isci_host = ihost; in isci_host_alloc()
Dtask.c747 struct isci_port *iport = dev->port->lldd_port; in isci_reset_device() local
767 reset_stat = isci_port_perform_hard_reset(ihost, iport, in isci_reset_device()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1253 FW_FILTER_WR_PORT_V(f->fs.val.iport) | in set_filter_wr()
1254 FW_FILTER_WR_PORTM_V(f->fs.mask.iport) | in set_filter_wr()
1280 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_filter_wr()
2858 f->fs.val.iport = port; in cxgb4_create_server_filter()
2859 f->fs.mask.iport = mask; in cxgb4_create_server_filter()
Dcxgb4.h806 uint32_t iport:IPORT_BITWIDTH; /* ingress port */ member