Searched refs:iphy (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/scsi/isci/ |
H A D | phy.c | 75 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 …]
|
H A D | port.c | 94 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 …]
|
H A D | phy.h | 108 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 …]
|
H A D | port_config.c | 117 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() 344 struct isci_phy *iphy = &ihost->phys[index]; in mpc_agent_timeout() local 348 phy_get_non_dummy_port(iphy), in mpc_agent_timeout() 349 iphy); in mpc_agent_timeout() 360 struct isci_phy *iphy) in sci_mpc_agent_link_up() argument 369 port_agent->phy_ready_mask |= (1 << iphy->phy_index); in sci_mpc_agent_link_up() 370 sci_port_link_up(iport, iphy); in sci_mpc_agent_link_up() 371 if ((iport->active_phy_mask & (1 << iphy->phy_index))) in sci_mpc_agent_link_up() [all …]
|
H A D | port.h | 212 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);
|
H A D | host.c | 311 struct isci_phy *iphy; in sci_controller_unsolicited_frame() local 332 iphy = &ihost->phys[index]; in sci_controller_unsolicited_frame() 333 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame() 344 iphy = &ihost->phys[index]; in sci_controller_unsolicited_frame() 345 result = sci_phy_frame_handler(iphy, frame_index); in sci_controller_unsolicited_frame() 370 struct isci_phy *iphy; in sci_controller_event_completion() local 450 iphy = &ihost->phys[index]; in sci_controller_event_completion() 451 sci_phy_event_handler(iphy, ent); in sci_controller_event_completion() 836 static bool is_phy_starting(struct isci_phy *iphy) in is_phy_starting() argument 840 state = iphy->sm.current_state_id; in is_phy_starting() [all …]
|
H A D | host.h | 462 struct isci_phy *iphy); 464 struct isci_phy *iphy); 466 struct isci_phy *iphy); 468 struct isci_phy *iphy);
|
H A D | task.c | 739 struct isci_phy *iphy = &ihost->phys[phy->number]; in isci_reset_device() local 742 iphy); in isci_reset_device()
|
/linux/drivers/phy/intel/ |
H A D | phy-intel-lgm-combo.c | 98 struct intel_cbphy_iphy iphy[PHY_MAX_NUM]; member 105 static int intel_cbphy_iphy_enable(struct intel_cbphy_iphy *iphy, bool set) in intel_cbphy_iphy_enable() argument 107 struct intel_combo_phy *cbphy = iphy->parent; in intel_cbphy_iphy_enable() 108 u32 mask = BIT(cbphy->phy_mode * 2 + iphy->id); in intel_cbphy_iphy_enable() 118 static int intel_cbphy_pcie_refclk_cfg(struct intel_cbphy_iphy *iphy, bool set) in intel_cbphy_pcie_refclk_cfg() argument 120 struct intel_combo_phy *cbphy = iphy->parent; in intel_cbphy_pcie_refclk_cfg() 121 u32 mask = BIT(cbphy->id * 2 + iphy->id); in intel_cbphy_pcie_refclk_cfg() 141 static int intel_cbphy_iphy_cfg(struct intel_cbphy_iphy *iphy, in intel_cbphy_iphy_cfg() argument 144 struct intel_combo_phy *cbphy = iphy->parent; in intel_cbphy_iphy_cfg() 147 ret = phy_cfg(iphy); in intel_cbphy_iphy_cfg() [all …]
|