Searched refs:tnapi (Results 1 – 1 of 1) sorted by relevance
207 #define TG3_TX_WAKEUP_THRESH(tnapi) ((tnapi)->tx_pending / 4) argument1019 struct tg3_napi *tnapi = &tp->napi[i]; in tg3_enable_ints() local1021 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1023 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1025 tp->coal_now |= tnapi->coal_now; in tg3_enable_ints()1038 static inline unsigned int tg3_has_work(struct tg3_napi *tnapi) in tg3_has_work() argument1040 struct tg3 *tp = tnapi->tp; in tg3_has_work()1041 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()1051 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()1055 if (tnapi->rx_rcb_prod_idx && in tg3_has_work()[all …]