Searched refs:sw_index (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 279 unsigned int sw_index = src_ring->sw_index; in ath10k_ce_send_nolock() local 290 write_index, sw_index - 1) <= 0)) { in ath10k_ce_send_nolock() 339 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert() 380 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries() 393 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local 397 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs() 407 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_post_buf() local 414 if (CE_RING_DELTA(nentries_mask, write_index, sw_index - 1) == 0) in __ath10k_ce_rx_post_buf() 455 unsigned int sw_index = dest_ring->sw_index; in ath10k_ce_completed_recv_next_nolock() local 458 struct ce_desc *desc = CE_DEST_RING_TO_DESC(base, sw_index); in ath10k_ce_completed_recv_next_nolock() [all …]
|
D | ce.h | 71 unsigned int sw_index; member
|
D | pci.c | 1260 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local 1267 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg() 1271 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | pio.c | 477 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument 491 *sw_index = index; in sc_hw_alloc() 505 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument 509 sci = &dd->send_contexts[sw_index]; in sc_hw_free() 512 __func__, sw_index, hw_context); in sc_hw_free() 676 u32 sw_index; in sc_alloc() local 690 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc() 697 sci = &dd->send_contexts[sw_index]; in sc_alloc() 714 sc->sw_index = sw_index; in sc_alloc() 820 sw_index, in sc_alloc() [all …]
|
D | diag.c | 414 if (dp->sw_index >= dd->num_send_contexts) { in diagpkt_send() 419 if (dd->send_contexts[dp->sw_index].type != SC_KERNEL) { in diagpkt_send() 424 sc = dd->send_contexts[dp->sw_index].sc; in diagpkt_send() 573 dp.sw_index = sc->sw_index; in diagpkt_write() 577 vl, sc->sw_index, sc->hw_context); in diagpkt_write() 871 dpkt.sw_index = sc->sw_index; in hfi1_snoop_write() 872 snoop_dbg("Sending on context %u(%u)", sc->sw_index, in hfi1_snoop_write() 887 dpkt.sw_index = sc->sw_index; in hfi1_snoop_write()
|
D | trace.h | 250 __field(u32, sw_index) 256 __entry->sw_index = sc->sw_index; 263 __entry->sw_index, 274 __field(u32, sw_index) 281 __entry->sw_index = sc->sw_index; 289 __entry->sw_index,
|
D | pio.h | 114 u32 sw_index; /* software index number */ member
|
D | common.h | 228 __u16 sw_index; /* send sw index to use */ member
|
D | chip.c | 2485 u32 sw_index; in is_sendctxt_err_int() local 2487 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 2488 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int() 2491 sw_index, hw_context); in is_sendctxt_err_int() 2494 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int() 2498 sw_index, hw_context); in is_sendctxt_err_int() 2507 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
|
D | file_ops.c | 1020 dbg("allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
|