asd_phy
void asd_dump_frame_rcvd(struct asd_phy *phy,
void asd_dump_frame_rcvd(struct asd_phy *phy,
static inline void asd_dump_frame_rcvd(struct asd_phy *phy,
struct asd_phy *phy = &asd_ha->phys[i];
struct asd_phy *phy = &asd_ha->phys[phy_id];
static void asd_init_phy_identify(struct asd_phy *phy)
static int asd_init_phy(struct asd_phy *phy)
struct asd_phy phys[ASD_MAX_PHYS];
struct asd_phy *phy = &asd_ha->phys[i];
static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy)
static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr)
static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy)
static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy)
struct asd_phy *phy = &ascb->ha->phys[phy_id];
struct asd_phy *phy = &asd_ha->phys[phy_id];
struct asd_phy *phy = &asd_ha->phys[phy_id];
static void get_lrate_mode(struct asd_phy *phy, u8 oob_mode)
struct asd_phy *phy = &asd_ha->phys[phy_id];
struct asd_phy *phy = &ascb->ha->phys[phy_id];
struct asd_phy *phy = &asd_ha->phys[phy_id];
struct asd_phy *phy = &ascb->ha->phys[phy_id];
void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy)
void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy);
struct asd_sas_phy *asd_phy;
asd_phy = sas_ha->sas_phy[phy_id];
if (phy_op == PHY_FUNC_LINK_RESET && sas_try_ata_reset(asd_phy) == 0) {
if (i->dft->lldd_control_phy(asd_phy, phy_op, &rates))
struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
return i->dft->lldd_control_phy(asd_phy, PHY_FUNC_GET_EVENTS, NULL);
int sas_try_ata_reset(struct asd_sas_phy *asd_phy)
if (asd_phy->port)
dev = asd_phy->port->port_dev;
struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
if (!hard_reset && sas_try_ata_reset(asd_phy) == 0)
return i->dft->lldd_control_phy(asd_phy, reset_type, NULL);
struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
ret = i->dft->lldd_control_phy(asd_phy, cmd, NULL);
struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL);
struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
ret = i->dft->lldd_control_phy(asd_phy, PHY_FUNC_SET_LINK_RATE,