Lines Matching refs:cmdr
266 static int sam_hsmci_send_cmd(Hsmci *hsmci, struct sdhc_command *cmd, uint32_t cmdr, in sam_hsmci_send_cmd() argument
273 cmdr |= HSMCI_CMDR_CMDNB(cmd->opcode) | HSMCI_CMDR_MAXLAT_64; in sam_hsmci_send_cmd()
275 cmdr |= HSMCI_CMDR_OPDCMD_OPENDRAIN; in sam_hsmci_send_cmd()
284 cmdr |= _resp2size[nrt]; in sam_hsmci_send_cmd()
285 hsmci->HSMCI_CMDR = cmdr; in sam_hsmci_send_cmd()
488 uint32_t cmdr = 0; in sam_hsmci_request_inner() local
501 cmdr |= HSMCI_CMDR_TRCMD_START_DATA; in sam_hsmci_request_inner()
510 cmdr |= HSMCI_CMDR_TRTYP_SINGLE; in sam_hsmci_request_inner()
511 cmdr |= HSMCI_CMDR_TRDIR_WRITE; in sam_hsmci_request_inner()
516 cmdr |= HSMCI_CMDR_TRTYP_MULTIPLE; in sam_hsmci_request_inner()
517 cmdr |= HSMCI_CMDR_TRDIR_WRITE; in sam_hsmci_request_inner()
523 cmdr |= HSMCI_CMDR_TRTYP_SINGLE; in sam_hsmci_request_inner()
524 cmdr |= HSMCI_CMDR_TRDIR_READ; in sam_hsmci_request_inner()
528 cmdr |= HSMCI_CMDR_TRTYP_MULTIPLE; in sam_hsmci_request_inner()
529 cmdr |= HSMCI_CMDR_TRDIR_READ; in sam_hsmci_request_inner()
572 ret = sam_hsmci_send_cmd(hsmci, cmd, cmdr, data); in sam_hsmci_request_inner()