/linux-5.19.10/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec_pm.c | 111 static void mtk_vcodec_dec_enable_irq(struct mtk_vcodec_dev *vdec_dev, int hw_idx) in mtk_vcodec_dec_enable_irq() argument 115 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) in mtk_vcodec_dec_enable_irq() 119 subdev_dev = mtk_vcodec_get_hw_dev(vdec_dev, hw_idx); in mtk_vcodec_dec_enable_irq() 129 static void mtk_vcodec_dec_disable_irq(struct mtk_vcodec_dev *vdec_dev, int hw_idx) in mtk_vcodec_dec_disable_irq() argument 133 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) in mtk_vcodec_dec_disable_irq() 137 subdev_dev = mtk_vcodec_get_hw_dev(vdec_dev, hw_idx); in mtk_vcodec_dec_disable_irq() 148 int hw_idx) in mtk_vcodec_dec_get_pm() argument 152 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) in mtk_vcodec_dec_get_pm() 156 subdev_dev = mtk_vcodec_get_hw_dev(vdec_dev, hw_idx); in mtk_vcodec_dec_get_pm() 168 int hw_idx) in mtk_vcodec_dec_child_dev_on() argument [all …]
|
D | mtk_vcodec_dec_hw.c | 39 enum mtk_vdec_hw_id hw_idx; in mtk_vdec_hw_prob_done() local 52 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_prob_done() 53 if (!test_bit(hw_idx, vdec_dev->subdev_bitmap)) { in mtk_vdec_hw_prob_done() 54 dev_err(&pdev->dev, "vdec %d is not ready", hw_idx); in mtk_vdec_hw_prob_done() 71 ctx = mtk_vcodec_get_curr_ctx(dev->main_dev, dev->hw_idx); in mtk_vdec_hw_irq_handler() 90 wake_up_ctx(ctx, MTK_INST_IRQ_RECEIVED, dev->hw_idx); in mtk_vdec_hw_irq_handler() 125 int hw_idx; in mtk_vdec_hw_probe() local 156 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_probe() 157 if (hw_idx >= MTK_VDEC_HW_MAX) { in mtk_vdec_hw_probe() 158 dev_err(dev, "Hardware index %d not correct.\n", hw_idx); in mtk_vdec_hw_probe() [all …]
|
D | mtk_vcodec_util.c | 77 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()
|
D | mtk_vcodec_util.h | 58 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);
|
D | mtk_vcodec_dec_pm.h | 14 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);
|
D | mtk_vcodec_dec_hw.h | 53 int hw_idx; member
|
/linux-5.19.10/drivers/crypto/caam/ |
D | regs.h | 220 static inline void jr_outentry_get(void *outring, int hw_idx, dma_addr_t *desc, in jr_outentry_get() argument 230 *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 [all …]
|
D | jr.c | 207 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-5.19.10/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 246 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-5.19.10/drivers/clk/ingenic/ |
D | cgu.c | 314 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-5.19.10/tools/perf/util/ |
D | branch.h | 48 u64 hw_idx; member
|
D | machine.c | 2626 cur_base = max_lbr - cur_stack->nr + cur_stack->hw_idx + 1; in has_stitched_lbr() 2628 distance = (prev_stack->hw_idx > cur_base) ? (prev_stack->hw_idx - cur_base) : in has_stitched_lbr() 2629 (max_lbr + prev_stack->hw_idx - cur_base); in has_stitched_lbr()
|
/linux-5.19.10/drivers/net/wireless/ti/wl12xx/ |
D | wl12xx.h | 96 u8 hw_idx; member
|
/linux-5.19.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 167 int hw_idx = i; in enetc_rxbd() local 171 hw_idx = 2 * i; in enetc_rxbd() 173 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 1600 int ret, i, hw_idx = 0; in dr_actions_convert_modify_header() local 1663 if ((hw_idx % 2) && (hw_field == hw_dst_action_info->hw_field || in dr_actions_convert_modify_header() 1669 hw_idx++; in dr_actions_convert_modify_header() 1670 if (hw_idx >= max_hw_actions) { in dr_actions_convert_modify_header() 1677 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header() 1678 hw_idx++; in dr_actions_convert_modify_header() 1682 if (!hw_idx) in dr_actions_convert_modify_header() 1683 hw_idx++; in dr_actions_convert_modify_header() 1685 *num_hw_actions = hw_idx; in dr_actions_convert_modify_header()
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 34 dev->mphy.q_tx[MT_TXQ_CAB]->hw_idx) | in mt7603_update_beacon_iter()
|
D | main.c | 538 queue = dev->mphy.q_tx[queue]->hw_idx; in mt7603_conf_tx()
|
/linux-5.19.10/arch/x86/events/intel/ |
D | lbr.c | 795 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_32() 890 cpuc->lbr_stack.hw_idx = tos; in intel_pmu_lbr_read_64() 1466 cpuc->lbr_stack.hw_idx = -1ULL; in intel_pmu_store_pebs_lbrs() 1468 cpuc->lbr_stack.hw_idx = intel_pmu_lbr_tos(); in intel_pmu_store_pebs_lbrs()
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_core.c | 70 int pid, len = tx_info->skb->len, ep = q2ep(dev->mphy.q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
|
D | usb.c | 869 mt76u_fill_bulk_urb(dev, USB_DIR_OUT, q2ep(q->hw_idx), in mt76u_tx_queue_skb() 939 q->hw_idx = mt76u_ac_to_hwq(dev, i); in mt76u_alloc_tx()
|
D | mt76x02_util.c | 496 qid = dev->mphy.q_tx[queue]->hw_idx; in mt76x02_conf_tx()
|
/linux-5.19.10/drivers/net/ethernet/broadcom/ |
D | cnic.h | 187 u16 (*hw_idx)(u16); member
|
/linux-5.19.10/tools/perf/tests/ |
D | sample-parsing.c | 112 COMP(branch_stack->hw_idx); in samples_same()
|
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/ |
D | atl1.h | 606 u16 hw_idx; /* hardware index */ member
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mt7615.h | 450 return MT_INT_TX_DONE(dev->mt76.q_mcu[MT_MCUQ_WM]->hw_idx); in mt7615_tx_mcu_int_mask()
|