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

/net/irda/
H A Dwrapper.c92 } fcs; local
95 fcs.value = INIT_FCS;
143 fcs.value = irda_fcs(fcs.value, skb->data[i]);
147 fcs.value = ~fcs.value;
149 n += stuff_byte(fcs.bytes[0], tx_buff+n);
150 n += stuff_byte(fcs.bytes[1], tx_buff+n);
152 n += stuff_byte(fcs.bytes[1], tx_buff+n);
153 n += stuff_byte(fcs
[all...]
/net/bluetooth/
H A Dl2cap_sock.c420 opts.fcs = chan->fcs;
654 opts.fcs = chan->fcs;
693 chan->fcs = opts.fcs;
1458 chan->fcs = pchan->fcs;
H A Dl2cap_core.c476 chan->fcs = L2CAP_FCS_CRC16;
1011 if (chan->fcs == L2CAP_FCS_CRC16)
1028 if (chan->fcs == L2CAP_FCS_CRC16) {
1029 u16 fcs = crc16(0, (u8 *)skb->data, skb->len); local
1030 put_unaligned_le16(fcs, skb_put(skb, L2CAP_FCS_SIZE));
1829 if (chan->fcs == L2CAP_FCS_CRC16) {
1830 u16 fcs = crc16(0, (u8 *) skb->data, skb->len); local
1831 put_unaligned_le16(fcs, skb_put(skb, L2CAP_FCS_SIZE));
1878 if (chan->fcs == L2CAP_FCS_CRC16) {
1879 u16 fcs local
1980 u16 fcs = crc16(0, (u8 *) tx_skb->data, local
[all...]
/net/caif/
H A Dcfcnfg.c463 bool fcs, int head_room)
496 phyinfo->use_fcs = fcs;
498 frml = cffrml_create(phyid, fcs);
459 cfcnfg_add_phy_layer(struct cfcnfg *cnfg, struct net_device *dev, struct cflayer *phy_layer, enum cfcnfg_phy_preference pref, struct cflayer *link_support, bool fcs, int head_room) argument
/net/bluetooth/rfcomm/
H A Dcore.c172 static inline int __check_fcs(u8 *data, int type, u8 fcs) argument
179 return rfcomm_crc_table[f ^ fcs] != 0xcf;
824 cmd.fcs = __fcs2((u8 *) &cmd);
838 cmd.fcs = __fcs2((u8 *) &cmd);
852 cmd.fcs = __fcs2((u8 *) &cmd);
872 cmd->fcs = __fcs2((u8 *) cmd);
888 cmd.fcs = __fcs2((u8 *) &cmd);
1706 u8 type, dlci, fcs; local
1719 fcs = *(u8 *)skb_tail_pointer(skb);
1721 if (__check_fcs(skb->data, type, fcs)) {
[all...]
/net/phonet/
H A Dpep.c480 static u8 pipe_negotiate_fc(const u8 *fcs, unsigned int n) argument
486 u8 fc = fcs[i];

Completed in 85 milliseconds