Lines Matching refs:reo_cmd
91 struct dp_reo_cmd_info *reo_cmd; in dp_reo_send_cmd() local
106 reo_cmd = qdf_mem_malloc(sizeof(*reo_cmd)); in dp_reo_send_cmd()
107 if (!reo_cmd) { in dp_reo_send_cmd()
113 reo_cmd->cmd = num; in dp_reo_send_cmd()
114 reo_cmd->cmd_type = type; in dp_reo_send_cmd()
115 reo_cmd->handler = callback_fn; in dp_reo_send_cmd()
116 reo_cmd->data = data; in dp_reo_send_cmd()
118 TAILQ_INSERT_TAIL(&soc->rx.reo_cmd_list, reo_cmd, in dp_reo_send_cmd()
129 struct dp_reo_cmd_info *reo_cmd = NULL; in dp_reo_status_ring_handler() local
153 TAILQ_FOREACH(reo_cmd, &soc->rx.reo_cmd_list, in dp_reo_status_ring_handler()
155 if (reo_cmd->cmd == num) { in dp_reo_status_ring_handler()
156 TAILQ_REMOVE(&soc->rx.reo_cmd_list, reo_cmd, in dp_reo_status_ring_handler()
163 if (reo_cmd) { in dp_reo_status_ring_handler()
164 reo_cmd->handler(soc, reo_cmd->data, in dp_reo_status_ring_handler()
166 qdf_mem_free(reo_cmd); in dp_reo_status_ring_handler()
180 struct dp_reo_cmd_info *reo_cmd = NULL; in dp_reo_cmdlist_destroy() local
188 TAILQ_FOREACH_SAFE(reo_cmd, &soc->rx.reo_cmd_list, in dp_reo_cmdlist_destroy()
190 TAILQ_REMOVE(&soc->rx.reo_cmd_list, reo_cmd, in dp_reo_cmdlist_destroy()
192 reo_cmd->handler(soc, reo_cmd->data, &reo_status); in dp_reo_cmdlist_destroy()
193 qdf_mem_free(reo_cmd); in dp_reo_cmdlist_destroy()