Home
last modified time | relevance | path

Searched refs:pads (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dpad.c26 } * pads; member
45 p->pads[i].str = lsx_strdup(argv[i]); in parse()
46 next = lsx_parsesamples(rate, p->pads[i].str, &p->pads[i].pad, 't'); in parse()
49 p->pads[i].start = i? UINT64_MAX : 0; in parse()
52 next = lsx_parseposition(rate, next+1, argv ? NULL : &p->pads[i].start, in parse()
55 last_seen = p->pads[i].start; in parse()
56 if (p->pads[i].start == SOX_UNKNOWN_LEN) in parse()
57 p->pads[i].start = UINT64_MAX; /* currently the same value, but ... */ in parse()
65 if (i > 0 && p->pads[i].start <= p->pads[i-1].start) break; in parse()
78 p->pads = lsx_calloc(p->npads, sizeof(*p->pads)); in create()
[all …]
/OK3568_Linux_fs/u-boot/board/inversepath/usbarmory/
H A Dusbarmory.c67 static const iomux_v3_cfg_t pads[] = { in setup_iomux_sd() local
81 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_sd()
86 static const iomux_v3_cfg_t pads[] = { in setup_iomux_led() local
91 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_led()
96 static const iomux_v3_cfg_t pads[] = { in setup_iomux_i2c() local
101 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_i2c()
106 static const iomux_v3_cfg_t pads[] = { in setup_iomux_pinheader() local
116 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_pinheader()
121 static const iomux_v3_cfg_t pads[] = { in setup_iomux_unused_boot() local
148 imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)); in setup_iomux_unused_boot()
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-enum-links.rst13 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
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq_3A_server/common/mediactl/
H A Dmediactl.c127 if (index >= entity->info.pads) in media_entity_get_pad()
130 return &entity->pads[index]; in media_entity_get_pad()
345 links.pads = calloc(entity->info.pads, sizeof(struct media_pad_desc)); in media_enum_links()
353 free(links.pads); in media_enum_links()
358 for (i = 0; i < entity->info.pads; ++i) { in media_enum_links()
359 entity->pads[i].entity = entity; in media_enum_links()
360 entity->pads[i].index = links.pads[i].index; in media_enum_links()
361 entity->pads[i].flags = links.pads[i].flags; in media_enum_links()
384 fwdlink->source = &source->pads[link->source.index]; in media_enum_links()
385 fwdlink->sink = &sink->pads[link->sink.index]; in media_enum_links()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/mediactl/
H A Dmediactl.c129 if (index >= entity->info.pads) in media_entity_get_pad()
132 return &entity->pads[index]; in media_entity_get_pad()
348 links.pads = calloc(entity->info.pads, sizeof(struct media_pad_desc)); in media_enum_links()
356 free(links.pads); in media_enum_links()
361 for (i = 0; i < entity->info.pads; ++i) { in media_enum_links()
362 entity->pads[i].entity = entity; in media_enum_links()
363 entity->pads[i].index = links.pads[i].index; in media_enum_links()
364 entity->pads[i].flags = links.pads[i].flags; in media_enum_links()
387 fwdlink->source = &source->pads[link->source.index]; in media_enum_links()
388 fwdlink->sink = &sink->pads[link->sink.index]; in media_enum_links()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/
H A Darm,pl11x.txt48 - 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>;
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/
H A Dmipi.c96 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 …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-core/
H A Ddvbdev.c217 kfree(dvbdev->pads); in dvb_media_device_free()
219 dvbdev->pads = NULL; in dvb_media_device_free()
271 struct media_pad *pads = &dvbdev->tsout_pads[i]; in dvb_create_tsout_entity() local
279 pads->flags = MEDIA_PAD_FL_SINK; in dvb_create_tsout_entity()
281 ret = media_entity_pads_init(entity, 1, pads); 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()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/mc/
H A Dmc-entity.c161 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()
378 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
396 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()
642 if (entity->pads[i].flags & MEDIA_PAD_FL_SINK) in media_get_pad_index()
644 else if (entity->pads[i].flags & MEDIA_PAD_FL_SOURCE) in media_get_pad_index()
[all …]
H A Dmc-device.c117 entd->pads = ent->num_pads; in media_device_enum_entities()
161 if (links->pads) { in media_device_enum_links()
168 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links()
169 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in media_device_enum_links()
221 link = media_entity_find_link(&source->pads[linkd->source.index], in media_device_setup_link()
222 &sink->pads[linkd->sink.index]); in media_device_setup_link()
494 compat_uptr_t pads; /* struct media_pad_desc * */ member
509 || get_user(pads_ptr, &ulinks->pads) in media_device_enum_links32()
513 links.pads = compat_ptr(pads_ptr); in media_device_enum_links32()
607 media_gobj_destroy(&entity->pads[i].graph_obj); in __media_device_unregister_entity()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/joystick/
H A Dgamecon.c75 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()
565 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command()
604 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet()
720 pad = &gc->pads[i]; in gc_psx_process_packet()
802 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad()
928 int *pads, n_pads; in gc_attach() local
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2371-2180.dts22 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}>;
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Datomisp_tpg.c144 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()
H A Datomisp_file.c208 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()
H A Datomisp_csi2.c228 struct media_pad *pads = csi2->pads; in mipi_csi2_init_entities() local
238 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in mipi_csi2_init_entities()
239 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in mipi_csi2_init_entities()
243 ret = media_entity_pads_init(me, CSI2_PADS_NUM, pads); in mipi_csi2_init_entities()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Ddev-subdev.rst18 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
147 even controls. Finding a combination of formats on all pads in a video
180 (as long as external parameters, such as formats on other pads or links'
184 or active format is set on a pad, corresponding formats on other pads of
189 - Formats should be propagated from sink pads to source pads. Modifying
194 reset the scale factors to default values when sink pads formats are
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/
H A Dvideo-mux.c26 struct media_pad *pads; member
121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]); in video_mux_s_stream()
180 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
451 vmux->pads = devm_kcalloc(dev, num_pads, sizeof(*vmux->pads), in video_mux_probe()
453 if (!vmux->pads) in video_mux_probe()
463 vmux->pads[i].flags = (i < num_pads - 1) ? MEDIA_PAD_FL_SINK in video_mux_probe()
470 vmux->pads); in video_mux_probe()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/
H A Dcortina,gemini-sata-bridge.txt20 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
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Dxmit_linux.c635 static void ieee8023_header_to_rfc1042(struct sk_buff *skb, int pads) in ieee8023_header_to_rfc1042() argument
640 const int headroom = SNAP_SIZE + 2 + pads; in ieee8023_header_to_rfc1042()
655 memset(data, 0, pads); in ieee8023_header_to_rfc1042()
656 data += pads; in ieee8023_header_to_rfc1042()
659 len = cpu_to_be16(skb->len - pads - 2 * ETH_ALEN - 2); in ieee8023_header_to_rfc1042()
672 int pads; in rtw_coalesce_tx_amsdu() local
690 pads = 4 - (head_skb->len & 0x03); in rtw_coalesce_tx_amsdu()
692 pads = 0; in rtw_coalesce_tx_amsdu()
694 ieee8023_header_to_rfc1042(skb, pads); in rtw_coalesce_tx_amsdu()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dxmit_linux.c635 static void ieee8023_header_to_rfc1042(struct sk_buff *skb, int pads) in ieee8023_header_to_rfc1042() argument
640 const int headroom = SNAP_SIZE + 2 + pads; in ieee8023_header_to_rfc1042()
655 memset(data, 0, pads); in ieee8023_header_to_rfc1042()
656 data += pads; in ieee8023_header_to_rfc1042()
659 len = cpu_to_be16(skb->len - pads - 2 * ETH_ALEN - 2); in ieee8023_header_to_rfc1042()
672 int pads; in rtw_coalesce_tx_amsdu() local
690 pads = 4 - (head_skb->len & 0x03); in rtw_coalesce_tx_amsdu()
692 pads = 0; in rtw_coalesce_tx_amsdu()
694 ieee8023_header_to_rfc1042(skb, pads); in rtw_coalesce_tx_amsdu()
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dau8522_decoder.c712 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()
/OK3568_Linux_fs/kernel/drivers/pinctrl/actions/
H A Dpinctrl-owl.h21 .pads = group_name##_pads, \
39 .pads = group_name##_pads, \
55 .pads = group_name##_pads, \
210 unsigned int *pads; member
/OK3568_Linux_fs/kernel/drivers/staging/mt7621-pinctrl/
H A Dpinctrl-rt2880.c32 struct pinctrl_pin_desc *pads; member
283 p->pads = devm_kcalloc(p->dev, p->max_pins, in rt2880_pinmux_pins()
285 if (!p->pads || !p->gpio) { in rt2880_pinmux_pins()
310 p->pads[i].number = i; in rt2880_pinmux_pins()
311 p->pads[i].name = name; in rt2880_pinmux_pins()
313 p->desc->pins = p->pads; in rt2880_pinmux_pins()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/
H A D0003-playbin-do-not-drain-on-first-EOS.patch15 the nb of active pads with the nb of EOS received
16 and decodebin will start to drain all the active pads when the nb
17 of EOS is equal to active pads (active combiners).
31 guint nbpads; /* unique identifier for source pads */
32 + guint nbpads_eos; /* number of pads in EOS */
33 + gboolean wait_on_eos; /* wait EOS on other pads */
152 + "%d eos received in group with uri %s, active pads %d", eos_received,
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/
H A D0003-playbin-do-not-drain-on-first-EOS.patch15 the nb of active pads with the nb of EOS received
16 and decodebin will start to drain all the active pads when the nb
17 of EOS is equal to active pads (active combiners).
31 guint nbpads; /* unique identifier for source pads */
32 + guint nbpads_eos; /* number of pads in EOS */
33 + gboolean wait_on_eos; /* wait EOS on other pads */
152 + "%d eos received in group with uri %s, active pads %d", eos_received,

12345678910>>...12