/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 499 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local 510 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock() 556 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local 571 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64() 573 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64() 576 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64() 652 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert() 695 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries() 709 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local 713 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs() [all …]
|
D | ce.h | 76 unsigned int sw_index; member 322 u32 sw_index, dma_addr_t *bufferp,
|
D | pci.c | 1358 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.1.9/drivers/net/wireless/ath/ath11k/ |
D | ce.c | 374 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 …]
|
D | ce.h | 124 unsigned int sw_index; member
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | pio.c | 453 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 …]
|
D | trace_tx.h | 28 __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,
|
D | pio.h | 68 u8 sw_index; /* software index number */ member
|
D | qp.c | 652 send_context ? send_context->sw_index : 0, in qp_iter_print()
|
D | chip.c | 5782 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument 5788 sci = &dd->send_contexts[sw_index]; in sc_to_vl() 5952 u32 sw_index; in is_sendctxt_err_int() local 5956 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 5957 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int() 5960 sw_index, hw_context); in is_sendctxt_err_int() 5963 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int() 5968 sw_index, hw_context); in is_sendctxt_err_int() 5978 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int() 5983 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
|
D | file_ops.c | 947 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
|
/linux-6.1.9/include/net/ |
D | dsa.h | 1097 int sw_index, int port, 1101 int sw_index, int port, 1103 int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index, 1105 int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index, 1109 int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index, 1378 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 2954 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument 2965 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_bridge_join() 2973 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument 2982 if (mv88e6xxx_pvt_map(chip, sw_index, port) || in mv88e6xxx_crosschip_bridge_leave() 6828 static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_change() argument 6840 static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_join() argument 6857 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_join() 6864 static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_leave() argument 6872 err_pvt = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_leave()
|
/linux-6.1.9/net/dsa/ |
D | dsa2.c | 202 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument 212 if (dp->ds->index != sw_index) in dsa_switch_find()
|