| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | misc_otp.c | 31 int misc_otp_write_verify(struct udevice *dev, int offset, const uint8_t *write_buf, int size) in misc_otp_write_verify() argument 48 if (read_buf[i] & ~write_buf[i]) { in misc_otp_write_verify() 53 if ((read_buf[i] == write_buf[i]) && write_buf[i]) in misc_otp_write_verify() 65 ret = misc_otp_write(dev, (offset + written_size), &write_buf[written_size], in misc_otp_write_verify() 79 if ((write_buf[i + written_size] | read_buf[i + written_size]) != verify_buf[i]) { in misc_otp_write_verify() 82 verify_buf[i], (write_buf[i + written_size] | read_buf[i + written_size])); in misc_otp_write_verify()
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | lan75xx.c | 170 u32 write_buf; in lan75xx_eth_start() local 190 write_buf = (MAX_RX_FIFO_SIZE - 512) / 512; in lan75xx_eth_start() 191 ret = lan7x_write_reg(udev, LAN75XX_FCT_RX_FIFO_END, write_buf); in lan75xx_eth_start() 195 write_buf = (MAX_TX_FIFO_SIZE - 512) / 512; in lan75xx_eth_start() 196 ret = lan7x_write_reg(udev, LAN75XX_FCT_TX_FIFO_END, write_buf); in lan75xx_eth_start() 227 ret = lan7x_read_reg(udev, MAC_CR, &write_buf); in lan75xx_eth_start() 230 write_buf |= MAC_CR_AUTO_DUPLEX | MAC_CR_AUTO_SPEED | MAC_CR_ADP; in lan75xx_eth_start() 231 ret = lan7x_write_reg(udev, MAC_CR, write_buf); in lan75xx_eth_start()
|
| H A D | smsc95xx.c | 476 u32 write_buf; in smsc95xx_init_common() local 486 write_buf = HW_CFG_LRST_; in smsc95xx_init_common() 487 ret = smsc95xx_write_reg(udev, HW_CFG, write_buf); in smsc95xx_init_common() 505 write_buf = PM_CTL_PHY_RST_; in smsc95xx_init_common() 506 ret = smsc95xx_write_reg(udev, PM_CTRL, write_buf); in smsc95xx_init_common() 591 write_buf = 0xFFFFFFFF; in smsc95xx_init_common() 592 ret = smsc95xx_write_reg(udev, INT_STS, write_buf); in smsc95xx_init_common() 602 write_buf = LED_GPIO_CFG_SPD_LED | LED_GPIO_CFG_LNK_LED | in smsc95xx_init_common() 604 ret = smsc95xx_write_reg(udev, LED_GPIO_CFG, write_buf); in smsc95xx_init_common() 610 write_buf = 0; in smsc95xx_init_common() [all …]
|
| H A D | lan78xx.c | 342 u32 write_buf; in lan78xx_eth_start() local 394 ret = lan7x_read_reg(udev, MAC_CR, &write_buf); in lan78xx_eth_start() 397 write_buf |= MAC_CR_AUTO_DUPLEX | MAC_CR_AUTO_SPEED | MAC_CR_ADP; in lan78xx_eth_start() 398 ret = lan7x_write_reg(udev, MAC_CR, write_buf); in lan78xx_eth_start()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | zynq_nand.c | 459 chip->write_buf(mtd, buf, (mtd->oobsize - data_width)); in zynq_nand_write_oob() 466 chip->write_buf(mtd, buf, data_width); in zynq_nand_write_oob() 538 chip->write_buf(mtd, buf, mtd->writesize); in zynq_nand_write_page_raw() 541 chip->write_buf(mtd, p, (mtd->oobsize - data_width)); in zynq_nand_write_page_raw() 549 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_raw() 575 chip->write_buf(mtd, p, eccsize); in zynq_nand_write_page_hwecc() 578 chip->write_buf(mtd, p, (eccsize - data_width)); in zynq_nand_write_page_hwecc() 585 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_hwecc() 601 chip->write_buf(mtd, oob_ptr, (mtd->oobsize - data_width)); in zynq_nand_write_page_hwecc() 608 chip->write_buf(mtd, oob_ptr, data_width); in zynq_nand_write_page_hwecc() [all …]
|
| H A D | mxc_nand.c | 561 chip->write_buf(mtd, bufpoi, len); 567 chip->write_buf(mtd, bufpoi, length); 589 chip->write_buf(mtd, buf, eccsize); 595 chip->write_buf(mtd, oob, chip->ecc.prepad); 603 chip->write_buf(mtd, oob, chip->ecc.postpad); 610 chip->write_buf(mtd, oob, size); 634 chip->write_buf(mtd, p, eccsize); 639 chip->write_buf(mtd, oob, chip->ecc.prepad); 643 chip->write_buf(mtd, oob, eccbytes); 647 chip->write_buf(mtd, oob, chip->ecc.postpad); [all …]
|
| H A D | kmeter1_nand.c | 115 nand->write_buf = kpn_nand_write_buf; in board_nand_init()
|
| H A D | fsl_upm.c | 180 chip->write_buf = upm_nand_write_buf; in fsl_upm_nand_init()
|
| H A D | denali.c | 649 chip->write_buf(mtd, bufpoi, oob_skip); in denali_oob_xfer() 666 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 674 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 685 chip->write_buf(mtd, bufpoi, len); in denali_oob_xfer() 1335 chip->write_buf = denali_write_buf16; in denali_init() 1338 chip->write_buf = denali_write_buf; in denali_init()
|
| H A D | lpc32xx_nand_slc.c | 536 lpc32xx_chip->write_buf = lpc32xx_dma_write_buf; in board_nand_init() 560 lpc32xx_chip->write_buf = lpc32xx_write_buf; in board_nand_init()
|
| H A D | arasan_nfc.c | 619 chip->write_buf(mtd, buf, mtd->oobsize); in arasan_nand_write_oob() 1115 nand_chip->write_buf(mtd, &set_feature[0], 4); in arasan_check_ondie() 1215 nand_chip->write_buf = arasan_nand_write_buf; in arasan_nand_init()
|
| 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() 1235 chip->write_buf(mtd, buf, len); in nand_prog_page_begin_op() 1292 chip->write_buf(mtd, buf, len); in nand_prog_page_op() 1331 chip->write_buf(mtd, buf, len); in nand_change_write_column_op() 1584 chip->write_buf(mtd, buf, len); in nand_write_data_op() 3741 if (!chip->write_buf || chip->write_buf == nand_write_buf) in nand_set_defaults() 3742 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_set_defaults()
|
| H A D | mxs_nand.c | 939 nand->write_buf(mtd, &block_mark, 1); in mxs_nand_ecc_write_oob() 1236 nand->write_buf = mxs_nand_write_buf; in mxs_nand_init_ctrl()
|
| H A D | pxa3xx_nand.c | 1229 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc() 1230 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in pxa3xx_nand_write_page_hwecc() 1785 chip->write_buf = pxa3xx_nand_write_buf; in alloc_nand_resource()
|
| H A D | davinci_nand.c | 784 nand->write_buf = nand_davinci_write_buf; in davinci_nand_init()
|
| H A D | vf610_nfc.c | 670 chip->write_buf = vf610_nfc_write_buf; in vf610_nfc_nand_init()
|
| H A D | atmel_nand.c | 588 chip->write_buf(mtd, (u8 *)buf, mtd->writesize); in atmel_nand_pmecc_write_page() 611 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in atmel_nand_pmecc_write_page()
|
| H A D | fsl_elbc_nand.c | 708 nand->write_buf = fsl_elbc_write_buf; in fsl_elbc_chip_init()
|
| H A D | rockchip_nand_v9.c | 592 chip->write_buf = rockchip_nand_write_buf; in rockchip_nand_chip_init()
|
| H A D | rockchip_nand.c | 591 chip->write_buf = rockchip_nand_write_buf; in rockchip_nand_chip_init()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | misc.h | 151 int misc_otp_write_verify(struct udevice *dev, int offset, const uint8_t *write_buf, int size);
|
| /rk3399_rockchip-uboot/board/socrates/ |
| H A D | nand.c | 157 nand->write_buf = sc_nand_write_buf; in board_nand_init()
|
| /rk3399_rockchip-uboot/board/synopsys/axs10x/ |
| H A D | nand.c | 235 nand->write_buf = axs101_nand_write_buf; in board_nand_init()
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | spi-nor.h | 337 size_t len, const u_char *write_buf);
|
| H A D | rawnand.h | 868 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member 1140 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member
|