Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/spi/
H A Dspi-mem-nodm.c91 if (slave->max_write_size && len > slave->max_write_size) in spi_mem_adjust_op_size()
97 else if (slave->max_write_size) in spi_mem_adjust_op_size()
99 slave->max_write_size - len); in spi_mem_adjust_op_size()
H A Dspi-mem.c440 if (slave->max_write_size && len > slave->max_write_size) in spi_mem_adjust_op_size()
446 else if (slave->max_write_size) in spi_mem_adjust_op_size()
448 slave->max_write_size - len); in spi_mem_adjust_op_size()
H A Dbcm63xx_spi.c365 slave->max_write_size = regs[SPI_TX_SIZE]; in bcm63xx_spi_child_pre_probe()
H A Dich.c657 slave->max_write_size = priv->databytes; in ich_spi_child_pre_probe()
H A Dfsl_qspi.c907 qspi->slave.max_write_size = TX_BUFFER_SIZE; in spi_setup_slave()
988 slave->max_write_size = TX_BUFFER_SIZE; in fsl_qspi_child_pre_probe()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dio.c514 ubifs_assert(wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock()
517 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock()
518 ubifs_assert(!((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock()
547 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock()
549 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock()
550 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
552 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock()
588 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock()
590 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock()
591 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
[all …]
H A Dsuper.c702 c->max_write_size = c->di.max_write_size; in init_constants_early()
703 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early()
726 if (c->max_write_size < c->min_io_size || in init_constants_early()
727 c->max_write_size % c->min_io_size || in init_constants_early()
728 !is_power_of_2(c->max_write_size)) { in init_constants_early()
730 c->max_write_size, c->min_io_size); in init_constants_early()
742 if (c->max_write_size < c->min_io_size) { in init_constants_early()
743 c->max_write_size = c->min_io_size; in init_constants_early()
1619 c->max_write_size); in mount_ubifs()
H A Drecovery.c417 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write()
472 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
484 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
923 int len = c->max_write_size, err; in recover_head()
H A Dubifs.h1925 int max_write_size; member
H A Ddebug.c2603 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dbuild.c709 ubi->max_write_size = ubi->mtd->writebufsize; in io_init()
714 if (ubi->max_write_size < ubi->min_io_size || in io_init()
715 ubi->max_write_size % ubi->min_io_size || in io_init()
716 !is_power_of_2(ubi->max_write_size)) { in io_init()
718 ubi->max_write_size, ubi->min_io_size); in io_init()
727 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init()
1040 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
H A Dkapi.c38 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
H A Dubi.h620 int max_write_size; member
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dubi.h186 int max_write_size; member
/rk3399_rockchip-uboot/include/
H A Dspi.h123 unsigned int max_write_size; member
/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dspi_flash.c420 if (spi->max_write_size) in spi_flash_cmd_write_ops()
422 spi->max_write_size - sizeof(cmd)); in spi_flash_cmd_write_ops()