Home
last modified time | relevance | path

Searched full:fcs (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c12 * bfa_fcs.c BFA FCS main
20 BFA_TRC_FILE(FCS, FCS);
23 * fcs_api BFA FCS API
29 struct bfa_fcs_s *fcs = fcs_cbarg; in bfa_fcs_exit_comp() local
30 struct bfad_s *bfad = fcs->bfad; in bfa_fcs_exit_comp()
36 * fcs initialization, called once after bfa initialization is complete
39 bfa_fcs_init(struct bfa_fcs_s *fcs) in bfa_fcs_init() argument
41 bfa_sm_send_event(&fcs->fabric, BFA_FCS_FABRIC_SM_CREATE); in bfa_fcs_init()
42 bfa_trc(fcs, 0); in bfa_fcs_init()
46 * fcs_api BFA FCS API
[all …]
H A Dbfa_fcs_fcpim.c21 BFA_TRC_FILE(FCS, FCPIM);
84 * fcs_itnim_sm FCS itnim state machine
91 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline()
92 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
114 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
123 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send()
124 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
133 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
139 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
145 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
[all …]
/linux/drivers/usb/serial/
H A Dsafe_serial.c166 #define CRC10_INITFCS 0x000 /* Initial FCS value */
167 #define CRC10_GOODFCS 0x000 /* Good final FCS value */
168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) argument
174 * @fcs: starting FCS
176 * Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return
177 * new 10 bit FCS.
179 static inline __u16 fcs_compute10(unsigned char *sp, int len, __u16 fcs) in fcs_compute10() argument
181 for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++)); in fcs_compute10()
182 return fcs; in fcs_compute10()
191 __u16 fcs; in safe_process_read_urb() local
[all …]
/linux/Documentation/devicetree/bindings/regulator/
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>;
/linux/drivers/net/ppp/
H A Dppp_async.c526 int fcs, i, count, c, proto; in ppp_async_encode() local
537 fcs = ap->tfcs; in ppp_async_encode()
559 fcs = PPP_INITFCS; in ppp_async_encode()
566 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
568 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
573 * Once we put in the last byte, we need to put in the FCS in ppp_async_encode()
582 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
592 ap->tfcs = fcs; in ppp_async_encode()
597 * We have finished the packet. Add the FCS and flag. in ppp_async_encode()
599 fcs = ~fcs; in ppp_async_encode()
[all …]
/linux/Documentation/devicetree/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";
/linux/net/dsa/
H A Dtag_ksz.c103 * For Ingress (Host -> KSZ8795), 1 byte is added before FCS.
105 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag(1byte)|FCS(4bytes)
109 * For Egress (KSZ8795 -> Host), 1 byte is added before FCS.
111 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|FCS(4bytes)
166 * For Ingress (Host -> KSZ9477), 2/6 bytes are added before FCS.
169 * FCS(4bytes)
175 * For Egress (KSZ9477 -> Host), 1/5 bytes is added before FCS.
177 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|ts(4bytes)|tag0(1byte)|FCS(4bytes)
397 /* For xmit, 2/6 bytes are added before FCS.
400 * FCS(4bytes)
[all …]
H A Dtag_brcm.c18 #define BRCM_LEGACY_FCS_NAME "brcm-legacy-fcs"
98 * least 64 bytes (including FCS) otherwise they will be discarded when in brcm_tag_xmit_ll()
101 * (including FCS and tag) because the length verification is done after in brcm_tag_xmit_ll()
263 * least 64 bytes (including FCS) otherwise they will be discarded when in brcm_leg_tag_xmit()
266 * (including FCS and tag) because the length verification is done after in brcm_leg_tag_xmit()
315 * least 64 bytes (including FCS) otherwise they will be discarded when in brcm_leg_fcs_tag_xmit()
317 * need to make sure that packets are at least 70 bytes (including FCS in brcm_leg_fcs_tag_xmit()
345 /* Original FCS value */ in brcm_leg_fcs_tag_xmit()
/linux/include/uapi/linux/
H A Dif_fddi.h33 * 4 byte FCS/CRC (frame check sequence).
39 FCS */
41 FCS */
44 #define FDDI_K_LLC_ZLEN 13 /* Min octets in LLC frame sans FCS */
45 #define FDDI_K_LLC_LEN 4491 /* Max octets in LLC frame sans FCS */
H A Dppp_defs.h20 #define PPP_FCSLEN 2 /* octets for FCS */
64 * Values for FCS calculations.
67 #define PPP_INITFCS 0xffff /* Initial FCS value */
68 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */
H A Datmbr2684.h23 * Is there FCS inbound on this VC? This currently isn't supported.
30 * Is there FCS outbound on this VC? This currently isn't supported.
87 int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */
H A Dif_ether.h29 * and FCS/CRC (frame check sequence).
35 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
37 #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */
38 #define ETH_FCS_LEN 4 /* Octets in the FCS */
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h97 * they would appear as JAM bits which would appear as bad FCS
109 * RGM 3 = max frame error (pkt len > max frame len) (with FCS
121 * RGM 6 = min frame error (pkt len < min frame len) (with FCS
125 /* RGM 7 = FCS error */
150 /* RGM+SPI 16 = FCS error */
166 * bad FCS or carrier extend error which is
220 /* Number of packets with FCS or Align opcode errors */
224 /* Number of packets with length < min and FCS error */
228 /* Number of packets with length > max and FCS error */
420 status->fcs_align_err_packets = stat7.s.fcs; in cvmx_pip_get_port_status()
H A Dcvmx-wqe.h333 * than allowed and had an FCS error.
338 * and had an FCS error (100M and 10M only).
340 * than allowed and had an FCS error.
341 * - 7 = GMX FCS error: the RGMII packet had an FCS
362 * - 16 = FCS error: a SPI4.2 packet had an FCS error.
/linux/net/caif/
H A Dcffrml.c24 bool dofcs; /* !< FCS active */
76 /* FIXME: FCS should be moved to glue in order to use OS-Specific in cffrml_checksum()
94 /* Subtract for FCS on length if FCS is not used. */ in cffrml_receive()
105 * Don't do extract if FCS is false, rather do setlen - then we don't in cffrml_receive()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac.h219 u64 rx_fcs_err; /* packets with bad FCS. */
221 u64 rx_byte_cnt; /* good bytes count (without FCS) */
234 u64 rx_bcast_byte_cnt; /* broadcast packets byte count (without FCS) */
235 u64 rx_mcast_byte_cnt; /* multicast packets byte count (without FCS) */
248 u64 tx_byte_cnt; /* good bytes count (without FCS) */
264 u64 tx_bcast_byte; /* broadcast packets byte count (without FCS) */
265 u64 tx_mcast_byte; /* multicast packets byte count (without FCS) */
/linux/drivers/net/ethernet/atheros/alx/
H A Dhw.h213 * 7 | Packet length (include FCS)
227 * 21 FCS(CRC) error
399 u64 rx_fcs_err; /* RX packets with bad FCS */
401 u64 rx_byte_cnt; /* good bytes received. FCS is NOT included */
402 u64 rx_runt; /* RX packets < 64 bytes with good FCS */
403 u64 rx_frag; /* RX packets < 64 bytes with bad FCS */
415 u64 rx_bc_byte_cnt; /* RX broadcast bytes, excluding FCS */
416 u64 rx_mc_byte_cnt; /* RX multicast bytes, excluding FCS */
427 u64 tx_byte_cnt; /* bytes transmitted, FCS is NOT included */
447 u64 tx_bc_byte_cnt; /* broadcast bytes transmitted, excluding FCS */
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dfcs,fusb302.yaml4 $id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml#
14 const: fcs,fusb302
49 compatible = "fcs,fusb302";
/linux/drivers/net/usb/
H A Dzaurus.c60 u32 fcs; in zaurus_tx_fixup() local
62 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup()
63 fcs = ~fcs; in zaurus_tx_fixup()
65 skb_put_u8(skb, fcs & 0xff); in zaurus_tx_fixup()
66 skb_put_u8(skb, (fcs >> 8) & 0xff); in zaurus_tx_fixup()
67 skb_put_u8(skb, (fcs >> 16) & 0xff); in zaurus_tx_fixup()
68 skb_put_u8(skb, (fcs >> 24) & 0xff); in zaurus_tx_fixup()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h253 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
255 …unsigned long rx_byte_cnt; /* The number of bytes of good packet received. FCS is NOT included.…
256 …unt; /* The number of packets received that are less than 64 byte long and with good FCS. */
257 …frag; /* The number of packets received that are less than 64 byte long and with bad FCS. */
269 unsigned long rx_bcast_byte_cnt; /* The byte count of broadcast packet received, excluding FCS. */
270 unsigned long rx_mcast_byte_cnt; /* The byte count of multicast packet received, excluding FCS. */
281 unsigned long tx_byte_cnt; /* The number of bytes of data transmitted. FCS is NOT included. */
297 unsigned long tx_bcast_byte; /* The byte count of broadcast packet transmitted, excluding FCS. */
298 unsigned long tx_mcast_byte; /* The byte count of multicast packet transmitted, excluding FCS. */
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h304 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
306 unsigned long rx_byte_cnt; /* The number of bytes of good packet received. FCS is NOT included. */
307 …g rx_runt; /* The number of packets received that are less than 64 byte long and with good FCS. */
308 …ng rx_frag; /* The number of packets received that are less than 64 byte long and with bad FCS. */
320 unsigned long rx_bcast_byte_cnt; /* The byte count of broadcast packet received, excluding FCS. */
321 unsigned long rx_mcast_byte_cnt; /* The byte count of multicast packet received, excluding FCS. */
332 unsigned long tx_byte_cnt; /* The number of bytes of data transmitted. FCS is NOT included. */
348 unsigned long tx_bcast_byte; /* The byte count of broadcast packet transmitted, excluding FCS. */
349 unsigned long tx_mcast_byte; /* The byte count of multicast packet transmitted, excluding FCS. */
/linux/include/linux/
H A Dppp_defs.h13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-interrupt-decodes.c82 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
104 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
127 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
149 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
171 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
194 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
223 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */ in __cvmx_interrupt_gmxx_rxx_int_en_enable()
/linux/drivers/net/ethernet/atheros/atlx/
H A Datl1.h316 u32 rx_fcs_err; /* RX packets with bad FCS */
318 u32 rx_byte_cnt; /* good bytes received. FCS is NOT included */
319 u32 rx_runt; /* RX packets < 64 bytes with good FCS */
320 u32 rx_frag; /* RX packets < 64 bytes with bad FCS */
332 u32 rx_bcast_byte_cnt; /* RX broadcast bytes, excluding FCS */
333 u32 rx_mcast_byte_cnt; /* RX multicast bytes, excluding FCS */
344 u32 tx_byte_cnt; /* bytes transmitted, FCS is NOT included */
362 u32 tx_bcast_byte; /* broadcast bytes transmitted, excluding FCS */
363 u32 tx_mcast_byte; /* multicast bytes transmitted, excluding FCS */
/linux/arch/x86/um/
H A Dptrace.c89 membuf_store(&to, fxsave->fcs | ((unsigned long)fxsave->fop << 16)); in _um_i387_from_fxsr()
134 fxsave->fop = (unsigned short)((from->fcs & 0xffff0000ul) >> 16); in um_fxsr_from_i387()
135 fxsave->fcs = (from->fcs & 0xffff); in um_fxsr_from_i387()

12345678910>>...15