Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ata/
H A Dahci.c501 #define MAX_DATA_BYTE_COUNT (4*1024*1024) macro
511 sg_count = ((buf_len - 1) / MAX_DATA_BYTE_COUNT) + 1; in ahci_fill_sg()
519 cpu_to_le32((unsigned long) buf + i * MAX_DATA_BYTE_COUNT); in ahci_fill_sg()
522 (buf_len < MAX_DATA_BYTE_COUNT in ahci_fill_sg()
524 : (MAX_DATA_BYTE_COUNT - 1))); in ahci_fill_sg()
526 buf_len -= MAX_DATA_BYTE_COUNT; in ahci_fill_sg()