Home
last modified time | relevance | path

Searched refs:buf8 (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/sys/dev/iicbus/
H A Dlm75.c196 uint8_t buf8; in lm75_type_detect() local
230 &buf8, sizeof(buf8)) < 0) in lm75_type_detect()
232 if (buf8 != LM75_TEST_PATTERN && buf8 != 0xff) in lm75_type_detect()
306 uint8_t buf8; in lm75_conf_read() local
309 &buf8, sizeof(buf8)) < 0) in lm75_conf_read()
319 uint8_t buf8[2]; in lm75_conf_write() local
323 if (lm75_write(sc->sc_dev, sc->sc_addr, buf8, sizeof(buf8)) < 0) in lm75_conf_write()
332 uint8_t buf8[2]; in lm75_temp_read() local
338 buf = (uint16_t)((buf8[0] << 8) | (buf8[1] & 0xff)); in lm75_temp_read()
374 uint8_t buf8[3]; in lm75_temp_write() local
[all …]
H A Dds3231.c148 uint8_t buf8[2]; in ds3231_temp_read() local
151 error = iicdev_readfrom(sc->sc_dev, DS3231_TEMP, buf8, sizeof(buf8), in ds3231_temp_read()
155 buf = (buf8[0] << 8) | (buf8[1] & 0xff); in ds3231_temp_read()
/freebsd-12.1/sys/cddl/boot/zfs/
H A Dblkptr.c50 uint8_t *buf8 = buf; in decode_embedded_bp_compressed() local
71 buf8[i] = BF64_GET(w, (i % sizeof (w)) * NBBY, NBBY); in decode_embedded_bp_compressed()
/freebsd-12.1/sys/dev/nand/
H A Dnandsim_ctrl.c351 uint8_t *buf8 = (uint8_t *)buf; in nandsim_read_buf() local
361 buf8[i] = nandsim_read_byte(dev); in nandsim_read_buf()
370 uint8_t *buf8 = (uint8_t *)buf; in nandsim_write_buf() local
380 nandsim_write_byte(dev, buf8[i]); in nandsim_write_buf()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dblkptr.c96 uint8_t *buf8 = buf; in decode_embedded_bp_compressed() local
117 buf8[i] = BF64_GET(w, (i % sizeof (w)) * NBBY, NBBY); in decode_embedded_bp_compressed()
/freebsd-12.1/sys/arm64/rockchip/
H A Drk_i2c.c259 uint8_t buf8; in rk_i2c_drain_rx() local
276 buf8 = (buf32 >> ((i % 4) * 8)) & 0xFF; in rk_i2c_drain_rx()
278 sc->msg->buf[sc->cnt++] = buf8; in rk_i2c_drain_rx()
/freebsd-12.1/contrib/ipfilter/
H A Darc4random.c208 # define buf buf_un.buf8 in ipf_rand_push()
/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_ahci.c940 uint8_t *buf8 = (uint8_t *)buf; in ahci_handle_read_log() local
957 memcpy(buf8, p->err_cfis, sizeof(p->err_cfis)); in ahci_handle_read_log()
958 ahci_checksum(buf8, sizeof(buf)); in ahci_handle_read_log()