Home
last modified time | relevance | path

Searched refs:pcdev (Results 1 – 10 of 10) sorted by relevance

/drivers/media/platform/
Dpxa_camera.c789 static struct device *pcdev_to_dev(struct pxa_camera_dev *pcdev) in pcdev_to_dev() argument
791 return pcdev->v4l2_dev.dev; in pcdev_to_dev()
799 static void pxa_camera_dma_irq(struct pxa_camera_dev *pcdev,
804 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_y() local
806 pxa_camera_dma_irq(pcdev, DMA_Y); in pxa_camera_dma_irq_y()
811 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_u() local
813 pxa_camera_dma_irq(pcdev, DMA_U); in pxa_camera_dma_irq_u()
818 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_v() local
820 pxa_camera_dma_irq(pcdev, DMA_V); in pxa_camera_dma_irq_v()
835 static int pxa_init_dma_channel(struct pxa_camera_dev *pcdev, in pxa_init_dma_channel() argument
[all …]
Dmx2_emmaprp.c244 struct emmaprp_dev *pcdev = ctx->dev; in emmaprp_job_abort() local
248 dprintk(pcdev, "Aborting task\n"); in emmaprp_job_abort()
250 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->m2m_ctx); in emmaprp_job_abort()
256 struct emmaprp_dev *pcdev = ctx->dev; in emmaprp_lock() local
257 mutex_lock(&pcdev->dev_mutex); in emmaprp_lock()
263 struct emmaprp_dev *pcdev = ctx->dev; in emmaprp_unlock() local
264 mutex_unlock(&pcdev->dev_mutex); in emmaprp_unlock()
267 static inline void emmaprp_dump_regs(struct emmaprp_dev *pcdev) in emmaprp_dump_regs() argument
269 dprintk(pcdev, in emmaprp_dump_regs()
278 readl(pcdev->base_emma + PRP_SOURCE_Y_PTR), in emmaprp_dump_regs()
[all …]
Dm2m-deinterlace.c158 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_job_ready() local
163 dprintk(pcdev, "Task ready\n"); in deinterlace_job_ready()
167 dprintk(pcdev, "Task not ready to run\n"); in deinterlace_job_ready()
175 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_job_abort() local
179 dprintk(pcdev, "Aborting task\n"); in deinterlace_job_abort()
181 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->m2m_ctx); in deinterlace_job_abort()
187 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_lock() local
188 mutex_lock(&pcdev->dev_mutex); in deinterlace_lock()
194 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_unlock() local
195 mutex_unlock(&pcdev->dev_mutex); in deinterlace_unlock()
[all …]
/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c164 static int sh_mobile_ceu_soft_reset(struct sh_mobile_ceu_dev *pcdev) in sh_mobile_ceu_soft_reset() argument
168 ceu_write(pcdev, CAPSR, 1 << 16); /* reset */ in sh_mobile_ceu_soft_reset()
172 if (!(ceu_read(pcdev, CSTSR) & 1)) { in sh_mobile_ceu_soft_reset()
181 if (!(ceu_read(pcdev, CAPSR) & (1 << 16))) { in sh_mobile_ceu_soft_reset()
189 dev_warn(pcdev->ici.v4l2_dev.dev, "soft reset time out\n"); in sh_mobile_ceu_soft_reset()
211 struct sh_mobile_ceu_dev *pcdev = ici->priv; in sh_mobile_ceu_videobuf_setup() local
214 pcdev->sequence = 0; in sh_mobile_ceu_videobuf_setup()
226 if (pcdev->video_limit) { in sh_mobile_ceu_videobuf_setup()
229 if (size + pcdev->buf_total > pcdev->video_limit) in sh_mobile_ceu_videobuf_setup()
230 *count = (pcdev->video_limit - pcdev->buf_total) / in sh_mobile_ceu_videobuf_setup()
[all …]
/drivers/amba/
Dbus.c45 struct amba_device *pcdev = to_amba_device(dev); in amba_match() local
49 if (pcdev->driver_override) in amba_match()
50 return !strcmp(pcdev->driver_override, drv->name); in amba_match()
52 return amba_lookup(pcdrv->id_table, pcdev) != NULL; in amba_match()
57 struct amba_device *pcdev = to_amba_device(dev); in amba_uevent() local
60 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); in amba_uevent()
64 retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); in amba_uevent()
144 struct amba_device *pcdev = to_amba_device(dev); in amba_pm_runtime_suspend() local
149 clk_disable(pcdev->pclk); in amba_pm_runtime_suspend()
151 clk_disable_unprepare(pcdev->pclk); in amba_pm_runtime_suspend()
[all …]
/drivers/pinctrl/meson/
Dpinctrl-meson.c109 static int meson_get_groups_count(struct pinctrl_dev *pcdev) in meson_get_groups_count() argument
111 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count()
116 static const char *meson_get_group_name(struct pinctrl_dev *pcdev, in meson_get_group_name() argument
119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name()
124 static int meson_get_group_pins(struct pinctrl_dev *pcdev, unsigned selector, in meson_get_group_pins() argument
127 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins()
135 static void meson_pin_dbg_show(struct pinctrl_dev *pcdev, struct seq_file *s, in meson_pin_dbg_show() argument
138 seq_printf(s, " %s", dev_name(pcdev->dev)); in meson_pin_dbg_show()
183 static int meson_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson_pmx_set_mux() argument
186 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_set_mux()
[all …]
Dpinctrl-meson.h113 struct pinctrl_dev *pcdev; member
/drivers/pinctrl/
Dpinctrl-digicolor.c147 static int dc_pmx_request_gpio(struct pinctrl_dev *pcdev, in dc_pmx_request_gpio() argument
151 struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pcdev); in dc_pmx_request_gpio()
/drivers/dma/
Dpl330.c2793 struct amba_device *pcdev = to_amba_device(dev); in pl330_suspend() local
2799 amba_pclk_disable(pcdev); in pl330_suspend()
2801 amba_pclk_unprepare(pcdev); in pl330_suspend()
2808 struct amba_device *pcdev = to_amba_device(dev); in pl330_resume() local
2811 ret = amba_pclk_prepare(pcdev); in pl330_resume()
2816 ret = amba_pclk_enable(pcdev); in pl330_resume()
/drivers/media/platform/coda/
Dcoda-common.c1071 struct coda_dev *pcdev = ctx->dev; in coda_lock() local
1073 mutex_lock(&pcdev->dev_mutex); in coda_lock()
1079 struct coda_dev *pcdev = ctx->dev; in coda_unlock() local
1081 mutex_unlock(&pcdev->dev_mutex); in coda_unlock()