| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/ |
| H A D | mali_kbase_tl_serialize.h | 75 size_t max_write_size) in kbasep_serialize_string() argument 84 KBASE_DEBUG_ASSERT(max_write_size >= sizeof(string_len) + sizeof(char)); in kbasep_serialize_string() 85 max_write_size -= sizeof(string_len); in kbasep_serialize_string() 90 max_write_size); in kbasep_serialize_string() 94 KBASE_DEBUG_ASSERT(string_len <= max_write_size); in kbasep_serialize_string()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | io.c | 514 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 D | super.c | 702 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 D | recovery.c | 417 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()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | io.c | 563 ubifs_assert(c, wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock() 566 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock() 567 ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock() 596 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock() 598 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock() 599 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock() 601 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock() 637 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock() 639 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock() 640 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock() [all …]
|
| H A D | super.c | 536 c->max_write_size = c->di.max_write_size; in init_constants_early() 537 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early() 560 if (c->max_write_size < c->min_io_size || in init_constants_early() 561 c->max_write_size % c->min_io_size || in init_constants_early() 562 !is_power_of_2(c->max_write_size)) { in init_constants_early() 564 c->max_write_size, c->min_io_size); in init_constants_early() 576 if (c->max_write_size < c->min_io_size) { in init_constants_early() 577 c->max_write_size = c->min_io_size; in init_constants_early() 1555 c->max_write_size); in mount_ubifs()
|
| H A D | recovery.c | 411 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write() 465 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes() 477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes() 680 skip = ALIGN(offs + le32_to_cpu(ch->len), c->max_write_size) - offs; in ubifs_recover_leb() 947 int len = c->max_write_size, err; in recover_head()
|
| H A D | ubifs.h | 1349 int max_write_size; member
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | spi-mem-nodm.c | 91 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 D | spi-mem.c | 440 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 D | bcm63xx_spi.c | 365 slave->max_write_size = regs[SPI_TX_SIZE]; in bcm63xx_spi_child_pre_probe()
|
| H A D | fsl_qspi.c | 907 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()
|
| H A D | ich.c | 657 slave->max_write_size = priv->databytes; in ich_spi_child_pre_probe()
|
| /OK3568_Linux_fs/kernel/drivers/s390/net/ |
| H A D | ctcm_mpc.h | 27 void (*callback)(int port_num, int max_write_size)); 30 void (*callback)(int port_num, int rc, int max_write_size));
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | build.c | 709 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 D | kapi.c | 38 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
| H A D | ubi.h | 620 int max_write_size; member
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | build.c | 650 ubi->max_write_size = ubi->mtd->writebufsize; in io_init() 655 if (ubi->max_write_size < ubi->min_io_size || in io_init() 656 ubi->max_write_size % ubi->min_io_size || in io_init() 657 !is_power_of_2(ubi->max_write_size)) { in io_init() 659 ubi->max_write_size, ubi->min_io_size); in io_init() 668 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init() 1000 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
|
| H A D | kapi.c | 32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
| H A D | ubi.h | 650 int max_write_size; member
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | ubi.h | 186 int max_write_size; member
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | ubi.h | 181 int max_write_size; member
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | spi.h | 120 unsigned int max_write_size; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_tlstream.c | 634 size_t max_write_size) in kbasep_tlstream_write_string() argument 642 KBASE_DEBUG_ASSERT(max_write_size >= sizeof(string_len) + sizeof(char)); in kbasep_tlstream_write_string() 643 max_write_size -= sizeof(string_len); in kbasep_tlstream_write_string() 648 max_write_size); in kbasep_tlstream_write_string() 652 KBASE_DEBUG_ASSERT(string_len <= max_write_size); in kbasep_tlstream_write_string()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/spi/ |
| H A D | spi_flash.c | 420 if (spi->max_write_size) in spi_flash_cmd_write_ops() 422 spi->max_write_size - sizeof(cmd)); in spi_flash_cmd_write_ops()
|