Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/mmc/
H A Dsh_mmcif.c334 u32 opc = cmd->cmdidx; in sh_mmcif_set_cmd() local
355 if (opc == MMC_CMD_SWITCH) in sh_mmcif_set_cmd()
377 if (opc == MMC_CMD_WRITE_SINGLE_BLOCK || in sh_mmcif_set_cmd()
378 opc == MMC_CMD_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
381 if (opc == MMC_CMD_READ_MULTIPLE_BLOCK || in sh_mmcif_set_cmd()
382 opc == MMC_CMD_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
387 if (opc == MMC_CMD_SEND_OP_COND || opc == MMC_CMD_ALL_SEND_CID || in sh_mmcif_set_cmd()
388 opc == MMC_CMD_SEND_CSD || opc == MMC_CMD_SEND_CID) in sh_mmcif_set_cmd()
391 if (opc == MMC_CMD_SEND_OP_COND) in sh_mmcif_set_cmd()
394 if (opc == MMC_CMD_ALL_SEND_CID || in sh_mmcif_set_cmd()
[all …]
H A Dsh_sdhi.c478 struct mmc_data *data, unsigned short opc) in sh_sdhi_set_cmd() argument
483 return opc | BIT(6); in sh_sdhi_set_cmd()
486 switch (opc) { in sh_sdhi_set_cmd()
488 return opc | (data ? 0x1c00 : 0x40); in sh_sdhi_set_cmd()
490 return opc | (data ? 0x1c00 : 0); in sh_sdhi_set_cmd()
492 return opc | 0x0700; in sh_sdhi_set_cmd()
496 return opc; in sh_sdhi_set_cmd()
501 struct mmc_data *data, unsigned short opc) in sh_sdhi_data_trans() argument
505 switch (opc) { in sh_sdhi_data_trans()
511 opc); in sh_sdhi_data_trans()
[all …]
/rk3399_rockchip-uboot/common/
H A Dbedbug.c756 struct opcode *opc; in asmppc() local
776 if ((opc = find_opcode_by_name (scratch)) == (struct opcode *) 0) { in asmppc()
783 printf ("asmppc: Opcode = \"%s\"\n", opc->name); in asmppc()
787 if (opc->fields[i] == 0) in asmppc()
796 instr = opc->opcode; in asmppc()
801 oper[n_operands] = &operands[opc->fields[n_operands] - 1]; in asmppc()
823 if ((param = parse_operand (memaddr, opc, oper[n_operands], in asmppc()
855 int parse_operand (unsigned long memaddr, struct opcode *opc, in parse_operand() argument
869 if (opc->hint & H_RELATIVE) in parse_operand()