Home
last modified time | relevance | path

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

12345678910>>...29

/kernel/linux/linux-5.10/drivers/scsi/bfa/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/kernel/linux/linux-4.19/drivers/scsi/bfa/
Dbfa_fcs.c20 * bfa_fcs.c BFA FCS main
28 BFA_TRC_FILE(FCS, FCS);
31 * fcs_api BFA FCS API
37 struct bfa_fcs_s *fcs = fcs_cbarg; in bfa_fcs_exit_comp() local
38 struct bfad_s *bfad = fcs->bfad; in bfa_fcs_exit_comp()
44 * fcs initialization, called once after bfa initialization is complete
47 bfa_fcs_init(struct bfa_fcs_s *fcs) in bfa_fcs_init() argument
49 bfa_sm_send_event(&fcs->fabric, BFA_FCS_FABRIC_SM_CREATE); in bfa_fcs_init()
50 bfa_trc(fcs, 0); in bfa_fcs_init()
54 * fcs_api BFA FCS API
[all …]
Dbfa_fcs_rport.c28 BFA_TRC_FILE(FCS, RPORT);
181 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit()
182 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit()
183 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
209 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
220 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending()
221 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending()
222 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending()
231 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
237 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
[all …]
Dbfa_fcs_fcpim.c28 BFA_TRC_FILE(FCS, FCPIM);
75 * fcs_itnim_sm FCS itnim state machine
82 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline()
83 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
105 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
114 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send()
115 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
124 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
130 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
136 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
[all …]
Dbfa_fcs_lport.c25 BFA_TRC_FILE(FCS, PORT);
115 * fcs_port_sm FCS logical port state machine
145 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
146 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
154 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
162 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
163 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
188 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
200 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
201 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
[all …]
Dbfa_fcs.h153 struct bfa_fcs_s *fcs; /* FCS instance */ member
162 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
186 struct bfa_fcs_s *fcs; /* FCS instance */ member
287 * bfa fcs port public functions
291 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
297 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
311 /* MS FCS routines */
317 /* FDMI FCS routines */
323 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
373 * bfa fcs vport public functions
[all …]
Dbfa_defs_fcs.h80 * Roles of FCS port:
81 * - FCP IM and FCP TM roles cannot be enabled together for a FCS port
91 * FCS port configuration.
98 enum bfa_lport_role roles; /* FCS port roles */
106 * FCS port states
116 * FCS port type.
124 * FCS port offline reason.
136 * FCS lport info.
158 * FCS port statistics
326 * FCS remote port states
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
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 …]
/kernel/linux/linux-4.19/drivers/usb/serial/
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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/
Dfcs,fusb302.txt4 - compatible : "fcs,fusb302"
9 - fcs,operating-sink-microwatt :
16 compatible = "fcs,fusb302";
20 fcs,max-sink-microvolt = <12000000>;
21 fcs,max-sink-microamp = <3000000>;
22 fcs,max-sink-microwatt = <36000000>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
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>;
/kernel/linux/linux-4.19/drivers/net/ppp/
Dppp_async.c535 int fcs, i, count, c, proto; in ppp_async_encode() local
546 fcs = ap->tfcs; in ppp_async_encode()
568 fcs = PPP_INITFCS; in ppp_async_encode()
575 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
577 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
582 * Once we put in the last byte, we need to put in the FCS in ppp_async_encode()
591 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
601 ap->tfcs = fcs; in ppp_async_encode()
606 * We have finished the packet. Add the FCS and flag. in ppp_async_encode()
608 fcs = ~fcs; in ppp_async_encode()
[all …]
/kernel/linux/linux-5.10/drivers/net/ppp/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/neterion/vxge/
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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dfan53555.txt4 - compatible: one of "fcs,fan53555", "silergy,syr827", "silergy,syr828"
8 - fcs,suspend-voltage-selector: declare which of the two available
17 compatible = "fcs,fan53555";
22 fcs,suspend-voltage-selector = <1>;
/kernel/linux/linux-4.19/drivers/isdn/gigaset/
Dasyncdata.c133 * When a frame is complete, check the FCS and pass valid frames to the LL.
143 __u16 fcs = bcs->rx_fcs; in hdlc_loop() local
208 /* frame too short for FCS */ in hdlc_loop()
214 } else if (fcs != PPP_GOODFCS) { in hdlc_loop()
242 fcs = PPP_INITFCS; in hdlc_loop()
268 fcs = crc_ccitt_byte(fcs, c); in hdlc_loop()
274 bcs->rx_fcs = fcs; in hdlc_loop()
450 * Encode a data packet into an octet stuffed HDLC frame with FCS,
461 __u16 fcs; in HDLC_Encode() local
468 fcs = PPP_INITFCS; in HDLC_Encode()
[all …]
/kernel/linux/linux-5.10/net/dsa/
Dtag_ksz.c33 * For Ingress (Host -> KSZ8795), 1 byte is added before FCS.
35 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag(1byte)|FCS(4bytes)
39 * For Egress (KSZ8795 -> Host), 1 byte is added before FCS.
41 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|FCS(4bytes)
88 * For Ingress (Host -> KSZ9477), 2 bytes are added before FCS.
90 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|tag1(1byte)|FCS(4bytes)
95 * For Egress (KSZ9477 -> Host), 1 byte is added before FCS.
97 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag0(1byte)|FCS(4bytes)
/kernel/linux/linux-4.19/include/uapi/linux/
Dif_fddi.h32 * 4 byte FCS/CRC (frame check sequence).
38 FCS */
40 FCS */
43 #define FDDI_K_LLC_ZLEN 13 /* Min octets in LLC frame sans FCS */
44 #define FDDI_K_LLC_LEN 4491 /* Max octets in LLC frame sans FCS */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/extcon/
Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";

12345678910>>...29