Home
last modified time | relevance | path

Searched refs:sw_index (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dce.c341 unsigned int sw_index = src_ring->sw_index; in ath10k_ce_send_nolock() local
352 write_index, sw_index - 1) <= 0)) { in ath10k_ce_send_nolock()
401 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
442 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries()
455 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local
459 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs()
469 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_post_buf() local
477 CE_RING_DELTA(nentries_mask, write_index, sw_index - 1) == 0) in __ath10k_ce_rx_post_buf()
503 if ((cur_write_idx + nentries) == dest_ring->sw_index) in ath10k_ce_rx_update_write_idx()
534 unsigned int sw_index = dest_ring->sw_index; in ath10k_ce_completed_recv_next_nolock() local
[all …]
Dce.h69 unsigned int sw_index; member
Dpci.c1352 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local
1359 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg()
1363 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/drivers/infiniband/hw/hfi1/
Dpio.c503 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument
517 *sw_index = index; in sc_hw_alloc()
531 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
535 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
538 __func__, sw_index, hw_context); in sc_hw_free()
714 u32 sw_index; in sc_alloc() local
744 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc()
757 dd->send_contexts[sw_index].type = SC_KERNEL; in sc_alloc()
761 sci = &dd->send_contexts[sw_index]; in sc_alloc()
777 sc->sw_index = sw_index; in sc_alloc()
[all …]
Dtrace_tx.h68 __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,
Dcommon.h227 __u16 sw_index; /* send sw index to use */ member
Dpio.h116 u8 sw_index; /* software index number */ member
Dvnic_main.c135 uctxt->sc->sw_index, uctxt->sc->hw_context); in allocate_vnic_ctxt()
184 dd->send_contexts[uctxt->sc->sw_index].type = SC_USER; in deallocate_vnic_ctxt()
Dqp.c604 send_context ? send_context->sw_index : 0, in qp_iter_print()
Dchip.c5788 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument
5794 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5958 u32 sw_index; in is_sendctxt_err_int() local
5962 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5963 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int()
5966 sw_index, hw_context); in is_sendctxt_err_int()
5969 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
5974 sw_index, hw_context); in is_sendctxt_err_int()
5984 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
5989 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
Dfile_ops.c1099 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()