Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/scsi/bfa/
Dbfa_fcs.c29 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()
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()
54 bfa_fcs_update_cfg(struct bfa_fcs_s *fcs) in bfa_fcs_update_cfg() argument
56 struct bfa_fcs_fabric_s *fabric = &fcs->fabric; in bfa_fcs_update_cfg()
58 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; in bfa_fcs_update_cfg()
68 bfa_fcs_stop(struct bfa_fcs_s *fcs) in bfa_fcs_stop() argument
70 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); in bfa_fcs_stop()
[all …]
Dbfa_fcs_rport.c173 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()
235 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
[all …]
Dbfa_fcs_lport.c137 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()
240 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
252 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
[all …]
Dbfa_fcs_fcpim.c74 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()
133 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
141 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli()
[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
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,
315 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
368 struct bfa_fcs_s *fcs, u16 vf_id,
372 struct bfa_fcs_s *fcs, u16 vf_id,
381 struct bfa_fcs_vport_s *bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs,
423 struct bfa_fcs_s *fcs; /* fcs instance */ member
[all …]
/Linux-v5.4/drivers/usb/serial/
Dsafe_serial.c168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) argument
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
204 fcs = fcs_compute10(data, length, CRC10_INITFCS); in safe_process_read_urb()
205 if (fcs) { in safe_process_read_urb()
206 dev_err(&port->dev, "%s - bad CRC %x\n", __func__, fcs); in safe_process_read_urb()
230 __u16 fcs; in safe_prepare_write_buffer() local
252 fcs = fcs_compute10(buf, pkt_len, CRC10_INITFCS); in safe_prepare_write_buffer()
[all …]
/Linux-v5.4/drivers/net/ppp/
Dppp_async.c531 int fcs, i, count, c, proto; in ppp_async_encode() local
542 fcs = ap->tfcs; in ppp_async_encode()
564 fcs = PPP_INITFCS; in ppp_async_encode()
571 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
573 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
587 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
597 ap->tfcs = fcs; in ppp_async_encode()
604 fcs = ~fcs; in ppp_async_encode()
605 c = fcs & 0xff; in ppp_async_encode()
607 c = (fcs >> 8) & 0xff; in ppp_async_encode()
[all …]
/Linux-v5.4/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>;
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dasyncdata.c140 __u16 fcs = bcs->rx_fcs; in hdlc_loop() local
211 } else if (fcs != PPP_GOODFCS) { in hdlc_loop()
239 fcs = PPP_INITFCS; in hdlc_loop()
265 fcs = crc_ccitt_byte(fcs, c); in hdlc_loop()
271 bcs->rx_fcs = fcs; in hdlc_loop()
458 __u16 fcs; in HDLC_Encode() local
465 fcs = PPP_INITFCS; in HDLC_Encode()
471 fcs = crc_ccitt_byte(fcs, *cp++); in HDLC_Encode()
473 fcs ^= 0xffff; /* complement */ in HDLC_Encode()
504 c = (fcs & 0x00ff); /* least significant byte first */ in HDLC_Encode()
[all …]
Disocdata.c398 u16 fcs; in hdlc_buildframe() local
412 fcs = PPP_INITFCS; in hdlc_buildframe()
417 fcs = crc_ccitt_byte(fcs, c); in hdlc_buildframe()
422 fcs ^= 0xffff; in hdlc_buildframe()
423 ones = hdlc_bitstuff_byte(iwb, fcs & 0x00ff, ones); in hdlc_buildframe()
424 ones = hdlc_bitstuff_byte(iwb, (fcs >> 8) & 0x00ff, ones); in hdlc_buildframe()
/Linux-v5.4/drivers/net/usb/
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-v5.4/Documentation/devicetree/bindings/extcon/
Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";
/Linux-v5.4/include/linux/
Dppp_defs.h13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/Linux-v5.4/drivers/tty/
Dn_gsm.c213 u8 fcs; member
370 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument
372 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add()
385 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument
388 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block()
389 return fcs; in gsm_fcs_add_block()
723 u8 *fcs = dp + msg->len; in __gsm_data_queue() local
740 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue()
743 *fcs = gsm_fcs_add_block(*fcs, msg->data, msg->len); in __gsm_data_queue()
744 *fcs = 0xFF - *fcs; in __gsm_data_queue()
[all …]
/Linux-v5.4/arch/x86/kernel/fpu/
Dregset.c250 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr()
259 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in convert_from_fxsr()
279 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr()
286 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
/Linux-v5.4/arch/x86/include/asm/
Duser_32.h50 long fcs; member
62 long fcs; member
Duser32.h13 u32 fcs; member
26 int fcs; member
/Linux-v5.4/arch/x86/include/asm/fpu/
Dtypes.h17 u32 fcs; /* FPU IP Selector */ member
46 u32 fcs; /* FPU IP Selector */ member
84 u32 fcs; member
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Dfcs,fusb302.txt4 - compatible : "fcs,fusb302"
18 compatible = "fcs,fusb302";
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_mm.c256 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter()
307 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd()
308 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd()
378 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc()
379 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc()
380 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc()
413 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc()
415 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc()
819 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd()
820 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
Dmegaraid_mm.h79 } __attribute__ ((packed)) fcs; member
/Linux-v5.4/drivers/net/vmxnet3/
Dvmxnet3_defs.h266 u32 fcs:1; /* Frame CRC correct */ member
284 u32 fcs:1; /* Frame CRC correct */ member
299 u32 fcs:1; /* Frame CRC correct */ member
317 u32 fcs:1; /* Frame CRC correct */ member
/Linux-v5.4/arch/arm64/boot/dts/rockchip/
Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
/Linux-v5.4/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
/Linux-v5.4/arch/s390/include/asm/
Dcss_chars.h16 u64 fcs : 1; /* bit 46 */ member

1234