Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dce.c465 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local
476 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
528 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local
543 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64()
545 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64()
548 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
618 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
661 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries()
675 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local
679 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs()
[all …]
Dce.h87 unsigned int sw_index; member
327 u32 sw_index, dma_addr_t *bufferp,
Dpci.c1368 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local
1375 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg()
1379 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/Linux-v4.19/net/dsa/
Dswitch.c60 if (ds->index == info->sw_index && ds->ops->port_bridge_join) in dsa_switch_bridge_join()
63 if (ds->index != info->sw_index && ds->ops->crosschip_bridge_join) in dsa_switch_bridge_join()
64 return ds->ops->crosschip_bridge_join(ds, info->sw_index, in dsa_switch_bridge_join()
73 if (ds->index == info->sw_index && ds->ops->port_bridge_leave) in dsa_switch_bridge_leave()
76 if (ds->index != info->sw_index && ds->ops->crosschip_bridge_leave) in dsa_switch_bridge_leave()
77 ds->ops->crosschip_bridge_leave(ds, info->sw_index, info->port, in dsa_switch_bridge_leave()
86 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_add()
97 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_del()
143 if (ds->index == info->sw_index) in dsa_switch_mdb_add()
165 if (ds->index == info->sw_index) in dsa_switch_mdb_del()
[all …]
Dport.c102 .sw_index = dp->ds->index, in dsa_port_bridge_join()
125 .sw_index = dp->ds->index, in dsa_port_bridge_leave()
184 .sw_index = dp->ds->index, in dsa_port_fdb_add()
197 .sw_index = dp->ds->index, in dsa_port_fdb_del()
223 .sw_index = dp->ds->index, in dsa_port_mdb_add()
236 .sw_index = dp->ds->index, in dsa_port_mdb_del()
249 .sw_index = dp->ds->index, in dsa_port_vlan_add()
268 .sw_index = dp->ds->index, in dsa_port_vlan_del()
Ddsa_priv.h40 int sw_index; member
46 int sw_index; member
56 int sw_index; member
64 int sw_index; member
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.c503 static int sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, in sc_hw_alloc() argument
517 *sw_index = index; in sc_hw_alloc()
531 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
535 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
538 __func__, sw_index, hw_context); in sc_hw_free()
713 u32 sw_index; in sc_alloc() local
736 ret = sc_hw_alloc(dd, type, &sw_index, &hw_context); in sc_alloc()
744 sci = &dd->send_contexts[sw_index]; in sc_alloc()
760 sc->sw_index = sw_index; in sc_alloc()
873 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.h227 __u16 sw_index; /* send sw index to use */ member
Dpio.h110 u8 sw_index; /* software index number */ member
Dqp.c604 send_context ? send_context->sw_index : 0, in qp_iter_print()
Dchip.c5776 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument
5782 sci = &dd->send_contexts[sw_index]; in sc_to_vl()
5946 u32 sw_index; in is_sendctxt_err_int() local
5950 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5951 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int()
5954 sw_index, hw_context); in is_sendctxt_err_int()
5957 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int()
5962 sw_index, hw_context); in is_sendctxt_err_int()
5972 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
5977 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
Dfile_ops.c977 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
/Linux-v4.19/include/net/
Ddsa.h506 int (*crosschip_bridge_join)(struct dsa_switch *ds, int sw_index,
508 void (*crosschip_bridge_leave)(struct dsa_switch *ds, int sw_index,