Searched refs:xbytes (Results 1 – 2 of 2) sorted by relevance
90 uint64_t xbytes; member549 if (cmd->props->atapi && (cmd->xbytes == 0 || cmd->props->dma)) { in ahci_port_check_pio_sanity()556 size_t pio_len = ((cmd->xbytes % cmd->sector_size) ? in ahci_port_check_pio_sanity()557 (cmd->xbytes % cmd->sector_size) : cmd->sector_size); in ahci_port_check_pio_sanity()570 g_assert_cmphex(cmd->xbytes, ==, cmdh.prdbc); in ahci_port_check_cmd_sanity()851 hdr->prdtl = size_to_prdtl(cmd->xbytes, cmd->prd_size); in command_header_init()859 uint16_t sect_count = (cmd->xbytes / cmd->sector_size); in command_table_init()882 fis->count = (cmd->xbytes / cmd->sector_size); in command_table_init()917 cmd->xbytes = props->size; in ahci_command_create()1098 static void ahci_atapi_set_size(AHCICommand *cmd, uint64_t xbytes) in ahci_atapi_set_size() argument[all …]
635 void ahci_command_set_size(AHCICommand *cmd, uint64_t xbytes);637 void ahci_command_set_sizes(AHCICommand *cmd, uint64_t xbytes,642 uint64_t xbytes, unsigned prd_size);