/linux/Documentation/userspace-api/media/mediactl/ |
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/Documentation/devicetree/bindings/display/ |
A D | arm,pl11x.txt | 48 - arm,pl11x,tft-r0g0b0-pads: an array of three 32-bit values, 49 defining the way CLD pads are wired up; first value 58 arm,pl11x,tft-r0g0b0-pads = <4 15 20>; 60 arm,pl11x,tft-r0g0b0-pads = <1 7 13>; 62 arm,pl11x,tft-r0g0b0-pads = <3 11 19>; 64 arm,pl11x,tft-r0g0b0-pads = <3 10 19>; 66 arm,pl11x,tft-r0g0b0-pads = <0 8 16>; 68 arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
|
/linux/drivers/staging/media/atomisp/pci/ |
A 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()
|
A D | atomisp_file.c | 116 sd_state->pads->try_fmt = *fmt; in file_input_set_fmt() 208 struct media_pad *pads = file_dev->pads; in atomisp_file_input_init() local 225 pads[0].flags = MEDIA_PAD_FL_SINK; in atomisp_file_input_init() 228 return media_entity_pads_init(me, 1, pads); in atomisp_file_input_init()
|
A D | atomisp_csi2.c | 231 struct media_pad *pads = csi2->pads; in mipi_csi2_init_entities() local 241 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in mipi_csi2_init_entities() 242 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in mipi_csi2_init_entities() 246 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); in mipi_csi2_init_entities()
|
/linux/drivers/gpu/host1x/ |
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/drivers/media/dvb-core/ |
A D | dvbdev.c | 217 kfree(dvbdev->pads); in dvb_media_device_free() 219 dvbdev->pads = NULL; in dvb_media_device_free() 279 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity() 341 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity() 343 if (!dvbdev->pads) { in dvb_create_media_entity() 352 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 353 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity() 357 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 363 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 369 kfree(dvbdev->pads); in dvb_create_media_entity() [all …]
|
/linux/drivers/media/mc/ |
A D | mc-entity.c | 161 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create() 198 struct media_pad *pads) in media_entity_pads_init() argument 207 entity->pads = pads; in media_entity_pads_init() 213 pads[i].entity = entity; in media_entity_pads_init() 214 pads[i].index = i; in media_entity_pads_init() 217 &entity->pads[i].graph_obj); in media_entity_pads_init() 379 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad() 652 if (entity->pads[i].sig_type == sig_type) in media_get_pad_index() 679 link->source = &source->pads[source_pad]; in media_create_pad_link() 680 link->sink = &sink->pads[sink_pad]; in media_create_pad_link() [all …]
|
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() 220 &sink->pads[linkd->sink.index]); in media_device_setup_link() 488 compat_uptr_t pads; /* struct media_pad_desc * */ member 503 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32() 507 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32() 601 media_gobj_destroy(&entity->pads[i].graph_obj); in __media_device_unregister_entity() 651 &entity->pads[i].graph_obj); in media_device_register_entity() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
A D | nvidia,tegra20-usb-phy.yaml | 50 - description: UTMI pads control registers clock 56 - description: UTMI pads control registers clock 72 - const: utmi-pads 78 - const: utmi-pads 90 - description: UTMI pads reset 98 - const: utmi-pads 271 - const: utmi-pads 288 - const: utmi-pads 340 clock-names = "reg", "pll_u", "utmi-pads"; 342 reset-names = "usb", "utmi-pads"; [all …]
|
/linux/drivers/input/joystick/ |
A D | gamecon.c | 75 struct gc_pad pads[GC_MAX_DEVICES]; member 216 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet() 219 dev = gc->pads[i].dev; in gc_n64_process_packet() 373 pad = &gc->pads[i]; in gc_nes_process_packet() 481 pad = &gc->pads[i]; in gc_multi_process_packet() 720 pad = &gc->pads[i]; in gc_psx_process_packet() 928 int *pads, n_pads; in gc_attach() local 943 pads = gc_cfg[port_idx].args + 1; in gc_attach() 968 if (!pads[i]) in gc_attach() 987 if (gc->pads[i].dev) in gc_attach() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | dev-subdev.rst | 18 and discover the hardware topology using the media entities, pads and 30 - negotiate image formats on individual pads 131 whole pipeline and making sure that connected pads have compatible 145 Acceptable formats on pads can (and usually do) depend on a number of 146 external parameters, such as formats on other pads, active links, or 189 - Formats should be propagated from sink pads to source pads. Modifying 196 source pads formats should be reset to the sink pads formats. 307 host frontend and scaler sink and source pads have the default 373 On source pads, cropping is similar to sink pads, with the exception 493 The subdev driver supports two sink pads and two source pads. The images [all …]
|
/linux/drivers/media/platform/ |
A D | video-mux.c | 26 struct media_pad *pads; member 121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream() 181 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format() 452 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe() 454 if (!vmux->pads) in video_mux_probe() 464 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe() 471 vmux->pads); in video_mux_probe()
|
/linux/Documentation/devicetree/bindings/ata/ |
A D | cortina,gemini-sata-bridge.txt | 20 ata0 slave interface brought out on IDE pads 23 ata1 slave interface brought out on IDE pads 27 on IDE pads 31 on IDE pads
|
/linux/drivers/pinctrl/ralink/ |
A D | pinctrl-rt2880.c | 32 struct pinctrl_pin_desc *pads; member 280 p->pads = devm_kcalloc(p->dev, p->max_pins, in rt2880_pinmux_pins() 282 if (!p->pads || !p->gpio) in rt2880_pinmux_pins() 305 p->pads[i].number = i; in rt2880_pinmux_pins() 306 p->pads[i].name = name; in rt2880_pinmux_pins() 308 p->desc->pins = p->pads; in rt2880_pinmux_pins()
|
/linux/drivers/pinctrl/actions/ |
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/media/dvb-frontends/ |
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/devicetree/bindings/pinctrl/ |
A D | nvidia,tegra124-dpaux-padctl.txt | 21 needed to describe the pin mux'ing options for the DPAUX pads. 23 single set of pads, the child nodes only need to describe the pad group 24 the functions are being applied to rather than the individual pads.
|
/linux/Documentation/admin-guide/media/ |
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/pinctrl/intel/ |
A D | pinctrl-intel.c | 1420 struct intel_pad_context *pads; in intel_pinctrl_pm_init() local 1423 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init() 1424 if (!pads) in intel_pinctrl_pm_init() 1452 pctrl->context.pads = pads; in intel_pinctrl_pm_init() 1657 struct intel_pad_context *pads; in intel_pinctrl_suspend_noirq() local 1660 pads = pctrl->context.pads; in intel_pinctrl_suspend_noirq() 1670 pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; in intel_pinctrl_suspend_noirq() 1672 pads[i].padcfg1 = val; in intel_pinctrl_suspend_noirq() 1676 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq() 1787 const struct intel_pad_context *pads; in intel_pinctrl_resume_noirq() local [all …]
|
/linux/drivers/media/usb/uvc/ |
A 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/drivers/media/i2c/adv748x/ |
A D | adv748x-csi2.c | 124 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream() 325 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init() 326 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init() 329 tx->pads); in adv748x_csi2_init()
|
/linux/drivers/media/platform/exynos4-is/ |
A D | common.c | 16 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor() 31 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
|
/linux/Documentation/devicetree/bindings/pci/ |
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/platform/vsp1/ |
A D | vsp1_entity.c | 637 entity->pads = devm_kcalloc(vsp1->dev, in vsp1_entity_init() 638 num_pads, sizeof(*entity->pads), in vsp1_entity_init() 640 if (entity->pads == NULL) in vsp1_entity_init() 644 entity->pads[i].flags = MEDIA_PAD_FL_SINK; in vsp1_entity_init() 652 entity->pads[num_pads - 1].flags = num_pads > 1 ? MEDIA_PAD_FL_SOURCE in vsp1_entity_init() 657 entity->pads); in vsp1_entity_init()
|