Home
last modified time | relevance | path

Searched refs:iphy (Results 1 – 8 of 8) sorted by relevance

/drivers/scsi/isci/
Dphy.c75 enum sas_linkrate sci_phy_linkrate(struct isci_phy *iphy) in sci_phy_linkrate() argument
77 return iphy->max_negotiated_speed; in sci_phy_linkrate()
80 static struct isci_host *phy_to_host(struct isci_phy *iphy) in phy_to_host() argument
82 struct isci_phy *table = iphy - iphy->phy_index; in phy_to_host()
88 static struct device *sciphy_to_dev(struct isci_phy *iphy) in sciphy_to_dev() argument
90 return &phy_to_host(iphy)->pdev->dev; in sciphy_to_dev()
94 sci_phy_transport_layer_initialization(struct isci_phy *iphy, in sci_phy_transport_layer_initialization() argument
99 iphy->transport_layer_registers = reg; in sci_phy_transport_layer_initialization()
102 &iphy->transport_layer_registers->stp_rni); in sci_phy_transport_layer_initialization()
108 tl_control = readl(&iphy->transport_layer_registers->control); in sci_phy_transport_layer_initialization()
[all …]
Dport.c94 struct isci_phy *iphy = iport->phy_table[index]; in sci_port_get_protocols() local
96 if (!iphy) in sci_port_get_protocols()
98 sci_phy_get_protocols(iphy, proto); in sci_port_get_protocols()
145 struct isci_phy *iphy; in sci_port_bcn_enable() local
150 iphy = iport->phy_table[i]; in sci_port_bcn_enable()
151 if (!iphy) in sci_port_bcn_enable()
153 val = readl(&iphy->link_layer_registers->link_layer_control); in sci_port_bcn_enable()
155 writel(val, &iphy->link_layer_registers->link_layer_control); in sci_port_bcn_enable()
161 struct isci_phy *iphy) in isci_port_bc_change_received() argument
165 __func__, iphy, &iphy->sas_phy); in isci_port_bc_change_received()
[all …]
Dphy.h108 struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy); in to_iphy() local
110 return iphy; in to_iphy()
400 struct isci_phy *iphy,
404 struct isci_port *phy_get_non_dummy_port(struct isci_phy *iphy);
407 struct isci_phy *iphy,
411 struct isci_phy *iphy,
416 struct isci_phy *iphy);
419 struct isci_phy *iphy);
422 struct isci_phy *iphy);
425 struct isci_phy *iphy);
[all …]
Dport_config.c117 struct isci_phy *iphy) in sci_port_configuration_agent_find_port() argument
130 sci_phy_get_sas_address(iphy, &phy_sas_address); in sci_port_configuration_agent_find_port()
131 sci_phy_get_attached_sas_address(iphy, &phy_attached_device_address); in sci_port_configuration_agent_find_port()
345 struct isci_phy *iphy = &ihost->phys[index]; in mpc_agent_timeout() local
349 phy_get_non_dummy_port(iphy), in mpc_agent_timeout()
350 iphy); in mpc_agent_timeout()
361 struct isci_phy *iphy) in sci_mpc_agent_link_up() argument
370 port_agent->phy_ready_mask |= (1 << iphy->phy_index); 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()
[all …]
Dport.h212 struct isci_phy *iphy);
216 struct isci_phy *iphy);
226 struct isci_phy *iphy,
231 struct isci_phy *iphy);
238 struct isci_phy *iphy);
240 struct isci_phy *iphy);
259 struct isci_phy *iphy);
281 struct isci_phy *iphy);
Dhost.c313 struct isci_phy *iphy; in sci_controller_unsolicited_frame() local
334 iphy = &ihost->phys[index]; in sci_controller_unsolicited_frame()
335 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame()
346 iphy = &ihost->phys[index]; in sci_controller_unsolicited_frame()
347 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame()
372 struct isci_phy *iphy; in sci_controller_event_completion() local
452 iphy = &ihost->phys[index]; in sci_controller_event_completion()
453 sci_phy_event_handler(iphy, ent); in sci_controller_event_completion()
838 static bool is_phy_starting(struct isci_phy *iphy) in is_phy_starting() argument
842 state = iphy->sm.current_state_id; in is_phy_starting()
[all …]
Dhost.h463 struct isci_phy *iphy);
465 struct isci_phy *iphy);
467 struct isci_phy *iphy);
469 struct isci_phy *iphy);
Dtask.c765 struct isci_phy *iphy = &ihost->phys[phy->number]; in isci_reset_device() local
768 iphy); in isci_reset_device()