Searched refs:args (Results 1 – 5 of 5) sorted by relevance
238 static bs_args_struct_t args[OPT_PER_UART*NHW_UARTE_TOTAL_INST + 1 /* End marker */]; in nhw_upty_backend_register_cmdline() local255 args[OPT_PER_UART*i].option = options[i][0]; in nhw_upty_backend_register_cmdline()256 args[OPT_PER_UART*i].is_switch = true; in nhw_upty_backend_register_cmdline()257 args[OPT_PER_UART*i].type = 'b'; in nhw_upty_backend_register_cmdline()258 args[OPT_PER_UART*i].dest = &upty_st[i].enabled; in nhw_upty_backend_register_cmdline()259 args[OPT_PER_UART*i].descript = descr_connect; in nhw_upty_backend_register_cmdline()261 args[OPT_PER_UART*i + 1].option = options[i][1]; in nhw_upty_backend_register_cmdline()262 args[OPT_PER_UART*i + 1].is_switch = true; in nhw_upty_backend_register_cmdline()263 args[OPT_PER_UART*i + 1].type = 'b'; in nhw_upty_backend_register_cmdline()264 args[OPT_PER_UART*i + 1].dest = &upty_st[i].auto_attach; in nhw_upty_backend_register_cmdline()[all …]
60 static bs_args_struct_t args[NHW_UARTE_TOTAL_INST + 1 /* End marker */]; in nhw_ublb_register_cmdline() local68 args[i].is_switch = true; in nhw_ublb_register_cmdline()69 args[i].option = options[i]; in nhw_ublb_register_cmdline()70 args[i].type = 'b'; in nhw_ublb_register_cmdline()71 args[i].dest = &ublb_st[i].enabled; in nhw_ublb_register_cmdline()72 args[i].descript = descr; in nhw_ublb_register_cmdline()75 bs_add_extra_dynargs(args); in nhw_ublb_register_cmdline()
73 void nhw_nvm_init_storage(nvm_storage_state_t *st, struct nhw_nvm_st_args_t *args, in nhw_nvm_init_storage() argument76 st->file_path = args->file; in nhw_nvm_init_storage()77 st->erase_at_start = args->erase; in nhw_nvm_init_storage()78 st->rm_at_exit = args->rm; in nhw_nvm_init_storage()79 st->in_ram = args->in_ram; in nhw_nvm_init_storage()
38 void nhw_nvm_init_storage(nvm_storage_state_t *st, struct nhw_nvm_st_args_t *args,86 #define NVM_BACKEND_PARAMS_CALLBACS(x, args) \ argument90 nvmc_args. args .in_ram = false; \95 nvmc_args. args .in_ram = true; \
1444 static bs_args_struct_t args[] = { in nhw_uart_register_cmdline() local1454 bs_add_extra_dynargs(args); in nhw_uart_register_cmdline()