Home
last modified time | relevance | path

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

/linux-4.19.296/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.19.296/include/linux/
Dppp_defs.h16 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/linux-4.19.296/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.19.296/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
/linux-4.19.296/drivers/bluetooth/
Dbt3c_cs.c452 unsigned long size, addr, fcs; in bt3c_load_firmware() local
487 if (kstrtoul(b, 16, &fcs) < 0) in bt3c_load_firmware()
496 if (((tmp + fcs) & 0xff) != 0xff) { in bt3c_load_firmware()
/linux-4.19.296/fs/
Duserfaultfd.c673 int dup_userfaultfd(struct vm_area_struct *vma, struct list_head *fcs) in dup_userfaultfd() argument
685 list_for_each_entry(fctx, fcs, list) in dup_userfaultfd()
714 list_add_tail(&fctx->list, fcs); in dup_userfaultfd()
734 void dup_userfaultfd_complete(struct list_head *fcs) in dup_userfaultfd_complete() argument
738 list_for_each_entry_safe(fctx, n, fcs, list) { in dup_userfaultfd_complete()
/linux-4.19.296/include/net/bluetooth/
Dl2cap.h79 __u8 fcs; member
527 __u8 fcs; member
Drfcomm.h115 u8 fcs; member
Dbluetooth.h288 fcs:1, member
/linux-4.19.296/drivers/s390/cio/
Dchsc.c920 !css_general_characteristics.fcs) in chsc_determine_channel_path_desc()