/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_scb.c | 38 struct sas_phy *sas_phy = phy->sas_phy.phy; in get_lrate_mode() local 43 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 44 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 47 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 48 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 51 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 52 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 55 sas_phy in get_lrate_mode() 157 struct asd_sas_phy *sas_phy = &phy->sas_phy; asd_form_port() local 204 struct asd_sas_phy *sas_phy = &phy->sas_phy; asd_deform_port() local 244 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_link_reset_err_tasklet() local 297 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_primitive_rcvd_tasklet() local 403 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; escb_tasklet_complete() local [all...] |
H A D | aic94xx_hwi.c | 60 if (phy->sas_phy.role & PHY_ROLE_INITIATOR) in asd_init_phy_identify() 61 phy->identify_frame->initiator_bits = phy->sas_phy.iproto; in asd_init_phy_identify() 62 if (phy->sas_phy.role & PHY_ROLE_TARGET) in asd_init_phy_identify() 63 phy->identify_frame->target_bits = phy->sas_phy.tproto; in asd_init_phy_identify() 66 phy->identify_frame->phy_id = phy->sas_phy.id; in asd_init_phy_identify() 71 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy() 72 struct asd_sas_phy *sas_phy = &phy->sas_phy; in asd_init_phy() local 74 sas_phy->enabled = 1; in asd_init_phy() 75 sas_phy in asd_init_phy() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_scb.c | 38 struct sas_phy *sas_phy = phy->sas_phy.phy; in get_lrate_mode() local 43 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 44 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 47 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 48 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 51 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 52 phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 55 sas_phy in get_lrate_mode() 159 struct asd_sas_phy *sas_phy = &phy->sas_phy; asd_form_port() local 206 struct asd_sas_phy *sas_phy = &phy->sas_phy; asd_deform_port() local 246 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_link_reset_err_tasklet() local 299 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; asd_primitive_rcvd_tasklet() local 407 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; escb_tasklet_complete() local [all...] |
H A D | aic94xx_hwi.c | 60 if (phy->sas_phy.role & PHY_ROLE_INITIATOR) in asd_init_phy_identify() 61 phy->identify_frame->initiator_bits = phy->sas_phy.iproto; in asd_init_phy_identify() 62 if (phy->sas_phy.role & PHY_ROLE_TARGET) in asd_init_phy_identify() 63 phy->identify_frame->target_bits = phy->sas_phy.tproto; in asd_init_phy_identify() 66 phy->identify_frame->phy_id = phy->sas_phy.id; in asd_init_phy_identify() 71 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy() 72 struct asd_sas_phy *sas_phy = &phy->sas_phy; in asd_init_phy() local 74 sas_phy->enabled = 1; in asd_init_phy() 75 sas_phy in asd_init_phy() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_transport_sas.h | 59 struct sas_phy { struct 88 container_of((d), struct sas_phy, dev) 174 int (*get_linkerrors)(struct sas_phy *); 177 int (*phy_reset)(struct sas_phy *, int); 178 int (*phy_enable)(struct sas_phy *, int); 179 int (*phy_setup)(struct sas_phy *); 180 void (*phy_release)(struct sas_phy *); 181 int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *); 190 extern struct sas_phy *sas_phy_alloc(struct device *, int); 191 extern void sas_phy_free(struct sas_phy *); [all...] |
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_transport_sas.h | 60 struct sas_phy { struct 89 container_of((d), struct sas_phy, dev) 175 int (*get_linkerrors)(struct sas_phy *); 178 int (*phy_reset)(struct sas_phy *, int); 179 int (*phy_enable)(struct sas_phy *, int); 180 int (*phy_setup)(struct sas_phy *); 181 void (*phy_release)(struct sas_phy *); 182 int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *); 191 extern struct sas_phy *sas_phy_alloc(struct device *, int); 192 extern void sas_phy_free(struct sas_phy *); [all...] |
H A D | libsas.h | 106 struct sas_phy *phy; 169 struct sas_phy *phy; 304 struct sas_phy *phy; 369 struct asd_sas_phy **sas_phy; /* array of valid pointers, must be set */ member 425 static inline void sas_put_local_phy(struct sas_phy *phy) in sas_put_local_phy() 684 int sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates); 685 int sas_phy_reset(struct sas_phy *phy, int hard_reset); 686 int sas_phy_enable(struct sas_phy *phy, int enable); 729 struct sas_phy *sas_get_local_phy(struct domain_device *dev);
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 14 static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, 621 struct asd_sas_phy *sas_phy = &phy->sas_phy; in hisi_sas_bytes_dmaed() local 626 sas_notify_phy_event(sas_phy, PHYE_OOB_DONE, gfp_flags); in hisi_sas_bytes_dmaed() 628 if (sas_phy->phy) { in hisi_sas_bytes_dmaed() 629 struct sas_phy *sphy = sas_phy->phy; in hisi_sas_bytes_dmaed() 631 sphy->negotiated_linkrate = sas_phy->linkrate; in hisi_sas_bytes_dmaed() 653 sas_phy->frame_rcvd_size = phy->frame_rcvd_size; in hisi_sas_bytes_dmaed() 654 sas_notify_port_event(sas_phy, PORTE_BYTES_DMAE in hisi_sas_bytes_dmaed() 913 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phyup_work_common() local 931 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_linkreset_work() local 1013 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_init() local 1064 hisi_sas_port_notify_formed(struct asd_sas_phy *sas_phy) hisi_sas_port_notify_formed() argument 1199 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_set_linkrate() local 1228 hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, void *funcdata) hisi_sas_control_phy() argument 1354 struct asd_sas_phy *sas_phy; hisi_sas_refresh_port_id() local 1391 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_rescan_topology() local 1754 struct asd_sas_phy *sas_phy = hisi_sas_debug_I_T_nexus_reset() local 1772 struct asd_sas_phy *sas_phy = hisi_sas_debug_I_T_nexus_reset() local 2001 hisi_sas_port_formed(struct asd_sas_phy *sas_phy) hisi_sas_port_formed() argument 2020 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_disconnected() local 2040 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_down() local 2076 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_bcast() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 22 struct sas_phy *phy; in sas_host_smp_discover() 31 phy = sas_ha->sas_phy[phy_id]->phy; in sas_host_smp_discover() 35 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover() 42 if (!sas_ha->sas_phy[phy_id]->port || in sas_host_smp_discover() 43 !sas_ha->sas_phy[phy_id]->port->port_dev) in sas_host_smp_discover() 46 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_host_smp_discover() 151 if (!sas_ha->sas_phy[phy_id]->port) in sas_report_phy_sata() 154 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_report_phy_sata() 156 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; in sas_report_phy_sata() 162 memcpy(resp_data + 16, sas_ha->sas_phy[phy_i in sas_report_phy_sata() [all...] |
H A D | sas_init.c | 180 static int sas_get_linkerrors(struct sas_phy *phy) in sas_get_linkerrors() 185 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() 222 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() 234 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() 255 static int sas_phy_enable(struct sas_phy *phy, int enable) in sas_phy_enable() 268 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() 288 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() 304 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset() 317 int sas_set_phy_speed(struct sas_phy *phy, in sas_set_phy_speed() 339 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[ph in sas_set_phy_speed() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 22 struct sas_phy *phy; in sas_host_smp_discover() 31 phy = sas_ha->sas_phy[phy_id]->phy; in sas_host_smp_discover() 35 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover() 42 if (!sas_ha->sas_phy[phy_id]->port || in sas_host_smp_discover() 43 !sas_ha->sas_phy[phy_id]->port->port_dev) in sas_host_smp_discover() 46 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_host_smp_discover() 151 if (!sas_ha->sas_phy[phy_id]->port) in sas_report_phy_sata() 154 rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy; in sas_report_phy_sata() 156 sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd; in sas_report_phy_sata() 162 memcpy(resp_data + 16, sas_ha->sas_phy[phy_i in sas_report_phy_sata() [all...] |
H A D | sas_init.c | 179 static int sas_get_linkerrors(struct sas_phy *phy) in sas_get_linkerrors() 184 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() 221 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset() 233 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() 254 int sas_phy_enable(struct sas_phy *phy, int enable) in sas_phy_enable() 267 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() 288 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset() 304 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset() 318 int sas_set_phy_speed(struct sas_phy *phy, in sas_set_phy_speed() 340 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[ph in sas_set_phy_speed() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 20 static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, 624 struct asd_sas_phy *sas_phy = &phy->sas_phy; in hisi_sas_bytes_dmaed() local 630 !sas_phy->suspended) { in hisi_sas_bytes_dmaed() 635 sas_notify_phy_event(sas_phy, PHYE_OOB_DONE); in hisi_sas_bytes_dmaed() 637 if (sas_phy->phy) { in hisi_sas_bytes_dmaed() 638 struct sas_phy *sphy = sas_phy->phy; in hisi_sas_bytes_dmaed() 640 sphy->negotiated_linkrate = sas_phy->linkrate; in hisi_sas_bytes_dmaed() 662 sas_phy in hisi_sas_bytes_dmaed() 864 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phyup_work() local 876 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_linkreset_work() local 928 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_init() local 981 hisi_sas_port_notify_formed(struct asd_sas_phy *sas_phy) hisi_sas_port_notify_formed() argument 1102 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_set_linkrate() local 1131 hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, void *funcdata) hisi_sas_control_phy() argument 1388 struct asd_sas_phy *sas_phy; hisi_sas_refresh_port_id() local 1423 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_rescan_topology() local 1473 struct asd_sas_phy *sas_phy; hisi_sas_send_ata_reset_each_phy() local 1767 struct asd_sas_phy *sas_phy = hisi_sas_debug_I_T_nexus_reset() local 1782 struct asd_sas_phy *sas_phy = hisi_sas_debug_I_T_nexus_reset() local 2161 hisi_sas_port_formed(struct asd_sas_phy *sas_phy) hisi_sas_port_formed() argument 2180 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_disconnected() local 2199 struct asd_sas_phy *sas_phy = &phy->sas_phy; hisi_sas_phy_down() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 71 while (sha->sas_phy[j]) { in mvs_find_dev_mvi() 72 if (sha->sas_phy[j] == phy) in mvs_find_dev_mvi() 102 while (sha->sas_phy[j]) { in mvs_find_dev_phyno() 103 if (sha->sas_phy[j] == phy) in mvs_find_dev_phyno() 164 int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, in mvs_phy_control() argument 167 int rc = 0, phy_id = sas_phy->id; in mvs_phy_control() 169 struct sas_ha_struct *sha = sas_phy->ha; in mvs_phy_control() 172 while (sha->sas_phy[i]) { in mvs_phy_control() 173 if (sha->sas_phy[i] == sas_phy) in mvs_phy_control() 223 struct asd_sas_phy *sas_phy = &phy->sas_phy; mvs_bytes_dmaed() local 308 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; mvs_task_prep_smp() local 1007 struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy; mvs_update_phyinfo() local 1067 mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock) mvs_port_notify_formed() argument 1109 mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock) mvs_port_notify_deformed() argument 1128 mvs_port_formed(struct asd_sas_phy *sas_phy) mvs_port_formed() argument 1133 mvs_port_deformed(struct asd_sas_phy *sas_phy) mvs_port_deformed() argument 1712 struct asd_sas_phy *sas_phy = &phy->sas_phy; mvs_work_queue() local [all...] |
H A D | mv_init.c | 81 struct asd_sas_phy *sas_phy = &phy->sas_phy; in mvs_phy_init() local 86 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init() 87 sas_phy->iproto = SAS_PROTOCOL_ALL; in mvs_phy_init() 88 sas_phy->tproto = 0; in mvs_phy_init() 89 sas_phy->role = PHY_ROLE_INITIATOR; in mvs_phy_init() 90 sas_phy->oob_mode = OOB_NOT_CONNECTED; in mvs_phy_init() 91 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in mvs_phy_init() 93 sas_phy->id = phy_id; in mvs_phy_init() 94 sas_phy in mvs_phy_init() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
H A D | mv_init.c | 82 struct asd_sas_phy *sas_phy = &phy->sas_phy; in mvs_phy_init() local 87 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init() 88 sas_phy->class = SAS; in mvs_phy_init() 89 sas_phy->iproto = SAS_PROTOCOL_ALL; in mvs_phy_init() 90 sas_phy->tproto = 0; in mvs_phy_init() 91 sas_phy->type = PHY_TYPE_PHYSICAL; in mvs_phy_init() 92 sas_phy->role = PHY_ROLE_INITIATOR; in mvs_phy_init() 93 sas_phy->oob_mode = OOB_NOT_CONNECTED; in mvs_phy_init() 94 sas_phy in mvs_phy_init() [all...] |
H A D | mv_sas.c | 73 while (sha->sas_phy[j]) { in mvs_find_dev_mvi() 74 if (sha->sas_phy[j] == phy) in mvs_find_dev_mvi() 102 while (sha->sas_phy[j]) { in mvs_find_dev_phyno() 103 if (sha->sas_phy[j] == phy) in mvs_find_dev_phyno() 163 int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, in mvs_phy_control() argument 166 int rc = 0, phy_id = sas_phy->id; in mvs_phy_control() 168 struct sas_ha_struct *sha = sas_phy->ha; in mvs_phy_control() 171 while (sha->sas_phy[i]) { in mvs_phy_control() 172 if (sha->sas_phy[i] == sas_phy) in mvs_phy_control() 222 struct asd_sas_phy *sas_phy = &phy->sas_phy; mvs_bytes_dmaed() local 307 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; mvs_task_prep_smp() local 1013 struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy; mvs_update_phyinfo() local 1073 mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock) mvs_port_notify_formed() argument 1115 mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock) mvs_port_notify_deformed() argument 1134 mvs_port_formed(struct asd_sas_phy *sas_phy) mvs_port_formed() argument 1139 mvs_port_deformed(struct asd_sas_phy *sas_phy) mvs_port_deformed() argument 1882 struct asd_sas_phy *sas_phy = &phy->sas_phy; mvs_work_queue() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
H A D | phy.c | 994 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 996 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1037 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1041 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1404 iphy->sas_phy.enabled = 0; in isci_phy_init() 1405 iphy->sas_phy.id = index; in isci_phy_init() 1406 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; in isci_phy_init() 1407 iphy->sas_phy.frame_rcvd = (u8 *)&iphy->frame_rcvd; in isci_phy_init() 1408 iphy->sas_phy.ha = &ihost->sas_ha; in isci_phy_init() 1409 iphy->sas_phy in isci_phy_init() 1431 isci_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, void *buf) isci_phy_control() argument [all...] |
H A D | phy.h | 98 struct asd_sas_phy sas_phy; member 106 static inline struct isci_phy *to_iphy(struct asd_sas_phy *sas_phy) in to_iphy() argument 108 struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy); in to_iphy()
|
/kernel/linux/linux-6.6/drivers/scsi/isci/ |
H A D | phy.c | 989 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 991 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1032 spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1036 spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags); in sci_phy_frame_handler() 1400 iphy->sas_phy.enabled = 0; in isci_phy_init() 1401 iphy->sas_phy.id = index; in isci_phy_init() 1402 iphy->sas_phy.sas_addr = &iphy->sas_addr[0]; in isci_phy_init() 1403 iphy->sas_phy.frame_rcvd = (u8 *)&iphy->frame_rcvd; in isci_phy_init() 1404 iphy->sas_phy.ha = &ihost->sas_ha; in isci_phy_init() 1405 iphy->sas_phy in isci_phy_init() 1425 isci_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, void *buf) isci_phy_control() argument [all...] |
H A D | phy.h | 98 struct asd_sas_phy sas_phy; member 106 static inline struct isci_phy *to_iphy(struct asd_sas_phy *sas_phy) in to_iphy() argument 108 struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy); in to_iphy()
|
/kernel/linux/linux-6.6/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 154 * @sas_phy: which phy in HBA phys. 158 int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, in pm8001_phy_control() argument 161 int rc = 0, phy_id = sas_phy->id; in pm8001_phy_control() 167 pm8001_ha = sas_phy->ha->lldd_ha; in pm8001_phy_control() 223 sas_phy_disconnected(&phy->sas_phy); in pm8001_phy_control() 224 sas_notify_phy_event(&phy->sas_phy, in pm8001_phy_control() 231 sas_phy_disconnected(&phy->sas_phy); in pm8001_phy_control() 232 sas_notify_phy_event(&phy->sas_phy, in pm8001_phy_control() 249 struct sas_phy *phy = sas_phy in pm8001_phy_control() 1160 pm8001_port_formed(struct asd_sas_phy *sas_phy) pm8001_port_formed() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 3165 struct asd_sas_phy *sas_phy = &phy->sas_phy; in pm8001_bytes_dmaed() local 3169 if (sas_phy->phy) { in pm8001_bytes_dmaed() 3170 struct sas_phy *sphy = sas_phy->phy; in pm8001_bytes_dmaed() 3171 sphy->negotiated_linkrate = sas_phy->linkrate; in pm8001_bytes_dmaed() 3189 sas_phy->frame_rcvd_size = phy->frame_rcvd_size; in pm8001_bytes_dmaed() 3190 sas_notify_port_event(sas_phy, PORTE_BYTES_DMAED); in pm8001_bytes_dmaed() 3196 struct sas_phy *sas_phy in pm8001_get_lrate_mode() local 3705 struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id]; mpi_hw_event() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 23 struct sas_phy *phy; in pqi_alloc_sas_phy() 45 struct sas_phy *phy = pqi_sas_phy->phy; in pqi_free_sas_phy() 58 struct sas_phy *phy; in pqi_sas_port_add_phy() 307 static int pqi_sas_get_linkerrors(struct sas_phy *phy) in pqi_sas_get_linkerrors() 418 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() 423 static int pqi_sas_phy_enable(struct sas_phy *phy, int enable) in pqi_sas_phy_enable() 428 static int pqi_sas_phy_setup(struct sas_phy *phy) in pqi_sas_phy_setup() 433 static void pqi_sas_phy_release(struct sas_phy *phy) in pqi_sas_phy_release() 437 static int pqi_sas_phy_speed(struct sas_phy *phy, in pqi_sas_phy_speed()
|
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 23 struct sas_phy *phy; in pqi_alloc_sas_phy() 45 struct sas_phy *phy = pqi_sas_phy->phy; in pqi_free_sas_phy() 58 struct sas_phy *phy; in pqi_sas_port_add_phy() 317 static int pqi_sas_get_linkerrors(struct sas_phy *phy) in pqi_sas_get_linkerrors() 428 static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset) in pqi_sas_phy_reset() 433 static int pqi_sas_phy_enable(struct sas_phy *phy, int enable) in pqi_sas_phy_enable() 438 static int pqi_sas_phy_setup(struct sas_phy *phy) in pqi_sas_phy_setup() 443 static void pqi_sas_phy_release(struct sas_phy *phy) in pqi_sas_phy_release() 447 static int pqi_sas_phy_speed(struct sas_phy *phy, in pqi_sas_phy_speed()
|