| /drivers/scsi/bfa/ |
| A D | bfa_fcs.c | 42 bfa_trc(fcs, 0); in bfa_fcs_init() 70 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); in bfa_fcs_stop() 71 bfa_wc_up(&fcs->wc); in bfa_fcs_stop() 86 if (!fcs->min_cfg) { in bfa_fcs_pbc_vport_init() 124 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); in bfa_fcs_exit() 126 bfa_trc(fcs, 0); in bfa_fcs_exit() 1067 bfa_trc(fcs, 0); in bfa_fcs_fabric_modstop() 1466 fcs = vf->fcs; in bfa_fcs_vf_get_ports() 1585 fcs->bfa = bfa; in bfa_fcs_attach() 1594 bfa_uf_recv_register(fcs->bfa, bfa_fcs_uf_recv, fcs); in bfa_fcs_attach() [all …]
|
| A D | bfa_fcs_rport.c | 2320 struct bfa_fcs_s *fcs = port->fcs; in bfa_fcs_rport_alloc() local 2328 bfa_trc(fcs, rpid); in bfa_fcs_rport_alloc() 2334 bfa_trc(fcs, rpid); in bfa_fcs_rport_alloc() 2342 rport->fcs = fcs; in bfa_fcs_rport_alloc() 2358 bfa_trc(fcs, rpid); in bfa_fcs_rport_alloc() 2365 fcs->num_rport_logins++; in bfa_fcs_rport_alloc() 2381 struct bfa_fcs_s *fcs = port->fcs; in bfa_fcs_rport_free() local 3386 bfa_trc(rport->fcs, in bfa_fcs_rpf_rpsc2_response() 3388 bfa_trc(rport->fcs, in bfa_fcs_rpf_rpsc2_response() 3390 bfa_trc(rport->fcs, in bfa_fcs_rpf_rpsc2_response() [all …]
|
| A D | bfa_fcs_lport.c | 125 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit() 1045 lport->fcs = fcs; in bfa_fcs_lport_attach() 5641 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals() 5654 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals() 5670 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals() 5694 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed() 5741 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port() 5745 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port() 6662 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup() 6663 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup() [all …]
|
| A D | bfa_fcs_fcpim.c | 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() 124 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 159 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli() 211 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_hal_rport_online() 249 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_retry() 298 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_hcb_online() 336 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_online() 373 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_hcb_offline() 401 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_initiator() [all …]
|
| A D | bfa_fcs.h | 211 struct bfa_fcs_s *fcs; /* FCS instance */ member 271 struct bfa_fcs_s *fcs; /* FCS instance */ member 476 struct bfa_fcs_s *fcs, u16 vf_id, 480 struct bfa_fcs_s *fcs, u16 vf_id, 576 struct bfa_fcs_s *fcs; /* fcs instance */ member 673 struct bfa_fcs_s *fcs; /* fcs instance */ member 885 void bfa_fcs_init(struct bfa_fcs_s *fcs); 886 void bfa_fcs_pbc_vport_init(struct bfa_fcs_s *fcs); 887 void bfa_fcs_update_cfg(struct bfa_fcs_s *fcs); 890 void bfa_fcs_exit(struct bfa_fcs_s *fcs); [all …]
|
| A D | bfa_modules.h | 69 bfa_boolean_t fcs; /* FCS is attached to BFA */ member
|
| A D | bfa_svc.c | 47 if ((__rp)->bfa->fcs) \ 56 if ((__rp)->bfa->fcs) \ 1710 if (!lps->bfa->fcs) { in bfa_lps_login_comp() 1745 if (!lps->bfa->fcs) { in bfa_lps_logout_comp() 1777 if (!lps->bfa->fcs) { in bfa_lps_cvl_event() 2936 if (fcport->bfa->fcs) { in bfa_fcport_queue_cb() 5470 if (bfa->fcs) in uf_recv()
|
| /drivers/usb/serial/ |
| A D | safe_serial.c | 168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) 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() 253 buf[pkt_len - 2] |= fcs >> 8; in safe_prepare_write_buffer() [all …]
|
| /drivers/net/ppp/ |
| A D | ppp_async.c | 537 fcs = ap->tfcs; 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() 778 fcs = PPP_INITFCS; in process_input_packet() 780 fcs = PPP_FCS(fcs, *p++); in process_input_packet() 968 fcs = PPP_FCS(fcs, data[i]); in async_lcp_peek() [all …]
|
| /drivers/net/usb/ |
| 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()
|
| /drivers/tty/ |
| A D | n_gsm.c | 296 u8 fcs; member 492 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block() 493 return fcs; in gsm_fcs_add_block() 1119 *fcs = 0xFF - *fcs; in __gsm_data_queue() 2905 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm0_receive() 2910 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm0_receive() 2915 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm0_receive() 2932 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm0_receive() 2961 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm0_receive() 3077 gsm->fcs = gsm_fcs_add(gsm->fcs, c); in gsm1_receive() [all …]
|
| /drivers/scsi/megaraid/ |
| 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()
|
| A D | megaraid_mm.h | 79 } __attribute__ ((packed)) fcs; member
|
| /drivers/net/vmxnet3/ |
| 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
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_counters.c | 441 fc_bulk = kvzalloc(struct_size(fc_bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create() 452 mlx5_fc_init(&fc_bulk->fcs[i], fc_bulk, base_id + i); in mlx5_fc_bulk_create() 520 return &fc_bulk->fcs[pool_index.index]; in mlx5_fc_pool_acquire_counter()
|
| A D | fs_core.h | 355 struct mlx5_fc fcs[]; member
|
| /drivers/bluetooth/ |
| 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()
|
| /drivers/net/ethernet/amd/ |
| A D | nmclan_cs.c | 332 int fcs; member 1088 lp->mace_stats.fcs++; in mace_rx() 1184 pstats->fram, pstats->fcs); in pr_mace_stats() 1248 dev->stats.rx_crc_errors = lp->mace_stats.fcs; in update_stats()
|
| /drivers/net/ethernet/broadcom/genet/ |
| A D | bcmgenet.h | 100 u32 fcs; /* RO # of Received FCS error */ member 125 u32 fcs; /* RO # of xmited FCS error count */ member
|
| /drivers/net/ethernet/broadcom/ |
| A D | bcmsysport.h | 517 u32 fcs; /* RO # of Received FCS error */ member 542 u32 fcs; /* RO # of xmited FCS error count */ member
|
| /drivers/scsi/ |
| A D | megaraid.c | 3417 opcode = uioc_mimd.ui.fcs.opcode; in mega_m_to_n() 3418 subopcode = uioc_mimd.ui.fcs.subopcode; in mega_m_to_n() 3437 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n() 3451 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n() 3455 uioc->xferlen = uioc_mimd.ui.fcs.length; in mega_m_to_n() 3465 uioc->adapno = uioc_mimd.ui.fcs.adapno; in mega_m_to_n()
|
| A D | megaraid.h | 487 } __attribute__ ((packed)) fcs; member
|
| /drivers/net/wireless/st/cw1200/ |
| A D | wsm.h | 1355 bool fcs; member 1367 if (arg->fcs) in wsm_set_rx_filter()
|
| A D | debug.c | 131 else if (priv->rx_filter.fcs) in cw1200_status_show()
|
| /drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 2260 u32 fcs; in macb_pad_and_fcs() local 2293 fcs = crc32_le(~0, (*skb)->data, (*skb)->len); in macb_pad_and_fcs() 2294 fcs = ~fcs; in macb_pad_and_fcs() 2296 skb_put_u8(*skb, fcs & 0xff); in macb_pad_and_fcs() 2297 skb_put_u8(*skb, (fcs >> 8) & 0xff); in macb_pad_and_fcs() 2298 skb_put_u8(*skb, (fcs >> 16) & 0xff); in macb_pad_and_fcs() 2299 skb_put_u8(*skb, (fcs >> 24) & 0xff); in macb_pad_and_fcs()
|