Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/media/
Dmedia-entity.c54 struct media_pad *pads, u16 extra_links) in media_entity_init() argument
69 entity->pads = pads; in media_entity_init()
73 pads[i].entity = entity; in media_entity_init()
74 pads[i].index = i; in media_entity_init()
353 link->source = &source->pads[source_pad]; in media_entity_create_link()
354 link->sink = &sink->pads[sink_pad]; in media_entity_create_link()
366 backlink->source = &source->pads[source_pad]; in media_entity_create_link()
367 backlink->sink = &sink->pads[sink_pad]; in media_entity_create_link()
Dmedia-device.c108 u_ent.pads = ent->num_pads; in media_device_enum_entities()
138 if (links.pads) { in media_device_enum_links()
143 media_device_kpad_to_upad(&entity->pads[p], &pad); in media_device_enum_links()
144 if (copy_to_user(&links.pads[p], &pad, sizeof(pad))) in media_device_enum_links()
199 link = media_entity_find_link(&source->pads[ulink.source.index], in media_device_setup_link()
200 &sink->pads[ulink.sink.index]); in media_device_setup_link()
/linux-2.6.39/drivers/input/joystick/
Dgamecon.c91 struct gc_pad pads[GC_MAX_DEVICES]; member
231 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
234 dev = gc->pads[i].dev; in gc_n64_process_packet()
388 pad = &gc->pads[i]; in gc_nes_process_packet()
496 pad = &gc->pads[i]; in gc_multi_process_packet()
580 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command()
619 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet()
734 pad = &gc->pads[i]; in gc_psx_process_packet()
816 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad()
929 static struct gc __init *gc_probe(int parport, int *pads, int n_pads) in gc_probe() argument
[all …]
/linux-2.6.39/Documentation/
Dmedia-framework.txt22 through pads.
35 A link is a point-to-point oriented connection between two pads, either
94 Entities, pads and links
107 struct media_pad *pads, u16 extra_links);
114 As the number of pads is known in advance, the pads array is not allocated
116 pads array in a driver-specific structure, avoiding dynamic allocation.
118 Drivers must set the direction of every pad in the pads array before calling
119 media_entity_init. The function will initialize the other pads fields.
121 Unlike the number of pads, the total number of links isn't always known in
123 pre-allocates a number of links equal to the number of pads plus an optional
[all …]
/linux-2.6.39/include/linux/
Dmedia.h69 __u16 pads; member
121 struct media_pad_desc __user *pads; member
/linux-2.6.39/Documentation/input/
Dxpad.txt21 pads" (module option dpad_to_buttons)
28 dpad_to_buttons has no effect for known pads.
54 For dance style pads (like the redoctane pad) several changes
59 Known dance pads automatically map the d-pad to buttons and will work
119 The driver should work with xbox pads not listed above as well, however
120 you will need to do something extra for dance pads to work.
183 - added stuff for dance pads, new d-pad->axes mappings
Djoystick-parport.txt47 for your pads, use either keyboard or joystick port, and make a pass-through
59 Unfortunately, there are pads that need a lot more of power, and parallel
80 NES and SNES pads have two input bits, Clock and Latch, which drive the
263 want to use them on one parallel port together with NES/SNES/PSX pads. This is
290 for the NES / SNES pads in section 2.1 of this file - that is, one data pin
368 The Sega Genesis (in Europe sold as Sega MegaDrive) pads are an extension
369 to the Sega Master System pads. They use more buttons (3+1, 5+1, 6+1). Use
397 Genesis 6 pads use, it needs one more select pin. Anyway, it is still
429 described above, allows to connect a different group of joysticks and pads.
467 work but you can try lowering it for better performance. If your pads don't
[all …]
/linux-2.6.39/include/media/
Dmedia-entity.h68 struct media_pad *pads; /* Pads array (num_pads elements) */ member
125 struct media_pad *pads, u16 extra_links);
/linux-2.6.39/arch/arm/mach-omap2/
Dmux.c272 hmux->pads = kzalloc(sizeof(struct omap_device_pad) * in omap_hwmod_mux_init()
274 if (!hmux->pads) in omap_hwmod_mux_init()
279 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; in omap_hwmod_mux_init()
296 kfree(hmux->pads[j].name); in omap_hwmod_mux_init()
329 struct omap_device_pad *pad = &hmux->pads[i]; in omap_hwmod_mux_init()
342 kfree(hmux->pads); in omap_hwmod_mux_init()
387 struct omap_device_pad *pad = &hmux->pads[i]; in omap_hwmod_mux()
Dboard-omap4panda.c556 .pads = serial2_pads,
562 .pads = serial3_pads,
568 .pads = serial4_pads,
576 bdata.pads = NULL; in board_serial_init()
Dboard-4430sdp.c741 .pads = serial2_pads,
747 .pads = serial3_pads,
753 .pads = serial4_pads,
761 bdata.pads = NULL; in board_serial_init()
Dboard-3430sdp.c724 .pads = serial1_pads,
730 .pads = serial2_pads,
736 .pads = serial3_pads,
Dmux.h99 struct omap_device_pad *pads; member
Dboard-n8x0.c661 bdata.pads = NULL; in board_serial_init()
671 bdata.pads = serial2_pads; in board_serial_init()
/linux-2.6.39/drivers/media/video/omap3isp/
Dispccp2.c371 pad = media_entity_remote_source(&ccp2->pads[CCP2_PAD_SINK]); in ccp2_if_configure()
1035 struct media_pad *pads = ccp2->pads; in ccp2_init_entities() local
1049 pads[CCP2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in ccp2_init_entities()
1050 pads[CCP2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in ccp2_init_entities()
1053 ret = media_entity_init(me, CCP2_PADS_NUM, pads, 0); in ccp2_init_entities()
Dispccp2.h76 struct media_pad pads[CCP2_PADS_NUM]; member
Dispresizer.h104 struct media_pad pads[RESZ_PADS_NUM]; member
Dispcsi2.c557 pad = media_entity_remote_source(&csi2->pads[CSI2_PAD_SINK]); in csi2_configure()
1198 struct media_pad *pads = csi2->pads; in csi2_init_entities() local
1210 pads[CSI2_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in csi2_init_entities()
1211 pads[CSI2_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in csi2_init_entities()
1214 ret = media_entity_init(me, CSI2_PADS_NUM, pads, 0); in csi2_init_entities()
Dispccdc.h175 struct media_pad pads[CCDC_PADS_NUM]; member
Dispcsi2.h133 struct media_pad pads[CSI2_PADS_NUM]; member
Disppreview.h178 struct media_pad pads[PREV_PADS_NUM]; member
Dispresizer.c1619 struct media_pad *pads = res->pads; in resizer_init_entities() local
1632 pads[RESZ_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in resizer_init_entities()
1633 pads[RESZ_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; in resizer_init_entities()
1636 ret = media_entity_init(me, RESZ_PADS_NUM, pads, 0); in resizer_init_entities()
Dispccdc.c1129 pad = media_entity_remote_source(&ccdc->pads[CCDC_PAD_SINK]); in ccdc_configure()
2153 struct media_pad *pads = ccdc->pads; in ccdc_init_entities() local
2167 pads[CCDC_PAD_SINK].flags = MEDIA_PAD_FL_SINK; in ccdc_init_entities()
2168 pads[CCDC_PAD_SOURCE_VP].flags = MEDIA_PAD_FL_SOURCE; in ccdc_init_entities()
2169 pads[CCDC_PAD_SOURCE_OF].flags = MEDIA_PAD_FL_SOURCE; in ccdc_init_entities()
2172 ret = media_entity_init(me, CCDC_PADS_NUM, pads, 0); in ccdc_init_entities()
Disp.h425 if (subdev->entity.pads[pad].flags & MEDIA_PAD_FL_SINK) in isp_pad_buffer_type()
/linux-2.6.39/arch/m68k/include/asm/
Dm68360_pram.h343 unsigned short pads; /* short frame PAD characters */ member

12