Searched refs:st (Results 1 – 4 of 4) sorted by relevance
/nrf_hw_models-3.7.0/src/HW_models/ |
D | NHW_NVM_backend.c | 30 void nhw_nvm_initialize_data_storage(nvm_storage_state_t *st){ in nhw_nvm_initialize_data_storage() argument 34 st->fd = -1; in nhw_nvm_initialize_data_storage() 35 st->storage = NULL; in nhw_nvm_initialize_data_storage() 37 if (st->in_ram == true) { in nhw_nvm_initialize_data_storage() 38 st->storage = (uint8_t *)bs_malloc(st->size); in nhw_nvm_initialize_data_storage() 42 bs_create_folders_in_path(st->file_path); in nhw_nvm_initialize_data_storage() 43 st->fd = open(st->file_path, O_RDWR | O_CREAT, (mode_t)0600); in nhw_nvm_initialize_data_storage() 44 if (st->fd == -1) { in nhw_nvm_initialize_data_storage() 46 __func__, st->type_s, st->file_path, strerror(errno)); in nhw_nvm_initialize_data_storage() 49 rc = fstat(st->fd, &f_stat); in nhw_nvm_initialize_data_storage() [all …]
|
D | NHW_UART_be_loopb.c | 39 struct backend_if st; in nhw_ublb_init() local 40 st.tx_byte_f = nhw_ublb_tx_byte; in nhw_ublb_init() 41 st.RTS_pin_toggle_f = nhw_ublb_RTS_pin_toggle; in nhw_ublb_init() 42 st.uart_enable_notify_f = NULL; in nhw_ublb_init() 52 nhw_UARTE_backend_register(i, &st); in nhw_ublb_init()
|
D | NHW_NVM_backend.h | 36 void nhw_nvm_initialize_data_storage(nvm_storage_state_t *st); 37 void nhw_nvm_clear_storage(nvm_storage_state_t *st); 38 void nhw_nvm_init_storage(nvm_storage_state_t *st, struct nhw_nvm_st_args_t *args,
|
D | NHW_UART_backend_fifo.c | 140 struct backend_if st; in nhw_ufifo_backend_init() local 141 st.tx_byte_f = nhw_ufifo_tx_byte; in nhw_ufifo_backend_init() 142 st.RTS_pin_toggle_f = nhw_ufifo_RTS_pin_toggle; in nhw_ufifo_backend_init() 143 st.uart_enable_notify_f = nhw_ufifo_enable_notify; in nhw_ufifo_backend_init() 145 nhw_UARTE_backend_register(i, &st); in nhw_ufifo_backend_init() 338 struct backend_if st; in uf_rx_get_one_msg() local 339 memset(&st, 0, sizeof(st)); in uf_rx_get_one_msg() 340 nhw_UARTE_backend_register(inst, &st); in uf_rx_get_one_msg()
|