Lines Matching +full:c +full:- +full:phy
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
65 extern "C" {
75 * This is the timeout value for the SATA phy to wait for a SIGNATURE FIS
108 * Wait state for the PHY speed notification
128 * Wait state for the SATA PHY notification
133 * Wait for the SATA PHY speed notification
160 * Debug code to record the state transitions for the phy object
177 * @brief This enumeration provides a named phy type for the state machine
182 * This is an unknown phy type since there is either nothing on the other
183 * end or we have not detected the phy type as yet.
188 * This is a SAS PHY
193 * This is a SATA PHY
204 * represent the core phy object and SCU hardware protocol engine.
211 * This field specifies the port object that owns/contains this phy.
216 * This field indicates whether the phy supports 1.5 Gb/s, 3.0 Gb/s,
222 * This member specifies the protocol being utilized on this phy. This
223 * field contains a legitamite value once the PHY has link trained with
224 * a remote phy.
229 * This field specifies the index with which this phy is associated (0-3).
234 * This member indicates if this particular PHY has received a BCN while
235 * it had no port assignement. This BCN will be reported once the phy is
241 * This field indicates if this PHY is currently in the process of
343 * This macro returns the phy index for the specified phy
345 #define scic_sds_phy_get_index(phy) \ argument
346 ((phy)->phy_index)
349 * @brief This macro returns the controller for this phy
351 #define scic_sds_phy_get_controller(phy) \ argument
352 (scic_sds_port_get_controller((phy)->owning_port))
355 * @brief This macro returns the state machine for the base phy
357 #define scic_sds_phy_get_base_state_machine(phy) \ argument
358 (&(phy)->parent.state_machine)
362 * this phy
364 #define scic_sds_phy_get_starting_substate_machine(phy) \ argument
365 (&(phy)->starting_substate_machine)
368 * @brief This macro sets the state handlers for this phy object
370 #define scic_sds_phy_set_state_handlers(phy, handlers) \ argument
371 ((phy)->state_handlers = (handlers))
374 * This macro set the base state handlers for the phy object.
376 #define scic_sds_phy_set_base_state_handlers(phy, state_id) \ argument
378 (phy), \
383 * This macro returns TRUE if the current base state for this phy is
386 #define scic_sds_phy_is_ready(phy) \ argument
390 scic_sds_phy_get_base_state_machine(phy) \
394 // ---------------------------------------------------------------------------
402 // ---------------------------------------------------------------------------
433 // ---------------------------------------------------------------------------
448 // ---------------------------------------------------------------------------
484 //****************************************************************************-
485 //* SCIC SDS PHY Handler Methods
486 //****************************************************************************-
489 SCI_BASE_PHY_T *phy
493 SCI_BASE_PHY_T *phy
497 SCI_BASE_PHY_T * phy
501 SCI_BASE_PHY_T *phy
505 SCIC_SDS_PHY_T *phy,
510 SCIC_SDS_PHY_T *phy,
515 SCIC_SDS_PHY_T *phy
520 struct SCIC_SDS_PHY * phy