Searched refs:sw_index (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 499 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local 510 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock() 556 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local 571 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64() 573 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64() 576 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64() 652 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert() 695 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries() 709 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local 713 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs() [all …]
|
D | ce.h | 76 unsigned int sw_index; member 319 u32 sw_index, dma_addr_t *bufferp,
|
D | pci.c | 1358 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local 1365 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg() 1369 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
|
/drivers/infiniband/hw/hfi1/ |
D | pio.c | 495 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument 509 *sw_index = index; in sc_hw_alloc() 523 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument 527 sci = &dd->send_contexts[sw_index]; in sc_hw_free() 530 __func__, sw_index, hw_context); in sc_hw_free() 705 u32 sw_index; in sc_alloc() local 728 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc() 736 sci = &dd->send_contexts[sw_index]; in sc_alloc() 753 sc->sw_index = sw_index; in sc_alloc() 866 sw_index, in sc_alloc() [all …]
|
D | trace_tx.h | 68 __field(u32, sw_index) 73 __entry->sw_index = sc->sw_index; 79 __entry->sw_index, 89 __field(u32, sw_index) 95 __entry->sw_index = sc->sw_index; 102 __entry->sw_index,
|
D | common.h | 230 __u16 sw_index; /* send sw index to use */ member
|
D | pio.h | 110 u8 sw_index; /* software index number */ member
|
D | qp.c | 704 send_context ? send_context->sw_index : 0, in qp_iter_print()
|
D | chip.c | 5794 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument 5800 sci = &dd->send_contexts[sw_index]; in sc_to_vl() 5964 u32 sw_index; in is_sendctxt_err_int() local 5968 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 5969 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int() 5972 sw_index, hw_context); in is_sendctxt_err_int() 5975 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int() 5980 sw_index, hw_context); in is_sendctxt_err_int() 5990 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int() 5995 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
|
D | file_ops.c | 978 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
|