Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/scsi/bfa/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
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
280 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
286 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
312 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
365 struct bfa_fcs_s *fcs, u16 vf_id,
369 struct bfa_fcs_s *fcs, u16 vf_id,
378 struct bfa_fcs_vport_s *bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs,
420 struct bfa_fcs_s *fcs; /* fcs instance */ member
[all …]
/openbmc/linux/drivers/usb/serial/
H A 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 …]
/openbmc/libmctp/
H A Dcrc-16-ccitt.c46 uint16_t crc_16_ccitt(uint16_t fcs, const uint8_t *cp, uint32_t len) in crc_16_ccitt() argument
49 fcs = crc_16_ccitt_byte(fcs, *cp++); in crc_16_ccitt()
51 return fcs; in crc_16_ccitt()
54 uint16_t crc_16_ccitt_byte(uint16_t fcs, const uint8_t c) in crc_16_ccitt_byte() argument
56 return (fcs >> 8) ^ crc_16_ccitt_table[(fcs ^ c) & 0xff]; in crc_16_ccitt_byte()
H A Dcrc-16-ccitt.h10 uint16_t crc_16_ccitt(uint16_t fcs, const uint8_t *cp, uint32_t len);
12 uint16_t crc_16_ccitt_byte(uint16_t fcs, const uint8_t c);
H A Dserial.c154 uint16_t fcs; in mctp_binding_serial_tx() local
166 fcs = crc_16_ccitt(FCS_INIT_16, (const uint8_t *)hdr + 1, 2); in mctp_binding_serial_tx()
167 fcs = crc_16_ccitt(fcs, (const uint8_t *)mctp_pktbuf_hdr(pkt), len); in mctp_binding_serial_tx()
181 tlr->fcs_msb = fcs >> 8; in mctp_binding_serial_tx()
182 tlr->fcs_lsb = fcs & 0xff; in mctp_binding_serial_tx()
/openbmc/linux/drivers/net/ppp/
H A Dppp_async.c525 int fcs, i, count, c, proto; in ppp_async_encode() local
536 fcs = ap->tfcs; in ppp_async_encode()
558 fcs = PPP_INITFCS; in ppp_async_encode()
565 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
567 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
581 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
591 ap->tfcs = fcs; in ppp_async_encode()
598 fcs = ~fcs; in ppp_async_encode()
599 c = fcs & 0xff; in ppp_async_encode()
601 c = (fcs >> 8) & 0xff; in ppp_async_encode()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/regulator/
H A Dfan53555.txt4 - compatible: "fcs,fan53555"
8 - fcs,suspend-voltage-selector: declare which of the two available
17 compatible = "fcs,fan53555";
22 fcs,suspend-voltage-selector = <1>;
/openbmc/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()
/openbmc/linux/include/linux/
H A Dppp_defs.h13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/openbmc/linux/arch/x86/include/asm/
H A Duser_32.h50 long fcs; member
62 long fcs; member
H A Duser32.h13 u32 fcs; member
26 int fcs; member
/openbmc/linux/arch/x86/kernel/fpu/
H A Dregset.c350 env->fcs = task_pt_regs(tsk)->cs; in __convert_from_fxsr()
359 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in __convert_from_fxsr()
385 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr()
392 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_mm.c248 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter()
303 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd()
304 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd()
374 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc()
375 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc()
376 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc()
409 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc()
411 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc()
820 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd()
821 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
H A Dmegaraid_mm.h79 } __attribute__ ((packed)) fcs; member
/openbmc/linux/drivers/tty/
H A Dn_gsm.c295 u8 fcs; member
473 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument
475 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add()
488 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument
491 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block()
492 return fcs; in gsm_fcs_add_block()
1097 u8 *fcs = dp + msg->len; in __gsm_data_queue() local
1114 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue()
1117 *fcs = gsm_fcs_add_block(*fcs, msg->data, msg->len); in __gsm_data_queue()
1118 *fcs = 0xFF - *fcs; in __gsm_data_queue()
[all …]
/openbmc/linux/arch/x86/include/asm/fpu/
H A Dtypes.h17 u32 fcs; /* FPU IP Selector */ member
46 u32 fcs; /* FPU IP Selector */ member
84 u32 fcs; member
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-nitrogen-som.dtsi100 compatible = "fcs,fan53555";
115 compatible = "fcs,fan53555";
130 compatible = "fcs,fan53555";
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_defs.h298 u32 fcs:1; /* Frame CRC correct */ member
316 u32 fcs:1; /* Frame CRC correct */ member
331 u32 fcs:1; /* Frame CRC correct */ member
349 u32 fcs:1; /* Frame CRC correct */ member
/openbmc/linux/include/net/caif/
H A Dcfcnfg.h70 bool fcs, int head_room);
/openbmc/linux/arch/s390/include/asm/
H A Dcss_chars.h16 u64 fcs : 1; /* bit 46 */ member

123456