Home
last modified time | relevance | path

Searched refs:sw_index (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A 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 in ath10k_ce_num_free_src_entries()
709 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_num_free_bufs() local
725 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_post_buf() local
756 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_post_buf_64() local
827 unsigned int sw_index = dest_ring->sw_index; _ath10k_ce_completed_recv_next_nolock() local
877 unsigned int sw_index = dest_ring->sw_index; _ath10k_ce_completed_recv_next_nolock_64() local
954 unsigned int sw_index; _ath10k_ce_revoke_recv_next() local
1007 unsigned int sw_index; _ath10k_ce_revoke_recv_next_64() local
1076 unsigned int sw_index = src_ring->sw_index; _ath10k_ce_completed_send_next_nolock() local
1129 unsigned int sw_index = src_ring->sw_index; _ath10k_ce_completed_send_next_nolock_64() local
1183 ath10k_ce_extract_desc_data(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data() argument
1200 ath10k_ce_extract_desc_data_64(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data_64() argument
1227 unsigned int sw_index; ath10k_ce_cancel_send_next() local
[all...]
H A Dce.h74 * write index >= read index >= sw_index
76 unsigned int sw_index; member
85 * write index >= read index >= hw_index >= sw_index
322 u32 sw_index, dma_addr_t *bufferp,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dce.c432 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local
443 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
489 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local
504 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64()
506 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64()
509 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
585 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
628 pipe->src_ring->sw_index in ath10k_ce_num_free_src_entries()
642 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_num_free_bufs() local
658 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_post_buf() local
689 unsigned int sw_index = dest_ring->sw_index; __ath10k_ce_rx_post_buf_64() local
760 unsigned int sw_index = dest_ring->sw_index; _ath10k_ce_completed_recv_next_nolock() local
810 unsigned int sw_index = dest_ring->sw_index; _ath10k_ce_completed_recv_next_nolock_64() local
887 unsigned int sw_index; _ath10k_ce_revoke_recv_next() local
940 unsigned int sw_index; _ath10k_ce_revoke_recv_next_64() local
1009 unsigned int sw_index = src_ring->sw_index; _ath10k_ce_completed_send_next_nolock() local
1062 unsigned int sw_index = src_ring->sw_index; _ath10k_ce_completed_send_next_nolock_64() local
1116 ath10k_ce_extract_desc_data(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data() argument
1133 ath10k_ce_extract_desc_data_64(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data_64() argument
1160 unsigned int sw_index; ath10k_ce_cancel_send_next() local
[all...]
H A Dce.h74 * write index >= read index >= sw_index
76 unsigned int sw_index; member
85 * write index >= read index >= hw_index >= sw_index
322 u32 sw_index, dma_addr_t *bufferp,
/kernel/linux/linux-5.10/net/dsa/
H A Dswitch.c58 if (ds->index == info->sw_index) in dsa_switch_mtu_match()
94 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_join()
98 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join()
101 info->sw_index, in dsa_switch_bridge_join()
114 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_leave()
118 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_leave()
121 info->sw_index, info->port, in dsa_switch_bridge_leave()
162 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_add()
173 int port = dsa_towards_port(ds, info->sw_index, info->port); in dsa_switch_fdb_del()
184 if (ds->index == info->sw_index in dsa_switch_mdb_match()
[all...]
H A Ddsa_priv.h40 int sw_index; member
46 int sw_index; member
56 int sw_index; member
64 int sw_index; member
71 int sw_index; member
H A Dport.c141 .sw_index = dp->ds->index, in dsa_port_bridge_join()
172 .sw_index = dp->ds->index, in dsa_port_bridge_leave()
380 .sw_index = dp->ds->index, in dsa_port_mtu_change()
393 .sw_index = dp->ds->index, in dsa_port_fdb_add()
406 .sw_index = dp->ds->index, in dsa_port_fdb_del()
432 .sw_index = dp->ds->index, in dsa_port_mdb_add()
445 .sw_index = dp->ds->index, in dsa_port_mdb_del()
458 .sw_index = dp->ds->index, in dsa_port_vlan_add()
471 .sw_index = dp->ds->index, in dsa_port_vlan_del()
H A Ddsa2.c24 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
34 if (dp->ds->index != sw_index) in dsa_switch_find()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dce.c313 unsigned int sw_index; in ath11k_ce_completed_recv_next() local
320 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
341 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
342 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
344 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next()
345 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
402 unsigned int sw_index; in ath11k_ce_completed_send_next() local
639 unsigned int write_index, sw_index; ath11k_ce_send() local
[all...]
H A Dce.h121 * write index >= read index >= sw_index
123 unsigned int sw_index; member
/kernel/linux/linux-6.6/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()
352 *skb = pipe->dest_ring->skb[sw_index]; in ath12k_ce_completed_recv_next()
353 pipe->dest_ring->skb[sw_index] = NULL; 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
644 unsigned int write_index, sw_index; ath12k_ce_send() local
[all...]
H A Dce.h112 * write index >= read index >= sw_index
114 unsigned int sw_index; member
/kernel/linux/linux-6.6/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()
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
717 unsigned int write_index, sw_index; ath11k_ce_send() local
[all...]
H A Dce.h138 * write index >= read index >= sw_index
140 unsigned int sw_index; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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()
529 dd_dev_err(dd, "%s: sw_index %u not allocated? hw_context %u\n", 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 in sc_alloc()
882 u32 sw_index; sc_free() local
1763 u32 sw_index; sc_group_release_update() local
[all...]
H A Dtrace_tx.h70 __field(u32, sw_index)
75 __entry->sw_index = sc->sw_index;
81 __entry->sw_index,
91 __field(u32, sw_index)
97 __entry->sw_index = sc->sw_index;
104 __entry->sw_index,
H A Dpio.h110 u8 sw_index; /* software index number */ member
H A Dcommon.h225 __u16 sw_index; /* send sw index to use */ member
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dpio.c453 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()
487 dd_dev_err(dd, "%s: sw_index %u not allocated? hw_context %u\n", 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 in sc_alloc()
840 u32 sw_index; sc_free() local
1721 u32 sw_index; 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
/kernel/linux/linux-6.6/include/net/
H A Ddsa.h1106 int sw_index, int port,
1110 int sw_index, int port,
1112 int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index,
1114 int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index,
1118 int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index,
1349 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/kernel/linux/linux-5.10/include/net/
H A Ddsa.h614 int sw_index, int port,
617 int sw_index, int port,
808 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/kernel/linux/linux-6.6/net/dsa/
H A Ddsa.c180 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
190 if (dp->ds->index != sw_index) in dsa_switch_find()
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2919 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join()
2930 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_bridge_join()
2938 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave()
2947 if (mv88e6xxx_pvt_map(chip, sw_index, port) || in mv88e6xxx_crosschip_bridge_leave()
6755 static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_change() argument
6767 static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_join() argument
6784 err = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_join()
6791 static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, in mv88e6xxx_crosschip_lag_leave() argument
6799 err_pvt = mv88e6xxx_pvt_map(chip, sw_index, port); in mv88e6xxx_crosschip_lag_leave()
2918 mv88e6xxx_crosschip_bridge_join(struct dsa_switch *ds, int tree_index, int sw_index, int port, struct dsa_bridge bridge, struct netlink_ext_ack *extack) mv88e6xxx_crosschip_bridge_join() argument
2937 mv88e6xxx_crosschip_bridge_leave(struct dsa_switch *ds, int tree_index, int sw_index, int port, struct dsa_bridge bridge) mv88e6xxx_crosschip_bridge_leave() argument

Completed in 42 milliseconds

12