| /Linux-v6.6/drivers/media/platform/nxp/imx8-isi/ |
| D | imx8-isi-pipe.c | 40 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 45 .pads = BIT(MXC_ISI_PIPE_PAD_SOURCE), 52 .pads = BIT(MXC_ISI_PIPE_PAD_SINK), 57 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 65 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 71 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 77 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 83 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 89 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) 95 .pads = BIT(MXC_ISI_PIPE_PAD_SINK) [all …]
|
| D | imx8-isi-crossbar.c | 162 pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]); in mxc_isi_crossbar_xlate_streams() 260 media_pad_is_streaming(&xbar->pads[fmt->pad])) in mxc_isi_crossbar_set_fmt() 456 xbar->pads = kcalloc(num_pads, sizeof(*xbar->pads), GFP_KERNEL); in mxc_isi_crossbar_init() 457 if (!xbar->pads) in mxc_isi_crossbar_init() 468 xbar->pads[i].flags = MEDIA_PAD_FL_SINK; in mxc_isi_crossbar_init() 470 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init() 472 ret = media_entity_pads_init(&sd->entity, num_pads, xbar->pads); in mxc_isi_crossbar_init() 485 kfree(xbar->pads); in mxc_isi_crossbar_init() 494 kfree(xbar->pads); in mxc_isi_crossbar_cleanup()
|
| /Linux-v6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra234-p3740-0002.dtsi | 77 pads { 168 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 169 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 176 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 177 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 178 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 179 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 180 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 181 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, 182 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
| D | tegra234-p3768-0000.dtsi | 44 pads { 119 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 120 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 127 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 128 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 129 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 130 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 131 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
|
| D | tegra234-p3737-0000+p3701-0000.dts | 50 pads { 154 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 155 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 162 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 163 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 164 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 165 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 166 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 167 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, 168 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
| /Linux-v6.6/Documentation/userspace-api/media/mediactl/ |
| D | media-ioc-enum-links.rst | 13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity 34 To enumerate pads and/or links for a given entity, applications set the 39 the ``pads`` and ``links`` fields. They then call the 42 If the ``pads`` field is not NULL, the driver fills the ``pads`` array 43 with information about the entity's pads. The array must have enough 44 room to store all the entity's pads. The number of pads can be retrieved 52 Only forward links that originate at one of the entity's source pads are 69 - \*\ ``pads`` 70 - Pointer to a pads array allocated by the application. Ignored if
|
| /Linux-v6.6/drivers/staging/media/atomisp/pci/ |
| D | atomisp_tpg.c | 50 sd_state->pads->try_fmt = *fmt; in tpg_set_fmt() 144 struct media_pad *pads = tpg->pads; in atomisp_tpg_init() local 154 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_tpg_init() 157 ret = media_entity_pads_init(me, 1, pads); in atomisp_tpg_init()
|
| D | atomisp_csi2.c | 192 struct media_pad *pads = csi2->pads; in mipi_csi2_init_entities() local 202 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in mipi_csi2_init_entities() 203 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in mipi_csi2_init_entities() 207 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); in mipi_csi2_init_entities()
|
| /Linux-v6.6/drivers/media/mc/ |
| D | mc-entity.c | 158 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create() 195 struct media_pad *pads) in media_entity_pads_init() argument 205 entity->pads = pads; in media_entity_pads_init() 259 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep() 565 list_for_each_entry(ppad, &pipe->pads, list) { in media_pipeline_add_pad() 581 list_add_tail(&ppad->list, &pipe->pads); in media_pipeline_add_pad() 654 while (!list_empty(&pipe->pads)) { in media_pipeline_cleanup() 657 ppad = list_first_entry(&pipe->pads, typeof(*ppad), list); in media_pipeline_cleanup() 674 INIT_LIST_HEAD(&pipe->pads); in media_pipeline_populate() 699 list_for_each_entry(ppad, &pipe->pads, list) in media_pipeline_populate() [all …]
|
| /Linux-v6.6/drivers/gpu/host1x/ |
| D | mipi.c | 96 const struct tegra_mipi_pad *pads; member 133 unsigned long pads; member 242 dev->pads = args.args[0]; in tegra_mipi_request() 341 if (device->pads & BIT(i)) { in tegra_mipi_start_calibration() 351 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); in tegra_mipi_start_calibration() 353 if (soc->has_clk_lane && soc->pads[i].clk != 0) in tegra_mipi_start_calibration() 354 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); in tegra_mipi_start_calibration() 403 .pads = tegra114_mipi_pads, 430 .pads = tegra124_mipi_pads, 447 .pads = tegra124_mipi_pads, [all …]
|
| /Linux-v6.6/Documentation/userspace-api/media/v4l/ |
| D | dev-subdev.rst | 18 and discover the hardware topology using the media entities, pads and 30 - negotiate image formats on individual pads 32 - inspect and modify internal data routing between pads of the same entity 133 whole pipeline and making sure that connected pads have compatible 147 Acceptable formats on pads can (and usually do) depend on a number of 148 external parameters, such as formats on other pads, active links, or 149 even controls. Finding a combination of formats on all pads in a video 182 (as long as external parameters, such as formats on other pads or links' 186 or active format is set on a pad, corresponding formats on other pads of 191 - Formats should be propagated from sink pads to source pads. Modifying [all …]
|
| /Linux-v6.6/drivers/media/dvb-core/ |
| D | dvbdev.c | 206 kfree(dvbdev->pads); in dvb_media_device_free() 208 dvbdev->pads = NULL; in dvb_media_device_free() 260 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local 269 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity() 271 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity() 331 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity() 333 if (!dvbdev->pads) { in dvb_create_media_entity() 343 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 344 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity() 348 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() [all …]
|
| /Linux-v6.6/drivers/input/joystick/ |
| D | gamecon.c | 72 struct gc_pad pads[GC_MAX_DEVICES]; member 213 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet() 216 dev = gc->pads[i].dev; in gc_n64_process_packet() 370 pad = &gc->pads[i]; in gc_nes_process_packet() 478 pad = &gc->pads[i]; in gc_multi_process_packet() 562 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() 601 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet() 717 pad = &gc->pads[i]; in gc_psx_process_packet() 799 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad() 925 int *pads, n_pads; in gc_attach() local [all …]
|
| /Linux-v6.6/drivers/media/platform/ |
| D | video-mux.c | 26 struct media_pad *pads; member 128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]); in video_mux_s_stream() 154 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format() 431 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe() 433 if (!vmux->pads) in video_mux_probe() 437 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe() 442 vmux->pads); in video_mux_probe()
|
| /Linux-v6.6/drivers/media/platform/rockchip/rkisp1/ |
| D | rkisp1-csi.c | 39 .pads = csi->pad_cfg in rkisp1_csi_get_pad_fmt() 463 struct media_pad *pads; in rkisp1_csi_register() local 478 pads = csi->pads; in rkisp1_csi_register() 479 pads[RKISP1_CSI_PAD_SINK].flags = MEDIA_PAD_FL_SINK | in rkisp1_csi_register() 481 pads[RKISP1_CSI_PAD_SRC].flags = MEDIA_PAD_FL_SOURCE | in rkisp1_csi_register() 486 ret = media_entity_pads_init(&sd->entity, RKISP1_CSI_PAD_NUM, pads); in rkisp1_csi_register() 490 state.pads = csi->pad_cfg; in rkisp1_csi_register()
|
| /Linux-v6.6/drivers/pinctrl/actions/ |
| D | pinctrl-owl.h | 21 .pads = group_name##_pads, \ 39 .pads = group_name##_pads, \ 55 .pads = group_name##_pads, \ 210 unsigned int *pads; member
|
| /Linux-v6.6/drivers/pinctrl/mediatek/ |
| D | pinctrl-mtmips.c | 32 struct pinctrl_pin_desc *pads; member 282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins() 284 if (!p->pads || !p->gpio) in mtmips_pinctrl_pins() 307 p->pads[i].number = i; in mtmips_pinctrl_pins() 308 p->pads[i].name = name; in mtmips_pinctrl_pins() 310 p->desc->pins = p->pads; in mtmips_pinctrl_pins()
|
| /Linux-v6.6/drivers/media/dvb-frontends/ |
| D | au8522_decoder.c | 711 state->pads[AU8522_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK; in au8522_probe() 712 state->pads[AU8522_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG; in au8522_probe() 713 state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe() 714 state->pads[AU8522_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV; in au8522_probe() 715 state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe() 716 state->pads[AU8522_PAD_AUDIO_OUT].sig_type = PAD_SIGNAL_AUDIO; in au8522_probe() 719 ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads), in au8522_probe() 720 state->pads); in au8522_probe()
|
| /Linux-v6.6/drivers/media/platform/samsung/exynos4-is/ |
| D | common.c | 19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor() 34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
|
| /Linux-v6.6/drivers/staging/media/sunxi/sun6i-isp/ |
| D | sun6i_isp_proc.c | 171 struct media_pad *local_pad = &proc->pads[SUN6I_ISP_PROC_PAD_SINK_CSI]; in sun6i_isp_proc_s_stream() 496 struct media_pad *pads = proc->pads; in sun6i_isp_proc_setup() local 518 pads[SUN6I_ISP_PROC_PAD_SINK_CSI].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup() 520 pads[SUN6I_ISP_PROC_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup() 522 pads[SUN6I_ISP_PROC_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in sun6i_isp_proc_setup() 525 pads); in sun6i_isp_proc_setup()
|
| /Linux-v6.6/drivers/media/usb/uvc/ |
| D | uvc_entity.c | 36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links() 117 entity->num_pads, entity->pads); in uvc_mc_init_entity() 126 entity->num_pads, entity->pads); in uvc_mc_init_entity()
|
| /Linux-v6.6/drivers/media/i2c/ |
| D | ov6650.c | 479 rect = &sd_state->pads->try_crop; in ov6650_get_selection() 534 struct v4l2_rect *crop = &sd_state->pads->try_crop; in ov6650_set_selection() 535 struct v4l2_mbus_framefmt *mf = &sd_state->pads->try_fmt; in ov6650_set_selection() 591 mf->width = sd_state->pads->try_fmt.width; in ov6650_get_fmt() 592 mf->height = sd_state->pads->try_fmt.height; in ov6650_get_fmt() 593 mf->code = sd_state->pads->try_fmt.code; in ov6650_get_fmt() 720 crop = &sd_state->pads->try_crop; in ov6650_set_fmt() 728 sd_state->pads->try_fmt.width = crop->width >> half_scale; in ov6650_set_fmt() 729 sd_state->pads->try_fmt.height = crop->height >> half_scale; in ov6650_set_fmt() 730 sd_state->pads->try_fmt.code = mf->code; in ov6650_set_fmt() [all …]
|
| /Linux-v6.6/drivers/media/i2c/adv748x/ |
| D | adv748x-csi2.c | 124 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream() 306 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init() 307 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init() 310 tx->pads); in adv748x_csi2_init()
|
| /Linux-v6.6/drivers/staging/media/tegra-video/ |
| D | vip.c | 44 remote_pad = media_pad_remote_pad_first(&chan->pads[TEGRA_VIP_PAD_SINK]); in tegra_vip_channel_get_prev_subdev() 148 vip->chan.pads[TEGRA_VIP_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in tegra_vip_channel_of_parse() 149 vip->chan.pads[TEGRA_VIP_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in tegra_vip_channel_of_parse() 173 err = media_entity_pads_init(&subdev->entity, TEGRA_VIP_PADS_NUM, vip->chan.pads); in tegra_vip_channel_init()
|
| /Linux-v6.6/Documentation/admin-guide/media/ |
| D | imx7.rst | 47 This is the video multiplexer. It has two sink pads to select from either camera 88 # Configure pads for pipeline 113 - entity 1: csi (2 pads, 2 links) 129 - entity 10: csi-mux (3 pads, 2 links) 141 - entity 14: imx7-mipi-csis.0 (2 pads, 2 links) 171 # Configure pads for pipeline 195 - entity 1: csi (2 pads, 2 links)
|