Home
last modified time | relevance | path

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

/openbmc/libmctp/
H A Dcrc32.c11 const uint8_t *buf8 = buf; in crc32() local
17 rem = rem ^ *buf8; in crc32()
21 buf8++; in crc32()
/openbmc/linux/drivers/staging/fbtft/
H A Dfb_uc1611.c222 u8 *buf8 = par->txbuf.buf; in write_vmem() local
238 *buf8 = vmem8[i] >> 4; in write_vmem()
239 *buf8 |= vmem8[i + 1] & 0xF0; in write_vmem()
240 buf8++; in write_vmem()
251 *buf8 = vmem8[i] >> 4; in write_vmem()
252 *buf8 |= vmem8[i + line_length] & 0xF0; in write_vmem()
253 buf8++; in write_vmem()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dspl_spi_sunxi.c228 u8 *buf8 = buf; in spi0_read_data() local
237 sunxi_spi0_read_data(buf8, addr, chunk_len, in spi0_read_data()
247 sunxi_spi0_read_data(buf8, addr, chunk_len, in spi0_read_data()
259 buf8 += chunk_len; in spi0_read_data()
/openbmc/linux/drivers/nvmem/
H A Dstm32-romem.c45 u8 *buf8 = buf; in stm32_romem_read() local
49 *buf8++ = readb_relaxed(priv->base + i); in stm32_romem_read()
78 u8 *buf8 = buf, *val8 = (u8 *)&val; in stm32_bsec_read() local
110 memcpy(&buf8[j], &val8[skip_bytes], size); in stm32_bsec_read()
H A Dimx-iim.c37 u8 *buf8 = buf; in imx_iim_read() local
47 *buf8++ = readl(iim->base + IIM_BANK_BASE(bank) + reg * 4); in imx_iim_read()
/openbmc/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c46 u8 *buf8 = val_buf; in cs35l56_sdw_read() local
61 ret = sdw_nread_no_pm(peripheral, reg, bytes, buf8); in cs35l56_sdw_read()
68 swab32_array((u32 *)buf8, bytes / 4); in cs35l56_sdw_read()
71 buf8 += bytes; in cs35l56_sdw_read()
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp164 uint8_t* buf8 = static_cast<uint8_t*>(buf); in vpnor_copy_bootloader_partition() local
165 backend_copy(&local, tocOffset, buf8 + tocStart, blTable.capacity()); in vpnor_copy_bootloader_partition()
166 backend_copy(&local, hbbOffset, buf8 + hbbOffset, hbbSize); in vpnor_copy_bootloader_partition()
/openbmc/phosphor-mboxd/test/
H A Dmbox.c28 const uint8_t *buf8 = buf; in dump_buf() local
41 printf("0x%02x, ", buf8[i + j]); in dump_buf()
/openbmc/hiomapd/test/
H A Dmbox.c30 const uint8_t *buf8 = buf; in dump_buf() local
43 printf("0x%02x, ", buf8[i + j]); in dump_buf()
/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dcs89x0.c200 u8 *buf8 = (u8 *)buf; in readwords() local
206 *buf8++ = (u8)tmp16; in readwords()
207 *buf8++ = (u8)(tmp16 >> 8); in readwords()
213 u8 *buf8 = (u8 *)buf; in writewords() local
218 tmp16 = *buf8++; in writewords()
219 tmp16 |= (*buf8++) << 8; in writewords()
/openbmc/linux/drivers/mmc/host/
H A Dtmio_mmc_core.c348 u8 *buf8; in tmio_mmc_transfer_data() local
392 buf8 = (u8 *)(buf + (count >> 1)); in tmio_mmc_transfer_data()
401 *buf8 = sd_ctrl_read16(host, CTL_SD_DATA_PORT) & 0xff; in tmio_mmc_transfer_data()
403 sd_ctrl_write16(host, CTL_SD_DATA_PORT, *buf8); in tmio_mmc_transfer_data()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c340 u8 *buf8 = (u8 *)in; in pl35x_nand_read_data_op() local
356 buf8[i] = readb(nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_read_data_op()
371 const u8 *buf8 = (const u8 *)out; in pl35x_nand_write_data_op() local
388 writeb(buf8[i], nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_write_data_op()
/openbmc/linux/drivers/usb/misc/sisusbvga/
H A Dsisusbvga.c2302 u8 buf8; in sisusb_read() local
2332 address, &buf8)) in sisusb_read()
2334 else if (put_user(buf8, (u8 __user *)buffer)) in sisusb_read()
2438 u8 buf8; in sisusb_write() local
2467 if (get_user(buf8, (u8 __user *)buffer)) in sisusb_write()
2470 SISUSB_TYPE_IO, address, buf8)) in sisusb_write()
/openbmc/qemu/ui/
H A Dvnc-enc-tight.c888 uint8_t *buf8; in tight_pack24() local
892 buf8 = buf; in tight_pack24()
909 pix = ldl_he_p(buf8); in tight_pack24()
913 buf8 += 4; in tight_pack24()
/openbmc/linux/drivers/base/regmap/
H A Dregmap-irq.c414 u8 *buf8 = data->status_reg_buf; in regmap_irq_thread() local
432 data->status_buf[i] = buf8[i]; in regmap_irq_thread()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c12961 u8 *buf8 = (u8 *) buf, csum8 = 0; in tg3_test_nvram() local
12967 csum8 += buf8[i]; in tg3_test_nvram()
12969 csum8 += buf8[i]; in tg3_test_nvram()
12972 csum8 += buf8[i]; in tg3_test_nvram()
12988 u8 *buf8 = (u8 *) buf; in tg3_test_nvram() local
12997 parity[k++] = buf8[i] & msk; in tg3_test_nvram()
13004 parity[k++] = buf8[i] & msk; in tg3_test_nvram()
13008 parity[k++] = buf8[i] & msk; in tg3_test_nvram()
13011 data[j++] = buf8[i]; in tg3_test_nvram()