| /linux/drivers/scsi/bfa/ |
| H A D | bfa_fcs.c | 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() 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 D | bfa_fcs_fcpim.c | 91 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline() 92 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 114 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 123 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send() 124 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 133 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 139 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 145 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 150 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 158 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli() [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | safe_serial.c | 168 #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/drivers/net/ppp/ |
| H A D | ppp_async.c | 526 int fcs, i, count, c, proto; in ppp_async_encode() local 537 fcs = ap->tfcs; in ppp_async_encode() 559 fcs = PPP_INITFCS; in ppp_async_encode() 566 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode() 568 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode() 582 fcs = PPP_FCS(fcs, c); in ppp_async_encode() 592 ap->tfcs = fcs; in ppp_async_encode() 599 fcs = ~fcs; in ppp_async_encode() 600 c = fcs & 0xff; in ppp_async_encode() 602 c = (fcs >> 8) & 0xff; in ppp_async_encode() [all …]
|
| /linux/drivers/net/usb/ |
| H A D | zaurus.c | 60 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/include/linux/ |
| H A D | ppp_defs.h | 13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mm.c | 248 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 D | megaraid_mm.h | 79 } __attribute__ ((packed)) fcs; member
|
| /linux/drivers/tty/ |
| H A D | n_gsm.c | 296 u8 fcs; member 475 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument 477 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add() 490 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument 493 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block() 494 return fcs; in gsm_fcs_add_block() 1099 u8 *fcs = dp + msg->len; in __gsm_data_queue() local 1116 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue() 1119 *fcs = gsm_fcs_add_block(*fcs, msg->data, msg->len); in __gsm_data_queue() 1120 *fcs = 0xFF - *fcs; in __gsm_data_queue() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | user_32.h | 50 long fcs; member 62 long fcs; member
|
| H A D | user32.h | 13 u32 fcs; member 26 int fcs; member
|
| /linux/arch/x86/um/ |
| H A D | ptrace.c | 89 membuf_store(&to, fxsave->fcs | ((unsigned long)fxsave->fop << 16)); in _um_i387_from_fxsr() 134 fxsave->fop = (unsigned short)((from->fcs & 0xffff0000ul) >> 16); in um_fxsr_from_i387() 135 fxsave->fcs = (from->fcs & 0xffff); in um_fxsr_from_i387()
|
| /linux/arch/x86/include/asm/fpu/ |
| H A D | types.h | 19 u32 fcs; /* FPU IP Selector */ member 48 u32 fcs; /* FPU IP Selector */ member 86 u32 fcs; member
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-powkiddy-rgb10max3.dts | 53 compatible = "fcs,fan53555"; 55 fcs,suspend-voltage-selector = <1>;
|
| H A D | rk3368-evb-act8846.dts | 20 fcs,suspend-voltage-selector = <1>; 32 fcs,suspend-voltage-selector = <1>;
|
| H A D | rk3399-puma.dtsi | 368 compatible = "fcs,fan53555"; 370 fcs,suspend-voltage-selector = <1>; 421 compatible = "fcs,fan53555"; 428 fcs,suspend-voltage-selector = <1>;
|
| H A D | rk3588-firefly-core-3588j.dtsi | 56 fcs,suspend-voltage-selector = <1>; 73 fcs,suspend-voltage-selector = <1>; 96 fcs,suspend-voltage-selector = <1>;
|
| H A D | rk3588-firefly-icore-3588q.dtsi | 56 fcs,suspend-voltage-selector = <1>; 73 fcs,suspend-voltage-selector = <1>; 96 fcs,suspend-voltage-selector = <1>;
|
| H A D | rk3566-powkiddy-rk2023.dts | 44 fcs,suspend-voltage-selector = <1>;
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mq-nitrogen-som.dtsi | 100 compatible = "fcs,fan53555"; 115 compatible = "fcs,fan53555"; 130 compatible = "fcs,fan53555";
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_defs.h | 320 u32 fcs:1; /* Frame CRC correct */ member 338 u32 fcs:1; /* Frame CRC correct */ member 353 u32 fcs:1; /* Frame CRC correct */ member 371 u32 fcs:1; /* Frame CRC correct */ member
|
| /linux/include/net/caif/ |
| H A D | cfcnfg.h | 70 bool fcs, int head_room);
|
| /linux/drivers/bluetooth/ |
| H A D | bt3c_cs.c | 452 unsigned long size, addr, fcs; in bt3c_load_firmware() local 487 if (kstrtoul(b, 16, &fcs) < 0) in bt3c_load_firmware() 498 if (((tmp + fcs) & 0xff) != 0xff) { in bt3c_load_firmware()
|
| /linux/net/bluetooth/rfcomm/ |
| H A D | core.c | 172 static inline int __check_fcs(u8 *data, int type, u8 fcs) in __check_fcs() argument 179 return rfcomm_crc_table[f ^ fcs] != 0xcf; in __check_fcs() 860 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_sabm() 874 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_ua() 888 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_disc() 908 cmd->fcs = __fcs2((u8 *) cmd); in rfcomm_queue_disc() 924 cmd.fcs = __fcs2((u8 *) &cmd); in rfcomm_send_dm() 1742 u8 type, dlci, fcs; in rfcomm_recv_frame() local 1755 fcs = *(u8 *)skb_tail_pointer(skb); in rfcomm_recv_frame() 1757 if (__check_fcs(skb->data, type, fcs)) { in rfcomm_recv_frame() [all...] |
| /linux/net/bluetooth/ |
| H A D | l2cap_sock.c | 484 opts.fcs = chan->fcs; in l2cap_sock_getsockopt_old() 754 opts.fcs = chan->fcs; in l2cap_sock_setsockopt_old() 797 chan->fcs = opts.fcs; in l2cap_sock_setsockopt_old() 1834 chan->fcs = pchan->fcs; in l2cap_sock_init()
|