Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ath/ath10k/ !
Dce.c432 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local
443 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
489 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local
504 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64()
506 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64()
509 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
585 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
628 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries()
642 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local
646 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs()
[all …]
Dce.h76 unsigned int sw_index; member
322 u32 sw_index, dma_addr_t *bufferp,
Dpci.c1358 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()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ !
Dce.c325 unsigned int sw_index; in ath12k_ce_completed_recv_next() local
331 sw_index = pipe->dest_ring->sw_index; in ath12k_ce_completed_recv_next()
352 *skb = pipe->dest_ring->skb[sw_index]; in ath12k_ce_completed_recv_next()
353 pipe->dest_ring->skb[sw_index] = NULL; in ath12k_ce_completed_recv_next()
355 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath12k_ce_completed_recv_next()
356 pipe->dest_ring->sw_index = sw_index; in ath12k_ce_completed_recv_next()
414 unsigned int sw_index; in ath12k_ce_completed_send_next() local
420 sw_index = pipe->src_ring->sw_index; in ath12k_ce_completed_send_next()
435 skb = pipe->src_ring->skb[sw_index]; in ath12k_ce_completed_send_next()
437 pipe->src_ring->skb[sw_index] = NULL; in ath12k_ce_completed_send_next()
[all …]
Dce.h114 unsigned int sw_index; member
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ !
Dce.c374 unsigned int sw_index; in ath11k_ce_completed_recv_next() local
381 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
402 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
403 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
405 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next()
406 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
463 unsigned int sw_index; in ath11k_ce_completed_send_next() local
470 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
485 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
487 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
[all …]
Dce.h140 unsigned int sw_index; member
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Dpio.c453 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument
467 *sw_index = index; in sc_hw_alloc()
481 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
485 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
488 __func__, sw_index, hw_context); in sc_hw_free()
663 u32 sw_index; in sc_alloc() local
686 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc()
694 sci = &dd->send_contexts[sw_index]; in sc_alloc()
711 sc->sw_index = sw_index; in sc_alloc()
824 sw_index, in sc_alloc()
[all …]
Dtrace_tx.h28 __field(u32, sw_index)
33 __entry->sw_index = sc->sw_index;
39 __entry->sw_index,
49 __field(u32, sw_index)
55 __entry->sw_index = sc->sw_index;
62 __entry->sw_index,
Dpio.h68 u8 sw_index; /* software index number */ member
Dqp.c652 send_context ? send_context->sw_index : 0, in qp_iter_print()
Dchip.c5783 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument
5789 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5953 u32 sw_index; in is_sendctxt_err_int() local
5957 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5958 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int()
5961 sw_index, hw_context); in is_sendctxt_err_int()
5964 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
5969 sw_index, hw_context); in is_sendctxt_err_int()
5979 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
5984 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
Dfile_ops.c978 hfi1_cdbg(PROC, "allocated send context %u(%u)", uctxt->sc->sw_index, in allocate_ctxt()
/linux-6.6.21/include/net/ !
Ddsa.h1106 int sw_index, int port,
1110 int sw_index, int port,
1112 int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index,
1114 int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index,
1118 int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index,
1349 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/linux-6.6.21/net/dsa/ !
Ddsa.c180 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
190 if (dp->ds->index != sw_index) in dsa_switch_find()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/ !
Dchip.c2919 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument
2930 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_bridge_join()
2938 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument
2947 if (mv88e6xxx_pvt_map(chip, sw_index, port) || in mv88e6xxx_crosschip_bridge_leave()
6755 static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_change() argument
6767 static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_join() argument
6784 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_join()
6791 static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_leave() argument
6799 err_pvt = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_leave()