Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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()
130 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *pos++) & 0xff]; in HdlcFcsBuf()
137 return (fcs); in HdlcFcsBuf()
146 u_short fcs; in hdlc_LayerPush() local
150 fcs = ~fcs; in hdlc_LayerPush()
165 *cp++ = fcs >> 8; in hdlc_LayerPush()
305 u_short fcs; in hdlc_LayerPull() local
320 p->link.name, fcs, (fcs == GOODFCS) ? "good" : "BAD!"); in hdlc_LayerPull()
[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-14.2/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>;
H A Dfcs,fan53555.yaml4 $id: http://devicetree.org/schemas/regulator/fcs,fan53555.yaml#
19 - fcs,fan53555
20 - fcs,fan53526
36 fcs,suspend-voltage-selector:
64 compatible = "fcs,fan53555";
70 fcs,suspend-voltage-selector = <1>;
/freebsd-14.2/sys/netgraph/
H A Dng_pred1.c385 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()
523 fcs = Crc16(fcs, priv->inbuf + inlen - 2, 2); 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-14.2/sys/contrib/device-tree/Bindings/extcon/
H A Dfcs,fsa880.yaml4 $id: http://devicetree.org/schemas/extcon/fcs,fsa880.yaml#
21 - fcs,fsa880
22 - fcs,fsa9480
47 compatible = "fcs,fsa880";
H A Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";
/freebsd-14.2/sys/contrib/device-tree/Bindings/gpio/
H A Dfcs,fxl6408.yaml4 $id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml#
15 - fcs,fxl6408
49 compatible = "fcs,fxl6408";
/freebsd-14.2/sys/net/
H A Dppp_defs.h81 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
/freebsd-14.2/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()
1818 if (crc_check == fcs) { 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()
2108 fcs, crc_check); in ieee802_15_4_std_frames()
2211 uint32_t fcs, crc_check; in ieee802_15_4_mp_frame() local
2224 fcs = 0; in ieee802_15_4_mp_frame()
2230 if (crc_check == fcs) { in ieee802_15_4_mp_frame()
2428 if (crc_check == fcs) { in ieee802_15_4_mp_frame()
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/usb/
H A Dfcs,fusb302.yaml4 $id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml#
14 const: fcs,fusb302
49 compatible = "fcs,fusb302";
H A Dfcs,fsa4480.yaml4 $id: http://devicetree.org/schemas/usb/fcs,fsa4480.yaml#
15 - fcs,fsa4480
55 compatible = "fcs,fsa4480";
H A Dfcs,fusb302.txt4 - compatible : "fcs,fusb302"
18 compatible = "fcs,fusb302";
/freebsd-14.2/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-14.2/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-14.2/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-14.2/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
H A Drk3588-rock-5b.dts80 fcs,suspend-voltage-selector = <1>;
97 fcs,suspend-voltage-selector = <1>;
H A Drk3399-puma.dtsi328 compatible = "fcs,fan53555";
330 fcs,suspend-voltage-selector = <1>;
362 compatible = "fcs,fan53555";
369 fcs,suspend-voltage-selector = <1>;
/freebsd-14.2/sys/contrib/device-tree/src/arm/
H A Drk3288-evb-act8846.dts36 fcs,suspend-voltage-selector = <1>;
48 fcs,suspend-voltage-selector = <1>;
H A Daspeed-bmc-facebook-bletchley.dts391 compatible = "fcs,fusb302";
477 compatible = "fcs,fusb302";
563 compatible = "fcs,fusb302";
649 compatible = "fcs,fusb302";
735 compatible = "fcs,fusb302";
821 compatible = "fcs,fusb302";
H A Drk3288-rock2-som.dtsi187 fcs,suspend-voltage-selector = <1>;
201 fcs,suspend-voltage-selector = <1>;
/freebsd-14.2/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-14.2/sys/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-gxm-s912-libretech-pc.dts46 compatible = "fcs,fusb302";

1234