Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/
A Dmtk_vcodec_dec_pm.c176 int hw_idx) in mtk_vcodec_dec_get_pm() argument
196 int hw_idx) in mtk_vcodec_dec_child_dev_on() argument
200 pm = mtk_vcodec_dec_get_pm(vdec_dev, hw_idx); in mtk_vcodec_dec_child_dev_on()
206 if (hw_idx == MTK_VDEC_LAT0) { in mtk_vcodec_dec_child_dev_on()
216 int hw_idx) in mtk_vcodec_dec_child_dev_off() argument
226 if (hw_idx == MTK_VDEC_LAT0) { in mtk_vcodec_dec_child_dev_off()
237 mutex_lock(&ctx->dev->dec_mutex[hw_idx]); in mtk_vcodec_dec_enable_hardware()
240 hw_idx == MTK_VDEC_CORE) in mtk_vcodec_dec_enable_hardware()
244 mtk_vcodec_dec_enable_irq(ctx->dev, hw_idx); in mtk_vcodec_dec_enable_hardware()
260 hw_idx == MTK_VDEC_CORE) in mtk_vcodec_dec_disable_hardware()
[all …]
A Dmtk_vcodec_dec_hw.c43 enum mtk_vdec_hw_id hw_idx; in mtk_vdec_hw_prob_done() local
56 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_prob_done()
57 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) { in mtk_vdec_hw_prob_done()
58 dev_err(&pdev->dev, "vdec %d is not ready", hw_idx); in mtk_vdec_hw_prob_done()
94 wake_up_ctx(ctx, MTK_INST_IRQ_RECEIVED, dev->hw_idx); in mtk_vdec_hw_irq_handler()
129 int hw_idx; in mtk_vdec_hw_probe() local
160 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_probe()
161 if (hw_idx >= MTK_VDEC_HW_MAX) { in mtk_vdec_hw_probe()
167 main_dev->subdev_dev[hw_idx] = subdev_dev; in mtk_vdec_hw_probe()
168 subdev_dev->hw_idx = hw_idx; in mtk_vdec_hw_probe()
[all …]
A Dmtk_vcodec_util.c77 void *mtk_vcodec_get_hw_dev(struct mtk_vcodec_dev *dev, int hw_idx) in mtk_vcodec_get_hw_dev() argument
79 if (hw_idx >= MTK_VDEC_HW_MAX || hw_idx < 0 || !dev->subdev_dev[hw_idx]) { in mtk_vcodec_get_hw_dev()
80 mtk_v4l2_err("hw idx is out of range:%d", hw_idx); in mtk_vcodec_get_hw_dev()
84 return dev->subdev_dev[hw_idx]; in mtk_vcodec_get_hw_dev()
89 struct mtk_vcodec_ctx *ctx, int hw_idx) in mtk_vcodec_set_curr_ctx() argument
96 subdev_dev = mtk_vcodec_get_hw_dev(vdec_dev, hw_idx); in mtk_vcodec_set_curr_ctx()
111 unsigned int hw_idx) in mtk_vcodec_get_curr_ctx() argument
119 subdev_dev = mtk_vcodec_get_hw_dev(vdec_dev, hw_idx); in mtk_vcodec_get_curr_ctx()
A Dmtk_vcodec_dec_hw.h20 #define IS_SUPPORT_VDEC_HW_IRQ(hw_idx) ((hw_idx) != MTK_VDEC_LAT_SOC) argument
55 int hw_idx; member
A Dmtk_vcodec_util.h58 struct mtk_vcodec_ctx *ctx, int hw_idx);
60 unsigned int hw_idx);
61 void *mtk_vcodec_get_hw_dev(struct mtk_vcodec_dev *dev, int hw_idx);
A Dmtk_vcodec_dec_pm.h14 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_ctx *ctx, int hw_idx);
15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_ctx *ctx, int hw_idx);
/linux-6.3-rc2/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.c207 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
221 hw_idx = jrp->out_ring_read_index; in caam_jr_dequeue()
226 if (jr_outentry_desc(jrp->outring, hw_idx) == in caam_jr_dequeue()
236 hw_idx)), in caam_jr_dequeue()
248 hw_idx)); in caam_jr_dequeue()
/linux-6.3-rc2/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-6.3-rc2/drivers/clk/ingenic/
A Dcgu.c338 u8 i, hw_idx, idx = 0; in ingenic_clk_get_parent() local
342 hw_idx = (reg >> clk_info->mux.shift) & in ingenic_clk_get_parent()
349 for (i = 0; i < hw_idx; i++) { in ingenic_clk_get_parent()
364 u8 curr_idx, hw_idx, num_poss; in ingenic_clk_set_parent() local
374 hw_idx = curr_idx = 0; in ingenic_clk_set_parent()
376 for (; hw_idx < num_poss; hw_idx++) { in ingenic_clk_set_parent()
377 if (clk_info->parents[hw_idx] == -1) in ingenic_clk_set_parent()
395 reg |= hw_idx << clk_info->mux.shift; in ingenic_clk_set_parent()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dpmu_intel.c782 int bit, hw_idx; in intel_pmu_cross_mapped_check() local
796 hw_idx = pmc->perf_event->hw.idx; in intel_pmu_cross_mapped_check()
797 if (hw_idx != pmc->idx && hw_idx > -1) in intel_pmu_cross_mapped_check()
798 pmu->host_cross_mapped_mask |= BIT_ULL(hw_idx); in intel_pmu_cross_mapped_check()
/linux-6.3-rc2/drivers/net/wireless/ti/wl12xx/
A Dwl12xx.h96 u8 hw_idx; member
/linux-6.3-rc2/tools/perf/util/
A Dbranch.h49 u64 hw_idx; member
A Dmachine.c2632 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr()
2634 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr()
2635 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc.h184 int hw_idx = i; in enetc_rxbd() local
188 hw_idx = 2 * i; in enetc_rxbd()
190 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c1871 int ret, i, hw_idx = 0; in dr_actions_convert_modify_header() local
1934 if ((hw_idx % 2) && (hw_field == hw_dst_action_info->hw_field || in dr_actions_convert_modify_header()
1940 hw_idx++; in dr_actions_convert_modify_header()
1941 if (hw_idx >= max_hw_actions) { in dr_actions_convert_modify_header()
1948 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()
1949 hw_idx++; in dr_actions_convert_modify_header()
1953 if (!hw_idx) in dr_actions_convert_modify_header()
1954 hw_idx++; in dr_actions_convert_modify_header()
1956 *num_hw_actions = hw_idx; in dr_actions_convert_modify_header()
/linux-6.3-rc2/arch/x86/events/intel/
A Dlbr.c735 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32()
830 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64()
1193 cpuc->lbr_stack.hw_idx = -1ULL; in intel_pmu_store_pebs_lbrs()
1195 cpuc->lbr_stack.hw_idx = intel_pmu_lbr_tos(); in intel_pmu_store_pebs_lbrs()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7603/
A Dbeacon.c34 dev->mphy.q_tx[MT_TXQ_CAB]->hw_idx) | in mt7603_update_beacon_iter()
/linux-6.3-rc2/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.c876 mt76u_fill_bulk_urb(dev, USB_DIR_OUT, q2ep(q->hw_idx), in mt76u_tx_queue_skb()
946 q->hw_idx = mt76u_ac_to_hwq(dev, i); in mt76u_alloc_tx()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dcnic.h187 u16 (*hw_idx)(u16); member
/linux-6.3-rc2/arch/x86/events/amd/
A Dlbr.c215 cpuc->lbr_stack.hw_idx = 0; in amd_pmu_lbr_read()
/linux-6.3-rc2/tools/perf/tests/
A Dsample-parsing.c117 COMP(branch_stack->hw_idx); in samples_same()
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/
A Datl1.h606 u16 hw_idx; /* hardware index */ member
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmt7615.h457 return MT_INT_TX_DONE(dev->mt76.q_mcu[MT_MCUQ_WM]->hw_idx); in mt7615_tx_mcu_int_mask()

Completed in 49 milliseconds

12