/u-boot/post/lib_powerpc/ |
A D | cpu_asm.h | 112 #define ASM_0(opcode) (opcode) argument 113 #define ASM_1(opcode, rd) ((opcode) + \ argument 115 #define ASM_1C(opcode, cr) ((opcode) + \ argument 117 #define ASM_11(opcode, rd, rs) ((opcode) + \ argument 120 #define ASM_11C(opcode, cd, cs) ((opcode) + \ argument 123 #define ASM_11X(opcode, rd, rs) ((opcode) + \ argument 134 #define ASM_11S(opcode, rd, rs, sh) ((opcode) + \ argument 142 #define ASM_12(opcode, rd, rs1, rs2) ((opcode) + \ argument 154 #define ASM_2C(opcode, cr, rs1, rs2) ((opcode) + \ argument 176 #define ASM_1O(opcode, off) ((opcode) + (off)) argument [all …]
|
/u-boot/include/dt-bindings/sound/ |
A D | azalia.h | 25 #define AZALIA_SET_BYTE(codec, nid, opcode, val, byte) \ argument 28 ((opcode) + (byte)) << AZALIA_VERB_SHIFT | \ 32 #define AZALIA_WORD(codec, nid, opcode, val) \ argument 33 (AZALIA_SET_BYTE(codec, nid, opcode, val, 0) | \ 34 AZALIA_SET_BYTE(codec, nid, opcode, val, 1) | \ 35 AZALIA_SET_BYTE(codec, nid, opcode, val, 2) | \ 36 AZALIA_SET_BYTE(codec, nid, opcode, val, 3))
|
/u-boot/arch/arm/mach-zynq/ |
A D | ps7_spl_init.c | 88 unsigned long opcode; in ps7_config() local 97 opcode = ptr[0]; in ps7_config() 98 if (opcode == OPCODE_EXIT) in ps7_config() 100 addr = (opcode & OPCODE_ADDRESS_MASK); in ps7_config() 102 switch (opcode & ~OPCODE_ADDRESS_MASK) { in ps7_config()
|
/u-boot/common/ |
A D | bedbug.c | 30 struct opcode *find_opcode __P ((unsigned long)); 31 struct opcode *find_opcode_by_name __P ((char *)); 421 struct opcode *ptr; in find_opcode() 432 if ((instr & ptr->mask) < ptr->opcode) { in find_opcode() 441 return (struct opcode *) 0; in find_opcode() 460 struct opcode *find_opcode_by_name (char *name) in find_opcode_by_name() 473 return (struct opcode *) 0; in find_opcode_by_name() 664 static struct opcode bne = in handle_bc() 757 struct opcode *opc; in asmppc() 797 instr = opc->opcode; in asmppc() [all …]
|
/u-boot/drivers/spi/ |
A D | ca_sflash.c | 420 struct spi_mem_op *op, u8 opcode) in _ca_sflash_issue_cmd() argument 430 GENMASK(31, 0), CA_SF_AR_ACCODE(opcode)); in _ca_sflash_issue_cmd() 446 GENMASK(31, 0), CA_SF_EAR_OP(op->cmd.opcode) in _ca_sflash_issue_cmd() 458 CA_SF_AR_OP(op->cmd.opcode)); in _ca_sflash_issue_cmd() 462 if (opcode == CA_SF_AC_OP_4_ADDR) { /* erase_op */ in _ca_sflash_issue_cmd() 491 u8 opcode; in ca_sflash_exec_op() local 494 __func__, op->cmd.opcode, op->addr.val, in ca_sflash_exec_op() 498 opcode = CA_SF_AC_OP; in ca_sflash_exec_op() 500 opcode = CA_SF_AC_OP_4_ADDR; in ca_sflash_exec_op() 502 opcode = CA_SF_AC_OP_EXTEND; in ca_sflash_exec_op() [all …]
|
A D | bcm63xx_hsspi.c | 223 uint16_t opcode = 0; in bcm63xx_hsspi_xfer() local 233 opcode = HSSPI_FIFO_OP_READ_WRITE; in bcm63xx_hsspi_xfer() 235 opcode = HSSPI_FIFO_OP_CODE_R; in bcm63xx_hsspi_xfer() 237 opcode = HSSPI_FIFO_OP_CODE_W; in bcm63xx_hsspi_xfer() 239 if (opcode != HSSPI_FIFO_OP_CODE_R) in bcm63xx_hsspi_xfer() 243 if ((opcode == HSSPI_FIFO_OP_CODE_R && plat->mode == SPI_RX_DUAL) || in bcm63xx_hsspi_xfer() 244 (opcode == HSSPI_FIFO_OP_CODE_W && plat->mode == SPI_TX_DUAL)) in bcm63xx_hsspi_xfer() 245 opcode |= HSSPI_FIFO_OP_MBIT_MASK; in bcm63xx_hsspi_xfer() 268 writew(cpu_to_be16(opcode | (curr_step & HSSPI_FIFO_OP_BYTES_MASK)), in bcm63xx_hsspi_xfer()
|
A D | spi-mem-nodm.c | 30 op_len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 37 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op() 92 len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_adjust_op_size()
|
A D | ich.c | 169 ich_writeb(ctlr, trans->opcode, ctlr->opmenu); in spi_setup_opcode() 180 if (trans->opcode == SPI_OPCODE_WREN) in spi_setup_opcode() 186 if (opmenu[opcode_index] == trans->opcode) in spi_setup_opcode() 191 debug("ICH SPI: Opcode %x not found\n", trans->opcode); in spi_setup_opcode() 280 if (trans->opcode != op->cmd.opcode) in ich_spi_exec_op_swseq() 281 trans->opcode = op->cmd.opcode; in ich_spi_exec_op_swseq() 283 if (lock && trans->opcode == SPI_OPCODE_WRDIS) in ich_spi_exec_op_swseq() 286 if (trans->opcode == SPI_OPCODE_WREN) { in ich_spi_exec_op_swseq() 293 ich_writew(ctlr, trans->opcode, ctlr->preop); in ich_spi_exec_op_swseq() 536 switch (op->cmd.opcode) { in ich_spi_exec_op_hwseq() [all …]
|
A D | spi-mem.c | 273 tmpbufsize = sizeof(op->cmd.opcode) + op->addr.nbytes + in spi_mem_exec_op() 287 tmpbuf[0] = op->cmd.opcode; in spi_mem_exec_op() 289 xfers[xferpos].len = sizeof(op->cmd.opcode); in spi_mem_exec_op() 353 op_len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 366 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op() 442 len = sizeof(op->cmd.opcode) + op->addr.nbytes + in spi_mem_adjust_op_size()
|
/u-boot/drivers/nvme/ |
A D | nvme.h | 227 __u8 opcode; member 239 __u8 opcode; member 281 __u8 opcode; member 358 __u8 opcode; member 370 __u8 opcode; member 383 __u8 opcode; member 397 __u8 opcode; member 411 __u8 opcode; member 421 __u8 opcode; member 431 __u8 opcode; member [all …]
|
A D | nvme.c | 282 static int nvme_delete_queue(struct nvme_dev *dev, u8 opcode, u16 id) in nvme_delete_queue() argument 287 c.delete_queue.opcode = opcode; in nvme_delete_queue() 426 c.create_cq.opcode = nvme_admin_create_cq; in nvme_alloc_cq() 443 c.create_sq.opcode = nvme_admin_create_sq; in nvme_alloc_sq() 463 c.identify.opcode = nvme_admin_identify; in nvme_identify() 495 c.features.opcode = nvme_admin_get_features; in nvme_get_features() 522 c.features.opcode = nvme_admin_set_features; in nvme_set_features() 758 c.rw.opcode = read ? nvme_cmd_read : nvme_cmd_write; in nvme_blk_rw()
|
/u-boot/include/bedbug/ |
A D | ppc.h | 305 struct opcode { struct 306 unsigned long opcode; /* The complete opcode as produced by argument 336 struct opcode * op; 389 extern struct opcode opcodes[];
|
/u-boot/drivers/mtd/spi/ |
A D | spi-nor-tiny.c | 75 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() argument 77 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg() 176 static u8 spi_nor_convert_opcode(u8 opcode, const u8 table[][2], size_t size) in spi_nor_convert_opcode() argument 181 if (table[i][0] == opcode) in spi_nor_convert_opcode() 185 return opcode; in spi_nor_convert_opcode() 188 static inline u8 spi_nor_convert_3to4_read(u8 opcode) in spi_nor_convert_3to4_read() argument 199 return spi_nor_convert_opcode(opcode, spi_nor_3to4_read, in spi_nor_convert_3to4_read() 561 u8 opcode; member 584 u8 opcode, in spi_nor_set_read_settings() argument 589 read->opcode = opcode; in spi_nor_set_read_settings() [all …]
|
A D | spi-nor-core.c | 243 if (table[i][0] == opcode) in spi_nor_convert_opcode() 247 return opcode; in spi_nor_convert_opcode() 1457 u8 opcode; member 1462 u8 opcode; member 1523 u8 opcode, in spi_nor_set_read_settings() argument 1528 read->opcode = opcode; in spi_nor_set_read_settings() 1534 u8 opcode, in spi_nor_set_pp_settings() argument 1537 pp->opcode = opcode; in spi_nor_set_pp_settings() 1931 u8 opcode; in spi_nor_parse_bfpt() local 1941 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt() [all …]
|
A D | sf_dataflash.c | 82 u8 opcode = OP_READ_STATUS; in dataflash_status() local 89 ret = spi_write_then_read(spi, &opcode, 1, NULL, &status, 1); in dataflash_status() 517 u8 opcode = CMD_READ_ID; in jedec_probe() local 529 tmp = spi_write_then_read(spi, &opcode, 1, NULL, id, sizeof(id)); in jedec_probe()
|
/u-boot/board/gdsys/a38x/ |
A D | hre.c | 382 uint8_t opcode; in hre_execute_op() local 397 opcode = **ip; in hre_execute_op() 404 opcode, src_spec, dst_spec, data_size); in hre_execute_op() 406 if ((opcode & 0x80) && (data_size + 4) > *code_size) in hre_execute_op() 413 (opcode & 0x40) ? HREG_RDWR : HREG_WR); in hre_execute_op() 417 switch (opcode) { in hre_execute_op() 487 if (opcode & 0x80) { in hre_execute_op()
|
/u-boot/cmd/ |
A D | itest.c | 31 int opcode; /* internal representation of opcode */ member 166 return (stringcomp(arg1, arg2, optp->opcode)); in binary_test() 168 return (arithcomp (arg1, arg2, optp->opcode, w)); in binary_test()
|
/u-boot/drivers/mmc/ |
A D | iproc_sdhci.c | 180 static int sdhci_iproc_execute_tuning(struct mmc *mmc, u8 opcode) in sdhci_iproc_execute_tuning() argument 191 cmd.cmdidx = opcode; in sdhci_iproc_execute_tuning() 195 if (opcode == MMC_CMD_SEND_TUNING_BLOCK_HS200 && mmc->bus_width == 8) in sdhci_iproc_execute_tuning() 204 if (opcode == MMC_CMD_SEND_TUNING_BLOCK) in sdhci_iproc_execute_tuning() 222 printf("%s:Tuning failed, opcode = 0x%02x\n", __func__, opcode); in sdhci_iproc_execute_tuning()
|
A D | mtk-sd.c | 464 u32 opcode = cmd->cmdidx; in msdc_cmd_prepare_raw_cmd() local 470 switch (opcode) { in msdc_cmd_prepare_raw_cmd() 504 if (opcode == MMC_CMD_STOP_TRANSMISSION) in msdc_cmd_prepare_raw_cmd() 1131 mmc_send_tuning(mmc, opcode, &cmd_err); in hs400_tune_response() 1238 mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_response() 1282 ret = msdc_tune_response(dev, opcode); in msdc_tune_data() 1305 ret = msdc_tune_response(dev, opcode); in msdc_tune_data() 1412 ret = msdc_tune_together(dev, opcode); in msdc_execute_tuning() 1434 ret = hs400_tune_response(dev, opcode); in msdc_execute_tuning() 1436 ret = msdc_tune_response(dev, opcode); in msdc_execute_tuning() [all …]
|
A D | sdhci-cadence.c | 205 unsigned int opcode) in sdhci_cdns_execute_tuning() argument 222 if (WARN_ON(opcode != MMC_CMD_SEND_TUNING_BLOCK_HS200)) in sdhci_cdns_execute_tuning() 227 mmc_send_tuning(mmc, opcode, NULL)) { /* bad */ in sdhci_cdns_execute_tuning()
|
A D | mmc-uclass.c | 113 int dm_mmc_execute_tuning(struct udevice *dev, uint opcode) in dm_mmc_execute_tuning() argument 119 return ops->execute_tuning(dev, opcode); in dm_mmc_execute_tuning() 122 int mmc_execute_tuning(struct mmc *mmc, uint opcode) in mmc_execute_tuning() argument 124 return dm_mmc_execute_tuning(mmc->dev, opcode); in mmc_execute_tuning()
|
/u-boot/drivers/ufs/ |
A D | ufs.c | 967 enum query_opcode opcode, in ufshcd_init_query() argument 974 (*request)->upiu_req.opcode = opcode; in ufshcd_init_query() 994 switch (opcode) { in ufshcd_query_flag() 1013 __func__, opcode); in ufshcd_query_flag() 1036 enum query_opcode opcode, in ufshcd_query_flag_retry() argument 1055 __func__, opcode, idn, ret, retries); in ufshcd_query_flag_retry() 1060 enum query_opcode opcode, in __ufshcd_query_descriptor() argument 1070 __func__, opcode); in __ufshcd_query_descriptor() 1087 switch (opcode) { in __ufshcd_query_descriptor() 1096 __func__, opcode); in __ufshcd_query_descriptor() [all …]
|
/u-boot/arch/x86/cpu/ |
A D | mtrr.c | 256 enum mtrr_opcode opcode; member 268 switch (oper->opcode) { in mtrr_do_oper() 302 oper.opcode = MTRR_OP_SET_VALID; in mtrr_set_valid() 313 oper.opcode = MTRR_OP_SET; in mtrr_set()
|
/u-boot/include/ |
A D | spi-mem.h | 19 .opcode = __opcode, \ 92 u8 opcode; member
|
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_nand.c | 99 u16 opcode: 4; member 104 u16 opcode:4; member 112 u16 opcode:4; member 118 u16 opcode:4; member 126 u32 opcode:4; member 137 u32 opcode:4; member 146 u32 opcode:4; member 155 u64 opcode:4; member 167 u32 opcode:4; member 187 u32 opcode:4; member [all …]
|