Home
last modified time | relevance | path

Searched refs:tmp_buf (Results 1 – 25 of 41) sorted by relevance

12

/device/board/hisilicon/hispark_aries/uboot/secureboot_release/
Daeskey2reg.c63 char tmp_buf[80]; in main() local
66 getlinetxt(fp1,ii,tmp_buf); in main()
67 if(memcmp(tmp_buf,"KEY=",4)) in main()
72 if(memcmp(tmp_buf,"KEY=",4)) { in main()
76 tmp_buf[79]='\0'; in main()
78 …sscanf(tmp_buf,"KEY=%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%0… in main()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/btc/
Dhalbtccommon.h34 void rtw_btc_ex_bt_info_notify(struct btc_coexist *btc, u8 *tmp_buf, u8 length);
35 void rtw_btc_ex_wl_fwdbginfo_notify(struct btc_coexist *btc, u8 *tmp_buf,
70 #define rtw_btc_ex_bt_info_notify(btc, tmp_buf, length) argument
71 #define rtw_btc_ex_wl_fwdbginfo_notify(btc, tmp_buf, length) argument
Dhalbtccommon.c4846 void rtw_btc_ex_bt_info_notify(struct btc_coexist *btc, u8 *tmp_buf, u8 length) in rtw_btc_ex_bt_info_notify() argument
4853 rsp_source = tmp_buf[0] & 0xf; in rtw_btc_ex_bt_info_notify()
4869 coex_sta->bt_iqk_state = tmp_buf[1]; in rtw_btc_ex_bt_info_notify()
4877 tmp_buf[1]); in rtw_btc_ex_bt_info_notify()
4885 tmp_buf[1], tmp_buf[2]); in rtw_btc_ex_bt_info_notify()
4899 tmp_buf[1], tmp_buf[2], tmp_buf[3], tmp_buf[4], in rtw_btc_ex_bt_info_notify()
4900 tmp_buf[5]); in rtw_btc_ex_bt_info_notify()
4904 coex_dm->fw_tdma_para[i - 1] = tmp_buf[i]; in rtw_btc_ex_bt_info_notify()
4933 tmp_buf[1], tmp_buf[2], tmp_buf[3], tmp_buf[4], in rtw_btc_ex_bt_info_notify()
4934 tmp_buf[5], tmp_buf[6], tmp_buf[7], tmp_buf[8], in rtw_btc_ex_bt_info_notify()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_vinstr.c101 struct kbase_hwcnt_dump_buffer tmp_buf; member
177 struct kbase_hwcnt_dump_buffer *tmp_buf; in kbasep_vinstr_client_dump() local
195 tmp_buf = &vcli->tmp_buf; in kbasep_vinstr_client_dump()
197 errcode = kbase_hwcnt_virtualizer_client_dump(vcli->hvcli, &ts_start_ns, &ts_end_ns, tmp_buf); in kbasep_vinstr_client_dump()
205 kbase_hwcnt_gpu_patch_dump_headers(tmp_buf, &vcli->enable_map); in kbasep_vinstr_client_dump()
211 kbase_hwcnt_dump_buffer_copy_strict(dump_buf, tmp_buf, &vcli->enable_map); in kbasep_vinstr_client_dump()
363 kbase_hwcnt_dump_buffer_free(&vcli->tmp_buf); in kbasep_vinstr_client_destroy()
408 errcode = kbase_hwcnt_dump_buffer_alloc(vctx->metadata, &vcli->tmp_buf); in kbasep_vinstr_client_create()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_vinstr.c107 struct kbase_hwcnt_dump_buffer tmp_buf; member
193 struct kbase_hwcnt_dump_buffer *tmp_buf; in kbasep_vinstr_client_dump() local
211 tmp_buf = &vcli->tmp_buf; in kbasep_vinstr_client_dump()
214 vcli->hvcli, &ts_start_ns, &ts_end_ns, tmp_buf); in kbasep_vinstr_client_dump()
221 kbase_hwcnt_gpu_patch_dump_headers(tmp_buf, &vcli->enable_map); in kbasep_vinstr_client_dump()
230 kbase_hwcnt_dump_buffer_copy_strict_narrow(dump_buf, tmp_buf, in kbasep_vinstr_client_dump()
387 kbase_hwcnt_dump_buffer_free(&vcli->tmp_buf); in kbasep_vinstr_client_destroy()
437 errcode = kbase_hwcnt_dump_buffer_alloc(vctx->metadata, &vcli->tmp_buf); in kbasep_vinstr_client_create()
Dmali_kbase_kinstr_prfcnt.c184 struct kbase_hwcnt_dump_buffer tmp_buf; member
534 struct kbase_hwcnt_dump_buffer *tmp_buf = &cli->tmp_buf; in kbasep_kinstr_prfcnt_client_output_sample() local
546 kbase_hwcnt_gpu_patch_dump_headers(tmp_buf, &cli->enable_map); in kbasep_kinstr_prfcnt_client_output_sample()
552 kbase_hwcnt_dump_buffer_copy_strict(dump_buf, tmp_buf, in kbasep_kinstr_prfcnt_client_output_sample()
625 cli->hvcli, &ts_start_ns, &ts_end_ns, &cli->tmp_buf); in kbasep_kinstr_prfcnt_client_dump()
717 struct kbase_hwcnt_dump_buffer *tmp_buf = NULL; in kbasep_kinstr_prfcnt_client_stop() local
749 tmp_buf = &cli->tmp_buf; in kbasep_kinstr_prfcnt_client_stop()
754 &cli->tmp_buf); in kbasep_kinstr_prfcnt_client_stop()
759 if (tmp_buf) { in kbasep_kinstr_prfcnt_client_stop()
1152 kbase_hwcnt_dump_buffer_free(&cli->tmp_buf); in kbasep_kinstr_prfcnt_client_destroy()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/
Ddev_disp_debugfs.c832 char tmp_buf[20] = {0}; in dispdbg_debug_level_write() local
834 if (copy_from_user(tmp_buf, buf, count)) { in dispdbg_debug_level_write()
838 printk("set debug level = %s\n", tmp_buf); in dispdbg_debug_level_write()
840 if (tmp_buf[0] >= '0' && tmp_buf[0] <= '9') { in dispdbg_debug_level_write()
841 gdisp.print_level = (tmp_buf[0] - '0'); in dispdbg_debug_level_write()
854 char tmp_buf[20] = {0}; in dispdbg_debug_level_read() local
859 snprintf(tmp_buf, 20, "%d", debug_level); in dispdbg_debug_level_read()
860 len = strlen(tmp_buf); in dispdbg_debug_level_read()
863 ((void __user *)buf, (const void *)tmp_buf, in dispdbg_debug_level_read()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmsdh.c421 uint8 *tmp_buf, *tmp_ptr; in bcmsdh_cis_read() local
437 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
441 bcopy(cis, tmp_buf, length); in bcmsdh_cis_read()
442 for (tmp_ptr = tmp_buf, ptr = cis; ptr < (cis + length - 4); tmp_ptr++) { in bcmsdh_cis_read()
445 if ((((tmp_ptr - tmp_buf) + 1) & 0xf) == 0) in bcmsdh_cis_read()
448 MFREE(bcmsdh->osh, tmp_buf, length); in bcmsdh_cis_read()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmsdh.c437 uint8 *tmp_buf, *tmp_ptr; in bcmsdh_cis_read() local
453 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
457 bcopy(cis, tmp_buf, length); in bcmsdh_cis_read()
458 for (tmp_ptr = tmp_buf, ptr = cis; ptr < (cis + length - 4); tmp_ptr++) { in bcmsdh_cis_read()
461 if ((((tmp_ptr - tmp_buf) + 1) & 0xf) == 0) in bcmsdh_cis_read()
464 MFREE(bcmsdh->osh, tmp_buf, length); in bcmsdh_cis_read()
Ddhd_common.c7041 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in __dhd_log_dump_cookie_to_file() local
7049 memset(tmp_buf, 0, sizeof(tmp_buf)); in __dhd_log_dump_cookie_to_file()
7050 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in __dhd_log_dump_cookie_to_file()
7054 remain -= scnprintf(&buf[buf_size - remain], remain, "%s", tmp_buf); in __dhd_log_dump_cookie_to_file()
7087 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie_len() local
7114 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie_len()
7115 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in dhd_log_dump_cookie_len()
7119 remain -= (uint32)strlen(tmp_buf); in dhd_log_dump_cookie_len()
7136 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie() local
7163 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmsdh.c451 uint8 *tmp_buf, *tmp_ptr; in bcmsdh_cis_read() local
468 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
472 bcopy(cis, tmp_buf, length); in bcmsdh_cis_read()
473 for (tmp_ptr = tmp_buf, ptr = cis; ptr < (cis + length - 0x4); in bcmsdh_cis_read()
477 if ((((tmp_ptr - tmp_buf) + 1) & 0xf) == 0) { in bcmsdh_cis_read()
481 MFREE(bcmsdh->osh, tmp_buf, length); in bcmsdh_cis_read()
Ddhd_common.c7197 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in __dhd_log_dump_cookie_to_file() local
7204 memset(tmp_buf, 0, sizeof(tmp_buf)); in __dhd_log_dump_cookie_to_file()
7205 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in __dhd_log_dump_cookie_to_file()
7209 remain -= scnprintf(&buf[buf_size - remain], remain, "%s", tmp_buf); in __dhd_log_dump_cookie_to_file()
7243 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie_len() local
7270 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie_len()
7271 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in dhd_log_dump_cookie_len()
7275 remain -= (uint32)strlen(tmp_buf); in dhd_log_dump_cookie_len()
7292 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie() local
7319 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie()
[all …]
Dwl_android_ext.c3172 char *tmp_buf = NULL; in wl_ext_get_best_channel() local
3173 tmp_buf = kmalloc(WLC_IOCTL_SMLEN, GFP_KERNEL); in wl_ext_get_best_channel()
3174 if (tmp_buf == NULL) { in wl_ext_get_best_channel()
3179 bcm_binit(&strbuf, tmp_buf, WLC_IOCTL_SMLEN); in wl_ext_get_best_channel()
3195 if (tmp_buf) { in wl_ext_get_best_channel()
3196 kfree(tmp_buf); in wl_ext_get_best_channel()
Dwl_cfgscan.c2904 u8 tmp_buf[DOT11_MAX_SSID_LEN + 1]; in wl_notify_sched_scan_results() local
2984 (void)memcpy_s(tmp_buf, DOT11_MAX_SSID_LEN, in wl_notify_sched_scan_results()
2987 tmp_buf[netinfo->pfnsubnet.SSID_len] = '\0'; in wl_notify_sched_scan_results()
2988 WL_PNO((">>> SSID:%s Channel:%d \n", tmp_buf, in wl_notify_sched_scan_results()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmsdh.c443 uint8 *tmp_buf, *tmp_ptr; in bcmsdh_cis_read() local
459 if ((tmp_buf = (uint8 *)MALLOC(bcmsdh->osh, length)) == NULL) { in bcmsdh_cis_read()
463 bcopy(cis, tmp_buf, length); in bcmsdh_cis_read()
464 for (tmp_ptr = tmp_buf, ptr = cis; ptr < (cis + length - 4); tmp_ptr++) { in bcmsdh_cis_read()
467 if ((((tmp_ptr - tmp_buf) + 1) & 0xf) == 0) in bcmsdh_cis_read()
470 MFREE(bcmsdh->osh, tmp_buf, length); in bcmsdh_cis_read()
Dwl_cfgscan.c327 u8 tmp_buf[IEEE80211_MAX_SSID_LEN + 1]; in wl_inform_single_bss() local
403 memcpy(tmp_buf, bi->SSID, bi->SSID_len); in wl_inform_single_bss()
404 tmp_buf[bi->SSID_len] = '\0'; in wl_inform_single_bss()
413 notif_bss_info->frame_len, tmp_buf)); in wl_inform_single_bss()
4341 u8 tmp_buf[DOT11_MAX_SSID_LEN + 1]; in wl_notify_sched_scan_results() local
4409 (void)memcpy_s(tmp_buf, DOT11_MAX_SSID_LEN, in wl_notify_sched_scan_results()
4411 tmp_buf[netinfo->pfnsubnet.SSID_len] = '\0'; in wl_notify_sched_scan_results()
4413 tmp_buf, netinfo->pfnsubnet.channel)); in wl_notify_sched_scan_results()
Ddhd_common.c10923 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in __dhd_log_dump_cookie_to_file() local
10931 memset(tmp_buf, 0, sizeof(tmp_buf)); in __dhd_log_dump_cookie_to_file()
10932 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in __dhd_log_dump_cookie_to_file()
10936 remain -= scnprintf(&buf[buf_size - remain], remain, "%s", tmp_buf); in __dhd_log_dump_cookie_to_file()
10969 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie_len() local
10996 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie_len()
10997 ret = dhd_logdump_cookie_get(dhdp, tmp_buf, LOGDUMP_COOKIE_STR_LEN); in dhd_log_dump_cookie_len()
11001 remain -= (uint32)strlen(tmp_buf); in dhd_log_dump_cookie_len()
11018 char tmp_buf[LOGDUMP_COOKIE_STR_LEN]; in dhd_log_dump_cookie() local
11045 memset(tmp_buf, 0, sizeof(tmp_buf)); in dhd_log_dump_cookie()
[all …]
Dwl_android_ext.c3018 char *tmp_buf = NULL; in wl_ext_get_best_channel() local
3019 tmp_buf = kmalloc(WLC_IOCTL_SMLEN, GFP_KERNEL); in wl_ext_get_best_channel()
3020 if (tmp_buf == NULL) { in wl_ext_get_best_channel()
3024 bcm_binit(&strbuf, tmp_buf, WLC_IOCTL_SMLEN); in wl_ext_get_best_channel()
3037 if (tmp_buf) { in wl_ext_get_best_channel()
3038 kfree(tmp_buf); in wl_ext_get_best_channel()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/
Dphydm_interface.c1043 u8 *tmp_buf) in phydm_c2H_content_parsing() argument
1062 phydm_fw_trace_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1066 phydm_c2h_ra_report_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1070 odm_c2h_ra_para_report_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1075 phydm_c2h_dtp_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1095 phydm_clm_c2h_report_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1099 phydm_fw_trace_handler_code(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
1103 extend_c2h_sub_id = tmp_buf[0]; in phydm_c2H_content_parsing()
1105 phydm_fw_trace_handler_8051(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
Dphydm_interface.h269 u8 *tmp_buf);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
Ddrv_hdmi_debug.c3219 hi_char *tmp_buf = HI_NULL; in drv_hdmi_debug_source_write() local
3233 tmp_buf = (hi_char *)osal_vmalloc(DEBUG_MAX_CMD_CHAR_NUM); in drv_hdmi_debug_source_write()
3234 if (tmp_buf == HI_NULL) { in drv_hdmi_debug_source_write()
3238 (hi_void)memset_s(tmp_buf, DEBUG_MAX_CMD_CHAR_NUM, '\0', DEBUG_MAX_CMD_CHAR_NUM); in drv_hdmi_debug_source_write()
3244 if (osal_copy_from_user(tmp_buf, buf, count)) { in drv_hdmi_debug_source_write()
3248 tmp_buf[count - 1] = '\0'; in drv_hdmi_debug_source_write()
3249 ret = debug_cmd_line_parse(tmp_buf, count - 1, &cmd_arg); in drv_hdmi_debug_source_write()
3269 osal_vfree(tmp_buf); in drv_hdmi_debug_source_write()
3273 osal_vfree(tmp_buf); in drv_hdmi_debug_source_write()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_rm.c1450 u8 buf_idx, *pbuf = NULL, *tmp_buf = NULL; in retrieve_scan_result() local
1453 tmp_buf = rtw_malloc(MAX_XMIT_EXTBUF_SZ); in retrieve_scan_result()
1454 if (tmp_buf == NULL) in retrieve_scan_result()
1549 _rtw_memset(tmp_buf, 0, MAX_XMIT_EXTBUF_SZ); in retrieve_scan_result()
1550 rm_gen_bcn_rep_ie(prm, tmp_buf, pnetwork, &len); in retrieve_scan_result()
1561 len, tmp_buf, &my_len); in retrieve_scan_result()
1577 if (tmp_buf) in retrieve_scan_result()
1578 rtw_mfree(tmp_buf, MAX_XMIT_EXTBUF_SZ); in retrieve_scan_result()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
DgslX680.c430 u8 tmp_buf[128]; in gsl_ts_write() local
438 tmp_buf[0] = addr; in gsl_ts_write()
442 memcpy(&tmp_buf[bytelen], pdata, datalen); in gsl_ts_write()
446 ret = i2c_master_send(client, tmp_buf, bytelen); in gsl_ts_write()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/hdmi_tx/
Dhdmi_tx_module.h442 unsigned char tmp_buf[HDMI_TMP_BUF_SIZE]; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs/
Davsp_trans.c2821 unsigned char *tmp_buf; in header() local
2823 tmp_buf = (unsigned char *)avsp_heap_adr; in header()
2825 buf = &tmp_buf[0]; in header()
2909 temp_slice_buf = &tmp_buf[0]; in header()

12