Searched refs:main_dev (Results 1 – 4 of 4) sorted by relevance
71 ctx = mtk_vcodec_get_curr_ctx(dev->main_dev, dev->hw_idx); in mtk_vdec_hw_irq_handler()123 struct mtk_vcodec_dev *main_dev; in mtk_vdec_hw_probe() local133 main_dev = dev_get_drvdata(dev->parent); in mtk_vdec_hw_probe()134 if (!main_dev) { in mtk_vdec_hw_probe()163 main_dev->subdev_dev[hw_idx] = subdev_dev; in mtk_vdec_hw_probe()165 subdev_dev->main_dev = main_dev; in mtk_vdec_hw_probe()166 subdev_dev->reg_base[VDEC_HW_SYS] = main_dev->reg_base[VDEC_HW_SYS]; in mtk_vdec_hw_probe()167 set_bit(subdev_dev->hw_idx, main_dev->subdev_bitmap); in mtk_vdec_hw_probe()180 if (!main_dev->subdev_prob_done) in mtk_vdec_hw_probe()181 main_dev->subdev_prob_done = mtk_vdec_hw_prob_done; in mtk_vdec_hw_probe()
46 struct mtk_vcodec_dev *main_dev; member
644 struct mlxreg_hotplug_device *main_dev, *aux_dev; in mlxreg_lc_completion_notify() local662 main_dev = mlxreg_lc->main_devs; in mlxreg_lc_completion_notify()663 for (i = 0; i < mlxreg_lc->main_devs_num; i++, main_dev++) { in mlxreg_lc_completion_notify()664 main_dev->adapter = adapters[main_dev->nr]; in mlxreg_lc_completion_notify()665 main_dev->nr = adapters[main_dev->nr]->nr; in mlxreg_lc_completion_notify()
454 static void altera_hw_filt_release(void *main_dev, int filt_nr) in altera_hw_filt_release() argument456 struct fpga_inode *temp_int = find_inode(main_dev); in altera_hw_filt_release()