| /openbmc/u-boot/drivers/usb/eth/ |
| H A D | lan75xx.c | 169 u32 write_buf; in lan75xx_eth_start() local 189 write_buf = (MAX_RX_FIFO_SIZE - 512) / 512; in lan75xx_eth_start() 190 ret = lan7x_write_reg(udev, LAN75XX_FCT_RX_FIFO_END, write_buf); in lan75xx_eth_start() 194 write_buf = (MAX_TX_FIFO_SIZE - 512) / 512; in lan75xx_eth_start() 195 ret = lan7x_write_reg(udev, LAN75XX_FCT_TX_FIFO_END, write_buf); in lan75xx_eth_start() 226 ret = lan7x_read_reg(udev, MAC_CR, &write_buf); in lan75xx_eth_start() 229 write_buf |= MAC_CR_AUTO_DUPLEX | MAC_CR_AUTO_SPEED | MAC_CR_ADP; in lan75xx_eth_start() 230 ret = lan7x_write_reg(udev, MAC_CR, write_buf); in lan75xx_eth_start()
|
| H A D | smsc95xx.c | 475 u32 write_buf; in smsc95xx_init_common() local 485 write_buf = HW_CFG_LRST_; in smsc95xx_init_common() 486 ret = smsc95xx_write_reg(udev, HW_CFG, write_buf); in smsc95xx_init_common() 504 write_buf = PM_CTL_PHY_RST_; in smsc95xx_init_common() 505 ret = smsc95xx_write_reg(udev, PM_CTRL, write_buf); in smsc95xx_init_common() 590 write_buf = 0xFFFFFFFF; in smsc95xx_init_common() 591 ret = smsc95xx_write_reg(udev, INT_STS, write_buf); in smsc95xx_init_common() 601 write_buf = LED_GPIO_CFG_SPD_LED | LED_GPIO_CFG_LNK_LED | in smsc95xx_init_common() 603 ret = smsc95xx_write_reg(udev, LED_GPIO_CFG, write_buf); in smsc95xx_init_common() 609 write_buf = 0; in smsc95xx_init_common() [all …]
|
| H A D | lan78xx.c | 341 u32 write_buf; in lan78xx_eth_start() local 393 ret = lan7x_read_reg(udev, MAC_CR, &write_buf); in lan78xx_eth_start() 396 write_buf |= MAC_CR_AUTO_DUPLEX | MAC_CR_AUTO_SPEED | MAC_CR_ADP; in lan78xx_eth_start() 397 ret = lan7x_write_reg(udev, MAC_CR, write_buf); in lan78xx_eth_start()
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | zynq_nand.c | 458 chip->write_buf(mtd, buf, (mtd->oobsize - data_width)); in zynq_nand_write_oob() 465 chip->write_buf(mtd, buf, data_width); in zynq_nand_write_oob() 537 chip->write_buf(mtd, buf, mtd->writesize); in zynq_nand_write_page_raw() 540 chip->write_buf(mtd, p, (mtd->oobsize - data_width)); in zynq_nand_write_page_raw() 548 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_raw() 574 chip->write_buf(mtd, p, eccsize); in zynq_nand_write_page_hwecc() 577 chip->write_buf(mtd, p, (eccsize - data_width)); in zynq_nand_write_page_hwecc() 584 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_hwecc() 600 chip->write_buf(mtd, oob_ptr, (mtd->oobsize - data_width)); in zynq_nand_write_page_hwecc() 607 chip->write_buf(mtd, oob_ptr, data_width); in zynq_nand_write_page_hwecc() [all …]
|
| H A D | mxc_nand.c | 560 chip->write_buf(mtd, bufpoi, len); 566 chip->write_buf(mtd, bufpoi, length); 588 chip->write_buf(mtd, buf, eccsize); 594 chip->write_buf(mtd, oob, chip->ecc.prepad); 602 chip->write_buf(mtd, oob, chip->ecc.postpad); 609 chip->write_buf(mtd, oob, size); 633 chip->write_buf(mtd, p, eccsize); 638 chip->write_buf(mtd, oob, chip->ecc.prepad); 642 chip->write_buf(mtd, oob, eccbytes); 646 chip->write_buf(mtd, oob, chip->ecc.postpad); [all …]
|
| H A D | nand_base.c | 212 chip->write_buf(mtd, &byte, 1); in nand_write_byte() 243 chip->write_buf(mtd, (uint8_t *)&word, 2); in nand_write_byte16() 1933 chip->write_buf(mtd, buf, length); in nand_write_oob_std() 1977 chip->write_buf(mtd, (uint8_t *)&fill, in nand_write_oob_syndrome() 1988 chip->write_buf(mtd, bufpoi, len); in nand_write_oob_syndrome() 1993 chip->write_buf(mtd, bufpoi, length); in nand_write_oob_syndrome() 2157 chip->write_buf(mtd, buf, mtd->writesize); in nand_write_page_raw() 2159 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in nand_write_page_raw() 2185 chip->write_buf(mtd, buf, eccsize); in nand_write_page_raw_syndrome() 2189 chip->write_buf(mtd, oob, chip->ecc.prepad); in nand_write_page_raw_syndrome() [all …]
|
| H A D | kmeter1_nand.c | 114 nand->write_buf = kpn_nand_write_buf; in board_nand_init()
|
| H A D | denali.c | 648 chip->write_buf(mtd, bufpoi, oob_skip); in denali_oob_xfer() 665 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 673 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 684 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 1334 chip->write_buf = denali_write_buf16; in denali_init() 1337 chip->write_buf = denali_write_buf; in denali_init()
|
| H A D | fsl_upm.c | 179 chip->write_buf = upm_nand_write_buf; in fsl_upm_nand_init()
|
| H A D | lpc32xx_nand_slc.c | 537 lpc32xx_chip->write_buf = lpc32xx_dma_write_buf; in board_nand_init() 561 lpc32xx_chip->write_buf = lpc32xx_write_buf; in board_nand_init()
|
| H A D | arasan_nfc.c | 618 chip->write_buf(mtd, buf, mtd->oobsize); in arasan_nand_write_oob() 1114 nand_chip->write_buf(mtd, &set_feature[0], 4); in arasan_check_ondie() 1214 nand_chip->write_buf = arasan_nand_write_buf; in arasan_nand_init()
|
| H A D | mxs_nand.c | 938 nand->write_buf(mtd, &block_mark, 1); in mxs_nand_ecc_write_oob() 1235 nand->write_buf = mxs_nand_write_buf; in mxs_nand_init_ctrl()
|
| H A D | pxa3xx_nand.c | 1228 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc() 1229 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in pxa3xx_nand_write_page_hwecc() 1784 chip->write_buf = pxa3xx_nand_write_buf; in alloc_nand_resource()
|
| H A D | davinci_nand.c | 820 nand->write_buf = nand_davinci_write_buf; in davinci_nand_init()
|
| H A D | vf610_nfc.c | 669 chip->write_buf = vf610_nfc_write_buf; in vf610_nfc_nand_init()
|
| H A D | atmel_nand.c | 587 chip->write_buf(mtd, (u8 *)buf, mtd->writesize); in atmel_nand_pmecc_write_page() 610 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in atmel_nand_pmecc_write_page()
|
| H A D | fsl_elbc_nand.c | 707 nand->write_buf = fsl_elbc_write_buf; in fsl_elbc_chip_init()
|
| H A D | fsl_ifc_nand.c | 933 nand->write_buf = fsl_ifc_write_buf; in fsl_ifc_chip_init()
|
| H A D | sunxi_nand.c | 1710 nand->write_buf = sunxi_nfc_write_buf; in sunxi_nand_chip_init()
|
| /openbmc/u-boot/board/socrates/ |
| H A D | nand.c | 156 nand->write_buf = sc_nand_write_buf; in board_nand_init()
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | aspeed_spi.c | 816 u8 opcode, const u8 *write_buf, int len) in aspeed_spi_write_reg() argument 824 ASPEED_SPI_OP_DATA_OUT(len, write_buf)); in aspeed_spi_write_reg() 833 op.addr.val |= (u32)write_buf[i]; in aspeed_spi_write_reg() 844 aspeed_spi_write_to_ahb(flash->ahb_base, write_buf, len); in aspeed_spi_write_reg() 968 unsigned int len, const u8 *write_buf) in aspeed_spi_write_user() argument 975 ASPEED_SPI_OP_DATA_OUT(len, write_buf)); in aspeed_spi_write_user() 993 aspeed_spi_write_to_ahb(flash->ahb_base, write_buf, len); in aspeed_spi_write_user()
|
| /openbmc/u-boot/include/linux/mtd/ |
| H A D | spi-nor.h | 338 size_t len, const u_char *write_buf);
|
| H A D | rawnand.h | 890 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member 1160 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member
|
| /openbmc/qemu/tests/qtest/ |
| H A D | ufs-test.c | 610 uint8_t write_buf[4096] = { 0 }; in ufstest_read_write() local 664 memset(write_buf, 0xab, block_size); in ufstest_read_write() 665 ocs = ufs_send_scsi_command(ufs, test_lun, write_cdb, write_buf, block_size, in ufstest_read_write() 677 g_assert_cmpint(memcmp(read_buf, write_buf, block_size), ==, 0); in ufstest_read_write()
|
| /openbmc/u-boot/doc/ |
| H A D | README.nand | 144 * or uses the standard read_byte/write_buf/etc. functions from
|