Lines Matching refs:sn
468 unsigned sn; /* Serial number for the skb */ member
522 unsigned __i2400m_roq_nsn(struct i2400m_roq *roq, unsigned sn) in __i2400m_roq_nsn() argument
525 r = ((int) sn - (int) roq->ws) % 2048; in __i2400m_roq_nsn()
545 unsigned ws, count, sn, nsn, new_ws; member
563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
567 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print()
572 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
577 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
590 unsigned ws, unsigned count, unsigned sn, in i2400m_roq_log_add() argument
606 e->sn = sn; in i2400m_roq_log_add()
658 struct sk_buff *skb, unsigned sn, unsigned nsn) in __i2400m_roq_queue() argument
666 i2400m, roq, skb, sn, nsn); in __i2400m_roq_queue()
670 roq_data->sn = sn; in __i2400m_roq_queue()
672 roq, roq->ws, nsn, roq_data->sn); in __i2400m_roq_queue()
684 nsn_itr = __i2400m_roq_nsn(roq, roq_data_itr->sn); in __i2400m_roq_queue()
688 roq, skb_itr, nsn_itr, roq_data_itr->sn); in __i2400m_roq_queue()
700 nsn_itr = __i2400m_roq_nsn(roq, roq_data_itr->sn); in __i2400m_roq_queue()
705 roq_data_itr->sn); in __i2400m_roq_queue()
714 roq, roq->ws, skb, nsn, roq_data->sn); in __i2400m_roq_queue()
717 nsn_itr = __i2400m_roq_nsn(roq, roq_data_itr->sn); in __i2400m_roq_queue()
720 roq, skb_itr, nsn_itr, roq_data_itr->sn); in __i2400m_roq_queue()
725 i2400m, roq, skb, sn, nsn); in __i2400m_roq_queue()
742 unsigned sn) in __i2400m_roq_update_ws() argument
749 new_nws = __i2400m_roq_nsn(roq, sn); in __i2400m_roq_update_ws()
758 nsn_itr = __i2400m_roq_nsn(roq, roq_data_itr->sn); in __i2400m_roq_update_ws()
763 roq, skb_itr, nsn_itr, roq_data_itr->sn, in __i2400m_roq_update_ws()
771 roq->ws = sn; in __i2400m_roq_update_ws()
799 roq, skb_itr, roq_data_itr->sn); in i2400m_roq_reset()
856 unsigned sn) in i2400m_roq_update_ws() argument
861 d_fnstart(2, dev, "(i2400m %p roq %p sn %u)\n", i2400m, roq, sn); in i2400m_roq_update_ws()
864 nsn = __i2400m_roq_update_ws(i2400m, roq, sn); in i2400m_roq_update_ws()
866 old_ws, len, sn, nsn, roq->ws); in i2400m_roq_update_ws()
867 d_fnstart(2, dev, "(i2400m %p roq %p sn %u) = void\n", i2400m, roq, sn); in i2400m_roq_update_ws()
885 struct sk_buff * skb, unsigned sn) in i2400m_roq_queue_update_ws() argument
891 i2400m, roq, skb, sn); in i2400m_roq_queue_update_ws()
893 nsn = __i2400m_roq_nsn(roq, sn); in i2400m_roq_queue_update_ws()
909 __i2400m_roq_queue(i2400m, roq, skb, sn, nsn); in i2400m_roq_queue_update_ws()
911 __i2400m_roq_update_ws(i2400m, roq, sn + 1); in i2400m_roq_queue_update_ws()
913 old_ws, len, sn, nsn, roq->ws); in i2400m_roq_queue_update_ws()
916 i2400m, roq, skb, sn); in i2400m_roq_queue_update_ws()
1042 roq_data->sn = ro_sn; in i2400m_rx_edata()