Home
last modified time | relevance | path

Searched full:nibble (Results 1 – 25 of 270) sorted by relevance

1234567891011

/openbmc/u-boot/tools/
H A Dgen_ethaddr_crc.c19 uint8_t nibble_to_hex(const char *nibble, bool lo) in nibble_to_hex() argument
21 return (strtol(nibble, NULL, 16) << (lo ? 0 : 4)) & (lo ? 0x0f : 0xf0); in nibble_to_hex()
30 char nibble[2] = { 0x00, '\n' }; /* for strtol */ in process_mac() local
32 nibble[0] = *mac_address++; in process_mac()
33 if (isxdigit(nibble[0])) { in process_mac()
34 if (isupper(nibble[0])) in process_mac()
35 nibble[0] = tolower(nibble[0]); in process_mac()
36 ethaddr[i >> 1] |= nibble_to_hex(nibble, (i % 2) != 0); in process_mac()
/openbmc/linux/Documentation/input/devices/
H A Dwalkera0701.rst104 One binary and octal value can be grouped to nibble. 24 nibbles + one binary
109 absolute binary value. (10 bits per channel). Next nibble is checksum for
114 four channels. In nibbles 22 and 23 is a special magic number. Nibble 24 is
117 After last octal value for nibble 24 and next sync pulse one additional
126 nibble (only first 3 bits are used). Binary value for checksum nibble is
/openbmc/linux/drivers/media/rc/keymaps/
H A Drc-dvbsky.c6 * Copyright (c) 2010-2012 by Nibble Max <nibble.max@gmail.com>
73 MODULE_AUTHOR("Nibble Max <nibble.max@gmail.com>");
/openbmc/linux/drivers/leds/
H A Dleds-mlxreg.c70 * Each LED is controlled through low or high nibble of the relevant in mlxreg_led_store_hw()
75 * Parameter mask specifies which nibble is used for specific LED: mask in mlxreg_led_store_hw()
76 * 0xf0 - lower nibble is to be used (bits from 0 to 3), mask 0x0f - in mlxreg_led_store_hw()
77 * higher nibble (bits from 4 to 7). in mlxreg_led_store_hw()
107 * Each LED is controlled through low or high nibble of the relevant in mlxreg_led_get_hw()
112 * Parameter mask specifies which nibble is used for specific LED: mask in mlxreg_led_get_hw()
113 * 0xf0 - lower nibble is to be used (bits from 0 to 3), mask 0x0f - in mlxreg_led_get_hw()
114 * higher nibble (bits from 4 to 7). in mlxreg_led_get_hw()
H A Dleds-mlxcpld.c263 * Each LED is controlled through low or high nibble of the relevant in mlxcpld_led_store_hw()
268 * Parameter mask specifies which nibble is used for specific LED: mask in mlxcpld_led_store_hw()
269 * 0xf0 - lower nibble is to be used (bits from 0 to 3), mask 0x0f - in mlxcpld_led_store_hw()
270 * higher nibble (bits from 4 to 7). in mlxcpld_led_store_hw()
/openbmc/linux/drivers/parport/
H A Dieee1284_ops.c143 /* Nibble mode. */
157 unsigned char nibble; in parport_ieee1284_read_nibble()
175 pr_debug("%s: Nibble timeout at event 9 (%d bytes)\n", in parport_ieee1284_read_nibble()
182 /* Read a 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()
197 pr_debug("%s: Nibble timeout at event 11\n", in parport_ieee1284_read_nibble()
[all …]
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_spd.h181 unsigned char t_ras_min_msn:4, /* t ras min most significant nibble */
182 t_rc_min_msn:4; /* t rc min most significant nibble */
193 union { /* upper nibble for t faw */
196 unsigned char t_faw_min_msn:4, /* t faw min most significant nibble */
206 union { /* upper nibble for t wr min */
209 unsigned char t_wr_min_msn:4, /* t wr min most significant nibble */
217 unsigned char t_wtr_s_min_msn:4, /* t wtr s min most significant nibble */
218 t_wtr_l_min_msn:4; /* t wtr l min most significant nibble */
/openbmc/linux/drivers/net/plip/
H A Dplip.c61 Trigger by sending nibble '0x8' (this causes interrupt on other end)
134 /* Nibble time out = PLIP_NIBBLE_WAIT * PLIP_DELAY_UNIT usec */
184 enum plip_nibble_state nibble; member
214 unsigned long nibble; member
306 nl->nibble = PLIP_NIBBLE_WAIT; in plip_init_netdev()
591 unsigned short nibble_timeout = nl->nibble; in plip_receive_packet()
603 rcv->nibble = PLIP_NB_BEGIN; in plip_receive_packet()
609 &rcv->nibble, &rcv->length.b.lsb)) { in plip_receive_packet()
621 &rcv->nibble, &rcv->length.b.lsb)) in plip_receive_packet()
629 &rcv->nibble, &rcv->length.b.msb)) in plip_receive_packet()
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dmte_helper.h52 * load_tag1 - Load 1 tag (nibble) from byte
59 * store_tag1 - Store 1 tag (nibble) into byte
62 * @tag: The tag to be stored in the nibble
/openbmc/linux/drivers/media/tuners/
H A Dm88rs6000t.h5 * Copyright (C) 2014 Max nibble <nibble.max@gmail.com>
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/host/ac01-boot-progress/
H A Ddimm_train_fail_log.sh33 uMsg="Upper Nibble: No Error"
34 lMsg="Lower Nibble: No Error"
36 uMsg="Upper Nibble: No rising edge error"
39 lMsg="Lower Nibble: No rising edge error"
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dhigh_speed_env_spec.h46 * Configuration per SERDES line. Each nibble is MV_SERDES_LINE_TYPE
50 u32 line0_7; /* Lines 0 to 7 SERDES MUX one nibble per line */
51 u32 line8_15; /* Lines 8 to 15 SERDES MUX one nibble per line */
/openbmc/linux/sound/firewire/digi00x/
H A Damdtp-dot.c65 * the length of the added pattern only depends on the lower nibble in dot_scrt()
72 * the lower nibble of the salt. Interleaved sequence. in dot_scrt()
78 /* circular list for the salt's hi nibble. */ in dot_scrt()
83 * start offset for upper nibble mapping. in dot_scrt()
84 * note: 9 is /special/. In the case where the high nibble == 0x9, in dot_scrt()
85 * hir[] is not used and - coincidentally - the salt's hi nibble is in dot_scrt()
/openbmc/linux/arch/arm/probes/
H A Ddecode.c248 /* Each nibble has same value as that at INSN_NEW_BITS bit 16 */
254 * Each nibble in regs contains a value from enum decode_reg_type. For each
255 * non-zero value, the corresponding nibble in pinsn is validated and modified
261 probes_opcode_t mask = 0xf; /* Start at least significant nibble */ in decode_regs()
270 /* Nibble not a register, skip to next */ in decode_regs()
319 /* Replace value of nibble with new register number... */ in decode_regs()
/openbmc/linux/drivers/scsi/isci/
H A Dremote_node_table.h153 * sets of three into a single nibble. When the STP RNi is allocated all
154 * of the bits in the nibble are cleared. This math results in a table size
162 * This field is the nibble selector for the above table. There are three
/openbmc/linux/Documentation/networking/
H A Dplip.rst199 send header nibble '0x8'
210 To start a transfer the transmitting machine outputs a nibble 0x08.
219 OUT := low nibble, OUT.4 := 1
221 OUT := high nibble, OUT.4 := 0
/openbmc/qemu/include/hw/pci-host/
H A Dpam.h70 /* PAM registers: log nibble and high nibble*/
/openbmc/linux/drivers/media/rc/
H A Dir-xmp-decoder.c89 * the 4th nibble should be 15 so base the divider on this in ir_xmp_decode()
148 /* Expect 8 or 16 nibble pulses. 16 in case of 'final' frame */ in ir_xmp_decode()
168 /* store nibble raw data, decode after trailer */ in ir_xmp_decode()
/openbmc/linux/drivers/staging/fbtft/
H A Dfb_uc1611.c173 | (0x0 & 0x1)); /* MS nibble last (default) */ in set_var()
186 | (0x0 & 0x1)); /* MS nibble last (default) */ in set_var()
199 | (0x0 & 0x1)); /* MS nibble last (default) */ in set_var()
212 | (0x0 & 0x1)); /* MS nibble last (default) */ in set_var()
/openbmc/qemu/include/hw/ssi/
H A Dpnv_spi_regs.h120 * Only the upper nibble is significant because for many operations
121 * the lower nibble is a variable specific to the operation.
/openbmc/linux/drivers/auxdisplay/
H A Dhd44780.c85 /* High nibble + RS, RW */ in hd44780_write_gpio4()
95 /* Low nibble */ in hd44780_write_gpio4()
162 /* Command nibble + RS, RW */ in hd44780_write_cmd_raw_gpio4()
/openbmc/linux/drivers/media/pci/smipcie/
H A Dsmipcie-ir.c5 * Copyright (C) 2014 Max nibble <nibble.max@gmail.com>
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-wacom77 the display. The low nibble of each byte contains the first
78 line, and the high nibble contains the second line.
/openbmc/linux/arch/arm/mm/
H A Dabort-lv4t.S91 and r9, r8, #0x00f @ get Rm / low nibble of immediate value
93 andne r6, r8, #0xf00 @ { immediate high nibble
212 adc r6, r6, r6, lsr #4 @ high + low nibble + R bit
/openbmc/linux/drivers/net/ethernet/realtek/
H A Datp.h56 #define ISRh_RxErr 0x11 /* ISR, high nibble */
197 /* Write a byte out using nibble mode. The low nibble is written first. */

1234567891011