Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/wireless/ath/ath10k/
H A Dce.c507 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64()
799 dest_ring->sw_index = sw_index; in _ath10k_ce_completed_recv_next_nolock()
848 dest_ring->sw_index = sw_index; in _ath10k_ce_completed_recv_next_nolock_64()
905 sw_index = dest_ring->sw_index; in _ath10k_ce_revoke_recv_next()
924 dest_ring->sw_index = sw_index; in _ath10k_ce_revoke_recv_next()
958 sw_index = dest_ring->sw_index; in _ath10k_ce_revoke_recv_next_64()
978 dest_ring->sw_index = sw_index; in _ath10k_ce_revoke_recv_next_64()
1051 src_ring->sw_index = sw_index; in _ath10k_ce_completed_send_next_nolock()
1104 src_ring->sw_index = sw_index; in _ath10k_ce_completed_send_next_nolock_64()
1178 sw_index = src_ring->sw_index; in ath10k_ce_cancel_send_next()
[all …]
H A Dce.h76 unsigned int sw_index; member
322 u32 sw_index, dma_addr_t *bufferp,
H A Dpci.c1359 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local
1366 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg()
1370 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A 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()
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()
439 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath12k_ce_completed_send_next()
440 pipe->src_ring->sw_index = sw_index; in ath12k_ce_completed_send_next()
658 sw_index = pipe->src_ring->sw_index; in ath12k_ce_send()
660 if (write_index >= sw_index) in ath12k_ce_send()
[all …]
H A Dce.h114 unsigned int sw_index; member
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A 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()
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()
489 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_send_next()
490 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next()
731 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send()
733 if (write_index >= sw_index) in ath11k_ce_send()
[all …]
H A Dce.h141 unsigned int sw_index; member
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dpio.c467 *sw_index = index; in sc_hw_alloc()
485 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
663 u32 sw_index; in sc_alloc() local
711 sc->sw_index = sw_index; in sc_alloc()
824 sw_index, in sc_alloc()
840 u32 sw_index; in sc_free() local
850 sw_index = sc->sw_index; in sc_free()
994 __func__, sc->sw_index, in sc_wait_for_packet_egress()
1085 __func__, sc->sw_index, in sc_restart()
1721 u32 sw_index; in sc_group_release_update() local
[all …]
H A 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,
H A Dpio.h68 u8 sw_index; /* software index number */ member
H A Dqp.c652 send_context ? send_context->sw_index : 0, in qp_iter_print()
H A 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()
H A Dfile_ops.c978 hfi1_cdbg(PROC, "allocated send context %u(%u)", uctxt->sc->sw_index, in allocate_ctxt()
/linux-6.15/include/net/
H A Ddsa.h1115 int sw_index, int port,
1119 int sw_index, int port,
1121 int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index,
1123 int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index,
1127 int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index,
1360 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/linux-6.15/net/dsa/
H A Ddsa.c179 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
189 if (dp->ds->index != sw_index) in dsa_switch_find()
/linux-6.15/drivers/net/dsa/mv88e6xxx/
H A Dchip.c3109 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument
3120 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_bridge_join()
3128 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument
3137 if (mv88e6xxx_pvt_map(chip, sw_index, port) || in mv88e6xxx_crosschip_bridge_leave()
7098 static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_change() argument
7110 static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_join() argument
7127 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_join()
7134 static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_leave() argument
7142 err_pvt = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_leave()