Home
last modified time | relevance | path

Searched refs:inbyte (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
H A Datp.h82 static inline unsigned char inbyte(unsigned short port) in inbyte() function
99 inbyte(port + PAR_STATUS); /* Settling time delay */ in read_nibble()
100 retval = inbyte(port + PAR_STATUS); in read_nibble()
113 inbyte(ioaddr + PAR_STATUS); in read_byte_mode0()
114 low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; in read_byte_mode0()
116 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
117 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
118 return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); in read_byte_mode0()
127 inbyte(ioaddr + PAR_STATUS); in read_byte_mode2()
128 low_nib = (inbyte(ioadd in read_byte_mode2()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/
H A Datp.h82 static inline unsigned char inbyte(unsigned short port) in inbyte() function
99 inbyte(port + PAR_STATUS); /* Settling time delay */ in read_nibble()
100 retval = inbyte(port + PAR_STATUS); in read_nibble()
113 inbyte(ioaddr + PAR_STATUS); in read_byte_mode0()
114 low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; in read_byte_mode0()
116 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
117 inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ in read_byte_mode0()
118 return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); in read_byte_mode0()
127 inbyte(ioaddr + PAR_STATUS); in read_byte_mode2()
128 low_nib = (inbyte(ioadd in read_byte_mode2()
[all...]
/kernel/linux/linux-5.10/drivers/net/hamradio/
H A D6pack.c531 unsigned char inbyte = 0xe8; in tnc_init() local
535 sp->tty->ops->write(sp->tty, &inbyte, 1); in tnc_init()
833 static void decode_data(struct sixpack *sp, unsigned char inbyte) in decode_data() argument
838 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
855 (buf[2] & 0x03) | (inbyte << 2); in decode_data()
961 unsigned char inbyte; in sixpack_decode() local
965 inbyte = pre_rbuff[count1]; in sixpack_decode()
966 if (inbyte == SIXP_FOUND_TNC) { in sixpack_decode()
970 if ((inbyte & SIXP_PRIO_CMD_MASK) != 0) in sixpack_decode()
971 decode_prio_command(sp, inbyte); in sixpack_decode()
[all...]
/kernel/linux/linux-6.6/drivers/net/hamradio/
H A D6pack.c527 unsigned char inbyte = 0xe8; in tnc_init() local
531 sp->tty->ops->write(sp->tty, &inbyte, 1); in tnc_init()
823 static void decode_data(struct sixpack *sp, unsigned char inbyte) in decode_data() argument
828 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
845 (buf[2] & 0x03) | (inbyte << 2); in decode_data()
953 unsigned char inbyte; in sixpack_decode() local
957 inbyte = pre_rbuff[count1]; in sixpack_decode()
958 if (inbyte == SIXP_FOUND_TNC) { in sixpack_decode()
962 if ((inbyte & SIXP_PRIO_CMD_MASK) != 0) in sixpack_decode()
963 decode_prio_command(sp, inbyte); in sixpack_decode()
[all...]
/kernel/linux/linux-5.10/sound/drivers/
H A Dmtpav.c486 static void snd_mtpav_inmidi_process(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_process() argument
495 snd_rawmidi_receive(portp->input, &inbyte, 1); in snd_mtpav_inmidi_process()
498 static void snd_mtpav_inmidi_h(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_h() argument
500 if (inbyte >= 0xf8) { in snd_mtpav_inmidi_h()
502 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
507 if (inbyte == 0xf5) // MTP port # in snd_mtpav_inmidi_h()
510 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
512 mcrd->inmidiport = translate_hwport_to_subdevice(mcrd, inbyte); in snd_mtpav_inmidi_h()
/kernel/linux/linux-6.6/sound/drivers/
H A Dmtpav.c485 static void snd_mtpav_inmidi_process(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_process() argument
494 snd_rawmidi_receive(portp->input, &inbyte, 1); in snd_mtpav_inmidi_process()
497 static void snd_mtpav_inmidi_h(struct mtpav *mcrd, u8 inbyte) in snd_mtpav_inmidi_h() argument
499 if (inbyte >= 0xf8) { in snd_mtpav_inmidi_h()
501 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
506 if (inbyte == 0xf5) // MTP port # in snd_mtpav_inmidi_h()
509 snd_mtpav_inmidi_process(mcrd, inbyte); in snd_mtpav_inmidi_h()
511 mcrd->inmidiport = translate_hwport_to_subdevice(mcrd, inbyte); in snd_mtpav_inmidi_h()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Ddrbg_hash.c61 * inbyte - An optional leading byte (ignore if equal to INBYTE_IGNORE)
68 const unsigned char inbyte, in hash_df()
76 /* tmp = counter || num_bits_returned || [inbyte] */ in hash_df()
94 if (inbyte != INBYTE_IGNORE) in hash_df()
95 tmp[tmp_sz++] = inbyte; in hash_df()
101 * (where tmp = counter || num_bits_returned || [inbyte]) in hash_df()
174 /* V = (V + Hash(inbyte || V || [additional_input]) mod (2^seedlen) */
175 static int add_hash_to_v(PROV_DRBG *drbg, unsigned char inbyte, in add_hash_to_v() argument
182 && EVP_DigestUpdate(ctx, &inbyte, 1) in add_hash_to_v()
67 hash_df(PROV_DRBG *drbg, unsigned char *out, const unsigned char inbyte, const unsigned char *in, size_t inlen, const unsigned char *in2, size_t in2len, const unsigned char *in3, size_t in3len) hash_df() argument
H A Ddrbg_hmac.c47 * inbyte is 0x00 on the first call and 0x01 on the second call.
52 * hmac->K = HMAC(hmac->K, hmac->V || inbyte || [in1] || [in2] || [in3])
57 static int do_hmac(PROV_DRBG_HMAC *hmac, unsigned char inbyte, in do_hmac() argument
65 /* K = HMAC(K, V || inbyte || [in1] || [in2] || [in3]) */ in do_hmac()
67 || !EVP_MAC_update(ctx, &inbyte, 1) in do_hmac()
/third_party/openssl/providers/implementations/rands/
H A Ddrbg_hash.c61 * inbyte - An optional leading byte (ignore if equal to INBYTE_IGNORE)
68 const unsigned char inbyte, in hash_df()
76 /* tmp = counter || num_bits_returned || [inbyte] */ in hash_df()
94 if (inbyte != INBYTE_IGNORE) in hash_df()
95 tmp[tmp_sz++] = inbyte; in hash_df()
101 * (where tmp = counter || num_bits_returned || [inbyte]) in hash_df()
174 /* V = (V + Hash(inbyte || V || [additional_input]) mod (2^seedlen) */
175 static int add_hash_to_v(PROV_DRBG *drbg, unsigned char inbyte, in add_hash_to_v() argument
182 && EVP_DigestUpdate(ctx, &inbyte, 1) in add_hash_to_v()
67 hash_df(PROV_DRBG *drbg, unsigned char *out, const unsigned char inbyte, const unsigned char *in, size_t inlen, const unsigned char *in2, size_t in2len, const unsigned char *in3, size_t in3len) hash_df() argument
H A Ddrbg_hmac.c47 * inbyte is 0x00 on the first call and 0x01 on the second call.
52 * hmac->K = HMAC(hmac->K, hmac->V || inbyte || [in1] || [in2] || [in3])
57 static int do_hmac(PROV_DRBG_HMAC *hmac, unsigned char inbyte, in do_hmac() argument
65 /* K = HMAC(K, V || inbyte || [in1] || [in2] || [in3]) */ in do_hmac()
67 || !EVP_MAC_update(ctx, &inbyte, 1) in do_hmac()
/kernel/linux/linux-5.10/drivers/net/arcnet/
H A Dcom20020.c286 u_char inbyte; in com20020_reset() local
315 com20020_copy_from_card(dev, 0, 0, &inbyte, 1); in com20020_reset()
317 if (inbyte != TESTvalue) { in com20020_reset()
/kernel/linux/linux-6.6/drivers/net/arcnet/
H A Dcom20020.c286 u_char inbyte; in com20020_reset() local
315 com20020_copy_from_card(dev, 0, 0, &inbyte, 1); in com20020_reset()
317 if (inbyte != TESTvalue) { in com20020_reset()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dqat_uclo.c459 unsigned int inbyte = (unsigned int)((reg >> 0x18) ^ ch); in qat_uclo_calc_checksum() local
461 reg ^= inbyte << 0x8; in qat_uclo_calc_checksum()
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dqat_uclo.c469 unsigned int inbyte = (unsigned int)((reg >> 0x18) ^ ch); in qat_uclo_calc_checksum() local
471 reg ^= inbyte << 0x8; in qat_uclo_calc_checksum()

Completed in 16 milliseconds