| /Linux-v5.15/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-v5.15/net/dsa/ |
| D | switch.c | 55 if (ds->index == info->sw_index && port == info->port) in dsa_switch_mtu_match() 95 if (dst->index == info->tree_index && ds->index == info->sw_index) { in dsa_switch_bridge_join() 104 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join() 107 info->sw_index, in dsa_switch_bridge_join() 125 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_leave() 129 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_leave() 132 info->sw_index, info->port, in dsa_switch_bridge_leave() 352 if (dsa_switch_host_address_match(ds, port, info->sw_index, in dsa_switch_host_fdb_add() 374 if (dsa_switch_host_address_match(ds, port, info->sw_index, in dsa_switch_host_fdb_del() 389 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_add() [all …]
|
| D | dsa_priv.h | 57 int sw_index; member 63 int sw_index; member 72 int sw_index; member 79 int sw_index; member 88 int sw_index; member 96 int sw_index; member 109 int sw_index; member 116 int sw_index; member 123 int sw_index; member 145 int sw_index; member
|
| D | port.c | 326 .sw_index = dp->ds->index, in dsa_port_bridge_join() 389 .sw_index = dp->ds->index, in dsa_port_bridge_leave() 415 .sw_index = dp->ds->index, in dsa_port_lag_change() 443 .sw_index = dp->ds->index, in dsa_port_lag_join() 485 .sw_index = dp->ds->index, in dsa_port_lag_leave() 733 .sw_index = dp->ds->index, in dsa_port_mtu_change() 746 .sw_index = dp->ds->index, in dsa_port_fdb_add() 759 .sw_index = dp->ds->index, in dsa_port_fdb_del() 773 .sw_index = dp->ds->index, in dsa_port_host_fdb_add() 792 .sw_index = dp->ds->index, in dsa_port_host_fdb_del() [all …]
|
| D | tag_8021q.c | 216 if (ds->dst->index == info->tree_index && ds->index == info->sw_index) in dsa_switch_tag_8021q_vlan_match() 332 ds->index == info->sw_index && in dsa_tag_8021q_bridge_match() 353 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_join() 389 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_leave()
|
| D | dsa2.c | 177 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument 187 if (dp->ds->index != sw_index) in dsa_switch_find()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | ce.c | 366 unsigned int sw_index; in ath11k_ce_completed_recv_next() local 373 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next() 394 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next() 395 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next() 397 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next() 398 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next() 455 unsigned int sw_index; in ath11k_ce_completed_send_next() local 462 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next() 477 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next() 479 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next() [all …]
|
| D | ce.h | 123 unsigned int sw_index; member
|
| /Linux-v5.15/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 | common.h | 183 __u16 sw_index; /* send sw index to use */ member
|
| 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 | 5781 static int sc_to_vl(struct hfi1_devdata *dd, int sw_index) in sc_to_vl() argument 5787 sci = &dd->send_contexts[sw_index]; in sc_to_vl() 5951 u32 sw_index; in is_sendctxt_err_int() local 5955 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 5956 if (sw_index >= dd->num_send_contexts) { in is_sendctxt_err_int() 5959 sw_index, hw_context); in is_sendctxt_err_int() 5962 sci = &dd->send_contexts[sw_index]; in is_sendctxt_err_int() 5967 sw_index, hw_context); in is_sendctxt_err_int() 5977 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int() 5982 handle_send_egress_err_info(dd, sc_to_vl(dd, sw_index)); in is_sendctxt_err_int()
|
| D | file_ops.c | 945 hfi1_cdbg(PROC, "allocated send context %u(%u)\n", uctxt->sc->sw_index, in allocate_ctxt()
|
| /Linux-v5.15/include/net/ |
| D | dsa.h | 794 int sw_index, int port, 797 int sw_index, int port, 799 int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index, 801 int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index, 804 int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index, 1058 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
|
| /Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
| D | chip.c | 2492 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument 2502 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_bridge_join() 2509 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument 2518 if (mv88e6xxx_pvt_map(chip, sw_index, port)) in mv88e6xxx_crosschip_bridge_leave() 6170 static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_change() argument 6182 static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_join() argument 6198 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_join() 6205 static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_leave() argument 6213 err_pvt = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_leave()
|