Home
last modified time | relevance | path

Searched refs:hw_idx (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/crypto/caam/
A Dregs.h230 *desc = outentry[hw_idx].desc; in jr_outentry_get()
231 *jrstatus = outentry[hw_idx].jrstatus; in jr_outentry_get()
238 *desc = outentry[hw_idx].desc; in jr_outentry_get()
239 *jrstatus = outentry[hw_idx].jrstatus; in jr_outentry_get()
245 static inline dma_addr_t jr_outentry_desc(void *outring, int hw_idx) in jr_outentry_desc() argument
250 jr_outentry_get(outring, hw_idx, &desc, &unused); in jr_outentry_desc()
255 static inline u32 jr_outentry_jrstatus(void *outring, int hw_idx) in jr_outentry_jrstatus() argument
260 jr_outentry_get(outring, hw_idx, &unused, &jrstatus); in jr_outentry_jrstatus()
265 static inline void jr_inpentry_set(void *inpring, int hw_idx, dma_addr_t val) in jr_inpentry_set() argument
270 inpentry[hw_idx] = val; in jr_inpentry_set()
[all …]
A Djr.c206 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
220 hw_idx = jrp->out_ring_read_index; in caam_jr_dequeue()
225 if (jr_outentry_desc(jrp->outring, hw_idx) == in caam_jr_dequeue()
235 hw_idx)), in caam_jr_dequeue()
247 hw_idx)); in caam_jr_dequeue()
/linux/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_ppm.h246 u32 hw_idx = (ddp_tag >> PPOD_IDX_SHIFT) & in cxgbi_ppm_ddp_tag_get_idx() local
249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
252 static inline u32 cxgbi_ppm_make_ddp_tag(unsigned int hw_idx, in cxgbi_ppm_make_ddp_tag() argument
255 return (hw_idx << PPOD_IDX_SHIFT) | ((u32)color); in cxgbi_ppm_make_ddp_tag()
/linux/drivers/clk/ingenic/
A Dcgu.c314 u8 i, hw_idx, idx = 0; in ingenic_clk_get_parent() local
318 hw_idx = (reg >> clk_info->mux.shift) & in ingenic_clk_get_parent()
325 for (i = 0; i < hw_idx; i++) { in ingenic_clk_get_parent()
340 u8 curr_idx, hw_idx, num_poss; in ingenic_clk_set_parent() local
350 hw_idx = curr_idx = 0; in ingenic_clk_set_parent()
352 for (; hw_idx < num_poss; hw_idx++) { in ingenic_clk_set_parent()
353 if (clk_info->parents[hw_idx] == -1) in ingenic_clk_set_parent()
371 reg |= hw_idx << clk_info->mux.shift; in ingenic_clk_set_parent()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.h163 int hw_idx = i; in enetc_rxbd() local
167 hw_idx = 2 * i; in enetc_rxbd()
169 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd()
/linux/tools/perf/util/
A Dbranch.h48 u64 hw_idx; member
A Dmachine.c2523 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr()
2525 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr()
2526 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()
A Dcs-etm.c1226 u64 hw_idx; in cs_etm__synth_branch_sample() member
1259 .hw_idx = -1ULL, in cs_etm__synth_branch_sample()
/linux/drivers/net/wireless/ti/wl12xx/
A Dwl12xx.h96 u8 hw_idx; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c1574 int ret, i, hw_idx = 0; in dr_actions_convert_modify_header() local
1627 if ((hw_idx % 2) && (hw_field == hw_dst_action_info->hw_field || in dr_actions_convert_modify_header()
1633 hw_idx++; in dr_actions_convert_modify_header()
1634 if ((num_sw_actions + hw_idx - i) >= max_hw_actions) { in dr_actions_convert_modify_header()
1641 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()
1642 hw_idx++; in dr_actions_convert_modify_header()
1645 *num_hw_actions = hw_idx; in dr_actions_convert_modify_header()
/linux/arch/x86/events/intel/
A Dlbr.c807 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
903 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()
1467 cpuc->lbr_stack.hw_idx = -1ULL; in intel_pmu_store_pebs_lbrs()
1469 cpuc->lbr_stack.hw_idx = intel_pmu_lbr_tos(); in intel_pmu_store_pebs_lbrs()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
A Dbeacon.c34 dev->mphy.q_tx[MT_TXQ_CAB]->hw_idx) | in mt7603_update_beacon_iter()
A Dmain.c520 queue = dev->mphy.q_tx[queue]->hw_idx; in mt7603_conf_tx()
A Dmac.c449 u8 qidx = q->hw_idx; in mt7603_mac_sta_poll()
949 FIELD_PREP(MT_TXD0_Q_IDX, q->hw_idx); in mt7603_mac_write_txwi()
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_usb_core.c70 int pid, len = tx_info->skb->len, ep = q2ep(dev->mphy.q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
A Dusb.c922 mt76u_fill_bulk_urb(dev, USB_DIR_OUT, q2ep(q->hw_idx), in mt76u_tx_queue_skb()
992 q->hw_idx = mt76u_ac_to_hwq(dev, i); in mt76u_alloc_tx()
A Dmt76x02_util.c492 qid = dev->mphy.q_tx[queue]->hw_idx; in mt76x02_conf_tx()
A Ddma.c121 q->hw_idx = idx; in mt76_dma_alloc_queue()
/linux/drivers/net/ethernet/broadcom/
A Dcnic.h187 u16 (*hw_idx)(u16); member
/linux/tools/perf/tests/
A Dsample-parsing.c112 COMP(branch_stack->hw_idx); in samples_same()
/linux/drivers/net/ethernet/atheros/atlx/
A Datl1.h606 u16 hw_idx; /* hardware index */ member
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmt7615.h472 return MT_INT_TX_DONE(dev->mt76.q_mcu[MT_MCUQ_WM]->hw_idx); in mt7615_tx_mcu_int_mask()
/linux/drivers/net/wireless/realtek/rtw89/
A Dpci.c594 u16 hw_idx, hw_idx_next, host_idx; in rtw89_pci_isr_rxd_unavail() local
602 hw_idx = FIELD_GET(TXBD_HW_IDX_MASK, reg_idx); in rtw89_pci_isr_rxd_unavail()
604 hw_idx_next = (hw_idx + 1) % bd_ring->len; in rtw89_pci_isr_rxd_unavail()
/linux/drivers/net/wireless/ath/ath11k/
A Dwmi.c321 u32 hw_idx, phy_idx = 0; in ath11k_pull_mac_phy_cap_svc_ready_ext() local
326 for (hw_idx = 0; hw_idx < hw_caps->num_hw_modes; hw_idx++) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
327 if (hw_mode_id == wmi_hw_mode_caps[hw_idx].hw_mode_id) in ath11k_pull_mac_phy_cap_svc_ready_ext()
330 phy_map = wmi_hw_mode_caps[hw_idx].phy_id_map; in ath11k_pull_mac_phy_cap_svc_ready_ext()
337 if (hw_idx == hw_caps->num_hw_modes) in ath11k_pull_mac_phy_cap_svc_ready_ext()
/linux/include/linux/
A Dperf_event.h116 __u64 hw_idx; member

Completed in 79 milliseconds

12