Home
last modified time | relevance | path

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

/u-boot/drivers/ata/
A Dfsl_sata.h273 typedef struct cmd_desc { struct
281 #define SATA_HC_CMD_DESC_SIZE sizeof(struct cmd_desc) argument
304 cmd_desc_t *cmd_desc; /* aligned address of command descriptor */ member
A Dfsl_sata.c160 length = sizeof(struct cmd_desc) * SATA_HC_MAX_CMD; in init_sata()
167 sata->cmd_desc = (cmd_desc_t *)(((u32)sata->cmd_desc_offset + align) in init_sata()
174 cda = ((u32)sata->cmd_desc + SATA_HC_CMD_DESC_SIZE * i) in init_sata()
315 cmd_desc_t *cmd_desc; in fsl_ata_exec_ata_cmd() local
332 cmd_desc = sata->cmd_desc + tag; in fsl_ata_exec_ata_cmd()
335 h2d = (sata_fis_h2d_t *)cmd_desc->cfis; in fsl_ata_exec_ata_cmd()
366 prde = (prd_entry_t *)cmd_desc->prdt; in fsl_ata_exec_ata_cmd()
398 cmd_hdr->cda = cpu_to_le32((u32)cmd_desc & ~0x3); in fsl_ata_exec_ata_cmd()
447 fsl_sata_dump_sfis((struct sata_fis_d2h *)cmd_desc->sfis); in fsl_ata_exec_ata_cmd()

Completed in 6 milliseconds