Home
last modified time | relevance | path

Searched refs:send_len (Results 1 - 14 of 14) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_demo_i2s.c72 hi_u32 send_len = hi_min(total_play_len, AUDIO_PLAY_BUF_SIZE); in audio_play() local
73 ret = hi_flash_read(play_addr, send_len, g_audio_test.play_buf); in audio_play()
78 ret = hi_i2s_write(g_audio_test.play_buf, send_len, time_out); in audio_play()
83 play_addr += send_len; in audio_play()
84 total_play_len -= send_len; in audio_play()
H A Dapp_demo_i2c.c52 hi_u32 i2c_demo_write(hi_i2c_idx id, hi_u16 device_addr, hi_u32 send_len) in i2c_demo_write() argument
58 es8311_i2c_data.send_len = send_len; in i2c_demo_write()
82 es8311_i2c_data.send_len = 1; in i2c_demo_writeread()
H A Dapp_demo_spi.c186 hi_u32 send_len; in app_demo_spi_slave_send_16bits() local
191 send_len = min(g_transfer_lenth - index, BUF_LENGTH_HALF); in app_demo_spi_slave_send_16bits()
192 for (j = 0; j < send_len; j++) { /* loops 256 */ in app_demo_spi_slave_send_16bits()
196 ret = hi_spi_slave_write(spi_id, g_spi_send_buf, send_len * 2, 10000); /* 2:doubule the length 10000:ms */ in app_demo_spi_slave_send_16bits()
199 print_err_send_buf_u16((hi_u16 *)g_spi_send_buf, send_len); in app_demo_spi_slave_send_16bits()
203 index += send_len; /* add 256 */ in app_demo_spi_slave_send_16bits()
394 hi_u32 send_len; in app_demo_spi_host_send_16bits() local
399 send_len = min(g_transfer_lenth - index, BUF_LENGTH_HALF); in app_demo_spi_host_send_16bits()
400 for (j = 0; j < send_len; j++) { in app_demo_spi_host_send_16bits()
404 ret = hi_spi_host_write(spi_id, g_spi_send_buf, send_len * in app_demo_spi_host_send_16bits()
[all...]
H A Des8311_codec.c34 i2c_data.send_len = 2; /* send_len is 2 */ in codec_write_reg()
44 i2c_data.send_len = 1; in codec_read_reg()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/iot_hardware/wifiiot_lite/
H A Dhal_iot_i2c.c26 i2cData.send_len = dataLen; in IoTI2cWrite()
37 i2cData.send_len = 0; in IoTI2cRead()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/include/
H A Dapp_demo_i2c.h31 hi_u32 i2c_demo_write(hi_i2c_idx id, hi_u16 device_addr, hi_u32 send_len);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_slave.c227 hi_u32 send_len; in hcc_slave_get_netbuf_align_len() local
237 send_len = hi_byte_align(total_len, align_size); in hcc_slave_get_netbuf_align_len()
238 return send_len; in hcc_slave_get_netbuf_align_len()
912 hi_u32 send_len = hcc_slave_get_netbuf_align_len(dev_netbuf, HISDIO_D2H_SCATT_BUFFLEN_ALIGN); in hcc_slave_tx_queue_sched() local
913 total_len += send_len; in hcc_slave_tx_queue_sched()
915 g_tx_aggr_info.hcc_tx_aggr[i].tx_pkt_bytes = send_len; in hcc_slave_tx_queue_sched()
916 hcc_extfunc->comm_reg[i] = (send_len >> HISDIO_D2H_SCATT_BUFFLEN_ALIGN_BITS) & 0xFF; in hcc_slave_tx_queue_sched()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_i2c.h59 hi_u32 send_len; /**< Length of sent data (unit: byte). member
H A Dhi_at.h45 hi_u16 send_len; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dhi_at.c170 buf_len = g_at_ctrl.send_len + 1; in at_get_buf()
174 if (memcpy_s(buf, buf_len, g_at_data, g_at_ctrl.send_len) != EOK) { in at_get_buf()
322 if ((i >= (g_at_ctrl.send_len - 1)) || (i >= (AT_DATA_MAX_LEN - 1)) || in at_get_send_data()
326 g_at_ctrl.send_len = i + 1; in at_get_send_data()
329 g_at_ctrl.send_len = i - 1; in at_get_send_data()
H A Dat_general.c1196 hi_u32 send_len; in ip_tcp_send() local
1197 send_len = strlen(send_msg); in ip_tcp_send()
1199 ret = send(g_ip_link_ctl[link_id].sfd, send_msg, send_len, 0); in ip_tcp_send()
1213 hi_u32 send_len; in ip_udp_send() local
1214 send_len = strlen(send_msg); in ip_udp_send()
1219 ret = sendto(g_ip_link_ctl[link_id].sfd, send_msg, send_len, 0, in ip_udp_send()
1255 g_at_ctrl.send_len = (hi_u16)atoi(argv[1]); in at_ip_send()
H A Dat.c38 .send_len = 0,
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/i2c/
H A Di2c.c456 for (i = 0; i < (i2c_data->send_len); i++) { in i2c_restart_receive_data()
519 for (i = 0; i < (i2c_data->send_len); i++) { in i2c_send_data()
616 if (i2c_data->receive_len == 0 || i2c_data->send_len == 0) { in i2c_writeread_param_check()
617 i2c_error("invalid receive_len or send_len. \n"); in i2c_writeread_param_check()
714 if (i2c_data->send_len == 0) { in hi_i2c_write()
715 i2c_error("invalid send_len. \n"); in hi_i2c_write()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/fm11nt081d/
H A Dfm11nt081d.c163 static hi_u32 WriteRead(hi_u16 cmd, hi_u8 send_len, hi_u8 read_len) in WriteRead() argument
176 status = i2c_func->pfn_i2c_read(id, C081_NFC_ADDR | I2C_RD, cmd, send_len, recvData, read_len); in WriteRead()

Completed in 12 milliseconds