Home
last modified time | relevance | path

Searched refs:inbyte (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/realtek/
Datp.h81 static inline unsigned char inbyte(unsigned short port) in inbyte() function
98 inbyte(port + PAR_STATUS); /* Settling time delay */ in read_nibble()
99 retval = inbyte(port + PAR_STATUS); in read_nibble()
112 inbyte(ioaddr + PAR_STATUS); in read_byte_mode0()
113 low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; in read_byte_mode0()
115 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
116 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
117 return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); in read_byte_mode0()
126 inbyte(ioaddr + PAR_STATUS); in read_byte_mode2()
127 low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; in read_byte_mode2()
[all …]
/linux-4.4.14/drivers/isdn/gigaset/
Disocdata.c635 unsigned seqlen, inbyte, inbits; in hdlc_unpack() local
650 inbyte = ubc->inbyte; in hdlc_unpack()
670 inbyte = 0; in hdlc_unpack()
675 inbyte = c >> (lead1 + 1); in hdlc_unpack()
685 inbyte = 0x3f; in hdlc_unpack()
693 inbyte |= c << inbits; in hdlc_unpack()
694 hdlc_putbyte(inbyte & 0xff, bcs); in hdlc_unpack()
696 inbyte >>= 8; in hdlc_unpack()
726 inbyte = 0; in hdlc_unpack()
729 inbyte = c >> (lead1 + 1); in hdlc_unpack()
[all …]
Dgigaset.h552 unsigned inbyte, inbits; /* collected bits for next byte */ member
Dbas-gigaset.c2157 ubc->inbyte = 0; in gigaset_initbcshw()
/linux-4.4.14/drivers/net/hamradio/
D6pack.c541 unsigned char inbyte = 0xe8; in tnc_init() local
545 sp->tty->ops->write(sp->tty, &inbyte, 1); in tnc_init()
867 static void decode_data(struct sixpack *sp, unsigned char inbyte) in decode_data() argument
872 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
883 (buf[2] & 0x03) | (inbyte << 2); in decode_data()
997 unsigned char inbyte; in sixpack_decode() local
1001 inbyte = pre_rbuff[count1]; in sixpack_decode()
1002 if (inbyte == SIXP_FOUND_TNC) { in sixpack_decode()
1006 if ((inbyte & SIXP_PRIO_CMD_MASK) != 0) in sixpack_decode()
1007 decode_prio_command(sp, inbyte); in sixpack_decode()
[all …]
/linux-4.4.14/sound/drivers/
Dmtpav.c502 static void snd_mtpav_inmidi_process(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_process() argument
511 snd_rawmidi_receive(portp->input, &inbyte, 1); in snd_mtpav_inmidi_process()
514 static void snd_mtpav_inmidi_h(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_h() argument
516 if (inbyte >= 0xf8) { in snd_mtpav_inmidi_h()
518 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
523 if (inbyte == 0xf5) // MTP port # in snd_mtpav_inmidi_h()
526 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
528 mcrd->inmidiport = translate_hwport_to_subdevice(mcrd, inbyte); in snd_mtpav_inmidi_h()
/linux-4.4.14/sound/oss/
Daedsp16.c525 int inbyte; in aedsp16_read() local
534 inbyte = inb(port + DSP_READ); in aedsp16_read()
536 DBG(("read [0x%x]/{%c}.\n", inbyte, inbyte)); in aedsp16_read()
538 return inbyte; in aedsp16_read()
/linux-4.4.14/drivers/net/arcnet/
Dcom20020.c288 u_char inbyte; in com20020_reset() local
317 com20020_copy_from_card(dev, 0, 0, &inbyte, 1); in com20020_reset()
319 if (inbyte != TESTvalue) { in com20020_reset()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_uclo.c473 unsigned int inbyte = (unsigned int)((reg >> 0x18) ^ ch); in qat_uclo_calc_checksum() local
475 reg ^= inbyte << 0x8; in qat_uclo_calc_checksum()