Home
last modified time | relevance | path

Searched refs:expect (Results 1 - 3 of 3) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/
H A Dcfiflash.c94 static inline int CfiFlashQueryUint8(unsigned wordOffset, uint8_t expect, uint8_t *p) in CfiFlashQueryUint8() argument
96 if (p[W2B(wordOffset)] != expect) { in CfiFlashQueryUint8()
97 PRINT_ERR("[%s]name:0x%x value:%u expect:%u \n", __func__, wordOffset, p[W2B(wordOffset)], expect); in CfiFlashQueryUint8()
103 static inline int CfiFlashQueryUint16(unsigned wordOffset, uint16_t expect, uint8_t *p) in CfiFlashQueryUint16() argument
108 if (v != expect) { in CfiFlashQueryUint16()
109 PRINT_ERR("[%s]name:0x%x value:%u expect:%u \n", __func__, wordOffset, v, expect); in CfiFlashQueryUint16()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_lib.c335 hi_u32 val, expect; in module_reset() local
350 expect = 0; in module_reset()
353 expect = table->version_val; in module_reset()
368 if (val != expect) { in module_reset()
369 hi_log_error("%s reset failed, version reg should be 0x%x but 0x%x\n", table->name, expect, val); in module_reset()
373 hi_log_info("%s version reg, offset 0x%x, expect val 0x%x, real val 0x%x\n", in module_reset()
374 table->name, table->version_reg, expect, val); in module_reset()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dplat_firmware.c286 输入参数 : expect: 期望device正确返回的内容
290 static hi_s32 recv_expect_result(const hi_u8 *expect, const firmware_mem_stru *firmware_mem) in recv_expect_result() argument
294 if (expect == HI_NULL) { in recv_expect_result()
295 oam_error_log0(0, 0, "recv_expect_result:expect = HI_NULL \n"); in recv_expect_result()
299 if (!strlen((const hi_char *)expect)) { in recv_expect_result()
314 if (!memcmp(firmware_mem->puc_recv_cmd_buff, expect, strlen((const hi_char *)expect))) { in recv_expect_result()
317 oam_error_log2(0, 0, " error result[%s], expect [%s], read result again", in recv_expect_result()
318 (uintptr_t)firmware_mem->puc_recv_cmd_buff, (uintptr_t)expect); in recv_expect_result()
325 static hi_s32 recv_expect_result_timeout(const hi_u8 *expect, cons argument
364 msg_send_and_recv_except(hi_u8 *data, hi_s32 len, const hi_u8 *expect, const firmware_mem_stru *firmware_mem) msg_send_and_recv_except() argument
[all...]

Completed in 3 milliseconds