Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 25 of 102) sorted by relevance

12345

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Drtw_android.c149 int total_len; member
156 int total_len; member
185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup() argument
203 total_len = sizeof(pno_in_example); in rtw_android_pno_setup()
209 if (total_len < (cmdlen + sizeof(cmd_tlv_t))) { in rtw_android_pno_setup()
210 RTW_INFO("%s argument=%d less min size\n", __func__, total_len); in rtw_android_pno_setup()
214 tlv_size_left = total_len - cmdlen; in rtw_android_pno_setup()
369 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi() argument
377 bytes_written += snprintf(&command[bytes_written], total_len, "%s rssi %d", in rtw_android_get_rssi()
384 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed() argument
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_android.c381 char *command, int total_len);
474 static int wl_android_wbtext(struct net_device *dev, char *command, int total_len);
476 char *command, int total_len);
478 char *command, int total_len);
506 struct net_device *dev, char *command, int total_len, bool enable) in wl_android_set_wfds_hash() argument
540 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len) in wl_android_get_link_speed() argument
554 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in wl_android_get_link_speed()
559 static int wl_android_get_rssi(struct net_device *net, char *command, int total_len) in wl_android_get_rssi() argument
630 } else if (total_len <= ssid.SSID_len) { in wl_android_get_rssi()
636 if ((total_len - bytes_written) < (strlen(" rssi -XXX") + 1)) in wl_android_get_rssi()
[all …]
Dwl_android_ext.c538 wl_ext_channel(struct net_device *dev, char* command, int total_len) in wl_ext_channel() argument
571 wl_ext_channels(struct net_device *dev, char* command, int total_len) in wl_ext_channels() argument
588 bytes_written = snprintf(command, total_len, "channels"); in wl_ext_channels()
590 bytes_written += snprintf(command+bytes_written, total_len, " %d", in wl_ext_channels()
601 wl_ext_roam_trigger(struct net_device *dev, char* command, int total_len) in wl_ext_roam_trigger() argument
628 bytes_written = snprintf(command, total_len, "%d %d", trigger[0], trigger[1]); in wl_ext_roam_trigger()
660 wl_ext_keep_alive(struct net_device *dev, char *command, int total_len) in wl_ext_keep_alive() argument
711 bytes_written = snprintf(command, total_len, "mkeep_alive_period_msec %d ", in wl_ext_keep_alive()
713 bytes_written += snprintf(command+bytes_written, total_len, "0x"); in wl_ext_keep_alive()
715 bytes_written += snprintf(command+bytes_written, total_len, "%02x", in wl_ext_keep_alive()
[all …]
Dwl_android.h51 int total_len; member
58 int total_len; member
142 int wl_android_ext_priv_cmd(struct net_device *net, char *command, int total_len,
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_android.c628 char *command, int total_len);
764 char *command, int total_len);
887 static int wl_android_wtc_config(struct net_device *dev, char *command, int total_len);
890 static int wl_android_wbtext(struct net_device *dev, char *command, int total_len);
892 char *command, int total_len);
894 char *command, int total_len);
896 char *command, int total_len);
974 typedef int (*PRIV_CMD_HANDLER_WITH_LEN) (struct net_device *dev, char *command, int total_len);
993 static int wl_android_default_set_scan_params(struct net_device *dev, char *command, int total_len);
1191 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len) in wl_android_get_link_speed() argument
[all …]
Dwl_android_ext.c190 static int wl_ext_wl_iovar(struct net_device *dev, char *command, int total_len);
658 wl_ext_channel(struct net_device *dev, char* command, int total_len) in wl_ext_channel() argument
691 wl_ext_channels(struct net_device *dev, char* command, int total_len) in wl_ext_channels() argument
708 bytes_written = snprintf(command, total_len, "channels"); in wl_ext_channels()
710 bytes_written += snprintf(command+bytes_written, total_len, " %d", in wl_ext_channels()
721 wl_ext_roam_trigger(struct net_device *dev, char* command, int total_len) in wl_ext_roam_trigger() argument
748 bytes_written = snprintf(command, total_len, "%d %d", trigger[0], trigger[1]); in wl_ext_roam_trigger()
756 wl_ext_pm(struct net_device *dev, char *command, int total_len) in wl_ext_pm() argument
782 bytes_written = snprintf(command, total_len, "PM %s", pm_local); in wl_ext_pm()
792 wl_ext_monitor(struct net_device *dev, char *command, int total_len) in wl_ext_monitor() argument
[all …]
Dwl_iapsta.h158 int wl_ext_iapsta_enable(struct net_device *dev, char *command, int total_len);
159 int wl_ext_iapsta_disable(struct net_device *dev, char *command, int total_len);
160 int wl_ext_isam_param(struct net_device *dev, char *command, int total_len);
161 int wl_ext_isam_status(struct net_device *dev, char *command, int total_len);
162 int wl_ext_isam_init(struct net_device *dev, char *command, int total_len);
163 int wl_ext_iapsta_config(struct net_device *dev, char *command, int total_len);
Dwl_android.h58 int total_len; member
65 int total_len; member
218 int total_len);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_android.c398 char *command, int total_len);
484 char *command, int total_len);
617 typedef int (*PRIV_CMD_HANDLER_WITH_LEN) (struct net_device *dev, char *command, int total_len);
639 int wl_android_set_full_roam_scan_period(struct net_device *dev, char* command, int total_len);
732 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len) in wl_android_get_link_speed() argument
746 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in wl_android_get_link_speed()
751 static int wl_android_get_rssi(struct net_device *net, char *command, int total_len) in wl_android_get_rssi() argument
821 } else if (total_len <= ssid.SSID_len) { in wl_android_get_rssi()
827 if ((total_len - bytes_written) < (strlen(" rssi -XXX") + 1)) in wl_android_get_rssi()
830 bytes_written += scnprintf(&command[bytes_written], total_len - bytes_written, in wl_android_get_rssi()
[all …]
Dwl_android_ext.c316 static int wl_ext_wl_iovar(struct net_device *dev, char *command, int total_len);
784 wl_ext_channel(struct net_device *dev, char* command, int total_len) in wl_ext_channel() argument
817 wl_ext_channels(struct net_device *dev, char* command, int total_len) in wl_ext_channels() argument
834 bytes_written = snprintf(command, total_len, "channels"); in wl_ext_channels()
836 bytes_written += snprintf(command+bytes_written, total_len, " %d", in wl_ext_channels()
847 wl_ext_roam_trigger(struct net_device *dev, char* command, int total_len) in wl_ext_roam_trigger() argument
874 bytes_written = snprintf(command, total_len, "%d %d", trigger[0], trigger[1]); in wl_ext_roam_trigger()
882 wl_ext_pm(struct net_device *dev, char *command, int total_len) in wl_ext_pm() argument
908 bytes_written = snprintf(command, total_len, "PM %s", pm_local); in wl_ext_pm()
918 wl_ext_monitor(struct net_device *dev, char *command, int total_len) in wl_ext_monitor() argument
[all …]
Dwl_android.h54 int total_len; member
61 int total_len; member
179 int wl_android_ext_priv_cmd(struct net_device *net, char *command, int total_len,
181 void wl_ext_get_sec(struct net_device *dev, int ifmode, char *sec, int total_len);
299 int total_len);
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_android_ext.c208 int total_len);
684 static int wl_ext_channel(struct net_device *dev, char *command, int total_len) in wl_ext_channel() argument
716 static int wl_ext_channels(struct net_device *dev, char *command, int total_len) in wl_ext_channels() argument
733 bytes_written = snprintf(command, total_len, "channels"); in wl_ext_channels()
735 bytes_written += snprintf(command + bytes_written, total_len, " %d", in wl_ext_channels()
746 int total_len) in wl_ext_roam_trigger() argument
776 snprintf(command, total_len, "%d %d", trigger[0], trigger[1]); in wl_ext_roam_trigger()
783 static int wl_ext_pm(struct net_device *dev, char *command, int total_len) in wl_ext_pm() argument
809 bytes_written = snprintf(command, total_len, "PM %s", pm_local); in wl_ext_pm()
818 static int wl_ext_monitor(struct net_device *dev, char *command, int total_len) in wl_ext_monitor() argument
[all …]
Dwl_android.c398 int total_len);
486 int total_len);
639 int total_len);
662 int total_len);
759 int total_len) in wl_android_get_link_speed() argument
773 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in wl_android_get_link_speed()
780 int total_len) in wl_android_get_rssi() argument
853 } else if (total_len <= ssid.SSID_len) { in wl_android_get_rssi()
859 if ((total_len - bytes_written) < (strlen(" rssi -XXX") + 1)) { in wl_android_get_rssi()
864 scnprintf(&command[bytes_written], total_len - bytes_written, in wl_android_get_rssi()
[all …]
Dwl_iapsta.h191 int wl_ext_iapsta_enable(struct net_device *dev, char *command, int total_len);
192 int wl_ext_iapsta_disable(struct net_device *dev, char *command, int total_len);
193 int wl_ext_isam_param(struct net_device *dev, char *command, int total_len);
194 int wl_ext_isam_status(struct net_device *dev, char *command, int total_len);
195 int wl_ext_isam_init(struct net_device *dev, char *command, int total_len);
196 int wl_ext_iapsta_config(struct net_device *dev, char *command, int total_len);
214 int total_len);
215 int wl_ext_isam_peer_path(struct net_device *dev, char *command, int total_len);
Dwl_android.h67 int total_len; member
74 int total_len; member
203 int total_len);
/device/soc/chipsea/cst85/liteos_m/sdk/modules/apps/src/
Dapp_ota_box.c248 static uint32_t total_len = 0; in app_ota_receive_data() local
259 if(received_len == total_len){ in app_ota_receive_data()
262 total_len = 0; in app_ota_receive_data()
271total_len = (uint32_t)(rxbuf[1]) | ((uint32_t)(rxbuf[2])<<8) | ((uint32_t)(rxbuf[3])<<16) | ((uint… in app_ota_receive_data()
272 TRACE("APP: OTA BIN total len = %d\n",total_len); in app_ota_receive_data()
273 ota_start((OTA_ADDR + OTA_INFO_SIZE), total_len); in app_ota_receive_data()
277 if(received_len == total_len){ in app_ota_receive_data()
280 total_len = 0; in app_ota_receive_data()
294total_len = (uint32_t)(rxbuf[1]) | ((uint32_t)(rxbuf[2])<<8) | ((uint32_t)(rxbuf[3])<<16) | ((uint… in app_ota_receive_data()
295 TRACE("APP: OTA BIN total len = %d\n",total_len); in app_ota_receive_data()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Daes-omac1.c48 size_t i, e, left, total_len; in omac1_aes_vector() local
58 total_len = 0; in omac1_aes_vector()
60 total_len += len[e]; in omac1_aes_vector()
61 left = total_len; in omac1_aes_vector()
92 if (left || total_len == 0) { in omac1_aes_vector()
/device/soc/winnermicro/wm800/board/platform/common/fwup/
Dwm_fwup.c189 fwup->total_len = booter.img_len + sizeof(IMAGE_HEADER_PARAM_ST); in fwup_scheduler()
191 fwup->total_len += 128; in fwup_scheduler()
220 if (fwup->updated_len >= (fwup->total_len)) { in fwup_scheduler()
236 left = fwup->total_len - 128 - sizeof(IMAGE_HEADER_PARAM_ST); in fwup_scheduler()
238 left = fwup->total_len - sizeof(IMAGE_HEADER_PARAM_ST); in fwup_scheduler()
288 if (fwup->updated_len >= (fwup->total_len)) { in fwup_scheduler()
339 fwup->total_len = 0; in tls_fwup_enter()
380 fwup->total_len = 0; in tls_fwup_exit()
552 fwup->total_len = 0; in tls_fwup_reset()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dhardware_usb.c662 cfg_cb->total_len = cfg_cb->fw_len + cfg_cb->config_len; in rtk_usb_get_bt_final_patch()
663 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) in rtk_usb_get_bt_final_patch()
708 cfg_cb->total_len = entry->patch_length + cfg_cb->config_len; in rtk_usb_get_bt_final_patch()
716 HILOGI("total_len = 0x%x", cfg_cb->total_len); in rtk_usb_get_bt_final_patch()
718 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) in rtk_usb_get_bt_final_patch()
902 hw_cfg_cb.total_len = 0; in hw_usb_config_cback()
1001 …BTVNDDBG("Check total_len(0x%08x) max_patch_size(0x%08x)", hw_cfg_cb.total_len, hw_cfg_cb.max_patc… in hw_usb_config_cback()
1002 if (hw_cfg_cb.total_len > hw_cfg_cb.max_patch_size) in hw_usb_config_cback()
1004 …gth of fw&config(0x%08x) larger than max_patch_size(0x%08x)", hw_cfg_cb.total_len, hw_cfg_cb.max_p… in hw_usb_config_cback()
1009 if ((hw_cfg_cb.total_len > 0) && hw_cfg_cb.dl_fw_flag) in hw_usb_config_cback()
[all …]
Dhardware_uart.c818 cfg_cb->total_len = cfg_cb->fw_len + cfg_cb->config_len; in rtk_get_bt_final_patch()
819 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) in rtk_get_bt_final_patch()
864 cfg_cb->total_len = entry->patch_length + cfg_cb->config_len; in rtk_get_bt_final_patch()
872 HILOGI("total_len = 0x%x", cfg_cb->total_len); in rtk_get_bt_final_patch()
874 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) in rtk_get_bt_final_patch()
1234 …BTVNDDBG("Check total_len(0x%08x) max_patch_size(0x%08x)", hw_cfg_cb.total_len, hw_cfg_cb.max_patc… in hw_config_cback()
1235 if (hw_cfg_cb.total_len > hw_cfg_cb.max_patch_size) in hw_config_cback()
1237 …gth of fw&config(0x%08x) larger than max_patch_size(0x%08x)", hw_cfg_cb.total_len, hw_cfg_cb.max_p… in hw_config_cback()
1242 if ((hw_cfg_cb.total_len > 0) && hw_cfg_cb.dl_fw_flag) in hw_config_cback()
1244 hw_cfg_cb.patch_frag_cnt = hw_cfg_cb.total_len / PATCH_DATA_FIELD_MAX_SIZE; in hw_config_cback()
[all …]
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dhardware_usb.c640 cfg_cb->total_len = cfg_cb->fw_len + cfg_cb->config_len; in rtk_usb_get_bt_final_patch()
641 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) { in rtk_usb_get_bt_final_patch()
744 cfg_cb->total_len = entry->patch_length + cfg_cb->config_len; in rtk_usb_get_bt_final_patch()
763 HILOGI("total_len = 0x%x", cfg_cb->total_len); in rtk_usb_get_bt_final_patch()
765 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) { in rtk_usb_get_bt_final_patch()
934 hw_cfg_cb.total_len = 0; in hw_usb_config_cback()
1000 BTVNDDBG("Check total_len(0x%08x) max_patch_size(0x%08x)", hw_cfg_cb.total_len, in hw_usb_config_cback()
1002 if (hw_cfg_cb.total_len > hw_cfg_cb.max_patch_size) { in hw_usb_config_cback()
1003 …HILOGE("total length of fw&config(0x%08x) larger than max_patch_size(0x%08x)", hw_cfg_cb.total_len, in hw_usb_config_cback()
1009 if ((hw_cfg_cb.total_len > 0) && hw_cfg_cb.dl_fw_flag) { in hw_usb_config_cback()
[all …]
Dhardware_uart.c790 cfg_cb->total_len = cfg_cb->fw_len + cfg_cb->config_len; in rtk_get_bt_final_patch()
791 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) { in rtk_get_bt_final_patch()
886 cfg_cb->total_len = entry->patch_length + cfg_cb->config_len; in rtk_get_bt_final_patch()
903 HILOGI("total_len = 0x%x", cfg_cb->total_len); in rtk_get_bt_final_patch()
905 if (!(cfg_cb->total_buf = malloc(cfg_cb->total_len))) { in rtk_get_bt_final_patch()
1233 BTVNDDBG("Check total_len(0x%08x) max_patch_size(0x%08x)", hw_cfg_cb.total_len, in hw_config_cback()
1235 if (hw_cfg_cb.total_len > hw_cfg_cb.max_patch_size) { in hw_config_cback()
1236 …HILOGE("total length of fw&config(0x%08x) larger than max_patch_size(0x%08x)", hw_cfg_cb.total_len, in hw_config_cback()
1242 if ((hw_cfg_cb.total_len > 0) && hw_cfg_cb.dl_fw_flag) { in hw_config_cback()
1243 hw_cfg_cb.patch_frag_cnt = hw_cfg_cb.total_len / PATCH_DATA_FIELD_MAX_SIZE; in hw_config_cback()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/
Dsdp_discovery.c816 UINT32 total_len; in add_attr() local
833 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR); in add_attr()
835 total_len = sizeof (tSDP_DISC_ATTR); in add_attr()
839 total_len = (total_len + 3) & ~3; in add_attr()
842 if (p_db->mem_free < total_len) { in add_attr()
863 total_len = 0; in add_attr()
946 total_len = 0; in add_attr()
988 p_db->p_free_mem += total_len; in add_attr()
989 p_db->mem_free -= total_len; in add_attr()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
Dhcc_slave.c228 hi_u32 total_len; in hcc_slave_get_netbuf_align_len() local
235 total_len = hcc_hdr->pay_len + HCC_HDR_TOTAL_LEN; in hcc_slave_get_netbuf_align_len()
237 send_len = hi_byte_align(total_len, align_size); in hcc_slave_get_netbuf_align_len()
550 hi_u16 total_len = 0; in hcc_write_over_aggr_package() local
582 total_len += pkt_len; in hcc_write_over_aggr_package()
586 g_rx_aggr_info.rx_aggr_total_len = total_len; in hcc_write_over_aggr_package()
875 hi_u32 total_len = 0; in hcc_slave_tx_queue_sched() local
913 total_len += send_len; in hcc_slave_tx_queue_sched()
923 g_tx_aggr_info.tx_aggr_total_len = total_len; in hcc_slave_tx_queue_sched()
926 if (total_len < HISDIO_BLOCK_SIZE) { in hcc_slave_tx_queue_sched()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_symc.c354 hi_u32 cur, total_len; in symc_add_next_node() local
356 total_len = *total; in symc_add_next_node()
357 total_len %= ctx->block_size; in symc_add_next_node()
359 if (total_len > 0) { in symc_add_next_node()
360 total_len = ctx->block_size - total_len; in symc_add_next_node()
364 while ((total_len > 0) && (ctx->cur_nodes < ctx->total_nodes)) { in symc_add_next_node()
368 if (ctx->length_list[cur] > total_len) { in symc_add_next_node()
370 … ret = drv_symc_add_inbuf(ctx->hard_chn, ctx->input_list[cur], total_len, ctx->usage_list[cur]); in symc_add_next_node()
378 ret = drv_symc_add_outbuf(ctx->hard_chn, ctx->output_list[cur], total_len, usage); in symc_add_next_node()
385 addr_u64(ctx->input_list[cur]) += total_len; in symc_add_next_node()
[all …]

12345