Lines Matching defs:shost
259 * @shost: The SCSI host whose port state is to be determined
261 void fc_get_host_port_state(struct Scsi_Host *shost)
263 struct fc_lport *lport = shost_priv(shost);
267 fc_host_port_state(shost) = FC_PORTSTATE_LINKDOWN;
271 fc_host_port_state(shost) = FC_PORTSTATE_ONLINE;
274 fc_host_port_state(shost) = FC_PORTSTATE_OFFLINE;
282 * @shost: The SCSI host whose port speed is to be determined
284 void fc_get_host_speed(struct Scsi_Host *shost)
286 struct fc_lport *lport = shost_priv(shost);
288 fc_host_speed(shost) = lport->link_speed;
294 * @shost: The SCSI host whose statistics are to be returned
296 struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *shost)
299 struct fc_lport *lport = shost_priv(shost);
2067 struct Scsi_Host *shost = fc_bsg_to_shost(job);
2068 struct fc_lport *lport = shost_priv(shost);