Home
last modified time | relevance | path

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

/drivers/net/plip/
Dplip.c182 enum plip_nibble_state nibble; member
212 unsigned long nibble; member
300 nl->nibble = PLIP_NIBBLE_WAIT; in plip_init_netdev()
584 unsigned short nibble_timeout = nl->nibble; in plip_receive_packet()
596 rcv->nibble = PLIP_NB_BEGIN; in plip_receive_packet()
602 &rcv->nibble, &rcv->length.b.lsb)) { in plip_receive_packet()
614 &rcv->nibble, &rcv->length.b.lsb)) in plip_receive_packet()
622 &rcv->nibble, &rcv->length.b.msb)) in plip_receive_packet()
647 &rcv->nibble, &lbuf[rcv->byte])) in plip_receive_packet()
658 &rcv->nibble, &rcv->data)) in plip_receive_packet()
[all …]
/drivers/isdn/mISDN/
Ddsp_blowfish.c378 u8 nibble; in dsp_bf_encrypt() local
394 nibble = dsp_audio_law2seven[bf_data_in[4]]; in dsp_bf_encrypt()
395 yr = nibble; in dsp_bf_encrypt()
396 yl = (yl << 4) | (nibble >> 3); in dsp_bf_encrypt()
469 u8 nibble; in dsp_bf_decrypt() local
492 nibble = bf_crypt_inring[j++ & 15]; /* bit7 = 0 */ in dsp_bf_decrypt()
493 yr = nibble; in dsp_bf_decrypt()
494 yl = (yl << 4) | (nibble >> 3); in dsp_bf_decrypt()
/drivers/parport/
Dieee1284_ops.c157 unsigned char nibble; in parport_ieee1284_read_nibble()
183 nibble = parport_read_status (port) >> 3; in parport_ieee1284_read_nibble()
184 nibble &= ~8; in parport_ieee1284_read_nibble()
185 if ((nibble & 0x10) == 0) in parport_ieee1284_read_nibble()
186 nibble |= 8; in parport_ieee1284_read_nibble()
187 nibble &= 0xf; in parport_ieee1284_read_nibble()
204 byte |= nibble << 4; in parport_ieee1284_read_nibble()
207 byte = nibble; in parport_ieee1284_read_nibble()
/drivers/hid/
Dhid-debug.c582 char nibble = data & 0xf; in hid_dump_field() local
584 if (nibble != 0) { in hid_dump_field()
588 if(nibble != 1) { in hid_dump_field()
591 int val = nibble & 0x7; in hid_dump_field()
592 if(nibble & 0x08) in hid_dump_field()
/drivers/scsi/qla4xxx/
Dql4_83xx.c445 int nibble; in qla4_83xx_can_perform_reset() local
460 for (i = nibble = 0; i <= 15; i++, nibble++) { in qla4_83xx_can_perform_reset()
461 func_nibble = dev_part & (0xF << (nibble * 4)); in qla4_83xx_can_perform_reset()
462 func_nibble >>= (nibble * 4); in qla4_83xx_can_perform_reset()
484 if (nibble == 7) { in qla4_83xx_can_perform_reset()
485 nibble = 0; in qla4_83xx_can_perform_reset()
/drivers/input/mouse/
Dalps.c1686 static int alps_command_mode_send_nibble(struct psmouse *psmouse, int nibble) in alps_command_mode_send_nibble() argument
1694 BUG_ON(nibble > 0xf); in alps_command_mode_send_nibble()
1696 command = priv->nibble_commands[nibble].command; in alps_command_mode_send_nibble()
1698 dummy : (unsigned char *)&priv->nibble_commands[nibble].data; in alps_command_mode_send_nibble()
1710 int i, nibble; in alps_command_mode_set_addr() local
1716 nibble = (addr >> i) & 0xf; in alps_command_mode_set_addr()
1717 if (alps_command_mode_send_nibble(psmouse, nibble)) in alps_command_mode_set_addr()
1874 int i, nibble; in alps_monitor_mode_send_word() local
1881 nibble = (word >> i) & 0xf; in alps_monitor_mode_send_word()
1882 if (alps_command_mode_send_nibble(psmouse, nibble)) in alps_monitor_mode_send_word()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c48 u32 nibble; in tcm_qla2xxx_parse_wwn() local
73 nibble = c - '0'; in tcm_qla2xxx_parse_wwn()
75 nibble = tolower(c) - 'a' + 10; in tcm_qla2xxx_parse_wwn()
78 *wwn = (*wwn << 4) | nibble; in tcm_qla2xxx_parse_wwn()
/drivers/target/sbp/
Dsbp_target.c1915 char c, nibble; in sbp_parse_wwn() local
1931 nibble = c - '0'; in sbp_parse_wwn()
1933 nibble = tolower(c) - 'a' + 10; in sbp_parse_wwn()
1936 *wwn = (*wwn << 4) | nibble; in sbp_parse_wwn()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c452 uint8_t nibble; in get_nibble_at_index() local
453 nibble = buf[index / 2]; in get_nibble_at_index()
456 nibble >>= 4; in get_nibble_at_index()
458 nibble &= 0x0F; in get_nibble_at_index()
460 return nibble; in get_nibble_at_index()
/drivers/scsi/aic7xxx/
Daic79xx.reg3590 * (0-7 only) to the top nibble and retrieve the bit indexed by that value
/drivers/infiniband/hw/hfi1/
Dchip.c7335 static inline u8 nibble_to_count(u8 nibble) in nibble_to_count() argument
7337 return bit_counts[nibble & 0xf]; in nibble_to_count()