Searched refs:tail_idx (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 578 cq->tail_idx = 0; in ionic_cq_init() 611 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service() 613 if (cq->tail_idx == cq->num_descs - 1) in ionic_cq_service() 615 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_cq_service() 616 cq_info = &cq->info[cq->tail_idx]; in ionic_cq_service() 648 q->tail_idx = 0; in ionic_q_init() 715 tail = q->tail_idx; in ionic_q_is_posted() 730 if (q->tail_idx == q->head_idx) in ionic_q_service() 737 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service() 740 desc_info = &q->info[q->tail_idx]; in ionic_q_service() [all …]
|
D | ionic_txrx.c | 36 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell() 63 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell() 388 if (q->tail_idx == q->head_idx) in ionic_rx_service() 391 if (q->tail_idx != le16_to_cpu(comp->comp_index)) in ionic_rx_service() 394 desc_info = &q->info[q->tail_idx]; in ionic_rx_service() 395 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_rx_service() 520 q->tail_idx = 0; in ionic_rx_empty() 850 desc_info = &q->info[q->tail_idx]; in ionic_tx_service() 852 index = q->tail_idx; in ionic_tx_service() 853 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_service() [all …]
|
D | ionic_main.c | 227 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 228 desc_info = &q->info[q->tail_idx]; in ionic_adminq_flush() 232 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_flush() 300 if (q->tail_idx == q->head_idx) { in ionic_adminq_poke_doorbell()
|
D | ionic_dev.h | 228 u16 tail_idx; member 275 u16 tail_idx; member 295 unsigned int avail = q->tail_idx; in ionic_q_space_avail()
|
D | ionic_debugfs.c | 79 seq_printf(seq, "%d\n", q->tail_idx); in q_tail_show() 99 seq_printf(seq, "%d\n", cq->tail_idx); in cq_tail_show()
|
D | ionic_lif.c | 730 qcq->q.tail_idx = 0; in ionic_qcq_sanitize() 732 qcq->cq.tail_idx = 0; in ionic_qcq_sanitize()
|
/drivers/scsi/lpfc/ |
D | lpfc.h | 1632 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
|
D | lpfc_sli.c | 8061 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring() 8079 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_destroy_ring() 8100 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_record() local 8105 memcpy(&ring[*tail_idx], entry, sizeof(*entry)); in lpfc_rx_monitor_record() 8106 *tail_idx = (*tail_idx + 1) % ring_size; in lpfc_rx_monitor_record() 8109 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record() 8138 u32 *tail_idx = &rx_monitor->tail_idx; in lpfc_rx_monitor_report() local 8161 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report()
|