Searched refs:tnapi (Results 1 – 1 of 1) sorted by relevance
208 #define TG3_TX_WAKEUP_THRESH(tnapi) ((tnapi)->tx_pending / 4) argument1023 struct tg3_napi *tnapi = &tp->napi[i]; in tg3_enable_ints() local1025 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1027 tw32_mailbox_f(tnapi->int_mbox, tnapi->last_tag << 24); in tg3_enable_ints()1029 tp->coal_now |= tnapi->coal_now; in tg3_enable_ints()1042 static inline unsigned int tg3_has_work(struct tg3_napi *tnapi) in tg3_has_work() argument1044 struct tg3 *tp = tnapi->tp; in tg3_has_work()1045 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()1055 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()1059 if (tnapi->rx_rcb_prod_idx && in tg3_has_work()[all …]