Home
last modified time | relevance | path

Searched refs:next_to_use (Results 1 – 4 of 4) sorted by relevance

/NextBSD/sys/dev/ixl/
HDi40e_adminq.c401 hw->aq.asq.next_to_use = 0; in i40e_init_asq()
460 hw->aq.arq.next_to_use = 0; in i40e_init_arq()
747 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done()
793 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command()
855 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command()
863 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command()
882 (hw->aq.asq.next_to_use)++; in i40e_asq_send_command()
883 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in i40e_asq_send_command()
884 hw->aq.asq.next_to_use = 0; in i40e_asq_send_command()
886 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); in i40e_asq_send_command()
[all …]
HDi40e_adminq.h61 u16 next_to_use; member
HDi40e_type.h104 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
105 (R)->next_to_clean - (R)->next_to_use - 1)
/NextBSD/sys/dev/ixgb/
HDif_ixgb.c2080 int next_to_use = 0; local
2090 next_to_use = adapter->next_rx_desc_to_use;
2220 while (next_to_use != i) {
2221 current_desc = &adapter->rx_desc_base[next_to_use];
2225 mp = adapter->rx_buffer_area[next_to_use].m_head;
2226 ixgb_get_buf(next_to_use, adapter, mp);
2228 if (ixgb_get_buf(next_to_use, adapter, NULL) == ENOBUFS)
2232 if (++next_to_use == adapter->num_rx_desc) {
2233 next_to_use = 0;
2238 adapter->next_rx_desc_to_use = next_to_use;
[all …]