Searched refs:sas_phy (Results 1 – 18 of 18) sorted by relevance
/drivers/scsi/aic94xx/ |
D | aic94xx_scb.c | 55 struct sas_phy *sas_phy = phy->sas_phy.phy; in get_lrate_mode() local 60 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 61 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 64 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 65 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 68 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 69 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 72 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate; in get_lrate_mode() 73 sas_phy->maximum_linkrate_hw = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 74 sas_phy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() [all …]
|
D | aic94xx_hwi.c | 77 if (phy->sas_phy.role & PHY_ROLE_INITIATOR) in asd_init_phy_identify() 78 phy->identify_frame->initiator_bits = phy->sas_phy.iproto; in asd_init_phy_identify() 79 if (phy->sas_phy.role & PHY_ROLE_TARGET) in asd_init_phy_identify() 80 phy->identify_frame->target_bits = phy->sas_phy.tproto; in asd_init_phy_identify() 83 phy->identify_frame->phy_id = phy->sas_phy.id; in asd_init_phy_identify() 88 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy() 89 struct asd_sas_phy *sas_phy = &phy->sas_phy; in asd_init_phy() local 91 sas_phy->enabled = 1; in asd_init_phy() 92 sas_phy->class = SAS; in asd_init_phy() 93 sas_phy->iproto = SAS_PROTOCOL_ALL; in asd_init_phy() [all …]
|
D | aic94xx_init.c | 705 sas_phys[i] = &asd_ha->phys[i].sas_phy; in asd_register_sas_ha() 709 asd_ha->sas_ha.sas_phy = sas_phys; in asd_register_sas_ha() 729 kfree(asd_ha->sas_ha.sas_phy); in asd_unregister_sas_ha()
|
D | aic94xx_dump.c | 918 spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags); in asd_dump_frame_rcvd() 919 for (i = 0; i < phy->sas_phy.frame_rcvd_size; i+=4) in asd_dump_frame_rcvd() 926 spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags); in asd_dump_frame_rcvd()
|
D | aic94xx_sas.h | 732 struct asd_sas_phy sas_phy; member
|
D | aic94xx_tmf.c | 183 struct sas_phy *phy = sas_find_local_phy(dev); in asd_I_T_nexus_reset()
|
/drivers/scsi/libsas/ |
D | sas_host_smp.c | 23 struct sas_phy *phy; in sas_host_smp_discover() 32 phy = sas_ha->sas_phy[phy_id]->phy; in sas_host_smp_discover() 36 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover() 43 if (!sas_ha->sas_phy[phy_id]->port || in sas_host_smp_discover() 44 !sas_ha->sas_phy[phy_id]->port->port_dev) in sas_host_smp_discover() 47 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_host_smp_discover() 67 if (!sas_ha->sas_phy[phy_id]->port) in sas_report_phy_sata() 70 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_report_phy_sata() 72 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; in sas_report_phy_sata() 78 memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_report_phy_sata() [all …]
|
D | sas_init.c | 152 static int sas_get_linkerrors(struct sas_phy *phy) in sas_get_linkerrors() 162 int sas_phy_enable(struct sas_phy *phy, int enable) in sas_phy_enable() 175 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() 192 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() 205 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset() 218 int sas_set_phy_speed(struct sas_phy *phy, in sas_set_phy_speed() 240 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_set_phy_speed()
|
D | Makefile | 30 sas_phy.o \
|
D | sas_port.c | 289 if (sas_ha->sas_phy[i]->port) in sas_unregister_ports() 290 sas_deform_port(sas_ha->sas_phy[i]); in sas_unregister_ports()
|
D | sas_internal.h | 77 int sas_smp_get_phy_events(struct sas_phy *phy);
|
D | sas_phy.c | 129 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; in sas_register_phys()
|
D | sas_scsi_host.c | 439 struct sas_phy *sas_find_local_phy(struct domain_device *dev) in sas_find_local_phy() 488 struct sas_phy *phy = sas_find_local_phy(dev); in sas_eh_bus_reset_handler()
|
D | sas_expander.c | 517 int sas_smp_get_phy_events(struct sas_phy *phy) in sas_smp_get_phy_events()
|
/drivers/scsi/ |
D | mvsas.c | 608 struct asd_sas_phy sas_phy; member 682 static int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, 1084 struct asd_sas_phy *sas_phy = mvi->sas.sas_phy[i]; in mvs_bytes_dmaed() local 1089 if (sas_phy->phy) { in mvs_bytes_dmaed() 1090 struct sas_phy *sphy = sas_phy->phy; in mvs_bytes_dmaed() 1092 sphy->negotiated_linkrate = sas_phy->linkrate; in mvs_bytes_dmaed() 1109 mvi->sas.sas_phy[i]->frame_rcvd_size = phy->frame_rcvd_size; in mvs_bytes_dmaed() 1110 mvi->sas.notify_port_event(mvi->sas.sas_phy[i], in mvs_bytes_dmaed() 1159 struct asd_sas_phy *sas_phy = &phy->sas_phy; in mvs_int_port() local 1173 sas_phy_disconnected(sas_phy); in mvs_int_port() [all …]
|
D | scsi_transport_sas.c | 373 struct sas_phy *phy = transport_class_to_phy(dev); \ 387 struct sas_phy *phy = transport_class_to_phy(dev); \ 403 struct sas_phy *phy = transport_class_to_phy(dev); \ 415 struct sas_phy *phy = transport_class_to_phy(dev); \ 447 struct sas_phy *phy = transport_class_to_phy(dev); \ 467 struct sas_phy *phy = transport_class_to_phy(dev); in show_sas_device_type() 478 struct sas_phy *phy = transport_class_to_phy(dev); in do_sas_phy_enable() 515 struct sas_phy *phy = transport_class_to_phy(dev); in show_sas_phy_enable() 526 struct sas_phy *phy = transport_class_to_phy(dev); in do_sas_phy_reset() 596 struct sas_phy *phy = dev_to_phy(dev); in sas_phy_release() [all …]
|
/drivers/message/fusion/ |
D | mptsas.h | 134 struct sas_phy *phy; /* transport layer phy object */
|
D | mptsas.c | 221 static inline MPT_ADAPTER *phy_to_ioc(struct sas_phy *phy) in phy_to_ioc() 1052 static int mptsas_get_linkerrors(struct sas_phy *phy) in mptsas_get_linkerrors() 1127 static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset) in mptsas_phy_reset() 1879 struct sas_phy *phy; in mptsas_probe_one_phy()
|