Home
last modified time | relevance | path

Searched refs:ibcs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_intr.c83 void qib_handle_e_ibstatuschanged(struct qib_pportdata *ppd, u64 ibcs) in qib_handle_e_ibstatuschanged() argument
91 lstate = dd->f_iblink_state(ibcs); /* linkstate */ in qib_handle_e_ibstatuschanged()
92 ltstate = dd->f_ibphys_portstate(ibcs); in qib_handle_e_ibstatuschanged()
107 if (dd->f_ib_updown(ppd, 1, ibcs)) in qib_handle_e_ibstatuschanged()
113 dd->f_ib_updown(ppd, 0, ibcs)) in qib_handle_e_ibstatuschanged()
168 ppd->lastibcstat = ibcs; in qib_handle_e_ibstatuschanged()
Dqib_iba6120.c976 static int chk_6120_linkrecovery(struct qib_devdata *dd, u64 ibcs) in chk_6120_linkrecovery() argument
979 u32 ibstate = qib_6120_iblink_state(ibcs); in chk_6120_linkrecovery()
1062 u64 ibcs = qib_read_kreg64(dd, kr_ibcstatus); in handle_6120_errors() local
1063 u32 ibstate = qib_6120_iblink_state(ibcs); in handle_6120_errors()
1067 handle = chk_6120_linkrecovery(dd, ibcs); in handle_6120_errors()
1075 if (handle && qib_6120_phys_portstate(ibcs) == in handle_6120_errors()
1079 qib_handle_e_ibstatuschanged(ppd, ibcs); in handle_6120_errors()
2961 static u32 qib_6120_iblink_state(u64 ibcs) in qib_6120_iblink_state() argument
2963 u32 state = (u32)SYM_FIELD(ibcs, IBCStatus, LinkState); in qib_6120_iblink_state()
2986 static u8 qib_6120_phys_portstate(u64 ibcs) in qib_6120_phys_portstate() argument
[all …]
Dqib_iba7220.c1168 u64 ibcs; in handle_7220_errors() local
1170 ibcs = qib_read_kreg64(dd, kr_ibcstatus); in handle_7220_errors()
1172 handle_7220_chase(ppd, ibcs); in handle_7220_errors()
1176 ((ibcs >> IBA7220_LINKWIDTH_SHIFT) & 1) ? in handle_7220_errors()
1179 ((ibcs >> IBA7220_LINKSPEED_SHIFT) & 1) ? in handle_7220_errors()
1189 if (qib_7220_phys_portstate(ibcs) != in handle_7220_errors()
1191 qib_handle_e_ibstatuschanged(ppd, ibcs); in handle_7220_errors()
3577 static u32 qib_7220_iblink_state(u64 ibcs) in qib_7220_iblink_state() argument
3579 u32 state = (u32)SYM_FIELD(ibcs, IBCStatus, LinkState); in qib_7220_iblink_state()
3602 static u8 qib_7220_phys_portstate(u64 ibcs) in qib_7220_phys_portstate() argument
[all …]
Dqib_iba7322.c1932 u64 ibcs; in handle_7322_p_errors() local
1935 ibcs = qib_read_kreg_port(ppd, krp_ibcstatus_a); in handle_7322_p_errors()
1936 ltstate = qib_7322_phys_portstate(ibcs); in handle_7322_p_errors()
1939 handle_serdes_issues(ppd, ibcs); in handle_7322_p_errors()
1955 (ibcs & SYM_MASK(IBCStatusA_0, LinkWidthActive)) ? in handle_7322_p_errors()
1957 ppd->link_speed_active = (ibcs & SYM_MASK(IBCStatusA_0, in handle_7322_p_errors()
1958 LinkSpeedQDR)) ? QIB_IB_QDR : (ibcs & in handle_7322_p_errors()
1979 qib_handle_e_ibstatuschanged(ppd, ibcs); in handle_7322_p_errors()
5476 static u32 qib_7322_iblink_state(u64 ibcs) in qib_7322_iblink_state() argument
5478 u32 state = (u32)SYM_FIELD(ibcs, IBCStatusA_0, LinkState); in qib_7322_iblink_state()
[all …]