Home
last modified time | relevance | path

Searched refs:sc_stat (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_var.h116 ng_ubt_node_stat_ep sc_stat; /* statistic */ member
117 #define UBT_STAT_PCKTS_SENT(sc) (sc)->sc_stat.pckts_sent ++
118 #define UBT_STAT_BYTES_SENT(sc, n) (sc)->sc_stat.bytes_sent += (n)
119 #define UBT_STAT_PCKTS_RECV(sc) (sc)->sc_stat.pckts_recv ++
120 #define UBT_STAT_BYTES_RECV(sc, n) (sc)->sc_stat.bytes_recv += (n)
121 #define UBT_STAT_OERROR(sc) (sc)->sc_stat.oerrors ++
122 #define UBT_STAT_IERROR(sc) (sc)->sc_stat.ierrors ++
123 #define UBT_STAT_RESET(sc) bzero(&(sc)->sc_stat, sizeof((sc)->sc_stat))
H A Dng_ubt.c1890 bcopy(&sc->sc_stat, rsp->data, in ng_ubt_rcvmsg()
/freebsd/sys/dev/tpm/
H A Dtpm.c549 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { in tpm_waitfor_poll()
570 sc->sc_stat = tpm_status(sc); in tpm_waitfor_int()
571 if ((sc->sc_stat & mask) == mask) in tpm_waitfor_int()
590 sc->sc_stat = tpm_status(sc); in tpm_waitfor_int()
591 if ((sc->sc_stat & mask) == mask) { in tpm_waitfor_int()
608 sc->sc_stat = tpm_status(sc); in tpm_waitfor_int()
611 sc->sc_stat, TPM_STS_BITS); in tpm_waitfor_int()
613 if ((sc->sc_stat & mask) == mask) in tpm_waitfor_int()
699 if ((b & sc->sc_stat) == TPM_STS_VALID) { in tpm_waitfor()
706 if ((sc->sc_stat & b) != b) { in tpm_waitfor()
[all …]
H A Dtpmvar.h39 u_int32_t sc_stat; member
/freebsd/sys/dev/usb/wlan/
H A Dif_uathvar.h174 #define UATH_STAT_INC(sc, var) (sc)->sc_stat.var++
175 #define UATH_STAT_DEC(sc, var) (sc)->sc_stat.var--
194 struct uath_stat sc_stat; member
H A Dif_upgtvar.h409 #define UPGT_STAT_INC(sc, var) (sc)->sc_stat.var++
410 #define UPGT_STAT_DEC(sc, var) (sc)->sc_stat.var--
427 struct upgt_stat sc_stat; member
H A Dif_upgt.c2034 stats = &sc->sc_stat; in upgt_sysctl_node()
H A Dif_uath.c2155 stats = &sc->sc_stat; in uath_sysctl_node()