/Linux-v4.19/drivers/media/platform/vimc/ |
D | vimc-common.c | 248 struct media_pad *pads; in vimc_pads_init() local 252 pads = kcalloc(num_pads, sizeof(*pads), GFP_KERNEL); in vimc_pads_init() 253 if (!pads) in vimc_pads_init() 258 pads[i].index = i; in vimc_pads_init() 259 pads[i].flags = pads_flag[i]; in vimc_pads_init() 262 return pads; in vimc_pads_init() 274 if (ent->pads[i].flags & MEDIA_PAD_FL_SOURCE) in vimc_pipeline_s_stream() 278 pad = media_entity_remote_pad(&ent->pads[i]); in vimc_pipeline_s_stream() 421 ved->pads = vimc_pads_init(num_pads, pads_flag); in vimc_ent_sd_register() 422 if (IS_ERR(ved->pads)) in vimc_ent_sd_register() [all …]
|
D | vimc-common.h | 115 struct media_pad *pads; member 151 static inline void vimc_pads_cleanup(struct media_pad *pads) in vimc_pads_cleanup() argument 153 kfree(pads); in vimc_pads_cleanup()
|
D | vimc-capture.c | 354 vimc_pads_cleanup(vcap->ved.pads); in vimc_cap_comp_unbind() 413 vcap->ved.pads = in vimc_cap_comp_bind() 415 if (IS_ERR(vcap->ved.pads)) { in vimc_cap_comp_bind() 416 ret = PTR_ERR(vcap->ved.pads); in vimc_cap_comp_bind() 424 1, vcap->ved.pads); in vimc_cap_comp_bind() 497 vimc_pads_cleanup(vcap->ved.pads); in vimc_cap_comp_bind()
|
/Linux-v4.19/Documentation/media/uapi/mediactl/ |
D | media-ioc-enum-links.rst | 12 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 70 - \*\ ``pads`` 71 - Pointer to a pads array allocated by the application. Ignored if
|
/Linux-v4.19/Documentation/devicetree/bindings/display/ |
D | arm,pl11x.txt | 46 - arm,pl11x,tft-r0g0b0-pads: an array of three 32-bit values, 47 defining the way CLD pads are wired up; first value 56 arm,pl11x,tft-r0g0b0-pads = <4 15 20>; 58 arm,pl11x,tft-r0g0b0-pads = <1 7 13>; 60 arm,pl11x,tft-r0g0b0-pads = <3 11 19>; 62 arm,pl11x,tft-r0g0b0-pads = <3 10 19>; 64 arm,pl11x,tft-r0g0b0-pads = <0 8 16>; 66 arm,pl11x,tft-r0g0b0-pads = <16 8 0>; 83 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
|
/Linux-v4.19/arch/arm64/boot/dts/nvidia/ |
D | tegra210-p2371-2180.dts | 22 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, 23 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>, 24 <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>, 25 <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>; 31 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
|
/Linux-v4.19/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() 340 if (device->pads & BIT(i)) { in tegra_mipi_calibrate() 350 tegra_mipi_writel(device->mipi, data, soc->pads[i].data); in tegra_mipi_calibrate() 352 if (soc->has_clk_lane && soc->pads[i].clk != 0) in tegra_mipi_calibrate() 353 tegra_mipi_writel(device->mipi, clk, soc->pads[i].clk); in tegra_mipi_calibrate() 400 .pads = tegra114_mipi_pads, 427 .pads = tegra124_mipi_pads, 444 .pads = tegra124_mipi_pads, [all …]
|
/Linux-v4.19/drivers/media/dvb-core/ |
D | dvbdev.c | 217 kfree(dvbdev->pads); in dvb_media_device_free() 219 dvbdev->pads = NULL; in dvb_media_device_free() 270 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local 278 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity() 280 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity() 340 dvbdev->pads = kcalloc(npads, sizeof(*dvbdev->pads), in dvb_create_media_entity() 342 if (!dvbdev->pads) in dvb_create_media_entity() 349 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() 350 dvbdev->pads[1].flags = MEDIA_PAD_FL_SOURCE; in dvb_create_media_entity() 354 dvbdev->pads[0].flags = MEDIA_PAD_FL_SINK; in dvb_create_media_entity() [all …]
|
/Linux-v4.19/drivers/input/joystick/ |
D | gamecon.c | 87 struct gc_pad pads[GC_MAX_DEVICES]; member 228 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet() 231 dev = gc->pads[i].dev; in gc_n64_process_packet() 385 pad = &gc->pads[i]; in gc_nes_process_packet() 493 pad = &gc->pads[i]; in gc_multi_process_packet() 577 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() 616 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet() 732 pad = &gc->pads[i]; in gc_psx_process_packet() 814 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad() 939 int *pads, n_pads; in gc_attach() local [all …]
|
/Linux-v4.19/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 84 struct intel_pad_context *pads; member 1268 struct intel_pad_context *pads; in intel_pinctrl_pm_init() local 1271 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init() 1272 if (!pads) in intel_pinctrl_pm_init() 1293 pctrl->context.pads = pads; in intel_pinctrl_pm_init() 1427 struct intel_pad_context *pads; in intel_pinctrl_suspend() local 1430 pads = pctrl->context.pads; in intel_pinctrl_suspend() 1440 pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; in intel_pinctrl_suspend() 1442 pads[i].padcfg1 = val; in intel_pinctrl_suspend() 1446 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend() [all …]
|
/Linux-v4.19/drivers/media/platform/ |
D | video-mux.c | 30 struct media_pad *pads; member 118 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream() 177 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format() 366 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe() 373 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe() 380 vmux->pads); in video_mux_probe()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | dev-subdev.rst | 18 and discover the hardware topology using the media entities, pads and 30 - negotiate image formats on individual pads 126 whole pipeline and making sure that connected pads have compatible 140 Acceptable formats on pads can (and usually do) depend on a number of 141 external parameters, such as formats on other pads, active links, or 142 even controls. Finding a combination of formats on all pads in a video 175 (as long as external parameters, such as formats on other pads or links' 179 or active format is set on a pad, corresponding formats on other pads of 184 - Formats should be propagated from sink pads to source pads. Modifying 189 reset the scale factors to default values when sink pads formats are [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/ata/ |
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-v4.19/drivers/media/usb/uvc/ |
D | uvc_entity.c | 41 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links() 86 entity->num_pads, entity->pads); in uvc_mc_init_entity() 95 entity->num_pads, entity->pads); in uvc_mc_init_entity()
|
/Linux-v4.19/drivers/media/ |
D | media-entity.c | 170 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create() 207 struct media_pad *pads) in media_entity_pads_init() argument 216 entity->pads = pads; in media_entity_pads_init() 222 pads[i].entity = entity; in media_entity_pads_init() 223 pads[i].index = i; in media_entity_pads_init() 226 &entity->pads[i].graph_obj); in media_entity_pads_init() 387 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad() 405 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad() 680 link->source = &source->pads[source_pad]; in media_create_pad_link() 681 link->sink = &sink->pads[sink_pad]; in media_create_pad_link() [all …]
|
D | media-device.c | 123 entd->pads = ent->num_pads; in media_device_enum_entities() 167 if (links->pads) { in media_device_enum_links() 174 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links() 175 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links() 226 link = media_entity_find_link(&source->pads[linkd->source.index], in media_device_setup_link() 227 &sink->pads[linkd->sink.index]); in media_device_setup_link() 480 compat_uptr_t pads; /* struct media_pad_desc * */ member 494 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32() 498 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32() 603 &entity->pads[i].graph_obj); in media_device_register_entity() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
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-v4.19/drivers/media/platform/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-v4.19/drivers/staging/mt7621-pinctrl/ |
D | pinctrl-rt2880.c | 31 struct pinctrl_pin_desc *pads; member 316 p->pads = devm_kcalloc(p->dev, p->max_pins, in rt2880_pinmux_pins() 318 if (!p->pads || !p->gpio) { in rt2880_pinmux_pins() 343 p->pads[i].number = i; in rt2880_pinmux_pins() 344 p->pads[i].name = name; in rt2880_pinmux_pins() 346 p->desc->pins = p->pads; in rt2880_pinmux_pins()
|
/Linux-v4.19/drivers/media/i2c/adv748x/ |
D | adv748x-csi2.c | 114 src = adv748x_get_remote_sd(&tx->pads[ADV748X_CSI2_SINK]); in adv748x_csi2_s_stream() 296 tx->pads[ADV748X_CSI2_SINK].flags = MEDIA_PAD_FL_SINK; in adv748x_csi2_init() 297 tx->pads[ADV748X_CSI2_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in adv748x_csi2_init() 300 tx->pads); in adv748x_csi2_init()
|
/Linux-v4.19/Documentation/media/kapi/ |
D | mc-core.rst | 17 through pads. 30 A link is a point-to-point oriented connection between two pads, either 56 Drivers initialize entity pads by calling 81 defined in ``include/media/media-entity.h``. Each entity stores its pads in 82 a pads array managed by the entity driver. Drivers usually embed the array in 85 Pads are identified by their entity and their 0-based index in the pads 111 to all links originating at or targeting any of its pads. 178 Helper functions can be used to find a link between two given pads, or a pad 249 for any entity which has sink pads in the pipeline. The
|
/Linux-v4.19/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra114-mipi.txt | 10 - #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads 14 phandle to refer to the calibration controller node and a bitmask of the pads
|
/Linux-v4.19/drivers/staging/media/imx/ |
D | imx-media-of.c | 180 if (sd->entity.pads[link->local_port].flags & MEDIA_PAD_FL_SINK) { in create_of_link() 193 if (media_entity_find_link(&src->entity.pads[src_pad], in create_of_link() 194 &sink->entity.pads[sink_pad])) in create_of_link()
|
/Linux-v4.19/drivers/phy/tegra/ |
D | xusb.c | 78 struct device_node *pads, *np; in tegra_xusb_find_pad_node() local 80 pads = of_get_child_by_name(padctl->dev->of_node, "pads"); in tegra_xusb_find_pad_node() 81 if (!pads) in tegra_xusb_find_pad_node() 84 np = of_get_child_by_name(pads, name); in tegra_xusb_find_pad_node() 85 of_node_put(pads); in tegra_xusb_find_pad_node() 297 list_for_each_entry_safe_reverse(pad, tmp, &padctl->pads, list) { in __tegra_xusb_remove_pads() 345 const struct tegra_xusb_pad_soc *soc = padctl->soc->pads[i]; in tegra_xusb_setup_pads() 361 list_add_tail(&pad->list, &padctl->pads); in tegra_xusb_setup_pads() 364 list_for_each_entry(pad, &padctl->pads, list) in tegra_xusb_setup_pads() 863 INIT_LIST_HEAD(&padctl->pads); in tegra_xusb_padctl_probe()
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | nvidia,tegra124-xusb.txt | 42 configure the USB pads used by the XHCI controller 107 phys = <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-1}>, /* mini-PCIe USB */ 108 <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-2}>, /* USB A */ 109 <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-0}>; /* USB A */
|