/Linux-v6.6/drivers/media/platform/intel/ |
D | pxa_camera.c | 773 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 …]
|
/Linux-v6.6/drivers/net/pse-pd/ |
D | pse_core.c | 24 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 …]
|
D | pse_regulator.c | 16 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 …]
|
/Linux-v6.6/drivers/media/platform/nxp/ |
D | mx2_emmaprp.c | 237 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 …]
|
/Linux-v6.6/drivers/amba/ |
D | bus.c | 62 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 …]
|
/Linux-v6.6/drivers/media/platform/ |
D | m2m-deinterlace.c | 151 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 …]
|
/Linux-v6.6/drivers/pinctrl/ |
D | pinctrl-loongson2.c | 44 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 177 static int loongson2_get_group_pins(struct pinctrl_dev *pcdev, unsigned int selector, in loongson2_get_group_pins() argument 186 static void loongson2_pin_dbg_show(struct pinctrl_dev *pcdev, struct seq_file *s, in loongson2_pin_dbg_show() argument 189 seq_printf(s, " %s", dev_name(pcdev->dev)); in loongson2_pin_dbg_show() 201 static int loongson2_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned int func_num, in loongson2_pmx_set_mux() argument 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 [all …]
|
D | pinctrl-digicolor.c | 143 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-v6.6/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 108 static int meson_get_groups_count(struct pinctrl_dev *pcdev) in meson_get_groups_count() argument 110 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count() 115 static const char *meson_get_group_name(struct pinctrl_dev *pcdev, in meson_get_group_name() argument 118 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name() 123 static int meson_get_group_pins(struct pinctrl_dev *pcdev, unsigned selector, in meson_get_group_pins() argument 126 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins() 134 static void meson_pin_dbg_show(struct pinctrl_dev *pcdev, struct seq_file *s, in meson_pin_dbg_show() argument 137 seq_printf(s, " %s", dev_name(pcdev->dev)); in meson_pin_dbg_show() 149 int meson_pmx_get_funcs_count(struct pinctrl_dev *pcdev) in meson_pmx_get_funcs_count() argument 151 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count() [all …]
|
D | pinctrl-meson8-pmx.c | 56 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()
|
D | pinctrl-meson-axg-pmx.c | 79 static int meson_axg_pmx_set_mux(struct pinctrl_dev *pcdev, in meson_axg_pmx_set_mux() argument 84 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_set_mux() 103 static int meson_axg_pmx_request_gpio(struct pinctrl_dev *pcdev, in meson_axg_pmx_request_gpio() argument 106 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_axg_pmx_request_gpio()
|
D | pinctrl-meson.h | 127 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-v6.6/include/linux/pse-pd/ |
D | pse.h | 45 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-v6.6/Documentation/driver-api/media/drivers/ |
D | pxa_camera.rst | 185 pcdev->capture list. If that's the case, the capture will be restarted,
|
/Linux-v6.6/drivers/dma/ |
D | pl330.c | 2978 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()
|