Home
last modified time | relevance | path

Searched refs:main_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_hw.c75 ctx = mtk_vcodec_get_curr_ctx(dev->main_dev, dev->hw_idx); in mtk_vdec_hw_irq_handler()
127 struct mtk_vcodec_dev *main_dev; in mtk_vdec_hw_probe() local
137 main_dev = dev_get_drvdata(dev->parent); in mtk_vdec_hw_probe()
138 if (!main_dev) { in mtk_vdec_hw_probe()
167 main_dev->subdev_dev[hw_idx] = subdev_dev; in mtk_vdec_hw_probe()
169 subdev_dev->main_dev = main_dev; in mtk_vdec_hw_probe()
170 subdev_dev->reg_base[VDEC_HW_SYS] = main_dev->reg_base[VDEC_HW_SYS]; in mtk_vdec_hw_probe()
171 set_bit(subdev_dev->hw_idx, main_dev->subdev_bitmap); in mtk_vdec_hw_probe()
186 if (!main_dev->subdev_prob_done) in mtk_vdec_hw_probe()
187 main_dev->subdev_prob_done = mtk_vdec_hw_prob_done; in mtk_vdec_hw_probe()
Dmtk_vcodec_dec_hw.h48 struct mtk_vcodec_dev *main_dev; member
/linux-6.1.9/drivers/platform/mellanox/
Dmlxreg-lc.c644 struct mlxreg_hotplug_device *main_dev, *aux_dev; in mlxreg_lc_completion_notify() local
662 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()
/linux-6.1.9/drivers/media/pci/cx23885/
Daltera-ci.c454 static void altera_hw_filt_release(void *main_dev, int filt_nr) in altera_hw_filt_release() argument
456 struct fpga_inode *temp_int = find_inode(main_dev); in altera_hw_filt_release()