Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 7 of 7) sorted by relevance

/drivers/soc/fsl/dpio/
Dqbman-portal.h374 static inline u8 qbman_result_SCN_state(const struct dpaa2_dq *scn) in qbman_result_SCN_state() argument
376 return scn->scn.state; in qbman_result_SCN_state()
384 static inline u32 qbman_result_SCN_rid(const struct dpaa2_dq *scn) in qbman_result_SCN_rid() argument
386 return le32_to_cpu(scn->scn.rid_tok) & SCN_RID_MASK; in qbman_result_SCN_rid()
392 static inline u64 qbman_result_SCN_ctx(const struct dpaa2_dq *scn) in qbman_result_SCN_ctx() argument
394 return le64_to_cpu(scn->scn.ctx); in qbman_result_SCN_ctx()
/drivers/scsi/bfa/
Dbfa_fcs_lport.c5254 static void bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn,
5257 struct bfa_fcs_lport_scn_s *scn,
5259 static void bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn,
5261 static void bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn,
5263 static void bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn,
5270 bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_offline() argument
5275 bfa_sm_set_state(scn, bfa_fcs_lport_scn_sm_sending_scr); in bfa_fcs_lport_scn_sm_offline()
5276 bfa_fcs_lport_scn_send_scr(scn, NULL); in bfa_fcs_lport_scn_sm_offline()
5283 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5288 bfa_fcs_lport_scn_sm_sending_scr(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_sending_scr() argument
[all …]
Dbfa_svc.c3407 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) in bfa_trunk_scn() argument
3417 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && in bfa_trunk_scn()
3418 scn->trunk_state != BFA_TRUNK_OFFLINE); in bfa_trunk_scn()
3421 bfa_trc(fcport->bfa, scn->trunk_state); in bfa_trunk_scn()
3422 bfa_trc(fcport->bfa, scn->trunk_speed); in bfa_trunk_scn()
3429 trunk->attr.state = scn->trunk_state; in bfa_trunk_scn()
3430 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn()
3433 tlink = &scn->tlink[i]; in bfa_trunk_scn()
3476 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { in bfa_trunk_scn()
3477 bfa_fcport_scn(fcport, (scn->trunk_state == BFA_TRUNK_ONLINE) ? in bfa_trunk_scn()
[all …]
Dbfa_fcs.h107 struct bfa_fcs_lport_scn_s scn; /* scn component of port */ member
156 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn)
Dbfi.h1170 struct bfi_diag_dport_scn_s scn; member
/drivers/scsi/
Dpmcraid.h679 struct pmcraid_state_msg scn; /* controller state change msg */ member
Dpmcraid.c737 if (pinstance->scn.ioa_state != PMC_DEVICE_EVENT_RESET_START && in pmcraid_timeout_handler()
738 pinstance->scn.ioa_state != PMC_DEVICE_EVENT_SHUTDOWN_START) in pmcraid_timeout_handler()
1491 pinstance->scn.ioa_state = evt; in pmcraid_notify_ioastate()
1493 &pinstance->scn.msg, in pmcraid_notify_ioastate()