Searched refs:zep_work_item (Results 1 – 2 of 2) sorted by relevance
37 struct zep_work_item zep_work_item[CONFIG_NRF70_WORKQ_MAX_ITEMS]; variable44 if (zep_work_item[i].in_use) { in get_free_work_item_index()55 struct zep_work_item *item = CONTAINER_OF(work, struct zep_work_item, work); in workqueue_callback()60 struct zep_work_item *work_alloc(enum zep_work_type type) in work_alloc()69 zep_work_item[free_work_index].in_use = true; in work_alloc()70 zep_work_item[free_work_index].type = type; in work_alloc()72 return &zep_work_item[free_work_index]; in work_alloc()123 void work_init(struct zep_work_item *item, void (*callback)(unsigned long), in work_init()132 void work_schedule(struct zep_work_item *item) in work_schedule()151 void work_kill(struct zep_work_item *item) in work_kill()[all …]
25 struct zep_work_item { struct33 struct zep_work_item *work_alloc(enum zep_work_type); argument35 void work_init(struct zep_work_item *work, void (*callback)(unsigned long callbk_data),38 void work_schedule(struct zep_work_item *work);40 void work_kill(struct zep_work_item *work);42 void work_free(struct zep_work_item *work);