Home
last modified time | relevance | path

Searched refs:dest_idx (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mac.c407 u8 *mac, u16 *vid, u32 *dest_idx) in lan966x_mac_process_raw_entry() argument
417 *dest_idx = ANA_MACACCESS_DEST_IDX_GET(raw_entry->maca); in lan966x_mac_process_raw_entry()
427 u32 dest_idx; in lan966x_mac_irq_process() local
449 mac, &vid, &dest_idx); in lan966x_mac_irq_process()
450 if (WARN_ON(dest_idx >= lan966x->num_phys_ports)) in lan966x_mac_irq_process()
458 mac_entry->port_index == dest_idx) { in lan966x_mac_irq_process()
503 mac, &vid, &dest_idx); in lan966x_mac_irq_process()
504 if (WARN_ON(dest_idx >= lan966x->num_phys_ports)) in lan966x_mac_irq_process()
508 mac_entry = lan966x_mac_find_entry(lan966x, mac, vid, dest_idx); in lan966x_mac_irq_process()
514 port = lan966x->ports[dest_idx]; in lan966x_mac_irq_process()
/openbmc/linux/fs/pstore/
H A Dftrace.c161 size_t dest_idx = 0, src_idx = 0, merged_idx = 0; in pstore_ftrace_combine_log() local
182 if (pstore_ftrace_read_timestamp(&drec[dest_idx]) < in pstore_ftrace_combine_log()
184 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
193 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
/openbmc/qemu/target/hexagon/mmvec/
H A Ddecode_ext_mmvec.c67 if ((pkt->insn[def_idx].dest_idx == -1) && in check_new_value()
72 if (pkt->insn[def_idx].dest_idx == -1) { in check_new_value()
77 pkt->insn[def_idx].regno[pkt->insn[def_idx].dest_idx]; in check_new_value()
/openbmc/qemu/target/hexagon/
H A Dgen_trans_funcs.py91 dest_idx = -1
104 dest_idx = regno
H A Dinsn.h43 int32_t dest_idx; member
H A Ddecode.c146 g_assert(packet->insn[def_idx].dest_idx != -1); in decode_fill_newvalue_regno()
147 dst_idx = packet->insn[def_idx].dest_idx; in decode_fill_newvalue_regno()
/openbmc/qemu/hw/intc/
H A Dioapic.c52 uint16_t dest_idx; member
73 info->dest_idx = (entry >> IOAPIC_LVT_DEST_IDX_SHIFT) & 0xffff; in ioapic_entry_parse()
84 (info->dest_idx << MSI_ADDR_DEST_IDX_SHIFT) | \ in ioapic_entry_parse()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Db44.c639 int dest_idx; in b44_alloc_rx_skb() local
645 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_alloc_rx_skb()
646 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
692 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_alloc_rx_skb()
695 dp = &bp->rx_ring[dest_idx]; in b44_alloc_rx_skb()
701 dest_idx * sizeof(*dp), in b44_alloc_rx_skb()
712 int dest_idx; in b44_recycle_rx() local
715 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_recycle_rx()
716 dest_desc = &bp->rx_ring[dest_idx]; in b44_recycle_rx()
717 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
[all …]
H A Dtg3.c6674 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local
6678 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data()
6679 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()
6680 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data()
6685 dest_idx = dest_idx_unmasked & tp->rx_jmb_ring_mask; in tg3_alloc_rx_data()
6686 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()
6687 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data()
6742 int dest_idx; in tg3_recycle_rx() local
6746 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_recycle_rx()
6747 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.c2076 u8 dest_idx = 0, i; in ath12k_dp_mon_srng_process() local
2124 pmon->dest_skb_q[dest_idx] = skb; in ath12k_dp_mon_srng_process()
2125 dest_idx++; in ath12k_dp_mon_srng_process()
2132 for (i = 0; i < dest_idx; i++) { in ath12k_dp_mon_srng_process()
2156 dest_idx = 0; in ath12k_dp_mon_srng_process()
2490 u8 dest_idx = 0, i; in ath12k_dp_mon_rx_process_stats() local
2524 pmon->dest_skb_q[dest_idx] = skb; in ath12k_dp_mon_rx_process_stats()
2525 dest_idx++; in ath12k_dp_mon_rx_process_stats()
2531 for (i = 0; i < dest_idx; i++) { in ath12k_dp_mon_rx_process_stats()
2571 dest_idx = 0; in ath12k_dp_mon_rx_process_stats()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c465 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport() argument
467 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_VPORT; in esw_setup_dest_fwd_vport()
468 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport; in esw_setup_dest_fwd_vport()
470 dest[dest_idx].vport.vhca_id = in esw_setup_dest_fwd_vport()
472 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_VHCA_ID; in esw_setup_dest_fwd_vport()
473 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK && in esw_setup_dest_fwd_vport()
475 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_UPLINK; in esw_setup_dest_fwd_vport()
482 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_REFORMAT_ID; in esw_setup_dest_fwd_vport()
483 dest[dest_idx].vport.pkt_reformat = esw_attr->dests[attr_idx].pkt_reformat; in esw_setup_dest_fwd_vport()
490 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_ipsec() argument
[all …]