Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcs.c33 void (*attach) (struct bfa_fcs_s *fcs);
34 void (*modinit) (struct bfa_fcs_s *fcs);
35 void (*modexit) (struct bfa_fcs_s *fcs);
54 struct bfa_fcs_s *fcs = fcs_cbarg; in bfa_fcs_exit_comp() local
55 struct bfad_s *bfad = fcs->bfad; in bfa_fcs_exit_comp()
70 bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, in bfa_fcs_attach() argument
76 fcs->bfa = bfa; in bfa_fcs_attach()
77 fcs->bfad = bfad; in bfa_fcs_attach()
78 fcs->min_cfg = min_cfg; in bfa_fcs_attach()
79 fcs->num_rport_logins = 0; in bfa_fcs_attach()
[all …]
Dbfa_fcs_rport.c180 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit()
181 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit()
182 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
208 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
219 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending()
220 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending()
221 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending()
230 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
236 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
242 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
[all …]
Dbfa_fcs_lport.c133 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
134 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
142 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
150 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
151 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
176 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
188 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
189 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
236 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
248 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
[all …]
Dbfa_fcs_fcpim.c81 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline()
82 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
104 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
113 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send()
114 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
123 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
129 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
135 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
140 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
148 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli()
[all …]
Dbfa_fcs.h152 struct bfa_fcs_s *fcs; /* FCS instance */ member
161 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
185 struct bfa_fcs_s *fcs; /* FCS instance */ member
290 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
296 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
322 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
375 struct bfa_fcs_s *fcs, u16 vf_id,
379 struct bfa_fcs_s *fcs, u16 vf_id,
388 struct bfa_fcs_vport_s *bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs,
430 struct bfa_fcs_s *fcs; /* fcs instance */ member
[all …]
Dbfa_modules.h122 bfa_boolean_t fcs; /* FCS is attached to BFA */ member
Dbfa_svc.c91 if ((__rp)->bfa->fcs) \
100 if ((__rp)->bfa->fcs) \
1818 if (!lps->bfa->fcs) { in bfa_lps_login_comp()
1853 if (!lps->bfa->fcs) { in bfa_lps_logout_comp()
1885 if (!lps->bfa->fcs) { in bfa_lps_cvl_event()
3044 if (fcport->bfa->fcs) { in bfa_fcport_queue_cb()
5678 if (bfa->fcs) in uf_recv()
Dbfa_fcpim.c44 if ((__itnim)->bfa->fcs) \
53 if ((__itnim)->bfa->fcs) \
62 if ((__itnim)->bfa->fcs) \
Dbfa_core.c1828 bfa->fcs = BFA_FALSE; in bfa_attach()
/linux-4.4.14/drivers/usb/serial/
Dsafe_serial.c177 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) argument
188 static __u16 __inline__ fcs_compute10(unsigned char *sp, int len, __u16 fcs) in fcs_compute10() argument
190 for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++)); in fcs_compute10()
191 return fcs; in fcs_compute10()
200 __u16 fcs; in safe_process_read_urb() local
208 fcs = fcs_compute10(data, length, CRC10_INITFCS); in safe_process_read_urb()
209 if (fcs) { in safe_process_read_urb()
210 dev_err(&port->dev, "%s - bad CRC %x\n", __func__, fcs); in safe_process_read_urb()
234 __u16 fcs; in safe_prepare_write_buffer() local
256 fcs = fcs_compute10(buf, pkt_len, CRC10_INITFCS); in safe_prepare_write_buffer()
[all …]
/linux-4.4.14/net/irda/
Dwrapper.c92 } fcs; in async_wrap_skb() local
95 fcs.value = INIT_FCS; in async_wrap_skb()
143 fcs.value = irda_fcs(fcs.value, skb->data[i]); in async_wrap_skb()
147 fcs.value = ~fcs.value; in async_wrap_skb()
149 n += stuff_byte(fcs.bytes[0], tx_buff+n); in async_wrap_skb()
150 n += stuff_byte(fcs.bytes[1], tx_buff+n); in async_wrap_skb()
152 n += stuff_byte(fcs.bytes[1], tx_buff+n); in async_wrap_skb()
153 n += stuff_byte(fcs.bytes[0], tx_buff+n); in async_wrap_skb()
310 rx_buff->fcs = INIT_FCS; in async_unwrap_bof()
350 rx_buff->fcs = irda_fcs(rx_buff->fcs, in async_unwrap_eof()
[all …]
/linux-4.4.14/include/net/irda/
Dcrc.h24 #define irda_fcs(fcs, c) crc_ccitt_byte(fcs, c) argument
27 #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len) argument
Dirda_device.h182 __u16 fcs; member
/linux-4.4.14/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()
591 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
601 ap->tfcs = fcs; in ppp_async_encode()
608 fcs = ~fcs; in ppp_async_encode()
609 c = fcs & 0xff; in ppp_async_encode()
611 c = (fcs >> 8) & 0xff; in ppp_async_encode()
[all …]
/linux-4.4.14/drivers/net/irda/
Dmcs7780.c341 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); in mcs_wrap_fir_skb() local
355 buf[len - 4] = fcs & 0xff; in mcs_wrap_fir_skb()
356 buf[len - 3] = (fcs >> 8) & 0xff; in mcs_wrap_fir_skb()
357 buf[len - 2] = (fcs >> 16) & 0xff; in mcs_wrap_fir_skb()
358 buf[len - 1] = (fcs >> 24) & 0xff; in mcs_wrap_fir_skb()
366 __u16 fcs = 0; in mcs_wrap_mir_skb() local
369 fcs = ~(irda_calc_crc16(~fcs, skb->data, skb->len)); in mcs_wrap_mir_skb()
379 buf[len - 2] = fcs & 0xff; in mcs_wrap_mir_skb()
380 buf[len - 1] = (fcs >> 8) & 0xff; in mcs_wrap_mir_skb()
392 __u16 fcs; in mcs_unwrap_mir() local
[all …]
Dstir4200.c258 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); in wrap_fir_skb() local
279 ptr = stuff_fir(ptr, fcs & 0xff); in wrap_fir_skb()
280 ptr = stuff_fir(ptr, (fcs >> 8) & 0xff); in wrap_fir_skb()
281 ptr = stuff_fir(ptr, (fcs >> 16) & 0xff); in wrap_fir_skb()
282 ptr = stuff_fir(ptr, (fcs >> 24) & 0xff); in wrap_fir_skb()
320 __u32 fcs; in fir_eof() local
331 fcs = ~(crc32_le(~0, rx_buff->data, len)); in fir_eof()
332 if (fcs != get_unaligned_le32(rx_buff->data + len)) { in fir_eof()
333 pr_debug("crc error calc 0x%x len %d\n", fcs, len); in fir_eof()
Ddonauboe.c213 fcs; in toshoboe_checkfcs() local
215 fcs.value = INIT_FCS; in toshoboe_checkfcs()
218 fcs.value = irda_fcs (fcs.value, *(buf++)); in toshoboe_checkfcs()
220 return fcs.value == GOOD_FCS; in toshoboe_checkfcs()
745 fcs; in toshoboe_maketestpacket() local
753 fcs.value = INIT_FCS; in toshoboe_maketestpacket()
762 fcs.value = irda_fcs (fcs.value, i); in toshoboe_maketestpacket()
765 len += stuff_byte (fcs.bytes[0] ^ badcrc, buf + len); in toshoboe_maketestpacket()
766 len += stuff_byte (fcs.bytes[1] ^ badcrc, buf + len); in toshoboe_maketestpacket()
/linux-4.4.14/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>;
/linux-4.4.14/drivers/isdn/gigaset/
Dasyncdata.c143 __u16 fcs = bcs->rx_fcs; in hdlc_loop() local
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()
461 __u16 fcs; in HDLC_Encode() local
468 fcs = PPP_INITFCS; in HDLC_Encode()
474 fcs = crc_ccitt_byte(fcs, *cp++); in HDLC_Encode()
476 fcs ^= 0xffff; /* complement */ in HDLC_Encode()
507 c = (fcs & 0x00ff); /* least significant byte first */ in HDLC_Encode()
[all …]
Disocdata.c401 u16 fcs; in hdlc_buildframe() local
415 fcs = PPP_INITFCS; in hdlc_buildframe()
420 fcs = crc_ccitt_byte(fcs, c); in hdlc_buildframe()
425 fcs ^= 0xffff; in hdlc_buildframe()
426 ones = hdlc_bitstuff_byte(iwb, fcs & 0x00ff, ones); in hdlc_buildframe()
427 ones = hdlc_bitstuff_byte(iwb, (fcs >> 8) & 0x00ff, ones); in hdlc_buildframe()
/linux-4.4.14/drivers/net/usb/
Dzaurus.c72 u32 fcs; in zaurus_tx_fixup() local
74 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup()
75 fcs = ~fcs; in zaurus_tx_fixup()
77 *skb_put (skb, 1) = fcs & 0xff; in zaurus_tx_fixup()
78 *skb_put (skb, 1) = (fcs>> 8) & 0xff; in zaurus_tx_fixup()
79 *skb_put (skb, 1) = (fcs>>16) & 0xff; in zaurus_tx_fixup()
80 *skb_put (skb, 1) = (fcs>>24) & 0xff; in zaurus_tx_fixup()
/linux-4.4.14/include/linux/
Dppp_defs.h16 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/linux-4.4.14/drivers/tty/
Dn_gsm.c226 u8 fcs; member
383 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument
385 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add()
398 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument
401 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block()
402 return fcs; in gsm_fcs_add_block()
736 u8 *fcs = dp + msg->len; in __gsm_data_queue() local
753 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue()
756 *fcs = gsm_fcs_add_block(*fcs, msg->data, msg->len); in __gsm_data_queue()
757 *fcs = 0xFF - *fcs; in __gsm_data_queue()
[all …]
/linux-4.4.14/arch/x86/kernel/fpu/
Dregset.c223 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr()
232 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in convert_from_fxsr()
253 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr()
260 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
/linux-4.4.14/arch/x86/include/asm/fpu/
Dtypes.h16 u32 fcs; /* FPU IP Selector */ member
45 u32 fcs; /* FPU IP Selector */ member
80 u32 fcs; member
/linux-4.4.14/arch/x86/include/asm/
Duser_32.h49 long fcs; member
61 long fcs; member
Duser32.h12 u32 fcs; member
25 int fcs; member
/linux-4.4.14/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()
820 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd()
821 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
Dmegaraid_mm.h83 } __attribute__ ((packed)) fcs; member
/linux-4.4.14/drivers/isdn/hisax/
Dnetjet.c224 u_int fcs; in make_raw_data() local
231 fcs = PPP_INITFCS; in make_raw_data()
234 fcs = PPP_FCS(fcs, val); in make_raw_data()
237 fcs ^= 0xffff; in make_raw_data()
238 val = fcs & 0xff; in make_raw_data()
240 val = (fcs >> 8) & 0xff; in make_raw_data()
314 u_int fcs; in make_raw_data_56k() local
336 fcs = PPP_INITFCS; in make_raw_data_56k()
339 fcs = PPP_FCS(fcs, val); in make_raw_data_56k()
342 fcs ^= 0xffff; in make_raw_data_56k()
[all …]
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_defs.h256 u32 fcs:1; /* Frame CRC correct */ member
274 u32 fcs:1; /* Frame CRC correct */ member
289 u32 fcs:1; /* Frame CRC correct */ member
307 u32 fcs:1; /* Frame CRC correct */ member
Dvmxnet3_drv.c1162 if (!rcd->fcs) in vmxnet3_rx_error()
/linux-4.4.14/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
/linux-4.4.14/arch/s390/include/asm/
Dcss_chars.h15 u32 fcs : 1; /* bit 46 */ member
/linux-4.4.14/net/bluetooth/
Dl2cap_sock.c425 opts.fcs = chan->fcs; in l2cap_sock_getsockopt_old()
659 opts.fcs = chan->fcs; in l2cap_sock_setsockopt_old()
698 chan->fcs = opts.fcs; in l2cap_sock_setsockopt_old()
1518 chan->fcs = pchan->fcs; in l2cap_sock_init()
Dl2cap_core.c488 chan->fcs = L2CAP_FCS_CRC16; in l2cap_chan_set_defaults()
1032 if (chan->fcs == L2CAP_FCS_CRC16) in l2cap_create_sframe_pdu()
1049 if (chan->fcs == L2CAP_FCS_CRC16) { in l2cap_create_sframe_pdu()
1050 u16 fcs = crc16(0, (u8 *)skb->data, skb->len); in l2cap_create_sframe_pdu() local
1051 put_unaligned_le16(fcs, skb_put(skb, L2CAP_FCS_SIZE)); in l2cap_create_sframe_pdu()
1853 if (chan->fcs == L2CAP_FCS_CRC16) { in l2cap_streaming_send()
1854 u16 fcs = crc16(0, (u8 *) skb->data, skb->len); in l2cap_streaming_send() local
1855 put_unaligned_le16(fcs, skb_put(skb, L2CAP_FCS_SIZE)); in l2cap_streaming_send()
1902 if (chan->fcs == L2CAP_FCS_CRC16) { in l2cap_ertm_send()
1903 u16 fcs = crc16(0, (u8 *) skb->data, skb->len); in l2cap_ertm_send() local
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Dm68360_enet.h151 unsigned char fcs[CRC_WORD]; member
/linux-4.4.14/drivers/bluetooth/
Dbt3c_cs.c451 unsigned long size, addr, fcs; in bt3c_load_firmware() local
486 if (kstrtoul(b, 16, &fcs) < 0) in bt3c_load_firmware()
495 if (((tmp + fcs) & 0xff) != 0xff) { in bt3c_load_firmware()
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-evb-act8846.dts57 fcs,suspend-voltage-selector = <1>;
69 fcs,suspend-voltage-selector = <1>;
Drk3288-rock2-som.dtsi210 fcs,suspend-voltage-selector = <1>;
224 fcs,suspend-voltage-selector = <1>;
Drk3288-r89.dts153 fcs,suspend-voltage-selector = <1>;
167 fcs,suspend-voltage-selector = <1>;
Drk3288-firefly.dtsi251 fcs,suspend-voltage-selector = <1>;
265 fcs,suspend-voltage-selector = <1>;
/linux-4.4.14/net/bluetooth/rfcomm/
Dcore.c174 static inline int __check_fcs(u8 *data, int type, u8 fcs) in __check_fcs() argument
181 return rfcomm_crc_table[f ^ fcs] != 0xcf; in __check_fcs()
826 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_sabm()
840 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_ua()
854 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_disc()
874 cmd->fcs = __fcs2((u8 *) cmd); in rfcomm_queue_disc()
890 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_dm()
1708 u8 type, dlci, fcs; in rfcomm_recv_frame() local
1721 fcs = *(u8 *)skb_tail_pointer(skb); in rfcomm_recv_frame()
1723 if (__check_fcs(skb->data, type, fcs)) { in rfcomm_recv_frame()
/linux-4.4.14/net/caif/
Dcfcnfg.c463 bool fcs, int head_room) in cfcnfg_add_phy_layer() argument
496 phyinfo->use_fcs = fcs; in cfcnfg_add_phy_layer()
498 frml = cffrml_create(phyid, fcs); in cfcnfg_add_phy_layer()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h95 u32 fcs; /* RO # of Received FCS error */ member
120 u32 fcs; /* RO # of xmited FCS error count */ member
Dbcmgenet.c729 STAT_GENET_MIB_RX("rx_fcs", mib.rx.fcs),
760 STAT_GENET_MIB_TX("tx_fcs_err", mib.tx.fcs),
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.h508 u32 fcs; /* RO # of Received FCS error */ member
533 u32 fcs; /* RO # of xmited FCS error count */ member
Dbcmsysport.c220 STAT_MIB_RX("rx_fcs", mib.rx.fcs),
251 STAT_MIB_TX("tx_fcs_err", mib.tx.fcs),
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.c1226 unsigned char fcs[ETH_FCS_LEN + 1]; in bfin_mac_rx() local
1282 fcs[0] = 0; in bfin_mac_rx()
1284 fcs[i + 1] = ~skb->data[skb->len + i]; in bfin_mac_rx()
1285 skb->csum = csum_partial(fcs, ETH_FCS_LEN + 1, skb->csum); in bfin_mac_rx()
1288 fcs[i] = ~skb->data[skb->len + i]; in bfin_mac_rx()
1289 skb->csum = csum_partial(fcs, ETH_FCS_LEN, skb->csum); in bfin_mac_rx()
/linux-4.4.14/drivers/net/ethernet/amd/
Dnmclan_cs.c334 int fcs; member
1092 lp->mace_stats.fcs++; in mace_rx()
1188 pstats->fram, pstats->fcs); in pr_mace_stats()
1252 lp->linux_stats.rx_crc_errors = lp->mace_stats.fcs; in update_stats()
/linux-4.4.14/arch/powerpc/xmon/
Dxmon.c1128 #define FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
1134 unsigned short fcs; in csum() local
1141 fcs = 0xffff; in csum()
1147 fcs = FCS(fcs, v); in csum()
1149 printf("%x\n", fcs); in csum()
/linux-4.4.14/arch/x86/um/
Dsignal.c94 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user()
131 fxsave->fcs = (env[4] & 0xffff); in convert_fxsr_from_user()
/linux-4.4.14/include/net/bluetooth/
Dl2cap.h79 __u8 fcs; member
521 __u8 fcs; member
Drfcomm.h113 u8 fcs; member
Dbluetooth.h282 fcs:1, member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pip.h420 status->fcs_align_err_packets = stat7.s.fcs; in cvmx_pip_get_port_status()
Dcvmx-pip-defs.h2765 uint64_t fcs:32; member
2769 uint64_t fcs:32;
2780 uint64_t fcs:32; member
2784 uint64_t fcs:32;
3378 uint64_t fcs:32; member
3382 uint64_t fcs:32;
Dcvmx-agl-defs.h1516 uint64_t fcs:1; member
1522 uint64_t fcs:1;
Dcvmx-gmxx-defs.h5031 uint64_t fcs:1; member
5037 uint64_t fcs:1;
/linux-4.4.14/drivers/net/wireless/cw1200/
Dwsm.h1370 bool fcs; member
1382 if (arg->fcs) in wsm_set_rx_filter()
Ddebug.c134 else if (priv->rx_filter.fcs) in cw1200_status_show()
Dsta.c596 priv->rx_filter.fcs = (*total_flags & FIF_FCSFAIL) ? 1 : 0; in cw1200_configure_filter()
/linux-4.4.14/drivers/scsi/
Dmegaraid.c3472 opcode = uioc_mimd.ui.fcs.opcode; in mega_m_to_n()
3473 subopcode = uioc_mimd.ui.fcs.subopcode; in mega_m_to_n()
3492 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n()
3506 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n()
3510 uioc->xferlen = uioc_mimd.ui.fcs.length; in mega_m_to_n()
3520 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n()
Dmegaraid.h485 } __attribute__ ((packed)) fcs; member
/linux-4.4.14/arch/x86/math-emu/
Dfpu_entry.c711 S387->fcs &= ~0xf8000000; in fpregs_soft_get()
Dreg_ld_str.c1183 I387->soft.fcs &= ~0xf8000000; in fstenv()
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts220 fcs,suspend-voltage-selector = <1>;
/linux-4.4.14/Documentation/networking/
Dnetdev-features.txt156 * rx-fcs
/linux-4.4.14/net/phonet/
Dpep.c480 static u8 pipe_negotiate_fc(const u8 *fcs, unsigned int n) in pipe_negotiate_fc() argument
486 u8 fc = fcs[i]; in pipe_negotiate_fc()
/linux-4.4.14/Documentation/devicetree/bindings/
Dvendor-prefixes.txt85 fcs Fairchild Semiconductor
/linux-4.4.14/drivers/s390/cio/
Dchsc.c897 if ((rfmt == 1) && !css_general_characteristics.fcs) in chsc_determine_channel_path_desc()
/linux-4.4.14/Documentation/input/
Djoystick.txt199 fcs | Thrustmaster FCS compatible joystick