/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_fcs.c | 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() 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() 62 bfa_fcs_update_cfg(struct bfa_fcs_s *fcs) in bfa_fcs_update_cfg() argument 64 struct bfa_fcs_fabric_s *fabric = &fcs->fabric; in bfa_fcs_update_cfg() 66 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; in bfa_fcs_update_cfg() 76 bfa_fcs_stop(struct bfa_fcs_s *fcs) in bfa_fcs_stop() argument 78 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); in bfa_fcs_stop() [all …]
|
D | bfa_fcs_rport.c | 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() 243 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending() [all …]
|
D | bfa_fcs_lport.c | 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() 248 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online() 260 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline() [all …]
|
D | bfa_fcs_fcpim.c | 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() 141 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 149 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli() [all …]
|
D | bfa_fcs.h | 153 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 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, 323 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, 376 struct bfa_fcs_s *fcs, u16 vf_id, 380 struct bfa_fcs_s *fcs, u16 vf_id, 389 struct bfa_fcs_vport_s *bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, 431 struct bfa_fcs_s *fcs; /* fcs instance */ member [all …]
|
/Linux-v4.19/drivers/usb/serial/ |
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-v4.19/Documentation/devicetree/bindings/usb/ |
D | fcs,fusb302.txt | 4 - 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>;
|
/Linux-v4.19/drivers/net/ppp/ |
D | ppp_async.c | 535 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-v4.19/drivers/isdn/gigaset/ |
D | asyncdata.c | 143 __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 …]
|
D | isocdata.c | 401 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-v4.19/drivers/net/usb/ |
D | zaurus.c | 72 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_u8(skb, fcs & 0xff); in zaurus_tx_fixup() 78 skb_put_u8(skb, (fcs >> 8) & 0xff); in zaurus_tx_fixup() 79 skb_put_u8(skb, (fcs >> 16) & 0xff); in zaurus_tx_fixup() 80 skb_put_u8(skb, (fcs >> 24) & 0xff); in zaurus_tx_fixup()
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | fan53555.txt | 4 - 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-v4.19/include/linux/ |
D | ppp_defs.h | 16 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
|
/Linux-v4.19/drivers/tty/ |
D | n_gsm.c | 213 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-v4.19/arch/x86/kernel/fpu/ |
D | regset.c | 254 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr() 263 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in convert_from_fxsr() 284 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr() 291 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | user_32.h | 50 long fcs; member 62 long fcs; member
|
D | user32.h | 13 u32 fcs; member 26 int fcs; member
|
/Linux-v4.19/arch/x86/include/asm/fpu/ |
D | types.h | 17 u32 fcs; /* FPU IP Selector */ member 46 u32 fcs; /* FPU IP Selector */ member 84 u32 fcs; member
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_mm.c | 260 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter() 311 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd() 312 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd() 382 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc() 383 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc() 384 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc() 417 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc() 419 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc() 823 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd() 824 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
|
D | megaraid_mm.h | 83 } __attribute__ ((packed)) fcs; member
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | netjet.c | 224 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-v4.19/drivers/net/vmxnet3/ |
D | vmxnet3_defs.h | 266 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-v4.19/arch/arm64/boot/dts/rockchip/ |
D | rk3368-evb-act8846.dts | 20 fcs,suspend-voltage-selector = <1>; 32 fcs,suspend-voltage-selector = <1>;
|
/Linux-v4.19/include/net/caif/ |
D | cfcnfg.h | 70 bool fcs, int head_room);
|
/Linux-v4.19/arch/s390/include/asm/ |
D | css_chars.h | 16 u64 fcs : 1; /* bit 46 */ member
|