Home
last modified time | relevance | path

Searched refs:max_xfer (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/nvdimm/
A Dlabel.c436 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
445 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init()
447 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init()
479 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
480 if (read_size < max_xfer) { in nd_label_data_init()
482 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init()
483 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init()
485 if (max_xfer < read_size) in nd_label_data_init()
486 max_xfer = read_size; in nd_label_data_init()
490 read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, in nd_label_data_init()
[all …]
A Ddimm_devs.c96 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data()
142 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
/linux-6.3-rc2/include/uapi/linux/
A Dndctl.h26 __u32 max_xfer; member
/linux-6.3-rc2/include/uapi/scsi/
A Dcxlflash_ioctl.h82 __u64 max_xfer; /* Returned max transfer size, blocks */ member
/linux-6.3-rc2/drivers/cxl/
A Dpmem.c112 .max_xfer = cxlds->payload_size - sizeof(struct cxl_mbox_set_lsa), in cxl_pmem_get_config_size()
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_main.c3245 size_t max_xfer, max_msg; in sja1105_probe() local
3286 max_xfer = spi_max_transfer_size(spi); in sja1105_probe()
3298 if (priv->max_xfer_len > max_xfer) in sja1105_probe()
3299 priv->max_xfer_len = max_xfer; in sja1105_probe()
/linux-6.3-rc2/drivers/scsi/
A Dips.c1795 if ((scb->data_len + e_len) > ha->max_xfer) { in ips_fill_scb_sg_single()
1796 e_len = ha->max_xfer - scb->data_len; in ips_fill_scb_sg_single()
2454 ha->max_xfer = 0x10000; in ips_hainit()
2458 ha->max_xfer = 0x20000; in ips_hainit()
2462 ha->max_xfer = 0x40000; in ips_hainit()
2467 ha->max_xfer = 0x80000; in ips_hainit()
A Dips.h1014 uint32_t max_xfer; /* Maximum Xfer size */ member
/linux-6.3-rc2/drivers/scsi/cxlflash/
A Dsuperpipe.c1477 attach->max_xfer = sdev->host->max_sectors * MAX_SECTOR_UNIT; in cxlflash_disk_attach()
1478 attach->max_xfer /= gli->blk_len; in cxlflash_disk_attach()
/linux-6.3-rc2/tools/testing/nvdimm/test/
A Dndtest.c232 size->max_xfer = 8; in ndtest_get_config_size()
A Dnfit.c459 nd_cmd->max_xfer = SZ_4K; in nfit_test_cmd_get_config_size()
2958 .max_xfer = SZ_4K, in nfit_ctl_test()
2968 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test()
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dpapr_scm.c1068 get_size_hdr->max_xfer = 8; in papr_scm_ndctl()

Completed in 66 milliseconds