Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dlabel.c431 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local
440 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init()
442 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init()
474 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init()
475 if (read_size < max_xfer) { in nd_label_data_init()
477 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init()
478 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init()
480 if (max_xfer < read_size) in nd_label_data_init()
481 max_xfer = read_size; in nd_label_data_init()
485 read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, in nd_label_data_init()
[all …]
Ddimm_devs.c100 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data()
146 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
/drivers/net/dsa/sja1105/
Dsja1105_main.c3263 size_t max_xfer, max_msg; in sja1105_probe() local
3307 max_xfer = spi_max_transfer_size(spi); in sja1105_probe()
3319 if (priv->max_xfer_len > max_xfer) in sja1105_probe()
3320 priv->max_xfer_len = max_xfer; in sja1105_probe()
/drivers/scsi/
Dips.c1797 if ((scb->data_len + e_len) > ha->max_xfer) { in ips_fill_scb_sg_single()
1798 e_len = ha->max_xfer - scb->data_len; in ips_fill_scb_sg_single()
2456 ha->max_xfer = 0x10000; in ips_hainit()
2460 ha->max_xfer = 0x20000; in ips_hainit()
2464 ha->max_xfer = 0x40000; in ips_hainit()
2469 ha->max_xfer = 0x80000; in ips_hainit()
Dips.h1014 uint32_t max_xfer; /* Maximum Xfer size */ member
/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()