Lines Matching refs:pl_dev

71 struct pktlog_dev_t pl_dev = {  variable
78 pl_dev.scn = (ol_ath_generic_softc_handle) scn; in pktlog_sethandle()
79 *pl_handle = &pl_dev; in pktlog_sethandle()
82 void pktlog_set_pdev_id(struct pktlog_dev_t *pl_dev, uint8_t pdev_id) in pktlog_set_pdev_id() argument
84 pl_dev->pdev_id = pdev_id; in pktlog_set_pdev_id()
90 struct pktlog_dev_t *pl_dev = get_pktlog_handle(); in pktlog_set_callback_regtype() local
92 if (!pl_dev) { in pktlog_set_callback_regtype()
97 pl_dev->callback_type = callback_type; in pktlog_set_callback_regtype()
503 struct pktlog_dev_t *pl_dev; in pktlog_disable() local
508 pl_dev = get_pktlog_handle(); in pktlog_disable()
510 if (!pl_dev) { in pktlog_disable()
515 pl_info = pl_dev->pl_info; in pktlog_disable()
517 if (!pl_dev->pl_info) { in pktlog_disable()
544 if (pl_dev->is_pktlog_cb_subscribed && in pktlog_disable()
550 pl_dev->is_pktlog_cb_subscribed = false; in pktlog_disable()
596 struct pktlog_dev_t *pl_dev = get_pktlog_handle(); in pktlog_init() local
601 if (!pl_dev || !pl_dev->pl_info) { in pktlog_init()
606 pl_info = pl_dev->pl_info; in pktlog_init()
628 pl_dev->vendor_cmd_send = false; in pktlog_init()
630 pktlog_callback_registration(pl_dev->callback_type); in pktlog_init()
637 struct pktlog_dev_t *pl_dev; in __pktlog_enable() local
648 pl_dev = get_pktlog_handle(); in __pktlog_enable()
649 if (!pl_dev) { in __pktlog_enable()
662 pl_info = pl_dev->pl_info; in __pktlog_enable()
679 pl_dev->vendor_cmd_send == false) { in __pktlog_enable()
685 if (!pl_dev->tgt_pktlog_alloced) { in __pktlog_enable()
720 pl_dev->tgt_pktlog_alloced = true; in __pktlog_enable()
724 if (!pl_dev->is_pktlog_cb_subscribed) { in __pktlog_enable()
745 pl_dev->is_pktlog_cb_subscribed = true; in __pktlog_enable()
748 pl_dev->vendor_cmd_send = true; in __pktlog_enable()
751 pl_dev->pl_funcs->pktlog_disable(scn); in __pktlog_enable()
753 pl_dev->vendor_cmd_send = false; in __pktlog_enable()
765 struct pktlog_dev_t *pl_dev; in pktlog_enable() local
769 pl_dev = get_pktlog_handle(); in pktlog_enable()
771 if (!pl_dev) { in pktlog_enable()
776 pl_info = pl_dev->pl_info; in pktlog_enable()
792 struct pktlog_dev_t *pl_dev; in __pktlog_setsize() local
799 pl_dev = get_pktlog_handle(); in __pktlog_setsize()
801 if (!pl_dev) { in __pktlog_setsize()
806 pl_info = pl_dev->pl_info; in __pktlog_setsize()
851 if (pl_dev->is_pktlog_cb_subscribed && in __pktlog_setsize()
860 pl_dev->is_pktlog_cb_subscribed = false; in __pktlog_setsize()
861 pl_dev->tgt_pktlog_alloced = false; in __pktlog_setsize()
875 struct pktlog_dev_t *pl_dev; in pktlog_setsize() local
879 pl_dev = get_pktlog_handle(); in pktlog_setsize()
881 if (!pl_dev) { in pktlog_setsize()
886 pl_info = pl_dev->pl_info; in pktlog_setsize()
902 struct pktlog_dev_t *pl_dev; in pktlog_clearbuff() local
906 pl_dev = get_pktlog_handle(); in pktlog_clearbuff()
908 if (!pl_dev) { in pktlog_clearbuff()
913 pl_info = pl_dev->pl_info; in pktlog_clearbuff()
941 pl_dev->is_pktlog_cb_subscribed = false; in pktlog_clearbuff()
942 pl_dev->tgt_pktlog_alloced = false; in pktlog_clearbuff()
1170 struct pktlog_dev_t *pl_dev = get_pktlog_handle(); in pktlog_htc_attach() local
1172 if (!pl_dev) { in pktlog_htc_attach()
1177 pl_dev->mt_pktlog_enabled = false; in pktlog_htc_attach()