Home
last modified time | relevance | path

Searched refs:fcs (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd/usr.sbin/ppp/
H A Dhdlc.c112 u_short fcs = INITFCS; in hdlc_Fcs() local
115 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff]; in hdlc_Fcs()
117 return fcs; in hdlc_Fcs()
121 HdlcFcsBuf(u_short fcs, struct mbuf *m) in HdlcFcsBuf() argument
130 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *pos++) & 0xff]; in HdlcFcsBuf()
137 return (fcs); in HdlcFcsBuf()
146 u_short fcs; in hdlc_LayerPush() local
149 fcs = HdlcFcsBuf(INITFCS, bp); in hdlc_LayerPush()
150 fcs = ~fcs; in hdlc_LayerPush()
164 *cp++ = fcs & 0377; /* Low byte first (nothing like consistency) */ in hdlc_LayerPush()
[all …]
H A Dpred.c182 u_short fcs; in Pred1Output() local
193 fcs = hdlc_Fcs(bufp, 2 + orglen); in Pred1Output()
194 fcs = ~fcs; in Pred1Output()
209 *wp++ = fcs & 0377; in Pred1Output()
210 *wp++ = fcs >> 8; in Pred1Output()
224 u_short fcs; in Pred1Input() local
262 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp); in Pred1Input()
263 if (fcs == GOODFCS) { in Pred1Input()
281 " olen = 0x%x\n", fcs, pre, len, olen); in Pred1Input()
/freebsd/sys/netgraph/
H A Dng_pred1.c102 static uint16_t Crc16(uint16_t fcs, u_char *cp, int len);
385 uint16_t fcs, lenn; in ng_pred1_compress() local
416 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_compress()
417 fcs = Crc16(fcs, priv->inbuf + 2, inlen); in ng_pred1_compress()
418 fcs = ~fcs; in ng_pred1_compress()
438 (out + outlen)[0] = fcs & 0xFF; in ng_pred1_compress()
439 (out + outlen)[1] = fcs >> 8; in ng_pred1_compress()
468 uint16_t fcs; in ng_pred1_decompress() local
521 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_decompress()
522 fcs = Crc16(fcs, priv->outbuf, len); in ng_pred1_decompress()
[all …]
H A Dng_async.c78 u_int16_t fcs; /* Decoded async FCS (so far) */ member
382 nga_async_add(const sc_p sc, u_int16_t *fcs, u_int32_t accm, int *len, u_char x) in nga_async_add() argument
384 *fcs = PPP_FCS(*fcs, x); in nga_async_add()
403 u_int16_t fcs, fcs0; in nga_rcv_sync() local
407 #define ADD_BYTE(x) nga_async_add(sc, &fcs, accm, &alen, (x)) in nga_rcv_sync()
448 fcs = PPP_INITFCS; in nga_rcv_sync()
468 fcs0 = fcs; in nga_rcv_sync()
519 if (sc->fcs != PPP_GOODFCS) { in nga_rcv_async()
551 sc->fcs = PPP_INITFCS; in nga_rcv_async()
578 sc->fcs = PPP_FCS(sc->fcs, ch); in nga_rcv_async()
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dfan53555.txt4 - compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827",
9 - fcs,suspend-voltage-selector: declare which of the two available
18 compatible = "fcs,fan53555";
23 fcs,suspend-voltage-selector = <1>;
/freebsd/contrib/tcpdump/
H A Dprint-802_15_4.c1803 uint32_t fcs, crc_check; in ieee802_15_4_std_frames() local
1813 fcs = 0; in ieee802_15_4_std_frames()
1816 fcs = GET_LE_U_4(p + caplen - 4); in ieee802_15_4_std_frames()
1818 if (crc_check == fcs) { in ieee802_15_4_std_frames()
1823 fcs = GET_LE_U_2(p + caplen - 2); in ieee802_15_4_std_frames()
1825 if (crc_check == fcs) { in ieee802_15_4_std_frames()
2104 if (crc_check == fcs) { in ieee802_15_4_std_frames()
2105 ND_PRINT("FCS %x ", fcs); in ieee802_15_4_std_frames()
2108 fcs, crc_check); in ieee802_15_4_std_frames()
2211 uint32_t fcs, crc_check; in ieee802_15_4_mp_frame() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/extcon/
H A Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";
/freebsd/sys/net/
H A Dppp_defs.h81 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
/freebsd/contrib/file/magic/Magdir/
H A Dfcs3 # $File: fcs,v 1.4 2009/09/19 16:28:09 christos Exp $
4 # fcs: file(1) magic for FCS (Flow Cytometry Standard) data files
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dfcs,fusb302.txt4 - compatible : "fcs,fusb302"
18 compatible = "fcs,fusb302";
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3566-powkiddy-rgb10max3.dts53 compatible = "fcs,fan53555";
55 fcs,suspend-voltage-selector = <1>;
H A Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
H A Drk3399-puma.dtsi368 compatible = "fcs,fan53555";
370 fcs,suspend-voltage-selector = <1>;
421 compatible = "fcs,fan53555";
428 fcs,suspend-voltage-selector = <1>;
H A Drk3588-firefly-core-3588j.dtsi56 fcs,suspend-voltage-selector = <1>;
73 fcs,suspend-voltage-selector = <1>;
96 fcs,suspend-voltage-selector = <1>;
H A Drk3588-firefly-icore-3588q.dtsi56 fcs,suspend-voltage-selector = <1>;
73 fcs,suspend-voltage-selector = <1>;
96 fcs,suspend-voltage-selector = <1>;
H A Drk3566-powkiddy-rk2023.dts44 fcs,suspend-voltage-selector = <1>;
H A Drk3566-powkiddy-rgb30.dts45 fcs,suspend-voltage-selector = <1>;
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mq-nitrogen-som.dtsi100 compatible = "fcs,fan53555";
115 compatible = "fcs,fan53555";
130 compatible = "fcs,fan53555";
/freebsd/sys/i386/linux/
H A Dlinux_ptrace_machdep.c163 l_long fcs; member
176 linux_r->fcs = bsd_r->fpr_env[4]; in map_fpregs_to_linux()
189 bsd_r->fpr_env[4] = linux_r->fcs; in map_fpregs_from_linux()
201 l_long fcs; member
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-evb-act8846.dts36 fcs,suspend-voltage-selector = <1>;
48 fcs,suspend-voltage-selector = <1>;
H A Drk3288-rock2-som.dtsi187 fcs,suspend-voltage-selector = <1>;
201 fcs,suspend-voltage-selector = <1>;
H A Drk3288-firefly-reload-core.dtsi73 fcs,suspend-voltage-selector = <1>;
87 fcs,suspend-voltage-selector = <1>;
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_counters.c528 struct mlx5_fc fcs[]; member
555 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
571 mlx5_fc_init(&bulk->fcs[i], bulk, base_id + i); in mlx5_fc_bulk_create()
608 return &bulk->fcs[free_fc_index]; in mlx5_fc_bulk_acquire_fc()
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-bletchley.dts386 compatible = "fcs,fusb302";
475 compatible = "fcs,fusb302";
564 compatible = "fcs,fusb302";
653 compatible = "fcs,fusb302";
742 compatible = "fcs,fusb302";
831 compatible = "fcs,fusb302";
/freebsd/sys/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-gxm-s912-libretech-pc.dts46 compatible = "fcs,fusb302";

123456