Home
last modified time | relevance | path

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

1234567891011

/OK3568_Linux_fs/u-boot/tools/
H A Dgen_ethaddr_crc.c20 uint8_t nibble_to_hex(const char *nibble, bool lo) in nibble_to_hex() argument
22 return (strtol(nibble, NULL, 16) << (lo ? 0 : 4)) & (lo ? 0x0f : 0xf0); in nibble_to_hex()
31 char nibble[2] = { 0x00, '\n' }; /* for strtol */ in process_mac() local
33 nibble[0] = *mac_address++; in process_mac()
34 if (isxdigit(nibble[0])) { in process_mac()
35 if (isupper(nibble[0])) in process_mac()
36 nibble[0] = tolower(nibble[0]); in process_mac()
37 ethaddr[i >> 1] |= nibble_to_hex(nibble, (i % 2) != 0); in process_mac()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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>");
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dsbpcmcia.h257 * mcs 0-7 power-offset. LSB nibble: m0, MSB nibble: m7
262 * LSB nibble: m0, MSB nibble: m7
267 * LSB nibble: m0, MSB nibble: m7
272 * LSB nibble: m0, MSB nibble: m7
277 * LSB nibble: 2G band, MSB nibble:
283 * LSB nibble: 2G band, MSB nibble: 5G band high subband.
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dsbpcmcia.h257 * mcs 0-7 power-offset. LSB nibble: m0, MSB nibble: m7
262 * LSB nibble: m0, MSB nibble: m7
267 * LSB nibble: m0, MSB nibble: m7
272 * LSB nibble: m0, MSB nibble: m7
277 * LSB nibble: 2G band, MSB nibble:
283 * LSB nibble: 2G band, MSB nibble: 5G band high subband.
/OK3568_Linux_fs/kernel/drivers/net/plip/
H A Dplip.c61 Trigger by sending nibble '0x8' (this causes interrupt on other end)
133 /* Nibble time out = PLIP_NIBBLE_WAIT * PLIP_DELAY_UNIT usec */
182 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()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/
H A DpmkCache_rom.c330 pmkCacheGetHexNibble(UINT8 nibble) in pmkCacheGetHexNibble() argument
332 if (nibble >= 'a') { in pmkCacheGetHexNibble()
333 return (nibble - 'a' + 10); in pmkCacheGetHexNibble()
336 if (nibble >= 'A') { in pmkCacheGetHexNibble()
337 return (nibble - 'A' + 10); in pmkCacheGetHexNibble()
340 return (nibble - '0'); in pmkCacheGetHexNibble()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/tuners/
H A Dm88rs6000t.h5 * Copyright (C) 2014 Max nibble <nibble.max@gmail.com>
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dhigh_speed_env_spec.h47 * Configuration per SERDES line. Each nibble is MV_SERDES_LINE_TYPE
51 u32 line0_7; /* Lines 0 to 7 SERDES MUX one nibble per line */
52 u32 line8_15; /* Lines 8 to 15 SERDES MUX one nibble per line */
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dht6560b.c78 * The higher nibble of value is the Recovery Time (rt) and the lower nibble
86 * High nibble: Recovery Cycle Time (rt)
89 * Low nibble: Active Cycle Time (at)
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/auxdisplay/
H A Dhd44780.c83 /* High nibble + RS, RW */ in hd44780_write_gpio4()
93 /* Low nibble */ in hd44780_write_gpio4()
149 /* Command nibble + RS, RW */ in hd44780_write_cmd_raw_gpio4()
/OK3568_Linux_fs/kernel/arch/x86/pci/
H A Dirq.c241 * The VIA pirq rules are nibble-based, like ALI,
257 * The VIA pirq rules are nibble-based, like ALI,
259 * However, for 82C586, nibble map is different .
279 * ITE 8330G pirq rules are nibble-based
301 * OPTI: high four bits are nibble pointer..
316 * Cyrix: nibble offset 0x5C
425 * VLSI: nibble offset 0x74 - educated guess due to routing table and
457 * register is a straight binary coding of desired PIC IRQ (low nibble).
482 * The AMD756 pirq rules are nibble-based
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A 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()
/OK3568_Linux_fs/kernel/drivers/w1/masters/
H A Dds1wm.c406 "pass: %d beginning nibble loop\n", pass); in ds1wm_search()
410 /* we work one nibble at a time */ in ds1wm_search()
411 /* each nibble is interleaved to form a byte */ in ds1wm_search()
427 "pass: %d nibble: %d read error\n", pass, i); in ds1wm_search()
455 "pass: %d nibble loop complete, exiting ASM\n", pass); in ds1wm_search()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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