/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmxtlv.c | 56 int len = (int)OFFSETOF(bcm_xtlv_t, data); /* nominal */ in bcm_xtlv_hdr_size() local 57 if (opts & BCM_XTLV_OPTION_LENU8) --len; in bcm_xtlv_hdr_size() 58 if (opts & BCM_XTLV_OPTION_IDU8) --len; in bcm_xtlv_hdr_size() 60 return len; in bcm_xtlv_hdr_size() 85 int len; /* length wthout padding */ in bcm_xtlv_size() local 87 len = BCM_XTLV_LEN_EX(elt, opts); in bcm_xtlv_size() 88 size = bcm_xtlv_size_for_data(len, opts); in bcm_xtlv_size() 96 int len; in bcm_xtlv_len() local 98 lenp = (const uint8 *)&elt->len; /* nominal */ in bcm_xtlv_len() 104 len in bcm_xtlv_len() 148 bcm_xtlv_buf_init(bcm_xtlvbuf_t *tlv_buf, uint8 *buf, uint16 len, bcm_xtlv_opts_t opts) bcm_xtlv_buf_init() argument 163 uint16 len; bcm_xtlv_buf_len() local 198 bcm_xtlv_pack_xtlv(bcm_xtlv_t *xtlv, uint16 type, uint16 len, const uint8 *data, bcm_xtlv_opts_t opts) bcm_xtlv_pack_xtlv() argument 246 bcm_xtlv_unpack_xtlv(const bcm_xtlv_t *xtlv, uint16 *type, uint16 *len, const uint8 **data, bcm_xtlv_opts_t opts) bcm_xtlv_unpack_xtlv() argument 361 uint16 len; bcm_unpack_xtlv_entry() local 384 bcm_pack_xtlv_entry(uint8 **tlv_buf, uint16 *buflen, uint16 type, uint16 len, const uint8 *src_data, bcm_xtlv_opts_t opts) bcm_pack_xtlv_entry() argument 415 uint16 len; bcm_unpack_xtlv_buf() local 535 uint16 len, type; bcm_unpack_xtlv_buf_to_mem() local 568 uint16 type, len; bcm_get_data_from_xtlv_buf() local 611 uint16 len; bcm_xtlv_bcopy() local [all...] |
H A D | linux_pkt.c | 152 osl_alloc_skb(osl_t *osh, unsigned int len) in osl_alloc_skb() argument 160 skb = __dev_alloc_skb(len, flags); in osl_alloc_skb() 162 skb = dev_alloc_skb(len); in osl_alloc_skb() 234 linux_pktget(osl_t *osh, uint len, int line, const char *caller) in linux_pktget() argument 236 linux_pktget(osl_t *osh, uint len) in linux_pktget() 247 if ((skb = osl_alloc_skb(osh, len))) { in linux_pktget() 248 skb->tail += len; in linux_pktget() 249 skb->len += len; in linux_pktget() 400 osl_pktget_static(osl_t *osh, uint len) in osl_pktget_static() argument [all...] |
H A D | frag.c | 57 tot_len = id_ext ? ie->len - 1 : ie->len; in bcm_tlv_dot11_defrag() 72 if (ie->len != BCM_TLV_MAX_DATA_SIZE) { in bcm_tlv_dot11_defrag() 83 if (out_left < ie->len) { in bcm_tlv_dot11_defrag() 87 memcpy(out, &ie->data[0], ie->len); in bcm_tlv_dot11_defrag() 88 out += ie->len; in bcm_tlv_dot11_defrag() 89 out_left -= ie->len; in bcm_tlv_dot11_defrag() 92 tot_len += ie->len + BCM_TLV_HDR_SIZE; in bcm_tlv_dot11_defrag() 95 if (ie->len < BCM_TLV_MAX_DATA_SIZE) { in bcm_tlv_dot11_defrag()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/ |
H A D | blackbox_adapter_impl.c | 54 hi_s32 len; in SaveSysInfo() local 68 len = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, in SaveSysInfo() 72 if (len > 0) { in SaveSysInfo() 73 (hi_void)FullWriteFile(filePath, buf, len, 1); in SaveSysInfo() 81 hi_s32 len; in SaveExcpInfo() local 95 len = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, in SaveExcpInfo() 106 if (len > 0) { in SaveExcpInfo() 107 (hi_void)FullWriteFile(filePath, buf, len, 1); in SaveExcpInfo() 115 hi_s32 len; in SaveRegInfo() local 126 len in SaveRegInfo() 202 hi_s32 len; SaveMemInfo() local 236 hi_s32 len; SaveTaskInfo() local 280 hi_s32 len; SaveTrackInfo() local 333 hi_s32 len; SaveCallBack() local 507 int len; SystemModuleDump() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | prng.h | 28 * Fills \p buf with \p len random bytes. This is the default implementation for 33 contiki_prng_impl(unsigned char *buf, size_t len) { in contiki_prng_impl() argument 35 while (len > sizeof(v)) { in contiki_prng_impl() 37 len -= sizeof(v); in contiki_prng_impl() 42 memcpy(buf, &v, len); in contiki_prng_impl() 50 lwip_prng_impl(unsigned char *buf, size_t len) { in lwip_prng_impl() argument 52 while (len > sizeof(v)) { in lwip_prng_impl() 54 len -= sizeof(v); in lwip_prng_impl() 59 memcpy(buf, &v, len); in lwip_prng_impl() 69 * Fills \p buf with \p len rando [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
H A D | at.c | 202 hi_u32 len; in integer_check() local 208 len = strlen(buf); in integer_check() 209 if ((*buf == '0') && (len != 1)) { in integer_check() 212 for (i = 0; i < len; i++) { in integer_check() 304 char* at_dup_binstr(const char *src, size_t len) in at_dup_binstr() argument 312 res = at_malloc(len + 1); in at_dup_binstr() 316 ret = memcpy_s(res, len, src, len); in at_dup_binstr() 322 res[len] = '\0'; in at_dup_binstr() 359 * @len 363 at_hexstr2bin(const char *hex, hi_u8 *buf, size_t len) at_hexstr2bin() argument 380 at_printf_encode(char *txt, size_t maxlen, const hi_u8 *data, size_t len) at_printf_encode() argument 431 size_t len = *str_len; at_printf_decode_slash() local 503 size_t len = 0; at_printf_decode() local 525 at_parse_string_normal(const char *value, size_t *len) at_parse_string_normal() argument 543 at_parse_string_with_p(const char *value, size_t *len) at_parse_string_with_p() argument 573 at_parse_string_other(const char *value, size_t *len) at_parse_string_other() argument 596 at_parse_string(const char *value, size_t *len) at_parse_string() argument [all...] |
H A D | at_printf.c | 37 hi_s32 uart_puts_at(const hi_char *ptr, hi_u32 len, const hi_void *state) in uart_puts_at() argument 39 hi_s32 len_ret = (hi_s32)len; in uart_puts_at() 43 while (len-- && (*ptr != 0)) { in uart_puts_at() 65 hi_s32 len; in hi_at_printf() local 70 len = __dprintf(fmt, ap, fn_put, (void *)NULL); in hi_at_printf() 72 len = 0; in hi_at_printf() 76 return len; in hi_at_printf() 97 hi_s32 uart_puts_sysinfo(const hi_char *ptr, hi_u32 len, const hi_void *state) in uart_puts_sysinfo() argument 99 hi_s32 len_ret = (hi_s32)len; in uart_puts_sysinfo() 103 while (len in uart_puts_sysinfo() 136 hi_s32 len; hi_at_printf_crashinfo() local [all...] |
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
H A D | i2c.h | 38 unsigned short len; /* msg length */ member 89 * @param len Indicates the bytes of the data to write. 94 const unsigned char *data, unsigned int len) in LzI2cWrite() 101 msg.len = len; in LzI2cWrite() 112 * @param len Indicates the bytes of the data to read. 116 static inline unsigned int LzI2cRead(unsigned int id, unsigned short slaveAddr, unsigned char *data, unsigned int len) in LzI2cRead() argument 123 msg.len = len; in LzI2cRead() 136 * @param len Indicate 93 LzI2cWrite(unsigned int id, unsigned short slaveAddr, const unsigned char *data, unsigned int len) LzI2cWrite() argument 140 LzI2cWriteReg(unsigned int id, unsigned short slaveAddr, unsigned char *regAddr, unsigned int regLen, unsigned char *data, unsigned int len) LzI2cWriteReg() argument 185 LzI2cReadReg(unsigned int id, unsigned short slaveAddr, unsigned char *regAddr, unsigned int regLen, unsigned char *data, unsigned int len) LzI2cReadReg() argument [all...] |
H A D | spi.h | 104 * @len Indicates the bytes of data to transfer. 112 unsigned int len; member 158 static inline unsigned int LzSpiRead(unsigned int id, unsigned int chn, void *buf, unsigned int len) in LzSpiRead() argument 167 msg.len = len; in LzSpiRead() 172 static inline unsigned int LzSpiWrite(unsigned int id, unsigned int chn, const void *buf, unsigned int len) in LzSpiWrite() argument 181 msg.len = len; in LzSpiWrite() 188 unsigned int len) in LzSpiWriteAndRead() 197 msg.len in LzSpiWriteAndRead() 186 LzSpiWriteAndRead(unsigned int id, unsigned int chn, const void *txBuf, void *rxBuf, unsigned int len) LzSpiWriteAndRead() argument [all...] |
/device/qemu/riscv32_virt/liteos_m/board/driver/video/ |
H A D | key_cache.c | 96 static uint32_t NameHash(const char *name, int len)
in NameHash() argument 99 hash = LOS_HashFNV32aBuf(name, len, FNV1_32A_INIT);
in NameHash() 103 static void KeyCacheInsert(struct KeyCache *cache, const char* name, int len)
in KeyCacheInsert() argument 105 int hash = NameHash(name, len) & PATH_CACHE_HASH_MASK;
in KeyCacheInsert() 109 struct KeyCache *KeyCacheAlloc(struct fb_mem *fbmem, const char *name, uint8_t len)
in KeyCacheAlloc() argument 115 if (name == NULL || len > NAME_MAX || fbmem == NULL) {
in KeyCacheAlloc() 118 keyCacheSize = sizeof(struct KeyCache) + len + 1;
in KeyCacheAlloc() 125 ret = strncpy_s(kc->name, len + 1, name, len);
in KeyCacheAlloc() 130 kc->nameLen = len;
in KeyCacheAlloc() 149 KeyCacheLookup(const char *name, int len, struct fb_mem **fbmem) KeyCacheLookup() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger_ringbuf.h | 24 int len; member 30 static inline struct fiq_debugger_ringbuf *fiq_debugger_ringbuf_alloc(int len) in fiq_debugger_ringbuf_alloc() argument 34 rbuf = kzalloc(sizeof(*rbuf) + len, GFP_KERNEL); in fiq_debugger_ringbuf_alloc() 39 rbuf->len = len; in fiq_debugger_ringbuf_alloc() 57 level = rbuf->len + level; in fiq_debugger_ringbuf_level() 65 return rbuf->len - fiq_debugger_ringbuf_level(rbuf) - 1; in fiq_debugger_ringbuf_room() 70 return rbuf->buf[(rbuf->tail + i) % rbuf->len]; in fiq_debugger_ringbuf_peek() 77 rbuf->tail = (rbuf->tail + count) % rbuf->len; in fiq_debugger_ringbuf_consume() 91 rbuf->head = (rbuf->head + 1) % rbuf->len; in fiq_debugger_ringbuf_push() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger_ringbuf.h | 22 int len; member 29 static inline struct fiq_debugger_ringbuf *fiq_debugger_ringbuf_alloc(int len) in fiq_debugger_ringbuf_alloc() argument 33 rbuf = kzalloc(sizeof(*rbuf) + len, GFP_KERNEL); in fiq_debugger_ringbuf_alloc() 37 rbuf->len = len; in fiq_debugger_ringbuf_alloc() 55 level = rbuf->len + level; in fiq_debugger_ringbuf_level() 62 return rbuf->len - fiq_debugger_ringbuf_level(rbuf) - 1; in fiq_debugger_ringbuf_room() 68 return rbuf->buf[(rbuf->tail + i) % rbuf->len]; in fiq_debugger_ringbuf_peek() 76 rbuf->tail = (rbuf->tail + count) % rbuf->len; in fiq_debugger_ringbuf_consume() 90 rbuf->head = (rbuf->head + 1) % rbuf->len; in fiq_debugger_ringbuf_push() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 57 size_t len; in set_attr_from_string() local 64 len = strcspn(ptr, "\n "); in set_attr_from_string() 65 if (len == 0) { in set_attr_from_string() 73 sep = ptr[len]; in set_attr_from_string() 75 ptr[len++] = '\0'; in set_attr_from_string() 83 ptr += len; in set_attr_from_string() 99 size_t len; in kbase_debugfs_string_validator() local 109 len = strcspn(ptr, "\n "); in kbase_debugfs_string_validator() 110 if (len == 0) { in kbase_debugfs_string_validator() 118 if (ptr[len] in kbase_debugfs_string_validator() [all...] |
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
H A D | printf.c | 210 size_t len = buf_len; in _out_rev() local 215 for (size_t i = len; i < width; i++) { in _out_rev() 221 while (len) { in _out_rev() 222 out(buf[--len], buffer, idx++, maxlen); in _out_rev() 241 size_t len = buf_len; in _ntoa_format() local 249 while ((len < prec) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format() 250 buf[len++] = '0'; in _ntoa_format() 252 while ((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZ in _ntoa_format() 301 size_t len = 0U; _ntoa_long() local 337 size_t len = 0U; _ntoa_long_long() local 390 size_t len = 0U; _ftoa() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/ext_inc/ |
H A D | mm_ext.h | 33 static inline hi_bool read_user_linear_space_valid(hi_u8 *addr_start, hi_u32 len) in read_user_linear_space_valid() argument 38 if (len == 0) { in read_user_linear_space_valid() 42 if (!osal_access_ok(OSAL_VERIFY_READ, addr_start, len)) { in read_user_linear_space_valid() 46 addr_end = addr_start + len - 1; in read_user_linear_space_valid() 54 static inline hi_bool write_user_linear_space_valid(hi_u8 *addr_start, hi_u32 len) in write_user_linear_space_valid() argument 59 if (len == 0) { in write_user_linear_space_valid() 63 if (!osal_access_ok(OSAL_VERIFY_WRITE, addr_start, len)) { in write_user_linear_space_valid() 67 addr_end = addr_start + len - 1; in write_user_linear_space_valid()
|
/device/soc/rockchip/common/sdk_linux/fs/ubifs/ |
H A D | recovery.c | 49 * @len: length of buffer 54 static int is_empty(void *buf, int len) in is_empty() argument 59 for (i = 0; i < len; i++) { in is_empty() 70 * @len: length of buffer 75 static int first_non_ff(void *buf, int len) in first_non_ff() argument 80 for (i = 0; i < len; i++) { in first_non_ff() 108 int err, offs, len; in get_master_node() local 124 len = c->leb_size; in get_master_node() 133 len -= sz; in get_master_node() 141 len in get_master_node() 453 clean_buf(const struct ubifs_info *c, void **buf, int lnum, int *offs, int *len) clean_buf() argument 481 no_more_nodes(const struct ubifs_info *c, void *buf, int len, int lnum, int offs) no_more_nodes() argument 550 int len = ALIGN(endpt, c->min_io_size); fix_unclean_leb() local 643 int ret = 0, err, len = c->leb_size - offs, start = offs, min_io_unit; ubifs_recover_leb() local 965 int len = c->max_write_size, err; recover_head() local 1040 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; clean_an_unclean_leb() local 1476 int err, lnum, offs, len; fix_size_in_place() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/ |
H A D | rtltool.c | 62 if (my_cmd.len==1) in rtl8168_tool_ioctl() 64 else if (my_cmd.len==2) in rtl8168_tool_ioctl() 66 else if (my_cmd.len==4) in rtl8168_tool_ioctl() 83 if (my_cmd.len==1) in rtl8168_tool_ioctl() 85 else if (my_cmd.len==2) in rtl8168_tool_ioctl() 87 else if (my_cmd.len==4) in rtl8168_tool_ioctl() 146 if (my_cmd.len==1 || my_cmd.len==2 || my_cmd.len==4) { in rtl8168_tool_ioctl() 148 my_cmd.data = rtl8168_eri_read(tp, my_cmd.offset, my_cmd.len, ERIAR_ExGMA in rtl8168_tool_ioctl() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | p2p.h | 51 uint8 len; /* IE length */ member 107 uint8 len[2]; /* SE length not including eltId, len fields */ member 133 uint8 len[2]; /* SE length not including eltId, len fields */ member 141 uint8 len[2]; /* SE length not including eltId, len fields */ member 150 uint8 len[2]; /* SE length not including eltId, len fields */ member 160 uint8 len[ member 168 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 177 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 187 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 225 uint8 len[2]; /* length not including eltId, len fields */ global() member 236 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 244 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 262 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 309 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 320 uint8 len; global() member 333 uint8 len[2]; global() member 341 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 351 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 358 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 368 uint8 len[2]; /* SE length not including eltId, len fields */ global() member 376 uint8 len[2]; /* SE length not including eltId, len fields global() member 388 uint8 len[2]; /* SE length not including eltId, len */ global() member 398 uint8 len[2]; /* SE length not including eltId, len */ global() member 408 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */ global() member 428 uint8 len[2]; /* SE length not including eltId, len fields mutiple len of global() member 441 uint8 len[2]; /* SE length not including eltId, len fixed 4 Bytes */ global() member 521 uint8 len[2]; /* Length */ global() member 603 uint8 len; /* IE length */ global() member 622 uint16 len; /* Length: 5 plus size of Query Data */ global() member 632 uint16 len; /* Length of service request TLV, 5 plus the size of request data */ global() member 649 uint16 len; /* Length: 5 plus size of Query Data */ global() member 660 uint16 len; /* Lenth of service response TLV, 6 plus the size of resp data */ global() member [all...] |
H A D | mbo.h | 78 uint8 len; /* IE length */ member 81 uint8 attr[1]; /* var len attributes */ 93 uint8 len; member 114 /* attribute len - (opclass + Pref + Reason) */ 137 uint8 len; member 154 uint8 len; member 173 uint8 len; member 190 uint8 len; member 214 uint8 len; member 235 uint8 len; member 247 uint16 len; global() member 274 uint8 len; global() member [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_net.c | 100 hi_u32 len; in oal_dev_netlink_rev() local 115 if (skb_info->len >= oal_nlmsg_space(0)) { in oal_dev_netlink_rev() 118 if (!oal_nlmsg_ok(nlh, skb_info->len)) { in oal_dev_netlink_rev() 119 oal_io_print2("[ERROR]invalid netlink buff data package data len = :%u,skb_buff data len = %u\n", in oal_dev_netlink_rev() 120 nlh->nlmsg_len, skb_info->len); in oal_dev_netlink_rev() 124 len = oal_nlmsg_payload(nlh, 0); in oal_dev_netlink_rev() 125 if (len < OAL_EXCP_DATA_BUF_LEN && len >= sizeof(msg_hdr)) { in oal_dev_netlink_rev() 126 if (memcpy_s(g_dev_excp_handler_data.data, len, oal_nlmsg_dat in oal_dev_netlink_rev() 173 hi_u32 len; oal_dev_netlink_send() local 361 oal_get_netdevice_by_name(const hi_char *pc_name, hi_u32 len) oal_get_netdevice_by_name() argument 538 oal_csum_ipv6_magic(hi_u32 len, hi_u8 *buffer) oal_csum_ipv6_magic() argument 678 oal_net_check_and_get_devname(nl80211_iftype_uint8 type, char *dev_name, hi_u32 *len) oal_net_check_and_get_devname() argument [all...] |
H A D | plat_sdio.c | 44 * Input : hi_u8* buf, hi_u32 len 49 hi_s32 sdio_patch_writesb(hi_u8 *buf, hi_u32 len) in sdio_patch_writesb() argument 58 if (buf == NULL || len == 0) { in sdio_patch_writesb() 62 len = HISDIO_ALIGN_4_OR_BLK(len); in sdio_patch_writesb() 65 ret = bus->ops.bulkWrite(bus, HISDIO_REG_FUNC1_FIFO, len, buf, 0); in sdio_patch_writesb() 72 * Input : hi_u8* buf, hi_u32 len hi_u32 timeout (ms) 76 hi_s32 sdio_patch_readsb(hi_u8 *buf, hi_u32 len, hi_u32 timeout) in sdio_patch_readsb() argument 91 if (buf == NULL || len == 0) { in sdio_patch_readsb() 152 if (xfer_count < len) { in sdio_patch_readsb() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_fileops.c | 37 int klib_fwrite(const char *buf, int len, struct file *filp) in klib_fwrite() argument 43 return __kernel_write(filp, buf, len, &filp->f_pos); in klib_fwrite() 46 int klib_fread(char *buf, unsigned int len, struct file *filp) in klib_fread() argument 52 return kernel_read(filp, (void __user*)buf, len, &filp->f_pos); in klib_fread() 67 int osal_klib_fwrite(const char *buf, int len, void *filp) in osal_klib_fwrite() argument 69 return klib_fwrite(buf, len, (struct file *)filp); in osal_klib_fwrite() 73 int osal_klib_fread(char *buf, unsigned int len, void *filp) in osal_klib_fread() argument 75 return klib_fread(buf, len, (struct file *)filp); in osal_klib_fread()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/sysconfig/ |
H A D | sys_config.c | 115 unsigned int len;
in parse_sensor_name() local 133 len = strlen(line);
in parse_sensor_name() 134 if (len >= SENSOR_NAME_LEN) {
in parse_sensor_name() 172 unsigned int len;
in parse_sensor_bus_type() local 175 len = SENSOR_NAME_LEN;
in parse_sensor_bus_type() 177 if ((strncmp("imx290", name, len) == 0) ||
in parse_sensor_bus_type() 178 (strncmp("imx327", name, len) == 0) ||
in parse_sensor_bus_type() 179 (strncmp("imx327_2l", name, len) == 0) ||
in parse_sensor_bus_type() 180 (strncmp("imx390", name, len) == 0) ||
in parse_sensor_bus_type() 181 (strncmp("sc4210", name, len) in parse_sensor_bus_type() 217 unsigned int len; parse_sensor_clock() local 257 unsigned int len; is_coms() local 900 unsigned int len; sensor_bus_pin_mux() local [all...] |
/device/soc/hisilicon/common/platform/mtd/hifmc100/spi_nor/ |
H A D | hifmc100_spi_nor.c | 52 HDF_LOGE("%s: get id len failed:%d", __func__, ret); in HifmcCntlrReadSpinorInfo() 171 int32_t HifmcCntlrReadIdSpiNor(struct HifmcCntlr *cntlr, uint8_t cs, uint8_t *id, size_t len) in HifmcCntlrReadIdSpiNor() argument 176 if (len < MTD_FLASH_ID_LEN_MAX) { in HifmcCntlrReadIdSpiNor() 177 HDF_LOGE("%s: buf not enough(len: %u, expected %u)", __func__, len, MTD_FLASH_ID_LEN_MAX); in HifmcCntlrReadIdSpiNor() 244 static int32_t HifmcSpinorErase(struct MtdDevice *mtdDevice, off_t from, size_t len, off_t *failAddr) in HifmcSpinorErase() argument 259 while (len) { in HifmcSpinorErase() 270 len -= mtdDevice->eraseSize; in HifmcSpinorErase() 279 off_t offset, uint8_t *buf, size_t len, int wr) in HifmcCntlrDmaTransfer() 289 HDF_LOGD("%s: start dma transfer => [%jd], len[ in HifmcCntlrDmaTransfer() 278 HifmcCntlrDmaTransfer(struct HifmcCntlr *cntlr, struct SpiFlash *spi, off_t offset, uint8_t *buf, size_t len, int wr) HifmcCntlrDmaTransfer() argument 380 HifmcCntlrDmaWriteRead(struct MtdDevice *mtdDevice, off_t offset, size_t len, uint8_t *buf, int wr) HifmcCntlrDmaWriteRead() argument 431 HifmcSpinorWrite(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) HifmcSpinorWrite() argument 456 HifmcSpinorRead(struct MtdDevice *mtdDevice, off_t from, size_t len, uint8_t *buf) HifmcSpinorRead() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | entropy_poll.h | 54 unsigned char *output, size_t len, size_t *olen ); 62 unsigned char *output, size_t len, size_t *olen ); 72 unsigned char *output, size_t len, size_t *olen ); 80 unsigned char *output, size_t len, size_t *olen ); 93 unsigned char *output, size_t len, size_t *olen ); 103 unsigned char *output, size_t len, size_t *olen );
|