Searched refs:data_buffer (Results 1 – 5 of 5) sorted by relevance
| /u-boot/board/nvidia/dalmore/ |
| A D | dalmore.c | 45 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 55 data_buffer[0] = 0x31; in board_sdmmc_voltage_init() 58 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 61 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 64 data_buffer[0] = 0x01; in board_sdmmc_voltage_init() 67 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 70 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 73 data_buffer[0] = 0x03; in board_sdmmc_voltage_init() 81 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 84 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init()
|
| /u-boot/board/nvidia/cardhu/ |
| A D | cardhu.c | 45 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 56 data_buffer[0] = 0x65; in board_sdmmc_voltage_init() 60 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init() 65 data_buffer[0] = 0x09; in board_sdmmc_voltage_init() 69 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init()
|
| /u-boot/drivers/spi/ |
| A D | spi-qup.c | 357 static int __qup_spi_blsp_spi_read(struct udevice *dev, u8 *data_buffer, unsigned int bytes) in __qup_spi_blsp_spi_read() argument 400 *data_buffer = qup_spi_read_byte(dev); in __qup_spi_blsp_spi_read() 401 data_buffer++; in __qup_spi_blsp_spi_read() 417 static int qup_spi_blsp_spi_read(struct udevice *dev, u8 *data_buffer, unsigned int bytes) in qup_spi_blsp_spi_read() argument 424 ret = __qup_spi_blsp_spi_read(dev, data_buffer, length); in qup_spi_blsp_spi_read() 428 data_buffer += length; in qup_spi_blsp_spi_read()
|
| /u-boot/fs/squashfs/ |
| A D | sqfs.c | 1311 char *dir = NULL, *fragment_block, *datablock = NULL, *data_buffer = NULL; in sqfs_read() local 1451 data_buffer = NULL; in sqfs_read() 1454 data_buffer = malloc_cache_aligned(n_blks * ctxt.cur_dev->blksz); in sqfs_read() 1456 if (!data_buffer) { in sqfs_read() 1461 ret = sqfs_disk_read(start, n_blks, data_buffer); in sqfs_read() 1472 data = data_buffer + table_offset; in sqfs_read() 1502 if (data_buffer) in sqfs_read() 1503 free(data_buffer); in sqfs_read() 1504 data_buffer = NULL; in sqfs_read() 1569 free(data_buffer); in sqfs_read()
|
| /u-boot/drivers/mtd/nand/raw/ |
| A D | octeontx_nand.c | 1530 static u8 *data_buffer; in octeontx_nand_bch_correct() local 1539 free(data_buffer); in octeontx_nand_bch_correct() 1540 data_buffer = dma_alloc_coherent(i, in octeontx_nand_bch_correct() 1542 if (!data_buffer) { in octeontx_nand_bch_correct() 1551 memcpy(data_buffer, dat, nand->ecc.size); in octeontx_nand_bch_correct() 1552 memcpy(data_buffer + nand->ecc.size, read_ecc, nand->ecc.bytes); in octeontx_nand_bch_correct() 1555 data_buffer[nand->ecc.size + i] ^= tn->eccmask[i]; in octeontx_nand_bch_correct()
|
Completed in 56 milliseconds