Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dce.c499 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 …]
Dce.h76 unsigned int sw_index; member
319 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-v5.4/net/dsa/
Dswitch.c58 if (ds->index == info->sw_index && ds->ops->port_bridge_join) in dsa_switch_bridge_join()
61 if (ds->index != info->sw_index && ds->ops->crosschip_bridge_join) in dsa_switch_bridge_join()
62 return ds->ops->crosschip_bridge_join(ds, info->sw_index, in dsa_switch_bridge_join()
74 if (ds->index == info->sw_index && ds->ops->port_bridge_leave) in dsa_switch_bridge_leave()
77 if (ds->index != info->sw_index && ds->ops->crosschip_bridge_leave) in dsa_switch_bridge_leave()
78 ds->ops->crosschip_bridge_leave(ds, info->sw_index, info->port, in dsa_switch_bridge_leave()
112 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_add()
123 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_del()
134 if (ds->index == info->sw_index && port == info->port) in dsa_switch_mdb_match()
186 if (ds->index == info->sw_index) in dsa_switch_mdb_del()
[all …]
Ddsa_priv.h36 int sw_index; member
42 int sw_index; member
52 int sw_index; member
60 int sw_index; member
Dport.c99 .sw_index = dp->ds->index, in dsa_port_bridge_join()
129 .sw_index = dp->ds->index, in dsa_port_bridge_leave()
280 .sw_index = dp->ds->index, in dsa_port_fdb_add()
293 .sw_index = dp->ds->index, in dsa_port_fdb_del()
319 .sw_index = dp->ds->index, in dsa_port_mdb_add()
332 .sw_index = dp->ds->index, in dsa_port_mdb_del()
345 .sw_index = dp->ds->index, in dsa_port_vlan_add()
358 .sw_index = dp->ds->index, in dsa_port_vlan_del()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dpio.c495 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument
509 *sw_index = index; in sc_hw_alloc()
523 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
527 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
530 __func__, sw_index, hw_context); in sc_hw_free()
705 u32 sw_index; in sc_alloc() local
728 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc()
736 sci = &dd->send_contexts[sw_index]; in sc_alloc()
753 sc->sw_index = sw_index; in sc_alloc()
866 sw_index, in sc_alloc()
[all …]
Dtrace_tx.h68 __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,
Dcommon.h230 __u16 sw_index; /* send sw index to use */ member
Dpio.h110 u8 sw_index; /* software index number */ member
Dqp.c704 send_context ? send_context->sw_index : 0, in qp_iter_print()
Dchip.c5794 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument
5800 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5964 u32 sw_index; in is_sendctxt_err_int() local
5968 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5969 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int()
5972 sw_index, hw_context); in is_sendctxt_err_int()
5975 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
5980 sw_index, hw_context); in is_sendctxt_err_int()
5990 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
5995 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)\n", uctxt->sc->sw_index, in allocate_ctxt()
/Linux-v5.4/include/net/
Ddsa.h524 int (*crosschip_bridge_join)(struct dsa_switch *ds, int sw_index,
526 void (*crosschip_bridge_leave)(struct dsa_switch *ds, int sw_index,