Lines Matching refs:cmd_hdr
80 cmd_hdr_tbl_t *cmd_hdr; in init_sata() local
131 cmd_hdr = (cmd_hdr_tbl_t *)(((u32)sata->cmd_hdr_tbl_offset + align) in init_sata()
133 sata->cmd_hdr = cmd_hdr; in init_sata()
155 cmd_hdr->cmd_slot[i].cda = cpu_to_le32(cda); in init_sata()
168 out_le32(®->chba, (u32)cmd_hdr & ~0x3); in init_sata()
296 cmd_hdr_entry_t *cmd_hdr; in fsl_ata_exec_ata_cmd() local
378 cmd_hdr = (cmd_hdr_entry_t *)&sata->cmd_hdr->cmd_slot[tag]; in fsl_ata_exec_ata_cmd()
380 cmd_hdr->cda = cpu_to_le32((u32)cmd_desc & ~0x3); in fsl_ata_exec_ata_cmd()
384 cmd_hdr->prde_fis_len = cpu_to_le32(val32); in fsl_ata_exec_ata_cmd()
386 cmd_hdr->ttl = cpu_to_le32(ttl); in fsl_ata_exec_ata_cmd()
398 cmd_hdr->attribute = cpu_to_le32(val32); in fsl_ata_exec_ata_cmd()