| /linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-common.c | 19 struct media_pad *pads; in dcmipp_pads_init() local 23 pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); in dcmipp_pads_init() 24 if (!pads) in dcmipp_pads_init() 29 pads[i].index = i; in dcmipp_pads_init() 30 pads[i].flags = pads_flags[i]; in dcmipp_pads_init() 33 return pads; in dcmipp_pads_init() 55 ved->pads = dcmipp_pads_init(num_pads, pads_flag); in dcmipp_ent_sd_register() 56 if (IS_ERR(ved->pads)) in dcmipp_ent_sd_register() 57 return PTR_ERR(ved->pads); in dcmipp_ent_sd_register() 77 ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); in dcmipp_ent_sd_register() [all …]
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A 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/drivers/gpu/host1x/ |
| H A 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/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234-p3768-0000+p3767.dtsi | 63 pads { 138 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 139 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 146 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 147 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 148 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 149 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 150 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
|
| H A D | tegra234-p3740-0002+p3701-0008.dts | 126 pads { 213 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 214 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; 221 phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, 222 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, 223 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, 224 <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, 225 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, 226 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, 227 <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>;
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | dev-subdev.rst | 19 and discover the hardware topology using the media entities, pads and 31 - negotiate image formats on individual pads 33 - inspect and modify internal data routing between pads of the same entity 134 whole pipeline and making sure that connected pads have compatible 148 Acceptable formats on pads can (and usually do) depend on a number of 149 external parameters, such as formats on other pads, active links, or 150 even controls. Finding a combination of formats on all pads in a video 183 (as long as external parameters, such as formats on other pads or links' 187 or active format is set on a pad, corresponding formats on other pads of 192 - Formats should be propagated from sink pads to source pads. Modifying [all …]
|
| H A D | ext-ctrls-dv.rst | 20 Note that these devices can have multiple input or output pads which are 22 receive or transmit video from/to only one of those pads, the other pads 29 These pads appear in several of the controls in this section as 31 1, etc. The maximum value of the control is the set of valid pads.
|
| /linux/drivers/input/joystick/ |
| H A 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() 797 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad() 923 int *pads, n_pads; in gc_attach() local [all …]
|
| /linux/drivers/pinctrl/actions/ |
| H A 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/drivers/pinctrl/mediatek/ |
| H A 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/drivers/media/dvb-frontends/ |
| H A D | au8522_decoder.c | 712 state->pads[AU8522_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK; in au8522_probe() 713 state->pads[AU8522_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG; in au8522_probe() 714 state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe() 715 state->pads[AU8522_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV; in au8522_probe() 716 state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE; in au8522_probe() 717 state->pads[AU8522_PAD_AUDIO_OUT].sig_type = PAD_SIGNAL_AUDIO; in au8522_probe() 720 ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads), in au8522_probe() 721 state->pads); in au8522_probe()
|
| /linux/Documentation/driver-api/media/ |
| H A D | mc-core.rst | 19 through pads. 32 A link is a point-to-point oriented connection between two pads, either 65 Drivers initialize entity pads by calling 90 defined in ``include/media/media-entity.h``. Each entity stores its pads in 91 a pads array managed by the entity driver. Drivers usually embed the array in 94 Pads are identified by their entity and their 0-based index in the pads 120 to all links originating at or targeting any of its pads. 163 Helper functions can be used to find a link between two given pads, or a pad 194 source devices (such as a sensors) and flowing through media entity pads 209 The function will mark all the pads which are part of the pipeline as streaming. [all …]
|
| /linux/drivers/staging/media/sunxi/sun6i-isp/ |
| H A 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() 499 struct media_pad *pads = proc->pads; in sun6i_isp_proc_setup() local 522 pads[SUN6I_ISP_PROC_PAD_SINK_CSI].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup() 524 pads[SUN6I_ISP_PROC_PAD_SINK_PARAMS].flags = MEDIA_PAD_FL_SINK | in sun6i_isp_proc_setup() 526 pads[SUN6I_ISP_PROC_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in sun6i_isp_proc_setup() 529 pads); in sun6i_isp_proc_setup()
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A 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/drivers/pinctrl/intel/ |
| H A D | pinctrl-intel.c | 1512 struct intel_pad_context *pads; in intel_pinctrl_pm_init() local 1515 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init() 1516 if (!pads) in intel_pinctrl_pm_init() 1544 pctrl->context.pads = pads; in intel_pinctrl_pm_init() 1793 struct intel_pad_context *pads; in intel_pinctrl_suspend_noirq() local 1796 pads = pctrl->context.pads; in intel_pinctrl_suspend_noirq() 1806 pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; in intel_pinctrl_suspend_noirq() 1808 pads[i].padcfg1 = val; in intel_pinctrl_suspend_noirq() 1812 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq() 1902 const struct intel_pad_context *pads; in intel_pinctrl_resume_noirq() local [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A 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)
|
| /linux/drivers/media/mc/ |
| H A D | mc-device.c | 116 entd->pads = ent->num_pads; in media_device_enum_entities() 160 if (links->pads) { in media_device_enum_links() 167 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links() 168 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links() 219 link = media_entity_find_link(&source->pads[linkd->source.index], in media_device_setup_link() 220 &sink->pads[linkd->sink.index]); in media_device_setup_link() 484 compat_uptr_t pads; /* struct media_pad_desc * */ member 499 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32() 503 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32() 686 INIT_LIST_HEAD(&mdev->pads); in media_device_init()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-subdev.c | 230 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads)) in check_state() 360 if (!(sd->entity.pads[pad].flags & MEDIA_PAD_FL_SOURCE)) in call_get_frame_desc() 1048 const struct media_pad *pads = sd->entity.pads; in subdev_do_ioctl() local 1057 if (!(pads[route->sink_pad].flags & in subdev_do_ioctl() 1064 if (!(pads[route->source_pad].flags & in subdev_do_ioctl() 1623 state->pads = kvcalloc(sd->entity.num_pads, in __v4l2_subdev_state_alloc() 1624 sizeof(*state->pads), GFP_KERNEL); in __v4l2_subdev_state_alloc() 1625 if (!state->pads) { in __v4l2_subdev_state_alloc() 1647 if (state && state->pads) in __v4l2_subdev_state_alloc() 1648 kvfree(state->pads); in __v4l2_subdev_state_alloc() [all …]
|
| /linux/drivers/media/i2c/adv748x/ |
| H A D | adv748x-csi2.c | 159 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream() 346 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init() 347 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init() 350 tx->pads); in adv748x_csi2_init()
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | nvidia,tegra20-pcie.txt | 17 "pads": PADS registers 174 reg-names = "pads", "afi", "cs"; 275 reg-names = "pads", "afi", "cs"; 380 reg-names = "pads", "afi", "cs"; 452 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>; 459 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>; 476 reg-names = "pads", "afi", "cs"; 546 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, 547 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>, 548 <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>, [all …]
|
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-scaler.c | 29 struct media_pad pads[2]; member 400 vscaler->pads[VIMC_SCALER_SINK].flags = MEDIA_PAD_FL_SINK; in vimc_scaler_add() 401 vscaler->pads[VIMC_SCALER_SRC].flags = MEDIA_PAD_FL_SOURCE; in vimc_scaler_add() 406 vscaler->pads, &vimc_scaler_internal_ops, in vimc_scaler_add()
|
| /linux/Documentation/input/devices/ |
| H A D | joystick-parport.rst | 59 for your pads, use either keyboard or joystick port, and make a pass-through 71 Unfortunately, there are pads that need a lot more of power, and parallel 92 NES and SNES pads have two input bits, Clock and Latch, which drive the 278 want to use them on one parallel port together with NES/SNES/PSX pads. This is 305 for the NES / SNES pads in section 2.1 of this file - that is, one data pin 387 The Sega Genesis (in Europe sold as Sega MegaDrive) pads are an extension 388 to the Sega Master System pads. They use more buttons (3+1, 5+1, 6+1). Use 417 Genesis 6 pads use, it needs one more select pin. Anyway, it is still 487 described above, allows to connect a different group of joysticks and pads. 528 work but you can try lowering it for better performance. If your pads don't [all …]
|
| /linux/drivers/staging/media/imx/ |
| H A D | imx-media-internal-sd.c | 141 if (media_entity_find_link(&src->entity.pads[link->local_pad], in create_internal_link() 142 &sink->entity.pads[link->remote_pad])) in create_internal_link() 170 pad = &sd->entity.pads[i]; in create_ipu_internal_links()
|
| /linux/drivers/media/platform/sunxi/sun6i-csi/ |
| H A D | sun6i_csi_bridge.c | 412 struct media_pad *local_pad = &bridge->pads[SUN6I_CSI_BRIDGE_PAD_SINK]; in sun6i_csi_bridge_s_stream() 775 struct media_pad *pads = bridge->pads; in sun6i_csi_bridge_setup() local 803 pads[SUN6I_CSI_BRIDGE_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in sun6i_csi_bridge_setup() 804 pads[SUN6I_CSI_BRIDGE_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE | in sun6i_csi_bridge_setup() 808 SUN6I_CSI_BRIDGE_PAD_COUNT, pads); in sun6i_csi_bridge_setup()
|
| /linux/include/media/ |
| H A D | media-device.h | 164 struct list_head pads; member 391 list_for_each_entry(pad, &(mdev)->pads, graph_obj.list)
|