Home
last modified time | relevance | path

Searched refs:sg_count (Results 1 – 2 of 2) sorted by relevance

/components/drivers/ata/
A Dahci.c40 int sg_count; in ahci_fill_sg() local
45 sg_count = ((buffer_size - 1) / RT_ACHI_PRDT_BYTES_MAX) + 1; in ahci_fill_sg()
47 if (sg_count > RT_AHCI_MAX_SG) in ahci_fill_sg()
54 for (int i = 0; i < sg_count; ++i, ++ahci_sg) in ahci_fill_sg()
71 return sg_count; in ahci_fill_sg()
78 int sg_count; in ahci_request_io() local
87 if ((sg_count = ahci_fill_sg(host, id, buffer, buffer_size)) <= 0) in ahci_request_io()
93 ahci_fill_cmd_slot(port, (fis_size >> 2) | (sg_count << 16) | (!is_read << 6)); in ahci_request_io()
/components/drivers/include/drivers/
A Ddev_mmcsd_core.h50 rt_int16_t sg_count; /* mapped sg entries */ member

Completed in 5 milliseconds