Lines Matching defs:ath
87 struct ath_struct *ath;
91 ath = container_of(work, struct ath_struct, ctxtsw);
93 hu = ath->hu;
97 if (ath->cur_sleep) {
111 struct ath_struct *ath;
115 ath = kzalloc(sizeof(*ath), GFP_ATOMIC);
116 if (!ath)
119 skb_queue_head_init(&ath->txq);
121 hu->priv = ath;
122 ath->hu = hu;
124 INIT_WORK(&ath->ctxtsw, ath_hci_uart_work);
132 struct ath_struct *ath = hu->priv;
136 skb_queue_purge(&ath->txq);
144 struct ath_struct *ath = hu->priv;
148 skb_queue_purge(&ath->txq);
150 cancel_work_sync(&ath->ctxtsw);
153 kfree(ath);
163 struct ath_struct *ath = hu->priv;
178 ath->cur_sleep = skb->data[HCI_COMMAND_HDR_SIZE];
186 skb_queue_tail(&ath->txq, skb);
189 schedule_work(&ath->ctxtsw);
196 struct ath_struct *ath = hu->priv;
198 return skb_dequeue(&ath->txq);