Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 25 of 29) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/misc/
H A Dmisc_otp.c31 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 Dlan75xx.c170 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 Dsmsc95xx.c476 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 Dlan78xx.c342 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 Dzynq_nand.c459 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 Dmxc_nand.c561 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 Dkmeter1_nand.c115 nand->write_buf = kpn_nand_write_buf; in board_nand_init()
H A Dfsl_upm.c180 chip->write_buf = upm_nand_write_buf; in fsl_upm_nand_init()
H A Ddenali.c649 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 Dlpc32xx_nand_slc.c536 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 Darasan_nfc.c619 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 Dnand_base.c212 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 Dmxs_nand.c939 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 Dpxa3xx_nand.c1229 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 Ddavinci_nand.c784 nand->write_buf = nand_davinci_write_buf; in davinci_nand_init()
H A Dvf610_nfc.c670 chip->write_buf = vf610_nfc_write_buf; in vf610_nfc_nand_init()
H A Datmel_nand.c588 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 Dfsl_elbc_nand.c708 nand->write_buf = fsl_elbc_write_buf; in fsl_elbc_chip_init()
H A Drockchip_nand_v9.c592 chip->write_buf = rockchip_nand_write_buf; in rockchip_nand_chip_init()
H A Drockchip_nand.c591 chip->write_buf = rockchip_nand_write_buf; in rockchip_nand_chip_init()
/rk3399_rockchip-uboot/include/
H A Dmisc.h151 int misc_otp_write_verify(struct udevice *dev, int offset, const uint8_t *write_buf, int size);
/rk3399_rockchip-uboot/board/socrates/
H A Dnand.c157 nand->write_buf = sc_nand_write_buf; in board_nand_init()
/rk3399_rockchip-uboot/board/synopsys/axs10x/
H A Dnand.c235 nand->write_buf = axs101_nand_write_buf; in board_nand_init()
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dspi-nor.h337 size_t len, const u_char *write_buf);
H A Drawnand.h868 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

12