Home
last modified time | relevance | path

Searched refs:argv (Results 1 - 25 of 69) sorted by relevance

123

/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_hipriv.c34 hi_u32 at_hi_wifi_al_tx(hi_s32 argc, const hi_char *argv[]) in at_hi_wifi_al_tx() argument
36 if (at_param_null_check(argc, argv) == HI_ERR_FAILURE) { in at_hi_wifi_al_tx()
39 hi_u32 ret = hi_wifi_at_start(argc, argv, HISI_AT_AL_TX); in at_hi_wifi_al_tx()
43 hi_u32 at_hi_wifi_al_rx(hi_s32 argc, const hi_char *argv[]) in at_hi_wifi_al_rx() argument
45 if (at_param_null_check(argc, argv) == HI_ERR_FAILURE) { in at_hi_wifi_al_rx()
48 hi_u32 ret = hi_wifi_at_start(argc, argv, HISI_AT_AL_RX); in at_hi_wifi_al_rx()
52 hi_u32 at_hi_wifi_rx_info(hi_s32 argc, const hi_char *argv[]) in at_hi_wifi_rx_info() argument
54 hi_u32 ret = hi_wifi_at_start(argc, argv, HISI_AT_RX_INFO); in at_hi_wifi_rx_info()
58 hi_u32 at_hi_wifi_set_country(hi_s32 argc, const hi_char *argv[]) in at_hi_wifi_set_country() argument
60 if (at_param_null_check(argc, argv) in at_hi_wifi_set_country()
67 at_hi_wifi_get_country(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_get_country() argument
73 at_hi_wifi_set_tpc(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_tpc() argument
82 at_hi_wifi_set_rate_power_sub(hi_s32 argc, const hi_char *argv[], hi_bool tuning) at_hi_wifi_set_rate_power_sub() argument
138 at_hi_wifi_set_rate_power(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_rate_power() argument
143 at_hi_wifi_set_cal_freq(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_cal_freq() argument
176 at_hi_wifi_set_cal_band_power(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_cal_band_power() argument
215 at_hi_wifi_set_cal_rate_power(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_cal_rate_power() argument
220 at_hi_wifi_get_customer_mac(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_get_customer_mac() argument
233 at_hi_wifi_set_customer_mac(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_customer_mac() argument
266 at_hi_wifi_set_dataefuse(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_dataefuse() argument
294 at_hi_wifi_get_cal_data(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_get_cal_data() argument
307 at_hi_wifi_set_trc(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_trc() argument
316 at_hi_wifi_set_rate(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_rate() argument
325 at_hi_wifi_set_arlog(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_set_arlog() argument
334 at_hi_wifi_get_vap_info(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_get_vap_info() argument
343 at_hi_wifi_get_usr_info(hi_s32 argc, const hi_char *argv[]) at_hi_wifi_get_usr_info() argument
[all...]
H A Dat_wifi.c58 hi_u32 ssid_prefix_scan(hi_s32 argc, const hi_char *argv[], hi_u32 prefix_flag) in ssid_prefix_scan() argument
66 if ((argc != 1) || (at_param_null_check(argc, argv) == HI_ERR_FAILURE)) { in ssid_prefix_scan()
71 if (argv[0][0] == 'P') { in ssid_prefix_scan()
72 if (strlen(argv[0]) > HI_WIFI_MAX_SSID_LEN * 4 + 3) { /* ssid length should less than 32*4+3 */ in ssid_prefix_scan()
76 if (strlen(argv[0]) > HI_WIFI_MAX_SSID_LEN + 2) { /* ssid length should less than 32+2 */ in ssid_prefix_scan()
81 tmp = at_parse_string(argv[0], &ssid_len); in ssid_prefix_scan()
113 hi_u32 cmd_wpa_ssid_scan(hi_s32 argc, const hi_char *argv[]) in cmd_wpa_ssid_scan() argument
115 hi_u32 ret = ssid_prefix_scan(argc, argv, 0); in cmd_wpa_ssid_scan()
122 hi_u32 cmd_wpa_channel_scan(hi_s32 argc, const hi_char *argv[]) in cmd_wpa_channel_scan() argument
127 if ((argc != 1) || (integer_check(argv[ in cmd_wpa_channel_scan()
148 cmd_wpa_scan(hi_s32 argc, const hi_char *argv[]) cmd_wpa_scan() argument
168 cmd_ssid_prefix_scan(hi_s32 argc, const hi_char *argv[]) cmd_ssid_prefix_scan() argument
195 cmd_wpa_scan_results(hi_s32 argc, const hi_char *argv[]) cmd_wpa_scan_results() argument
258 cmd_sta_start(hi_s32 argc, const hi_char *argv[]) cmd_sta_start() argument
280 sta_start_adv_param(hi_s32 argc, const hi_char *argv[], hi_wifi_bw *bw) sta_start_adv_param() argument
328 cmd_sta_start_adv(hi_s32 argc, const hi_char *argv[]) cmd_sta_start_adv() argument
364 cmd_sta_stop(hi_s32 argc, const hi_char *argv[]) cmd_sta_stop() argument
382 cmd_sta_connect_get_ssid(const hi_char *argv[], hi_wifi_assoc_request *assoc_req, hi_wifi_fast_assoc_request *fast_assoc_req, hi_u32 fast_flag) cmd_sta_connect_get_ssid() argument
426 cmd_sta_connect_get_key(hi_s32 argc, const hi_char *argv[], hi_wifi_fast_assoc_request *fast_assoc_req) cmd_sta_connect_get_key() argument
453 parse_conn_para(hi_s32 argc, const hi_char *argv[], hi_wifi_assoc_request *assoc_req) parse_conn_para() argument
514 cmd_sta_secure_connect(hi_s32 argc, const hi_char *argv[]) cmd_sta_secure_connect() argument
536 cmd_sta_secure_re_connect(hi_s32 argc, const hi_char *argv[]) cmd_sta_secure_re_connect() argument
558 cmd_generate_save_conn_key(hi_s32 argc, const hi_char *argv[]) cmd_generate_save_conn_key() argument
574 cmd_generate_save_cert_key(hi_s32 argc, const hi_char *argv[]) cmd_generate_save_cert_key() argument
590 cmd_encrypt_cert(hi_s32 argc, const hi_char *argv[]) cmd_encrypt_cert() argument
608 cmd_decrypt_cert(hi_s32 argc, const hi_char *argv[]) cmd_decrypt_cert() argument
649 cmd_sta_connect(hi_s32 argc, const hi_char *argv[]) cmd_sta_connect() argument
718 cmd_sta_quick_connect(hi_s32 argc, const hi_char *argv[]) cmd_sta_quick_connect() argument
783 cmd_sta_disconnect(hi_s32 argc, const hi_char *argv[]) cmd_sta_disconnect() argument
800 cmd_sta_status(hi_s32 argc, const hi_char *argv[]) cmd_sta_status() argument
835 cmd_wpa_wps_pbc(hi_s32 argc, const hi_char *argv[]) cmd_wpa_wps_pbc() argument
852 cmd_wpa_wps_pin_get(hi_s32 argc, const hi_char *argv[]) cmd_wpa_wps_pin_get() argument
876 cmd_wpa_wps_pin(hi_s32 argc, const hi_char *argv[]) cmd_wpa_wps_pin() argument
899 cmd_set_reconn(hi_s32 argc, const hi_char *argv[]) cmd_set_reconn() argument
997 cmd_softap_show_sta(hi_s32 argc, const hi_char *argv[]) cmd_softap_show_sta() argument
1028 cmd_start_softap(hi_s32 argc, const hi_char *argv[]) cmd_start_softap() argument
1095 cmd_set_softap_advance(hi_s32 argc, const hi_char *argv[]) cmd_set_softap_advance() argument
1147 cmd_stop_softap(hi_s32 argc, const hi_char *argv[]) cmd_stop_softap() argument
1164 cmd_softap_deauth_sta(hi_s32 argc, const hi_char *argv[]) cmd_softap_deauth_sta() argument
1209 cmd_mesh_auto_get_ssid(const hi_char *argv[], hi_mesh_autolink_config *mesh_auto_config) cmd_mesh_auto_get_ssid() argument
1247 cmd_mesh_auto_connect(hi_s32 argc, const hi_char* argv[]) cmd_mesh_auto_connect() argument
1302 cmd_mesh_exit_network(hi_s32 argc, const hi_char* argv[]) cmd_mesh_exit_network() argument
1322 cmd_mesh_set_rssi_threshold(hi_s32 argc, const hi_char* argv[]) cmd_mesh_set_rssi_threshold() argument
1348 cmd_mesh_set_autonetwork_bw(hi_s32 argc, const hi_char* argv[]) cmd_mesh_set_autonetwork_bw() argument
[all...]
H A Dat_lowpower.c93 hi_u32 at_setup_sleep(hi_s32 argc, hi_char *argv[]) in at_setup_sleep() argument
97 if (argc != 1 || argv == HI_NULL) { /* just support sleep mode param */ in at_setup_sleep()
101 if ((at_param_null_check(argc, (const hi_char **)argv) != HI_ERR_SUCCESS) || in at_setup_sleep()
102 (integer_check(argv[0]) != HI_ERR_SUCCESS)) { in at_setup_sleep()
106 sleep_mode = (hi_u8)atoi(argv[0]); in at_setup_sleep()
173 hi_u32 at_setup_wake_gpio(hi_s32 argc, hi_char *argv[]) in at_setup_wake_gpio() argument
181 if (argc != 3 || argv == HI_NULL) { /* 3 param: io_num, int_type, int_level */ in at_setup_wake_gpio()
185 ret = at_param_null_check(argc, (const hi_char **)argv); in at_setup_wake_gpio()
191 if (integer_check(argv[i]) != HI_ERR_SUCCESS) { in at_setup_wake_gpio()
196 io_num = (hi_gpio_idx)atoi(argv[ in at_setup_wake_gpio()
235 at_setup_ultra_dsleep(hi_s32 argc, hi_char *argv[]) at_setup_ultra_dsleep() argument
330 at_set_arpoffload(hi_s32 argc, const hi_char **argv) at_set_arpoffload() argument
367 at_set_powersave(hi_s32 argc, const hi_char **argv) at_set_powersave() argument
410 at_set_ndoffload(hi_s32 argc, const hi_char **argv) at_set_ndoffload() argument
[all...]
H A Dat_general.c70 HI_EXTERN hi_u32 cmd_iperf(hi_s32 argc, const hi_char **argv);
272 static hi_u32 at_factory_mode_switch(hi_s32 argc, const hi_char *argv[]) in at_factory_mode_switch() argument
274 if ((argc != 1) || (argv[0] == HI_NULL)) { in at_factory_mode_switch()
278 if (integer_check(argv[0]) != HI_ERR_SUCCESS) { in at_factory_mode_switch()
283 hi_u32 switch_mode = strtoul((const hi_char*)argv[0], NULL, 10); /* 10: convert to integer */ in at_factory_mode_switch()
382 hi_u32 at_setup_reset_cmd(hi_s32 argc, const hi_char *argv[]) in at_setup_reset_cmd() argument
385 if ((argc != 1) || (argv[0] == HI_NULL)) { in at_setup_reset_cmd()
389 if (integer_check(argv[0]) != HI_ERR_SUCCESS) { in at_setup_reset_cmd()
394 delay = strtoul((const hi_char*)argv[0], NULL, 10); /* 10:Decimal */ in at_setup_reset_cmd()
434 hi_u32 cmd_set_macaddr(hi_s32 argc, const hi_char* argv[]) in cmd_set_macaddr() argument
464 cmd_get_macaddr(hi_s32 argc, const hi_char* argv[]) cmd_get_macaddr() argument
481 at_iperf(hi_s32 argc, const hi_char **argv) at_iperf() argument
494 at_ping(hi_s32 argc, const hi_char **argv) at_ping() argument
506 at_ping6(hi_s32 argc, const hi_char **argv) at_ping6() argument
518 at_dns(hi_s32 argc, const hi_char **argv) at_dns() argument
530 at_show_dns(hi_s32 argc, hi_char **argv) at_show_dns() argument
541 at_netstat(hi_s32 argc, hi_char **argv) at_netstat() argument
550 at_setup_dhcp(hi_s32 argc, const hi_char **argv) at_setup_dhcp() argument
584 at_setup_dhcps(hi_s32 argc, const hi_char **argv) at_setup_dhcps() argument
619 at_get_dump(hi_s32 argc, const hi_char **argv) at_get_dump() argument
659 lwip_ifconfig_check(hi_s32 argc, const hi_char **argv) lwip_ifconfig_check() argument
681 at_lwip_ifconfig(hi_s32 argc, const hi_char **argv) at_lwip_ifconfig() argument
1153 at_start_ip(hi_s32 argc, const hi_char **argv) at_start_ip() argument
1230 at_ip_send(hi_s32 argc, const hi_char **argv) at_ip_send() argument
1304 at_set_uart_func_nv(hi_s32 argc, const hi_char *argv[]) at_set_uart_func_nv() argument
1382 at_ip_close_link(hi_s32 argc, const hi_char **argv) at_ip_close_link() argument
1473 at_ip_tcp_server(hi_s32 argc, const hi_char **argv) at_ip_tcp_server() argument
1572 at_sigma_start(hi_s32 argc, const hi_char **argv) at_sigma_start() argument
[all...]
H A Dat_io.c56 hi_u32 at_setup_iosetmode_cmd(hi_s32 argc, const hi_char *argv[]) in at_setup_iosetmode_cmd() argument
70 if (integer_check(argv[i]) != HI_ERR_SUCCESS) { in at_setup_iosetmode_cmd()
75 io_num = (hi_io_name)atoi(argv[0]); in at_setup_iosetmode_cmd()
80 io_mode = (hi_u8)atoi(argv[1]); in at_setup_iosetmode_cmd()
85 io_pull_stat = (hi_io_pull)atoi(argv[2]); /* argc 2 */ in at_setup_iosetmode_cmd()
93 io_power_level = (hi_io_driver_strength)atoi(argv[3]); /* argc 3 */ in at_setup_iosetmode_cmd()
114 hi_u32 at_setup_iogetmode_cmd(hi_s32 argc, const hi_char *argv[]) in at_setup_iogetmode_cmd() argument
126 if (integer_check(argv[0]) != HI_ERR_SUCCESS) { in at_setup_iogetmode_cmd()
130 io_num = (hi_io_name)atoi(argv[0]); in at_setup_iogetmode_cmd()
155 hi_u32 at_setup_gpiodir_cmd(hi_s32 argc, const hi_char *argv[]) in at_setup_gpiodir_cmd() argument
203 at_setup_gpiowt_cmd(hi_s32 argc, const hi_char *argv[]) at_setup_gpiowt_cmd() argument
257 at_setup_gpiord_cmd(hi_s32 argc, const hi_char *argv[]) at_setup_gpiord_cmd() argument
[all...]
H A Dat_general.h34 hi_u32 at_wifi_ifconfig(hi_s32 argc, const hi_char **argv);
35 hi_u32 osShellDhcps(hi_s32 argc, const hi_char **argv);
36 hi_u32 at_lwip_ifconfig(hi_s32 argc, const hi_char **argv);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dapi_shell.h72 u32_t lwip_ifconfig(int argc, const char **argv);
76 u32_t lwip_ifstats(int argc, char **argv);
77 u32_t lwip_arp(int argc, char **argv);
78 u32_t at_lwip_arp(int argc, char **argv);
79 u32_t os_shell_netif_up(int argc, char **argv);
80 u32_t os_shell_netif_down(int argc, char **argv);
81 u32_t os_shell_ping(int argc, const char **argv);
83 u32_t os_shell_ping6(int argc, const char **argv);
84 u32_t os_shell_ipdebug(int argc, char **argv);
88 u32_t os_shell_rpl(int argc, char **argv);
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/
H A Dsample_ive_main.c97 int app_main(int argc, char *argv[]) in app_main() argument
99 int main(int argc, char *argv[]) in app_main()
106 SAMPLE_IVE_Usage(argv[0]); in app_main()
110 s_ppChCmdArgv = argv; in app_main()
120 if (strncmp(argv[1], "-h", SAMPLE_IVE_HELP_SIZE) == 0) { /* 2: maximum number of characters to compare */ in app_main()
121 SAMPLE_IVE_Usage(argv[0]); in app_main()
125 switch (*argv[1]) { in app_main()
134 ((*argv[SAMPLE_IVE_IDX_2] != '0') && (*argv[SAMPLE_IVE_IDX_2] != '1'))) { in app_main()
135 SAMPLE_IVE_Usage(argv[ in app_main()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/vio/
H A Dsample_vio_main.c90 int app_main(int argc, char *argv[]) in app_main() argument
92 int main(int argc, char *argv[]) in app_main()
101 SAMPLE_VIO_Usage(argv[0]); in app_main()
105 if (strncmp(argv[1], "-h", 2) == 0) { /* 2:arg num */ in app_main()
106 SAMPLE_VIO_Usage(argv[0]); in app_main()
110 if (strlen(argv[1]) != 1) { in app_main()
111 SAMPLE_VIO_Usage(argv[0]); in app_main()
115 if (argv[1][0] < '0' || argv[1][0] > '9') { in app_main()
116 SAMPLE_VIO_Usage(argv[ in app_main()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/color_space_convert/
H A Dsample_color_space_convert_main.c49 int main(int argc, char *argv[]) in main() argument
54 SAMPLE_SVP_Usage(argv[0]); in main()
58 if (!strncmp(argv[1], "-h", 2)) { // 2: Compare the first 2 bytes in main()
59 SAMPLE_SVP_Usage(argv[0]); in main()
65 switch (*argv[1]) { in main()
82 SAMPLE_SVP_Usage(argv[0]); in main()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/smp/
H A Dsample_ai_main.cpp53 int main(int argc, char *argv[]) in main() argument
58 SAMPLE_AI_Usage(argv[0]); in main()
62 if (!strncmp(argv[1], "-h", 2)) { // 2: used to compare the first 2 characters in main()
63 SAMPLE_AI_Usage(argv[0]); in main()
73 switch (*argv[1]) { in main()
84 SAMPLE_AI_Usage(argv[0]); in main()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/
H A Dsample_resize_crop_main.c65 int main(int argc, char *argv[]) in main() argument
70 SampleSvpUsage(argv[0]); in main()
74 if (!strncmp(argv[1], "-h", 2)) { // 2: used to compare the first 2 characters in main()
75 SampleSvpUsage(argv[0]); in main()
81 switch (*argv[1]) { in main()
89 SampleSvpUsage(argv[0]); in main()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/
H A Dsample_nnie_main.c102 int app_main(int argc, char *argv[]) in app_main() argument
104 int main(int argc, char *argv[]) in app_main()
109 s_ppChCmdArgv = argv; in app_main()
119 SAMPLE_SVP_Usage(argv[0]); in app_main()
124 if (strncmp(argv[1], "-h", 2) == 0) { /* 2: maximum number of characters to compare */ in app_main()
125 SAMPLE_SVP_Usage(argv[0]); in app_main()
129 switch (*argv[1]) { in app_main()
167 SAMPLE_SVP_Usage(argv[0]); in app_main()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/
H A Ddrv_i2c_intf.c69 char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in i2c_drv_proc_help_print()
107 char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in i2c_proc_wr_set_rate()
117 i2c_no = (hi_u32)osal_strtoul(argv[1], NULL, 10); // 命令的第1个参数 字符串转成10进制整数,获取i2c口编号 in i2c_proc_wr_set_rate()
118 rate = (hi_u32)osal_strtoul(argv[2], NULL, 10); // 命令的第2个参数 字符串转成10进制整数 in i2c_proc_wr_set_rate()
129 char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], i2c_msg *p_data) in i2c_proc_wr_read_get_dev_msg()
131 if ((p_data == HI_NULL) || (argv == HI_NULL)) { in i2c_proc_wr_read_get_dev_msg()
141 p_data->i2c_no = (hi_u32)osal_strtoul(argv[1], NULL, 16); // 命令的第1个参数 字符串转成16进制的正整数 in i2c_proc_wr_read_get_dev_msg()
142 p_data->dev_addr = (hi_u32)osal_strtoul(argv[2], NULL, 16); // 命令的第2个参数 字符串转成16进制的正整数 in i2c_proc_wr_read_get_dev_msg()
143 p_data->reg_addr = (hi_u32)osal_strtoul(argv[3], NULL, 16); // 命令的第3个参数 字符串转成16进制的正整数 in i2c_proc_wr_read_get_dev_msg()
144 p_data->reg_addr_len = (hi_u32)osal_strtoul(argv[ in i2c_proc_wr_read_get_dev_msg()
68 i2c_drv_proc_help_print(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) i2c_drv_proc_help_print() argument
106 i2c_proc_wr_set_rate(unsigned int arg_count, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) i2c_proc_wr_set_rate() argument
128 i2c_proc_wr_read_get_dev_msg(hi_u8 arg_count, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], i2c_msg *p_data) i2c_proc_wr_read_get_dev_msg() argument
156 i2c_proc_wr_read(unsigned int arg_count, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) i2c_proc_wr_read() argument
224 i2c_proc_wr_write_get_dev_msg(hi_u8 arg_count, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], send_msg *send, i2c_msg *p_data) i2c_proc_wr_write_get_dev_msg() argument
276 i2c_proc_wr_write(unsigned int arg_count, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) i2c_proc_wr_write() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
H A Dhi_mbuf_define_ext.h50 typedef HI_S32 (*Mbuf_Alloc_Func)(const HI_VOID *argv, HI_U32 u32BufSize, HI_VOID **ppVmAddr);
52 typedef HI_S32 (*Mbuf_Free_Func)(const HI_VOID *argv, HI_VOID *pVmAddr);
54 typedef HI_S32 (*Mbuf_Mcopy_Func)(const HI_VOID *argv, HI_VOID *pDest, const HI_VOID *pSrc, HI_U32 u32Size);
56 typedef HI_S32 (*Mbuf_CreateLock_Func)(const HI_VOID *argv);
58 typedef HI_S32 (*Mbuf_DestroyLock_Func)(const HI_VOID *argv);
60 typedef HI_S32 (*Mbuf_Lock_Func)(const HI_VOID *argv);
62 typedef HI_S32 (*Mbuf_UnLock_Func)(const HI_VOID *argv);
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
H A Dpacket_tool.py427 args = len(sys.argv)
428 argv = sys.argv variable
432 if (argv[1] == '-packet'):
433 outputPath = argv[2]
435 del argv[2]
436 del argv[1]
437 del argv[0]
438 packet_bin(outputPath, argv)
439 elif (argv[
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dpacket_create.py119 args = len(sys.argv)
120 argv = sys.argv variable
122 print(argv)
137 outputPath = argv[1]
139 del argv[1]
140 del argv[0]
141 packet_bin(outputPath, argv)
150 for arg in argv:
H A Dpkt_builder.py258 args = len(sys.argv)
260 if args >= 6 and sys.argv[1] in list:
261 type = sys.argv[1]
262 app_name = sys.argv[2]
263 sign_alg = int(sys.argv[3], 16)
264 kernel_file_ver = int(sys.argv[4])
265 flashboot_file_ver = int(sys.argv[5])
266 target = sys.argv[6]
267 usr_output = sys.argv[7].split('=')[1] if len(sys.argv[
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_shellcmd.c45 static int wifi_shell_cmd(int argc, char **argv) in wifi_shell_cmd() argument
62 if (!strncmp(argv[0], "AT", 2) && (strlen(argv[0]) > 3)) { in wifi_shell_cmd()
63 if (snprintf_s(cmd, sizeof(cmd), sizeof(cmd) - 1, "%s", &argv[0][2]) == -1) { in wifi_shell_cmd()
70 ret = snprintf_s(&cmd[len], sizeof(cmd) - len, sizeof(cmd) - len - 1, " %s", argv[i]); in wifi_shell_cmd()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_debug.c152 hi_char *argv[DEBUG_MAX_ARGV_NUM]; member
384 if (cmd_arg->argc != DEBUG_CMD_ARGC_COUNT_1 || cmd_arg->argv[1] == HI_NULL) { in debug_thread()
389 if (is_str_equal(cmd_arg->argv[1], "0")) { in debug_thread()
392 } else if (is_str_equal(cmd_arg->argv[1], "1")) { in debug_thread()
420 if (cmd_arg->argc != DEBUG_CMD_ARGC_COUNT_1 || cmd_arg->argv[1] == HI_NULL) { in debug_oe()
430 if (is_str_equal(cmd_arg->argv[1], "0")) { in debug_oe()
433 } else if (is_str_equal(cmd_arg->argv[1], "1")) { in debug_oe()
464 str = cmd_arg->argv[1]; in debug_event()
506 f = debug_file_open(cmd_arg->argv[2], OSAL_O_RDONLY, 0); in debug_edid_from_file()
508 hdmi_dbg_err("open file %s fail!\n", cmd_arg->argv[ in debug_edid_from_file()
[all...]
/device/soc/rockchip/rk2206/sdk_liteos/image/
H A Dbuild.py23 exec_file = sys.argv[1]
24 file_elf = sys.argv[2]
25 out_dir = sys.argv[3]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkkrnlimg.c101 int main(int argc, char *argv[]) in main() argument
111 PRINTF("cmd:%s %s [%s]\n", argv[1], argv[2], argv[3]); in main()
113 printf("Usage: %s srcFile desFile [flag]\n", argv[0]); in main()
115 printf(" %s Image kernel.img\n", argv[0]); in main()
119 fid_in = fopen(argv[1], "rb"); in main()
125 fid_out = fopen(argv[2], "wb"); in main()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/
H A Dhisi_allocator.c506 char *argv[6]; /* 6: cmdline include 6 arguments */ in __allocator_init() local
508 for (i = 0; (argv[i] = strsep(&line, ",")) != NULL;) { in __allocator_init()
509 if (++i == ARRAY_SIZE(argv)) { in __allocator_init()
521 if (strncpy_s(zone->name, HIL_MMZ_NAME_LEN, argv[0], HIL_MMZ_NAME_LEN - 1) != EOK) { in __allocator_init()
526 zone->gfp = _strtoul_ex(argv[1], NULL, 0); /* 1: the second args */ in __allocator_init()
527 zone->phys_start = _strtoul_ex(argv[2], NULL, 0); /* 2: the third args */ in __allocator_init()
528 zone->nbytes = _strtoul_ex(argv[3], NULL, 0); /* 3: the fourth args */ in __allocator_init()
539 if (strncpy_s(zone->name, HIL_MMZ_NAME_LEN, argv[0], HIL_MMZ_NAME_LEN - 1) != EOK) { in __allocator_init()
544 zone->gfp = _strtoul_ex(argv[1], NULL, 0); /* 1: the second args */ in __allocator_init()
545 zone->phys_start = _strtoul_ex(argv[ in __allocator_init()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_proc.c90 char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], in osal_proc_parse_para()
113 argv[j][k] = buf[i]; in osal_proc_parse_para()
117 argv[j][k] = '\0'; in osal_proc_parse_para()
126 static int osal_proc_cmd_call(osal_proc_entry *entry, unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX]) in osal_proc_cmd_call() argument
131 if (osal_strncmp(entry->cmd_list[i].name, strlen(entry->cmd_list[i].name), argv[0], strlen(argv[0])) == 0) { in osal_proc_cmd_call()
133 return entry->cmd_list[i].handler(argc, argv, entry->private); in osal_proc_cmd_call()
146 char argv[PROC_CMD_NUM_MAX][PROC_CMD_SINGEL_LENGTH_MAX]; in osal_proc_write() local
174 (void)memset_s(&argv[0][0], PROC_CMD_NUM_MAX*PROC_CMD_SINGEL_LENGTH_MAX, 0, in osal_proc_write()
176 osal_proc_parse_para(proc_buf, PROC_CMD_ALL_LENGTH_MAX, &argv[ in osal_proc_write()
89 osal_proc_parse_para(const char *buf, unsigned int buf_size, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], unsigned int count, unsigned int *argc) osal_proc_parse_para() argument
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/
H A Ddrv_gpio_intf.c108 static hi_s32 gpio_drv_proc_help(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in gpio_drv_proc_help() argument
120 static hi_s32 gpio_drv_proc_rdir(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in gpio_drv_proc_rdir() argument
135 proc_data.group = osal_strtol(argv[1], NULL, 10); // 字符串转成10进制 in gpio_drv_proc_rdir()
136 proc_data.bit = osal_strtol(argv[2], NULL, 10); // 第2组数据转成10进制 in gpio_drv_proc_rdir()
142 static hi_s32 gpio_drv_proc_wdir(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in gpio_drv_proc_wdir() argument
157 proc_data.group = osal_strtol(argv[1], NULL, 10); // 字符串转成10进制 in gpio_drv_proc_wdir()
158 proc_data.bit = osal_strtol(argv[2], NULL, 10); // 第2组数据转成10进制 in gpio_drv_proc_wdir()
159 proc_data.bit_value = osal_strtol(argv[3], NULL, 10); // 第3组数据转成10进制 in gpio_drv_proc_wdir()
171 static hi_s32 gpio_drv_proc_read(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) in gpio_drv_proc_read() argument
185 proc_data.group = osal_strtol(argv[ in gpio_drv_proc_read()
193 gpio_drv_proc_write(unsigned int argc, char (*argv)[PROC_CMD_SINGEL_LENGTH_MAX], hi_void *private) gpio_drv_proc_write() argument
[all...]

Completed in 16 milliseconds

123