Lines Matching refs:log_state

143 pktlog_enable_tgt(struct hif_opaque_softc *_scn, uint32_t log_state,  in pktlog_enable_tgt()  argument
148 if (log_state & ATH_PKTLOG_TX) in pktlog_enable_tgt()
151 if (log_state & ATH_PKTLOG_RX) in pktlog_enable_tgt()
154 if (log_state & ATH_PKTLOG_RCFIND) in pktlog_enable_tgt()
157 if (log_state & ATH_PKTLOG_RCUPDATE) in pktlog_enable_tgt()
160 if (log_state & ATH_PKTLOG_SW_EVENT) in pktlog_enable_tgt()
179 wdi_pktlog_subscribe(uint8_t pdev_id, int32_t log_state) in wdi_pktlog_subscribe() argument
188 if (log_state & ATH_PKTLOG_TX) { in wdi_pktlog_subscribe()
194 if (log_state & ATH_PKTLOG_RX) { in wdi_pktlog_subscribe()
205 if (log_state & ATH_PKTLOG_RCFIND) { in wdi_pktlog_subscribe()
212 if (log_state & ATH_PKTLOG_RCUPDATE) { in wdi_pktlog_subscribe()
219 if (log_state & ATH_PKTLOG_SW_EVENT) { in wdi_pktlog_subscribe()
231 wdi_pktlog_subscribe(uint8_t pdev_id, int32_t log_state) in wdi_pktlog_subscribe() argument
240 if ((log_state & ATH_PKTLOG_TX) || in wdi_pktlog_subscribe()
241 (log_state & ATH_PKTLOG_RCFIND) || in wdi_pktlog_subscribe()
242 (log_state & ATH_PKTLOG_RCUPDATE) || in wdi_pktlog_subscribe()
243 (log_state & ATH_PKTLOG_SW_EVENT)) { in wdi_pktlog_subscribe()
252 if (log_state & ATH_PKTLOG_RX) { in wdi_pktlog_subscribe()
260 if (log_state & ATH_PKTLOG_SW_EVENT) { in wdi_pktlog_subscribe()
268 if (log_state & ATH_PKTLOG_LITE_T2H) { in wdi_pktlog_subscribe()
276 if (log_state & ATH_PKTLOG_LITE_RX) { in wdi_pktlog_subscribe()
409 wdi_pktlog_unsubscribe(uint8_t pdev_id, uint32_t log_state) in wdi_pktlog_unsubscribe() argument
414 if (log_state & ATH_PKTLOG_TX) { in wdi_pktlog_unsubscribe()
421 if (log_state & ATH_PKTLOG_RX) { in wdi_pktlog_unsubscribe()
434 if (log_state & ATH_PKTLOG_RCFIND) { in wdi_pktlog_unsubscribe()
441 if (log_state & ATH_PKTLOG_RCUPDATE) { in wdi_pktlog_unsubscribe()
448 if (log_state & ATH_PKTLOG_RCUPDATE) { in wdi_pktlog_unsubscribe()
460 wdi_pktlog_unsubscribe(uint8_t pdev_id, uint32_t log_state) in wdi_pktlog_unsubscribe() argument
464 if ((log_state & ATH_PKTLOG_TX) || in wdi_pktlog_unsubscribe()
465 (log_state & ATH_PKTLOG_RCFIND) || in wdi_pktlog_unsubscribe()
466 (log_state & ATH_PKTLOG_RCUPDATE) || in wdi_pktlog_unsubscribe()
467 (log_state & ATH_PKTLOG_SW_EVENT)) { in wdi_pktlog_unsubscribe()
475 if (log_state & ATH_PKTLOG_RX) { in wdi_pktlog_unsubscribe()
482 if (log_state & ATH_PKTLOG_LITE_T2H) { in wdi_pktlog_unsubscribe()
489 if (log_state & ATH_PKTLOG_LITE_RX) { in wdi_pktlog_unsubscribe()
545 wdi_pktlog_unsubscribe(pdev_id, pl_info->log_state)) { in pktlog_disable()
616 pl_info->log_state = 0; in pktlog_init()
633 int __pktlog_enable(struct hif_opaque_softc *scn, int32_t log_state, in __pktlog_enable() argument
678 if (is_iwpriv_command == 0 && log_state == 0 && in __pktlog_enable()
722 if (log_state != 0) { in __pktlog_enable()
725 error = wdi_pktlog_subscribe(pdev_id, log_state); in __pktlog_enable()
735 log_state); in __pktlog_enable()
739 if (pktlog_enable_tgt(scn, log_state, ini_triggered, in __pktlog_enable()
756 pl_info->log_state = log_state; in __pktlog_enable()
761 int pktlog_enable(struct hif_opaque_softc *scn, int32_t log_state, in pktlog_enable() argument
784 err = __pktlog_enable(scn, log_state, ini_triggered, in pktlog_enable()
843 if (pl_info->log_state) { in __pktlog_setsize()
852 wdi_pktlog_unsubscribe(pdev_id, pl_info->log_state)) { in __pktlog_setsize()
931 if (pl_info->log_state) { in pktlog_clearbuff()