Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
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 …]
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.1.9/include/uapi/linux/
Dndctl.h26 __u32 max_xfer; member
/linux-6.1.9/include/uapi/scsi/
Dcxlflash_ioctl.h82 __u64 max_xfer; /* Returned max transfer size, blocks */ member
/linux-6.1.9/drivers/cxl/
Dpmem.c113 .max_xfer = cxlds->payload_size - sizeof(struct cxl_mbox_set_lsa), in cxl_pmem_get_config_size()
/linux-6.1.9/drivers/net/dsa/sja1105/
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.1.9/drivers/scsi/
Dips.c1796 if ((scb->data_len + e_len) > ha->max_xfer) { in ips_fill_scb_sg_single()
1797 e_len = ha->max_xfer - scb->data_len; in ips_fill_scb_sg_single()
2455 ha->max_xfer = 0x10000; in ips_hainit()
2459 ha->max_xfer = 0x20000; in ips_hainit()
2463 ha->max_xfer = 0x40000; in ips_hainit()
2468 ha->max_xfer = 0x80000; in ips_hainit()
Dips.h1014 uint32_t max_xfer; /* Maximum Xfer size */ member
/linux-6.1.9/drivers/scsi/cxlflash/
Dsuperpipe.c1475 attach->max_xfer = sdev->host->max_sectors * MAX_SECTOR_UNIT; in cxlflash_disk_attach()
1476 attach->max_xfer /= gli->blk_len; in cxlflash_disk_attach()
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.c232 size->max_xfer = 8; in ndtest_get_config_size()
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.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c1068 get_size_hdr->max_xfer = 8; in papr_scm_ndctl()