Home
last modified time | relevance | path

Searched refs:max_sg_entries (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi_sis.c276 ctrl_info->max_sg_entries = params.mailbox[1]; in sis_get_pqi_capabilities()
Dsmartpqi_init.c4699 u32 max_sg_entries; in pqi_calculate_io_resources() local
4715 max_sg_entries = max_transfer_size / PAGE_SIZE; in pqi_calculate_io_resources()
4718 max_sg_entries++; in pqi_calculate_io_resources()
4720 max_sg_entries = min(ctrl_info->max_sg_entries, max_sg_entries); in pqi_calculate_io_resources()
4722 max_transfer_size = (max_sg_entries - 1) * PAGE_SIZE; in pqi_calculate_io_resources()
4725 (max_sg_entries * sizeof(struct pqi_sg_descriptor)) + in pqi_calculate_io_resources()
4727 ctrl_info->sg_tablesize = max_sg_entries; in pqi_calculate_io_resources()
Dsmartpqi.h1095 u32 max_sg_entries; member
/Linux-v5.10/drivers/ide/
Dide-probe.c768 int max_sg_entries = PRD_ENTRIES; in ide_init_queue() local
815 max_sg_entries >>= 1; in ide_init_queue()
818 blk_queue_max_segments(q, max_sg_entries); in ide_init_queue()