Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 30) sorted by relevance

12

/trusted-firmware-a-3.7.0/lib/zlib/
Dinffast.c71 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast() local
109 op = (unsigned)(here->bits); in inflate_fast()
110 hold >>= op; in inflate_fast()
111 bits -= op; in inflate_fast()
112 op = (unsigned)(here->op); in inflate_fast()
113 if (op == 0) { /* literal */ in inflate_fast()
119 else if (op & 16) { /* length base */ in inflate_fast()
121 op &= 15; /* number of extra bits */ in inflate_fast()
122 if (op) { in inflate_fast()
123 if (bits < op) { in inflate_fast()
[all …]
Dinftrees.c113 here.op = (unsigned char)64; /* invalid code marker */ in inflate_table()
213 here.op = (unsigned char)0; in inflate_table()
217 here.op = (unsigned char)(extra[work[sym] - match]); in inflate_table()
221 here.op = (unsigned char)(32 + 64); /* end of block */ in inflate_table()
279 (*table)[low].op = (unsigned char)curr; in inflate_table()
289 here.op = (unsigned char)64; /* invalid code marker */ in inflate_table()
Dinftrees.h25 unsigned char op; /* operation, extra bits, table bits */ member
Dinflate.c334 printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op, in makefixed()
345 printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, in makefixed()
1041 if (here.op && (here.op & 0xf0) == 0) { in inflate()
1045 (BITS(last.bits + last.op) >> last.bits)]; in inflate()
1055 if ((int)(here.op) == 0) { in inflate()
1062 if (here.op & 32) { in inflate()
1068 if (here.op & 64) { in inflate()
1073 state->extra = (unsigned)(here.op) & 15; in inflate()
1093 if ((here.op & 0xf0) == 0) { in inflate()
1097 (BITS(last.bits + last.op) >> last.bits)]; in inflate()
[all …]
/trusted-firmware-a-3.7.0/drivers/mtd/nand/
Dspi_nand.c32 struct spi_mem_op op; in spi_nand_reg() local
34 zeromem(&op, sizeof(struct spi_mem_op)); in spi_nand_reg()
36 op.cmd.opcode = SPI_NAND_OP_GET_FEATURE; in spi_nand_reg()
38 op.cmd.opcode = SPI_NAND_OP_SET_FEATURE; in spi_nand_reg()
41 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg()
42 op.addr.val = reg; in spi_nand_reg()
43 op.addr.nbytes = 1U; in spi_nand_reg()
44 op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg()
45 op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg()
46 op.data.dir = dir; in spi_nand_reg()
[all …]
/trusted-firmware-a-3.7.0/drivers/st/spi/
Dstm32_qspi.c137 static int stm32_qspi_wait_cmd(const struct spi_mem_op *op) in stm32_qspi_wait_cmd() argument
179 static int stm32_qspi_poll(const struct spi_mem_op *op) in stm32_qspi_poll() argument
185 if (op->data.dir == SPI_MEM_DATA_IN) { in stm32_qspi_poll()
191 buf = (uint8_t *)op->data.buf; in stm32_qspi_poll()
193 for (len = op->data.nbytes; len != 0U; len--) { in stm32_qspi_poll()
210 static int stm32_qspi_mm(const struct spi_mem_op *op) in stm32_qspi_mm() argument
212 memcpy(op->data.buf, in stm32_qspi_mm()
213 (void *)(stm32_qspi.mm_base + (size_t)op->addr.val), in stm32_qspi_mm()
214 op->data.nbytes); in stm32_qspi_mm()
219 static int stm32_qspi_tx(const struct spi_mem_op *op, uint8_t mode) in stm32_qspi_tx() argument
[all …]
/trusted-firmware-a-3.7.0/drivers/mtd/spi-mem/
Dspi_mem.c63 static bool spi_mem_supports_op(const struct spi_mem_op *op) in spi_mem_supports_op() argument
65 if (!spi_mem_check_buswidth_req(op->cmd.buswidth, true)) { in spi_mem_supports_op()
69 if ((op->addr.nbytes != 0U) && in spi_mem_supports_op()
70 !spi_mem_check_buswidth_req(op->addr.buswidth, true)) { in spi_mem_supports_op()
74 if ((op->dummy.nbytes != 0U) && in spi_mem_supports_op()
75 !spi_mem_check_buswidth_req(op->dummy.buswidth, true)) { in spi_mem_supports_op()
79 if ((op->data.nbytes != 0U) && in spi_mem_supports_op()
80 !spi_mem_check_buswidth_req(op->data.buswidth, in spi_mem_supports_op()
81 op->data.dir == SPI_MEM_DATA_OUT)) { in spi_mem_supports_op()
149 int spi_mem_exec_op(const struct spi_mem_op *op) in spi_mem_exec_op() argument
[all …]
/trusted-firmware-a-3.7.0/plat/socionext/uniphier/
Duniphier_usb.c58 struct uniphier_ld11_op *op = (void *)UNIPHIER_LD11_USB_DESC_BASE; in uniphier_ld11_usb_init() local
60 op->trans_op = (void *)(op + 1); in uniphier_ld11_usb_init()
62 op->dev_desc = op->trans_op + 1; in uniphier_ld11_usb_init()
79 struct uniphier_ld20_op *op = (void *)UNIPHIER_LD20_USB_DESC_BASE; in uniphier_ld20_usb_init() local
81 op->trans_op = (void *)(op + 1); in uniphier_ld20_usb_init()
83 op->dev_desc = op->trans_op + 1; in uniphier_ld20_usb_init()
106 struct uniphier_pxs3_op *op = (void *)UNIPHIER_PXS3_USB_DESC_BASE; in uniphier_pxs3_usb_init() local
108 op->trans_op = (void *)(op + 1); in uniphier_pxs3_usb_init()
110 op->dev_desc = op->trans_op + 1; in uniphier_pxs3_usb_init()
/trusted-firmware-a-3.7.0/drivers/synopsys/emmc/
Ddw_mmc.c228 unsigned int op, data, err_mask; in dw_send_cmd() local
238 op = CMD_SEND_INIT; in dw_send_cmd()
241 op = CMD_STOP_ABORT_CMD; in dw_send_cmd()
244 op = CMD_WAIT_PRVDATA_COMPLETE; in dw_send_cmd()
248 op = CMD_DATA_TRANS_EXPECT | CMD_WAIT_PRVDATA_COMPLETE; in dw_send_cmd()
250 op = CMD_WAIT_PRVDATA_COMPLETE; in dw_send_cmd()
254 op = CMD_DATA_TRANS_EXPECT | CMD_WAIT_PRVDATA_COMPLETE; in dw_send_cmd()
258 op = CMD_WRITE | CMD_DATA_TRANS_EXPECT | in dw_send_cmd()
262 op = CMD_DATA_TRANS_EXPECT; in dw_send_cmd()
265 op = 0; in dw_send_cmd()
[all …]
/trusted-firmware-a-3.7.0/drivers/mtd/nor/
Dspi_nor.c41 struct spi_mem_op op; in spi_nor_reg() local
43 zeromem(&op, sizeof(struct spi_mem_op)); in spi_nor_reg()
44 op.cmd.opcode = reg; in spi_nor_reg()
45 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_reg()
46 op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_reg()
47 op.data.dir = dir; in spi_nor_reg()
48 op.data.nbytes = len; in spi_nor_reg()
49 op.data.buf = buf; in spi_nor_reg()
51 return spi_mem_exec_op(&op); in spi_nor_reg()
/trusted-firmware-a-3.7.0/drivers/brcm/mdio/
Dmdio.c32 uint16_t val, uint8_t op) in mdio_op() argument
53 mmio_write_32(CMIC_MIIM_CTRL, op); in mdio_op()
60 if (op == MDIO_CTRL_READ_OP) { in mdio_op()
/trusted-firmware-a-3.7.0/drivers/cadence/emmc/
Dcdns_sdmmc.c613 uint32_t op = 0, ret = 0; in cdns_send_cmd() local
627 op = DATA_PRESENT; in cdns_send_cmd()
638 op = DATA_PRESENT; in cdns_send_cmd()
650 op = DATA_PRESENT | AUTO_CMD_EN | MULTI_BLK_READ; in cdns_send_cmd()
661 op = DATA_PRESENT; in cdns_send_cmd()
671 op = DATA_PRESENT | CMD_IDX_CHK_ENABLE; in cdns_send_cmd()
684 op = 0; in cdns_send_cmd()
708 op = CMD_IDX_CHK_ENABLE; in cdns_send_cmd()
718 op = CMD_STOP_ABORT_CMD; in cdns_send_cmd()
729 op = MULTI_BLK_READ; in cdns_send_cmd()
[all …]
/trusted-firmware-a-3.7.0/lib/aarch64/
Dcache_helpers.S23 .macro do_dcache_maintenance_by_mva op
25 cbz x1, exit_loop_\op
30 loop_\op:
31 dc \op, x0
34 b.lo loop_\op
36 exit_loop_\op:
/trusted-firmware-a-3.7.0/include/drivers/
Dspi_mem.h123 int (*exec_op)(const struct spi_mem_op *op);
126 int spi_mem_exec_op(const struct spi_mem_op *op);
Dufs.h530 uint8_t op; member
556 uint32_t op; member
/trusted-firmware-a-3.7.0/lib/aarch32/
Dcache_helpers.S22 .macro do_dcache_maintenance_by_mva op, coproc, opc1, CRn, CRm, opc2
25 beq exit_loop_\op
30 loop_\op:
34 blo loop_\op
36 exit_loop_\op:
/trusted-firmware-a-3.7.0/drivers/ufs/
Dufs.c184 mmio_write_32(base + UICCMD, cmd->op); in ufshc_send_uic_cmd()
187 cmd->op == DME_SET); in ufshc_send_uic_cmd()
210 cmd.op = DME_GET; in ufshc_dme_get()
240 cmd.op = DME_SET; in ufshc_dme_set()
341 cmd.op = DME_LINKSTARTUP; in ufshc_dme_link_startup()
422 static int ufs_prepare_cmd(utp_utrd_t *utrd, uint8_t op, uint8_t lun, in ufs_prepare_cmd() argument
442 upiu->cdb[0] = op; in ufs_prepare_cmd()
445 switch (op) { in ufs_prepare_cmd()
526 static int ufs_prepare_query(utp_utrd_t *utrd, uint8_t op, uint8_t idn, in ufs_prepare_query() argument
544 query_upiu->ts.desc.opcode = op; in ufs_prepare_query()
[all …]
/trusted-firmware-a-3.7.0/lib/compiler-rt/builtins/
Dassembly.h193 #define WIDE(op) op.w argument
195 #define WIDE(op) op argument
/trusted-firmware-a-3.7.0/plat/mediatek/mt8183/drivers/mcsi/
Dmcsi.c183 unsigned long cci_reg_access(unsigned int op, unsigned long offset, in cci_reg_access() argument
191 switch (op) { in cci_reg_access()
Dmcsi.h113 unsigned long cci_reg_access(unsigned int op, unsigned long offset, unsigned long val);
/trusted-firmware-a-3.7.0/plat/arm/board/fvp/fdts/
Dfvp_spmc_optee_sp_manifest.dts34 debug_name = "op-tee";
Doptee_sp_manifest.dts17 description = "op-tee";
/trusted-firmware-a-3.7.0/plat/brcm/board/stingray/driver/
Dswreg.c30 #define BSTI_CMD(sb, op, pa, ra, ta, data) \ argument
31 ((((sb) & 0x3) << 30) | (((op) & 0x3) << 28) | \
/trusted-firmware-a-3.7.0/plat/arm/board/tc/fdts/
Dtc_tb_fw_config.dts46 op-tee {
Dtc_spmc_optee_sp_manifest.dts27 debug_name = "op-tee";

12