Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/media/platform/intel/
A Dpxa_camera.c961 pcdev->active = list_entry(pcdev->capture.next, in pxa_camera_wakeup()
1136 recalculate_fifo_timeout(pcdev, pcdev->mclk); in pxa_camera_activate()
1163 pcdev->active = list_first_entry(&pcdev->capture, in pxa_camera_eof()
1873 is_busy = pcdev->active || vb2_is_busy(&pcdev->vb2_vq); in pxac_vidioc_s_fmt_vid_cap()
2066 pcdev->vdev.queue = &pcdev->vb2_vq; in pxa_camera_sensor_bound()
2067 pcdev->vdev.v4l2_dev = &pcdev->v4l2_dev; in pxa_camera_sensor_bound()
2069 video_set_drvdata(&pcdev->vdev, pcdev); in pxa_camera_sensor_bound()
2078 pcdev->current_fmt = pcdev->user_formats; in pxa_camera_sensor_bound()
2298 pcdev->platform_flags = pcdev->pdata->flags; in pxa_camera_probe()
2299 pcdev->mclk = pcdev->pdata->mclk_10khz * 10000; in pxa_camera_probe()
[all …]
/linux-6.3-rc2/drivers/net/pse-pd/
A Dpse_core.c70 if (!pcdev->of_xlate) { in pse_controller_register()
77 mutex_init(&pcdev->lock); in pse_controller_register()
95 list_del(&pcdev->list); in pse_controller_unregister()
131 *pcdevp = pcdev; in devm_pse_controller_register()
198 psec->pcdev = pcdev; in pse_control_get_internal()
223 pcdev = NULL; in of_pse_control_get()
226 pcdev = r; in of_pse_control_get()
231 if (!pcdev) { in of_pse_control_get()
241 psec_id = pcdev->of_xlate(pcdev, &args); in of_pse_control_get()
271 ops = psec->pcdev->ops; in pse_ethtool_get_status()
[all …]
A 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()
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()
118 priv->pcdev.dev = dev; in pse_reg_probe()
[all …]
/linux-6.3-rc2/drivers/media/platform/nxp/
A Dmx2_emmaprp.c248 dprintk(pcdev, in emmaprp_dump_regs()
293 v4l2_err(&pcdev->v4l2_dev, in emmaprp_device_run()
318 emmaprp_dump_regs(pcdev); in emmaprp_device_run()
325 pcdev->base_emma + PRP_CNTL); in emmaprp_device_run()
731 ctx->dev = pcdev; in emmaprp_open()
805 struct emmaprp_dev *pcdev; in emmaprp_probe() local
809 pcdev = devm_kzalloc(&pdev->dev, sizeof(*pcdev), GFP_KERNEL); in emmaprp_probe()
810 if (!pcdev) in emmaprp_probe()
825 if (IS_ERR(pcdev->base_emma)) in emmaprp_probe()
846 pcdev->vfd = vfd; in emmaprp_probe()
[all …]
/linux-6.3-rc2/drivers/amba/
A Dbus.c66 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()
72 clk_put(pcdev->pclk); in amba_get_enable_pclk()
80 clk_put(pcdev->pclk); in amba_put_disable_pclk()
213 if (!pcdev->periphid) { in amba_match()
232 if (pcdev->driver_override) in amba_match()
315 amba_put_disable_pclk(pcdev); in amba_probe()
329 drv->remove(pcdev); in amba_remove()
337 amba_put_disable_pclk(pcdev); in amba_remove()
[all …]
/linux-6.3-rc2/drivers/media/platform/
A Dm2m-deinterlace.c156 dprintk(pcdev, "Task ready\n"); in deinterlace_job_ready()
183 atomic_set(&pcdev->busy, 0); in dma_callback()
228 v4l2_err(&pcdev->v4l2_dev, in deinterlace_issue_dma()
341 v4l2_warn(&pcdev->v4l2_dev, in deinterlace_issue_dma()
852 ctx->dev = pcdev; in deinterlace_open()
926 pcdev = devm_kzalloc(&pdev->dev, sizeof(*pcdev), GFP_KERNEL); in deinterlace_probe()
927 if (!pcdev) in deinterlace_probe()
934 pcdev->dma_chan = dma_request_channel(mask, NULL, pcdev); in deinterlace_probe()
935 if (!pcdev->dma_chan) in deinterlace_probe()
948 atomic_set(&pcdev->busy, 0); in deinterlace_probe()
[all …]
/linux-6.3-rc2/drivers/pinctrl/
A Dpinctrl-loongson2.c44 struct pinctrl_dev *pcdev; member
166 static int loongson2_get_groups_count(struct pinctrl_dev *pcdev) in loongson2_get_groups_count() argument
171 static const char *loongson2_get_group_name(struct pinctrl_dev *pcdev, in loongson2_get_group_name() argument
189 seq_printf(s, " %s", dev_name(pcdev->dev)); in loongson2_pin_dbg_show()
204 struct loongson2_pinctrl *pctrl = pinctrl_dev_get_drvdata(pcdev); in loongson2_pmx_set_mux()
223 static int loongson2_pmx_get_funcs_count(struct pinctrl_dev *pcdev) in loongson2_pmx_get_funcs_count() argument
228 static const char *loongson2_pmx_get_func_name(struct pinctrl_dev *pcdev, in loongson2_pmx_get_func_name() argument
234 static int loongson2_pmx_get_groups(struct pinctrl_dev *pcdev, in loongson2_pmx_get_groups() argument
275 pctrl->pcdev = devm_pinctrl_register(pctrl->dev, &pctrl->desc, pctrl); in loongson2_pinctrl_probe()
276 if (IS_ERR(pctrl->pcdev)) in loongson2_pinctrl_probe()
[all …]
A Dpinctrl-digicolor.c143 static int dc_pmx_request_gpio(struct pinctrl_dev *pcdev, in dc_pmx_request_gpio() argument
147 struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pcdev); in dc_pmx_request_gpio()
/linux-6.3-rc2/drivers/pinctrl/meson/
A 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()
119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name()
127 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins()
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()
161 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name()
538 meson_pinconf_set(pcdev, group->pins[i], configs, in meson_pinconf_group_set()
762 if (IS_ERR(pc->pcdev)) { in meson_pinctrl_probe()
[all …]
A 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()
A 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()
A 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,
/linux-6.3-rc2/include/linux/pse-pd/
A Dpse.h45 int (*ethtool_get_status)(struct pse_controller_dev *pcdev,
48 int (*ethtool_set_config)(struct pse_controller_dev *pcdev,
79 int (*of_xlate)(struct pse_controller_dev *pcdev,
86 int pse_controller_register(struct pse_controller_dev *pcdev);
87 void pse_controller_unregister(struct pse_controller_dev *pcdev);
90 struct pse_controller_dev *pcdev);
/linux-6.3-rc2/Documentation/driver-api/media/drivers/
A Dpxa_camera.rst185 pcdev->capture list. If that's the case, the capture will be restarted,
/linux-6.3-rc2/drivers/dma/
A Dpl330.c2964 struct amba_device *pcdev = to_amba_device(dev); in pl330_suspend() local
2967 clk_unprepare(pcdev->pclk); in pl330_suspend()
2974 struct amba_device *pcdev = to_amba_device(dev); in pl330_resume() local
2977 ret = clk_prepare(pcdev->pclk); in pl330_resume()

Completed in 45 milliseconds