Searched refs:sw_index (Results 1 – 11 of 11) sorted by relevance
/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 341 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 …]
|
D | ce.h | 69 unsigned int sw_index; member
|
D | pci.c | 1352 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/ |
D | pio.c | 503 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 …]
|
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 | 227 __u16 sw_index; /* send sw index to use */ member
|
D | pio.h | 116 u8 sw_index; /* software index number */ member
|
D | vnic_main.c | 135 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()
|
D | qp.c | 604 send_context ? send_context->sw_index : 0, in qp_iter_print()
|
D | chip.c | 5788 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()
|
D | file_ops.c | 1099 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
|