Searched refs:rb_info (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | rb_wrapper.cpp | 41 wifi_error rb_init(hal_info *info, struct rb_info *rb_info, int id, in rb_init() argument 44 rb_info->rb_ctx = ring_buffer_init(size_of_buf, num_bufs); in rb_init() 45 if (rb_info->rb_ctx == NULL) { in rb_init() 49 strlcpy(rb_info->name, name, MAX_RB_NAME_SIZE); in rb_init() 50 rb_info->ctx = info; in rb_init() 51 rb_info->id = id; in rb_init() 54 gettimeofday(&rb_info->last_push_time, NULL); in rb_init() 58 void rb_deinit(struct rb_info *rb_info) in rb_deinit() argument 60 if (rb_info->rb_ctx) { in rb_deinit() 61 ring_buffer_deinit(rb_info->rb_ctx); in rb_deinit() [all …]
|
D | rb_wrapper.h | 34 struct rb_info { struct 46 wifi_error rb_init(struct hal_info_s *info, struct rb_info *rb_info, int id, argument 48 void rb_deinit(struct rb_info *rb_info); 49 void get_rb_status(struct rb_info *rb_info, wifi_ring_buffer_status *rbs); 50 void rb_check_for_timeout(struct rb_info *rb_info, struct timeval *now); 51 wifi_error rb_start_logging(struct rb_info *rb_info, u32 verbose_level, 53 int is_rb_name_match(struct rb_info *rb_info, char *name); 54 wifi_error ring_buffer_write(struct rb_info *rb_info, u8 *buf, size_t length,
|
D | common.h | 137 struct rb_info rb_infos[NUM_RING_BUFS];
|
D | wifilogger.cpp | 167 struct rb_info *rb_info; in wifi_get_ring_buffers_status() local 185 rb_info = &info->rb_infos[rb_id]; in wifi_get_ring_buffers_status() 188 get_rb_status(rb_info, rbs); in wifi_get_ring_buffers_status()
|