Home
last modified time | relevance | path

Searched refs:inbits (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/isdn/gigaset/
Disocdata.c575 static inline void hdlc_frag(struct bc_state *bcs, unsigned inbits) in hdlc_frag() argument
583 dev_notice(bcs->cs->dev, "received partial byte (%d bits)\n", inbits); in hdlc_frag()
632 unsigned seqlen, inbyte, inbits; in hdlc_unpack() local
648 inbits = ubc->inbits; in hdlc_unpack()
668 inbits = 0; in hdlc_unpack()
673 inbits = 7 - lead1; in hdlc_unpack()
679 inbits--; in hdlc_unpack()
690 inbyte |= c << inbits; in hdlc_unpack()
695 } else if (likely(seqlen == 6 && inbits == 7 - lead1 && in hdlc_unpack()
696 trail1 + 1 == inbits && in hdlc_unpack()
[all …]
Dgigaset.h549 unsigned inbyte, inbits; /* collected bits for next byte */ member
Dbas-gigaset.c2158 ubc->inbits = 0; in gigaset_initbcshw()
/drivers/sbus/char/
Ductrl.c92 u8 inbits; member
276 incnt = txn->inbits; in uctrl_do_txn()
309 txn.inbits = 0; in uctrl_get_event_status()
329 txn.inbits = 0; in uctrl_get_external_status()
/drivers/ntb/test/
Dntb_perf.c393 u64 inbits; in perf_msg_cmd_recv() local
396 inbits = ntb_msg_inbits(perf->ntb); in perf_msg_cmd_recv()
398 if (hweight64(ntb_msg_read_sts(perf->ntb) & inbits) < 3) in perf_msg_cmd_recv()
411 ntb_msg_clear_sts(perf->ntb, inbits); in perf_msg_cmd_recv()
702 u64 inbits, outbits; in perf_enable_service() local
704 inbits = ntb_msg_inbits(perf->ntb); in perf_enable_service()
706 (void)ntb_msg_set_mask(perf->ntb, inbits | outbits); in perf_enable_service()
708 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
738 u64 inbits; in perf_disable_service() local
740 inbits = ntb_msg_inbits(perf->ntb); in perf_disable_service()
[all …]