Searched refs:fcs (Results 1 - 25 of 29) sorted by relevance

12

/drivers/scsi/bfa/
H A 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; local
55 struct bfad_s *bfad = fcs->bfad;
67 * fcs attach -- called once to initialize data structures at driver attach time
70 bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, argument
76 fcs->bfa = bfa;
77 fcs->bfad = bfad;
78 fcs
94 bfa_fcs_init(struct bfa_fcs_s *fcs) argument
111 bfa_fcs_update_cfg(struct bfa_fcs_s *fcs) argument
125 bfa_fcs_pbc_vport_init(struct bfa_fcs_s *fcs) argument
149 bfa_fcs_driver_info_init(struct bfa_fcs_s *fcs, struct bfa_fcs_driver_info_s *driver_info) argument
166 bfa_fcs_exit(struct bfa_fcs_s *fcs) argument
989 bfa_fcs_fabric_attach(struct bfa_fcs_s *fcs) argument
1017 bfa_fcs_fabric_modinit(struct bfa_fcs_s *fcs) argument
1027 bfa_fcs_fabric_modexit(struct bfa_fcs_s *fcs) argument
1045 bfa_fcs_fabric_modstart(struct bfa_fcs_s *fcs) argument
1399 bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) argument
1423 struct bfa_fcs_s *fcs; local
1453 struct bfa_fcs_s *fcs = cbarg; local
1472 bfa_fcs_port_attach(struct bfa_fcs_s *fcs) argument
1492 struct bfa_fcs_s *fcs = (struct bfa_fcs_s *) cbarg; local
1545 bfa_fcs_uf_attach(struct bfa_fcs_s *fcs) argument
[all...]
H A Dbfa_fcs_rport.c158 bfa_trc(rport->fcs, rport->pwwn);
159 bfa_trc(rport->fcs, rport->pid);
160 bfa_trc(rport->fcs, event);
186 bfa_sm_fault(rport->fcs, event);
197 bfa_trc(rport->fcs, rport->pwwn);
198 bfa_trc(rport->fcs, rport->pid);
199 bfa_trc(rport->fcs, event);
208 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
214 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
221 bfa_fcxp_walloc_cancel(rport->fcs
1963 struct bfa_fcs_s *fcs = port->fcs; local
[all...]
H A Dbfa_fcs_fcpim.c98 bfa_trc(itnim->fcs, itnim->rport->pwwn);
99 bfa_trc(itnim->fcs, event);
121 bfa_sm_fault(itnim->fcs, event);
130 bfa_trc(itnim->fcs, itnim->rport->pwwn);
131 bfa_trc(itnim->fcs, event);
140 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
145 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
151 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
156 bfa_sm_fault(itnim->fcs, event);
164 bfa_trc(itnim->fcs, itni
[all...]
H A Dbfa_fcs_lport.c99 bfa_trc(port->fcs, port->port_cfg.pwwn);
100 bfa_trc(port->fcs, event);
108 bfa_sm_fault(port->fcs, event);
116 bfa_trc(port->fcs, port->port_cfg.pwwn);
117 bfa_trc(port->fcs, event);
140 bfa_sm_fault(port->fcs, event);
152 bfa_trc(port->fcs, port->port_cfg.pwwn);
153 bfa_trc(port->fcs, event);
198 bfa_sm_fault(port->fcs, event);
210 bfa_trc(port->fcs, por
970 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) argument
4841 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) argument
4853 struct bfa_fcs_s *fcs; local
4901 struct bfa_fcs_s *fcs; local
4944 struct bfa_fcs_s *fcs; local
4995 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) argument
5812 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument
5862 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument
5972 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) argument
[all...]
H A Dbfa_fcs.h150 struct bfa_fcs_s *fcs; /* FCS instance */ member in struct:bfa_fcs_lport_s
159 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
182 struct bfa_fcs_s *fcs; /* FCS instance */ member in struct:bfa_fcs_fabric_s
284 * bfa fcs port public functions
288 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
295 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
320 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
362 * bfa fcs vport public functions
365 struct bfa_fcs_s *fcs, u16 vf_id,
369 struct bfa_fcs_s *fcs, u1
419 struct bfa_fcs_s *fcs; /* fcs instance */ member in struct:bfa_fcs_rport_s
496 struct bfa_fcs_s *fcs; /* fcs instance */ member in struct:bfa_fcs_itnim_s
[all...]
H A Dbfa_modules.h121 bfa_boolean_t fcs; /* FCS is attached to BFA */ member in struct:bfa_s
H A Dbfa_svc.c86 if ((__rp)->bfa->fcs) \
95 if ((__rp)->bfa->fcs) \
1741 * Indirect login completion handler for non-fcs
1758 * Login completion handler -- direct call for fcs, queue for others
1763 if (!lps->bfa->fcs) {
1776 * Indirect logout completion handler for non-fcs
1791 * Logout completion handler -- direct call for fcs, queue for others
1796 if (!lps->bfa->fcs) {
1806 * Clear virtual link completion handler for non-fcs
1822 * Received Clear virtual link event --direct call for fcs,
[all...]
/drivers/usb/serial/
H A Dsafe_serial.c199 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c))
205 * @fcs: starting FCS
207 * Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return
210 static __u16 __inline__ fcs_compute10(unsigned char *sp, int len, __u16 fcs) argument
212 for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++));
213 return fcs;
223 __u16 fcs; local
263 __u16 fcs; local
[all...]
/drivers/net/usb/
H A Dzaurus.c74 u32 fcs; local
76 fcs = crc32_le(~0, skb->data, skb->len);
77 fcs = ~fcs;
79 *skb_put (skb, 1) = fcs & 0xff;
80 *skb_put (skb, 1) = (fcs>> 8) & 0xff;
81 *skb_put (skb, 1) = (fcs>>16) & 0xff;
82 *skb_put (skb, 1) = (fcs>>24) & 0xff;
/drivers/isdn/gigaset/
H A Dasyncdata.c143 __u16 fcs = bcs->rx_fcs; local
214 } else if (fcs != PPP_GOODFCS) {
242 fcs = PPP_INITFCS;
268 fcs = crc_ccitt_byte(fcs, c);
274 bcs->rx_fcs = fcs;
461 __u16 fcs; local
468 fcs = PPP_INITFCS;
474 fcs = crc_ccitt_byte(fcs, *c
[all...]
H A Disocdata.c401 u16 fcs; local
415 fcs = PPP_INITFCS;
420 fcs = crc_ccitt_byte(fcs, c);
425 fcs ^= 0xffff;
426 ones = hdlc_bitstuff_byte(iwb, fcs & 0x00ff, ones);
427 ones = hdlc_bitstuff_byte(iwb, (fcs >> 8) & 0x00ff, ones);
499 * append byte c to current skb of B channel structure *bcs, updating fcs
/drivers/net/ppp/
H A Dppp_async.c535 int fcs, i, count, c, proto; local
546 fcs = ap->tfcs;
568 fcs = PPP_INITFCS;
575 fcs = PPP_FCS(fcs, 0xff);
577 fcs = PPP_FCS(fcs, 0x03);
591 fcs = PPP_FCS(fcs, c);
601 ap->tfcs = fcs;
773 unsigned int len, fcs, proto; local
958 int dlen, fcs, i, code; local
[all...]
/drivers/scsi/megaraid/
H A Dmegaraid_mm.h83 } __attribute__ ((packed)) fcs; member in union:mimd::__anon4625
H A Dmegaraid_mm.c256 adapno = GETADAP(mimd.ui.fcs.adapno);
307 opcode = kmimd.ui.fcs.opcode;
308 subopcode = kmimd.ui.fcs.subopcode;
378 opcode = mimd.ui.fcs.opcode;
379 subopcode = mimd.ui.fcs.subopcode;
380 adapno = GETADAP(mimd.ui.fcs.adapno);
413 kioc->xferlen = mimd.ui.fcs.length;
415 kioc->user_data = mimd.ui.fcs.buffer;
818 opcode = kmimd.ui.fcs.opcode;
819 subopcode = kmimd.ui.fcs
[all...]
/drivers/net/irda/
H A Dmcs7780.c342 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); local
344 /* add 2 bytes for length value and 4 bytes for fcs. */
355 /* put the fcs in the last four bytes in little endian order. */
356 buf[len - 4] = fcs & 0xff;
357 buf[len - 3] = (fcs >> 8) & 0xff;
358 buf[len - 2] = (fcs >> 16) & 0xff;
359 buf[len - 1] = (fcs >> 24) & 0xff;
367 __u16 fcs = 0; local
370 fcs = ~(irda_calc_crc16(~fcs, sk
393 __u16 fcs; local
445 __u32 fcs; local
[all...]
H A Dstir4200.c258 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); local
279 ptr = stuff_fir(ptr, fcs & 0xff);
280 ptr = stuff_fir(ptr, (fcs >> 8) & 0xff);
281 ptr = stuff_fir(ptr, (fcs >> 16) & 0xff);
282 ptr = stuff_fir(ptr, (fcs >> 24) & 0xff);
320 __u32 fcs; local
331 fcs = ~(crc32_le(~0, rx_buff->data, len));
332 if (fcs != get_unaligned_le32(rx_buff->data + len)) {
333 pr_debug("crc error calc 0x%x len %d\n", fcs, len);
H A Ddonauboe.c214 fcs; local
216 fcs.value = INIT_FCS;
219 fcs.value = irda_fcs (fcs.value, *(buf++));
221 return fcs.value == GOOD_FCS;
758 fcs; local
766 fcs.value = INIT_FCS;
775 fcs.value = irda_fcs (fcs.value, i);
778 len += stuff_byte (fcs
[all...]
/drivers/tty/
H A Dn_gsm.c226 u8 fcs; member in struct:gsm_mux
377 * @fcs: Current FCS
384 static inline u8 gsm_fcs_add(u8 fcs, u8 c) argument
386 return gsm_fcs8[fcs ^ c];
391 * @fcs: Current FCS
399 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) argument
402 fcs = gsm_fcs8[fcs ^ *c++];
403 return fcs;
739 u8 *fcs local
[all...]
/drivers/isdn/hisax/
H A Dnetjet.c224 u_int fcs; local
231 fcs = PPP_INITFCS;
234 fcs = PPP_FCS (fcs, val);
237 fcs ^= 0xffff;
238 val = fcs & 0xff;
240 val = (fcs>>8) & 0xff;
314 u_int fcs; local
336 fcs = PPP_INITFCS;
339 fcs
[all...]
/drivers/net/vmxnet3/
H A Dvmxnet3_defs.h256 u32 fcs:1; /* Frame CRC correct */ member in struct:Vmxnet3_RxCompDesc
274 u32 fcs:1; /* Frame CRC correct */ member in struct:Vmxnet3_RxCompDesc
/drivers/bluetooth/
H A Dbt3c_cs.c479 unsigned int iobase, size, addr, fcs, tmp; local
512 fcs = simple_strtoul(b, NULL, 16);
520 if (((tmp + fcs) & 0xff) != 0xff) {
/drivers/net/ethernet/adi/
H A Dbfin_mac.c1078 unsigned char fcs[ETH_FCS_LEN + 1]; local
1135 fcs[0] = 0;
1137 fcs[i + 1] = ~skb->data[skb->len + i];
1138 skb->csum = csum_partial(fcs, ETH_FCS_LEN + 1, skb->csum);
1141 fcs[i] = ~skb->data[skb->len + i];
1142 skb->csum = csum_partial(fcs, ETH_FCS_LEN, skb->csum);
/drivers/net/ethernet/amd/
H A Dnmclan_cs.c336 int fcs; member in struct:_mace_statistics
1092 lp->mace_stats.fcs++;
1187 pr_debug(" fram=%-7d fcs=%d\n",
1188 pstats->fram, pstats->fcs);
1252 lp->linux_stats.rx_crc_errors = lp->mace_stats.fcs;
/drivers/scsi/
H A Dmegaraid.h520 } __attribute__ ((packed)) fcs; member in union:uioctl_t::__anon4705
H A Dmegaraid.c3774 opcode = uioc_mimd.ui.fcs.opcode;
3775 subopcode = uioc_mimd.ui.fcs.subopcode;
3794 uioc->adapno = uioc_mimd.ui.fcs.adapno;
3808 uioc->adapno = uioc_mimd.ui.fcs.adapno;
3812 uioc->xferlen = uioc_mimd.ui.fcs.length;
3822 uioc->adapno = uioc_mimd.ui.fcs.adapno;

Completed in 2026 milliseconds

12