Lines Matching refs:slot_id
621 struct sk_buff *pkt, u32 slot_id) in brcmf_fws_hanger_pushpkt() argument
623 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_pushpkt()
626 if (h->items[slot_id].state != BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_pushpkt()
632 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE; in brcmf_fws_hanger_pushpkt()
633 h->items[slot_id].pkt = pkt; in brcmf_fws_hanger_pushpkt()
639 u32 slot_id, struct sk_buff **pktout, in brcmf_fws_hanger_poppkt() argument
642 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_poppkt()
645 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_poppkt()
651 *pktout = h->items[slot_id].pkt; in brcmf_fws_hanger_poppkt()
653 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_FREE; in brcmf_fws_hanger_poppkt()
654 h->items[slot_id].pkt = NULL; in brcmf_fws_hanger_poppkt()
661 u32 slot_id) in brcmf_fws_hanger_mark_suppressed() argument
663 if (slot_id >= BRCMF_FWS_HANGER_MAXITEMS) in brcmf_fws_hanger_mark_suppressed()
666 if (h->items[slot_id].state == BRCMF_FWS_HANGER_ITEM_STATE_FREE) { in brcmf_fws_hanger_mark_suppressed()
671 h->items[slot_id].state = BRCMF_FWS_HANGER_ITEM_STATE_INUSE_SUPPRESSED; in brcmf_fws_hanger_mark_suppressed()