| 134 | ****************************************************************************/ |
| 135 | |
| 136 | static inline_function FAR struct kwork_wqueue_s *work_qid2wq(int qid) |
| 137 | { |
| 138 | #ifdef CONFIG_SCHED_HPWORK |
| 139 | if (qid == HPWORK) |
| 140 | { |
| 141 | return (FAR struct kwork_wqueue_s *)&g_hpwork; |
| 142 | } |
| 143 | else |
| 144 | #endif |
| 145 | #ifdef CONFIG_SCHED_LPWORK |
| 146 | if (qid == LPWORK) |
| 147 | { |
| 148 | return (FAR struct kwork_wqueue_s *)&g_lpwork; |
| 149 | } |
| 150 | else |
| 151 | #endif |
| 152 | { |
| 153 | return NULL; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | /**************************************************************************** |
| 158 | * Name: work_insert_pending |
no outgoing calls
no test coverage detected