Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/kernel/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_rport.c20 BFA_TRC_FILE(FCS, RPORT);
173 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit()
174 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit()
175 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
201 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
212 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending()
213 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending()
214 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending()
223 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
229 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
[all …]
H A Dbfa_fcs_fcpim.c20 BFA_TRC_FILE(FCS, FCPIM);
67 * fcs_itnim_sm FCS itnim state machine
74 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline()
75 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
97 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
106 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send()
107 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
116 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
122 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
128 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
[all …]
H A Dbfa_fcs_lport.c17 BFA_TRC_FILE(FCS, PORT);
107 * fcs_port_sm FCS logical port state machine
137 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
138 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
146 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
154 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
155 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
180 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
192 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
193 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
[all …]
H A Dbfa_fcs.h145 struct bfa_fcs_s *fcs; /* FCS instance */ member
154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
178 struct bfa_fcs_s *fcs; /* FCS instance */ member
279 * bfa fcs port public functions
283 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
289 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
303 /* MS FCS routines */
309 /* FDMI FCS routines */
315 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
365 * bfa fcs vport public functions
[all …]
H A Dbfa_defs_fcs.h72 * Roles of FCS port:
73 * - FCP IM and FCP TM roles cannot be enabled together for a FCS port
83 * FCS port configuration.
90 enum bfa_lport_role roles; /* FCS port roles */
98 * FCS port states
108 * FCS port type.
116 * FCS port offline reason.
128 * FCS lport info.
150 * FCS port statistics
318 * FCS remote port states
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_async.c532 int fcs, i, count, c, proto; in ppp_async_encode() local
543 fcs = ap->tfcs; in ppp_async_encode()
565 fcs = PPP_INITFCS; in ppp_async_encode()
572 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
574 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
579 * Once we put in the last byte, we need to put in the FCS in ppp_async_encode()
588 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
598 ap->tfcs = fcs; in ppp_async_encode()
603 * We have finished the packet. Add the FCS and flag. in ppp_async_encode()
605 fcs = ~fcs; in ppp_async_encode()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/neterion/vxge/
H A Dvxge-traffic.h489 * with frame-too-long, FCS, or length errors. This stat can be
493 * frames received with frame-too-long, FCS, or length errors.
506 * FCS, or length errors.
512 * with frame-too-long, FCS, or length errors.
515 * with frame-too-long, FCS, or length errors.
522 * non-unicast frames that contain FCS errors if the MAC_ERROR_CFG
523 * register is set to pass FCS-errored frames to the host.
527 * @rx_usized_frms: Count of received frames of length (including FCS, but not
530 * @rx_osized_frms: Count of received frames of length (including FCS, but not
535 * @rx_frag_frms: Count of received frames of length (including FCS, but not
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dfan53555.txt4 - compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827" or
9 - fcs,suspend-voltage-selector: declare which of the two available
18 compatible = "fcs,fan53555";
23 fcs,suspend-voltage-selector = <1>;
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A Dphy_misc.c35 PLTFM_MSG_ERR("[HM][H2C][FCS] ret = %d\n", MACNOBUF); in mac_fast_ch_sw()
71 PLTFM_MSG_ERR("[HM][H2C][FCS] error when set hdr\n"); in mac_fast_ch_sw()
78 PLTFM_MSG_ERR("[HM][H2C][FCS] error when build txd\n"); in mac_fast_ch_sw()
91 PLTFM_MSG_ERR("[HM][H2C][FCS] error when h2cb free\n"); in mac_fast_ch_sw()
97 PLTFM_MSG_ERR("[HM][H2C][FCS] error when h2c_end_flow\n"); in mac_fast_ch_sw()
100 PLTFM_MSG_TRACE("[HM][H2C][FCS] ret = %d\n", ret); in mac_fast_ch_sw()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/
H A Dphy_misc.c35 PLTFM_MSG_ERR("[HM][H2C][FCS] ret = %d\n", MACNOBUF); in mac_fast_ch_sw()
71 PLTFM_MSG_ERR("[HM][H2C][FCS] error when set hdr\n"); in mac_fast_ch_sw()
78 PLTFM_MSG_ERR("[HM][H2C][FCS] error when build txd\n"); in mac_fast_ch_sw()
91 PLTFM_MSG_ERR("[HM][H2C][FCS] error when h2cb free\n"); in mac_fast_ch_sw()
97 PLTFM_MSG_ERR("[HM][H2C][FCS] error when h2c_end_flow\n"); in mac_fast_ch_sw()
100 PLTFM_MSG_TRACE("[HM][H2C][FCS] ret = %d\n", ret); in mac_fast_ch_sw()
/OK3568_Linux_fs/kernel/net/dsa/
H A Dtag_ksz.c34 * For Ingress (Host -> KSZ8795), 1 byte is added before FCS.
36 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag(1byte)|FCS(4bytes)
40 * For Egress (KSZ8795 -> Host), 1 byte is added before FCS.
42 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|FCS(4bytes)
89 * For Ingress (Host -> KSZ9477), 2 bytes are added before FCS.
91 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|tag1(1byte)|FCS(4bytes)
96 * For Egress (KSZ9477 -> Host), 1 byte is added before FCS.
98 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|FCS(4bytes)
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dn_gsm.c75 /* SOF, ADDR, CTRL, LEN1, LEN2, ..., FCS, EOF */
222 u8 fcs; member
372 * gsm_fcs_add - update FCS
373 * @fcs: Current FCS
376 * Update the FCS to include c. Uses the algorithm in the specification
380 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument
382 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add()
386 * gsm_fcs_add_block - update FCS for a block
387 * @fcs: Current FCS
391 * Update the FCS to include c. Uses the algorithm in the specification
[all …]
/OK3568_Linux_fs/kernel/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 */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/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 */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/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 */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/extcon/
H A Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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) */
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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. */
/OK3568_Linux_fs/kernel/arch/x86/kernel/fpu/
H A Dregset.c243 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr()
252 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in convert_from_fxsr()
272 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr()
279 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()

12345678910>>...28