Lines Matching refs:fcport
108 qla2x00_set_fcport_disc_state(fc_port_t *fcport, int state)
119 fcport->disc_state = state;
121 old_val = atomic_read(&fcport->shadow_disc_state);
122 if (old_val == atomic_cmpxchg(&fcport->shadow_disc_state,
124 ql_dbg(ql_dbg_disc, fcport->vha, 0x2134,
126 fcport->port_name, (old_val & mask) < port_dstate_str_sz ?
128 port_dstate_str[state], fcport->d_id.b24);
182 struct qla_qpair *qpair, fc_port_t *fcport)
185 sp->fcport = fcport;
197 fc_port_t *fcport, gfp_t flag)
208 qla2xxx_init_sp(sp, vha, qpair, fcport);
228 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag)
237 sp = qla2xxx_get_qpair_sp(vha, qpair, fcport, flag);
276 qla2x00_set_retry_delay_timestamp(fc_port_t *fcport, uint16_t sts_qual)
296 if (fcport->retry_delay_timestamp &&
297 time_before(jiffies, fcport->retry_delay_timestamp))
306 fcport->retry_delay_timestamp = jiffies + (qual * HZ / 10);
308 ql_log(ql_log_warn, fcport->vha, 0x5101,
310 fcport->port_name, sts_qual, qual * 100);
562 fcport_is_smaller(fc_port_t *fcport)
564 if (wwn_to_u64(fcport->port_name) <
565 wwn_to_u64(fcport->vha->port_name))
572 fcport_is_bigger(fc_port_t *fcport)
574 return !fcport_is_smaller(fcport);