Searched refs:tnapi (Results 1 – 1 of 1) sorted by relevance
206 #define TG3_TX_WAKEUP_THRESH(tnapi) ((tnapi)->tx_pending / 4) argument1018 struct tg3_napi *tnapi = &tp->napi[i]; in tg3_enable_ints() local1020 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1022 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1024 tp->coal_now |= tnapi->coal_now; in tg3_enable_ints()1037 static inline unsigned int tg3_has_work(struct tg3_napi *tnapi) in tg3_has_work() argument1039 struct tg3 *tp = tnapi->tp; in tg3_has_work()1040 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()1050 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()1054 if (tnapi->rx_rcb_prod_idx && in tg3_has_work()[all …]