Home
last modified time | relevance | path

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

/drivers/media/platform/intel/
Dpxa_camera.c773 static struct device *pcdev_to_dev(struct pxa_camera_dev *pcdev) in pcdev_to_dev() argument
775 return pcdev->v4l2_dev.dev; in pcdev_to_dev()
783 static void pxa_camera_dma_irq(struct pxa_camera_dev *pcdev,
788 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_y() local
790 pxa_camera_dma_irq(pcdev, DMA_Y); in pxa_camera_dma_irq_y()
795 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_u() local
797 pxa_camera_dma_irq(pcdev, DMA_U); in pxa_camera_dma_irq_u()
802 struct pxa_camera_dev *pcdev = data; in pxa_camera_dma_irq_v() local
804 pxa_camera_dma_irq(pcdev, DMA_V); in pxa_camera_dma_irq_v()
819 static int pxa_init_dma_channel(struct pxa_camera_dev *pcdev, in pxa_init_dma_channel() argument
[all …]
/drivers/net/pse-pd/
Dpse_core.c24 struct pse_controller_dev *pcdev; member
39 static int of_pse_zero_xlate(struct pse_controller_dev *pcdev, in of_pse_zero_xlate() argument
55 static int of_pse_simple_xlate(struct pse_controller_dev *pcdev, in of_pse_simple_xlate() argument
58 if (pse_spec->args[0] >= pcdev->nr_lines) in of_pse_simple_xlate()
68 int pse_controller_register(struct pse_controller_dev *pcdev) in pse_controller_register() argument
70 if (!pcdev->of_xlate) { in pse_controller_register()
71 if (pcdev->of_pse_n_cells == 0) in pse_controller_register()
72 pcdev->of_xlate = of_pse_zero_xlate; in pse_controller_register()
73 else if (pcdev->of_pse_n_cells == 1) in pse_controller_register()
74 pcdev->of_xlate = of_pse_simple_xlate; in pse_controller_register()
[all …]
Dpse_regulator.c16 struct pse_controller_dev pcdev; member
21 static struct pse_reg_priv *to_pse_reg(struct pse_controller_dev *pcdev) in to_pse_reg() argument
23 return container_of(pcdev, struct pse_reg_priv, pcdev); in to_pse_reg()
27 pse_reg_ethtool_set_config(struct pse_controller_dev *pcdev, unsigned long id, in pse_reg_ethtool_set_config() argument
31 struct pse_reg_priv *priv = to_pse_reg(pcdev); in pse_reg_ethtool_set_config()
45 dev_err(pcdev->dev, "Unknown admin state %i\n", in pse_reg_ethtool_set_config()
59 pse_reg_ethtool_get_status(struct pse_controller_dev *pcdev, unsigned long id, in pse_reg_ethtool_get_status() argument
63 struct pse_reg_priv *priv = to_pse_reg(pcdev); in pse_reg_ethtool_get_status()
116 priv->pcdev.owner = THIS_MODULE; in pse_reg_probe()
117 priv->pcdev.ops = &pse_reg_ops; in pse_reg_probe()
[all …]
/drivers/media/platform/nxp/
Dmx2_emmaprp.c237 struct emmaprp_dev *pcdev = ctx->dev; in emmaprp_job_abort() local
241 dprintk(pcdev, "Aborting task\n"); in emmaprp_job_abort()
243 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in emmaprp_job_abort()
246 static inline void emmaprp_dump_regs(struct emmaprp_dev *pcdev) in emmaprp_dump_regs() argument
248 dprintk(pcdev, in emmaprp_dump_regs()
257 readl(pcdev->base_emma + PRP_SOURCE_Y_PTR), in emmaprp_dump_regs()
258 readl(pcdev->base_emma + PRP_SRC_FRAME_SIZE), in emmaprp_dump_regs()
259 readl(pcdev->base_emma + PRP_DEST_Y_PTR), in emmaprp_dump_regs()
260 readl(pcdev->base_emma + PRP_DEST_CR_PTR), in emmaprp_dump_regs()
261 readl(pcdev->base_emma + PRP_DEST_CB_PTR), in emmaprp_dump_regs()
[all …]
/drivers/amba/
Dbus.c62 static int amba_get_enable_pclk(struct amba_device *pcdev) in amba_get_enable_pclk() argument
66 pcdev->pclk = clk_get(&pcdev->dev, "apb_pclk"); in amba_get_enable_pclk()
67 if (IS_ERR(pcdev->pclk)) in amba_get_enable_pclk()
68 return PTR_ERR(pcdev->pclk); in amba_get_enable_pclk()
70 ret = clk_prepare_enable(pcdev->pclk); in amba_get_enable_pclk()
72 clk_put(pcdev->pclk); in amba_get_enable_pclk()
77 static void amba_put_disable_pclk(struct amba_device *pcdev) in amba_put_disable_pclk() argument
79 clk_disable_unprepare(pcdev->pclk); in amba_put_disable_pclk()
80 clk_put(pcdev->pclk); in amba_put_disable_pclk()
209 struct amba_device *pcdev = to_amba_device(dev); in amba_match() local
[all …]
/drivers/media/platform/
Dm2m-deinterlace.c151 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_job_ready() local
156 dprintk(pcdev, "Task ready\n"); in deinterlace_job_ready()
160 dprintk(pcdev, "Task not ready to run\n"); in deinterlace_job_ready()
168 struct deinterlace_dev *pcdev = ctx->dev; in deinterlace_job_abort() local
172 dprintk(pcdev, "Aborting task\n"); in deinterlace_job_abort()
174 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_job_abort()
180 struct deinterlace_dev *pcdev = curr_ctx->dev; in dma_callback() local
183 atomic_set(&pcdev->busy, 0); in dma_callback()
197 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in dma_callback()
199 dprintk(pcdev, "dma transfers completed.\n"); in dma_callback()
[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()
150 int meson_pmx_get_funcs_count(struct pinctrl_dev *pcdev) in meson_pmx_get_funcs_count() argument
152 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count()
[all …]
Dpinctrl-meson8-pmx.c56 static int meson8_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson8_pmx_set_mux() argument
59 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson8_pmx_set_mux()
85 static int meson8_pmx_request_gpio(struct pinctrl_dev *pcdev, in meson8_pmx_request_gpio() argument
89 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson8_pmx_request_gpio()
Dpinctrl-meson-axg-pmx.c80 static int meson_axg_pmx_set_mux(struct pinctrl_dev *pcdev, in meson_axg_pmx_set_mux() argument
85 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_set_mux()
104 static int meson_axg_pmx_request_gpio(struct pinctrl_dev *pcdev, in meson_axg_pmx_request_gpio() argument
107 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_request_gpio()
Dpinctrl-meson.h127 struct pinctrl_dev *pcdev; member
170 int meson_pmx_get_funcs_count(struct pinctrl_dev *pcdev);
171 const char *meson_pmx_get_func_name(struct pinctrl_dev *pcdev,
173 int meson_pmx_get_groups(struct pinctrl_dev *pcdev,
/drivers/pinctrl/
Dpinctrl-digicolor.c142 static int dc_pmx_request_gpio(struct pinctrl_dev *pcdev, in dc_pmx_request_gpio() argument
146 struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pcdev); in dc_pmx_request_gpio()
/drivers/dma/
Dpl330.c2978 struct amba_device *pcdev = to_amba_device(dev); in pl330_suspend() local
2981 clk_unprepare(pcdev->pclk); in pl330_suspend()
2988 struct amba_device *pcdev = to_amba_device(dev); in pl330_resume() local
2991 ret = clk_prepare(pcdev->pclk); in pl330_resume()