Lines Matching defs:shost
262 * @shost: The SCSI host whose port state is to be determined
264 void fc_get_host_port_state(struct Scsi_Host *shost)
266 struct fc_lport *lport = shost_priv(shost);
270 fc_host_port_state(shost) = FC_PORTSTATE_LINKDOWN;
274 fc_host_port_state(shost) = FC_PORTSTATE_ONLINE;
277 fc_host_port_state(shost) = FC_PORTSTATE_OFFLINE;
285 * @shost: The SCSI host whose port speed is to be determined
287 void fc_get_host_speed(struct Scsi_Host *shost)
289 struct fc_lport *lport = shost_priv(shost);
291 fc_host_speed(shost) = lport->link_speed;
297 * @shost: The SCSI host whose statistics are to be returned
299 struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *shost)
302 struct fc_lport *lport = shost_priv(shost);
2141 struct Scsi_Host *shost = fc_bsg_to_shost(job);
2142 struct fc_lport *lport = shost_priv(shost);