Searched defs:sink (Results 1 - 15 of 15) sorted by relevance

/drivers/media/video/uvc/
H A Duvc_entity.c30 struct media_entity *sink; local
34 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING)
37 if (sink == NULL)
60 sink, i, flags);
/drivers/media/
H A Dmedia-device.c162 media_device_kpad_to_upad(entity->links[l].sink,
163 &link.sink);
181 struct media_entity *sink; local
187 /* Find the source and sink entities and link.
190 sink = find_entity(mdev, ulink.sink.entity);
192 if (source == NULL || sink == NULL)
196 ulink.sink.index >= sink->num_pads)
200 &sink
[all...]
H A Dmedia-entity.c31 * @num_pads: Total number of sink and source pads.
96 return link->sink->entity;
340 struct media_entity *sink, u16 sink_pad, u32 flags)
345 BUG_ON(source == NULL || sink == NULL);
347 BUG_ON(sink_pad >= sink->num_pads);
354 link->sink = &sink->pads[sink_pad];
360 backlink = media_entity_add_link(sink);
367 backlink->sink = &sink
339 media_entity_create_link(struct media_entity *source, u16 source_pad, struct media_entity *sink, u16 sink_pad, u32 flags) argument
421 struct media_entity *source, *sink; local
490 media_entity_find_link(struct media_pad *source, struct media_pad *sink) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c100 AUX_DBG("sink not detected\n");
226 u8 sink[2]; local
234 /* inform the sink of the new configuration */
235 sink[0] = dp->link_bw / 27000;
236 sink[1] = dp->link_nr;
238 sink[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN;
240 auxch_tx(dev, dp->auxch, 8, DP_LINK_BW_SET, sink, 2);
/drivers/media/video/s5p-fimc/
H A Dfimc-mdevice.c425 struct media_entity *sink; local
441 sink = &fmd->fimc[i]->vid_cap.subdev->entity;
442 ret = media_entity_create_link(source, pad, sink,
448 ret = media_entity_call(sink, link_setup, &sink->pads[0],
454 source->name, flags ? '=' : '-', sink->name);
486 struct media_entity *source, *sink; local
551 sink = &fmd->fimc[i]->vid_cap.vfd->entity;
553 sink, 0, flags);
664 struct media_pad *sink, u3
663 fimc_md_link_notify(struct media_pad *source, struct media_pad *sink, u32 flags) argument
[all...]
H A Dfimc-capture.c566 struct fimc_frame *sink = &ctx->s_frame; local
573 r->width = sink->f_width;
574 r->height = sink->f_height;
581 max_sc_h = min(SCALER_MAX_HRATIO, 1 << (ffs(sink->width) - 3));
582 max_sc_v = min(SCALER_MAX_VRATIO, 1 << (ffs(sink->height) - 1));
585 u32 depth = fimc_get_format_depth(sink->fmt);
594 * - it must fit in the sink pad format rectangle (f_width/f_height);
597 * - the sink pad format width/height must be 4 multiple of the
598 * prescaler ratios determined by sink pad size and source pad crop,
603 rotate ? sink
[all...]
/drivers/scsi/
H A Dsun3_NCR5380.c1816 * other phase and will have to source/sink data.
1941 int sink = 0; local
1993 if (sink && (phase != PHASE_MSGOUT)) {
2001 sink = 0;
2010 sink = 1;
2065 sink = 1;
2069 /* XXX - need to source or sink data here, as appropriate */
2133 sink = 1;
2674 * handshake, we have to source or sink a byte of data if the current
H A DNCR5380.c1754 * other phase and will have to source/sink data.
2097 int sink = 0; local
2119 if (sink && (phase != PHASE_MSGOUT)) {
2125 sink = 0;
2133 sink = 1;
2195 sink = 1;
2199 /* XXX - need to source or sink data here, as appropriate */
2237 sink = 1;
2254 sink = 1;
2713 * handshake, we have to source or sink
[all...]
H A Datari_NCR5380.c1872 * other phase and will have to source/sink data.
2009 int sink = 0; local
2028 if (sink && (phase != PHASE_MSGOUT)) {
2037 sink = 0;
2046 sink = 1;
2104 sink = 1;
2108 /* XXX - need to source or sink data here, as appropriate */
2166 sink = 1;
2690 * handshake, we have to source or sink a byte of data if the current
/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c1200 int k, tx_offset, num_isoc_packets, sink, remain, current_len, local
1255 sink = (threshbit) ? SINK_DMIN : SINK_DMAX;
1257 sink = (threshbit) ? SINK_MIN : SINK_MAX;
1284 fifo->bit_line -= sink;
1343 fifo->bit_line -= sink;
/drivers/isdn/hisax/
H A Dhfc_usb.c547 int k, tx_offset, num_isoc_packets, sink, len, current_len, local
587 sink = (threshbit) ? SINK_DMIN : SINK_DMAX;
589 sink = (threshbit) ? SINK_MIN : SINK_MAX;
604 fifo->bit_line -= sink;
643 fifo->bit_line -= sink; /* we lower data margin every msec */
/drivers/media/video/omap3isp/
H A Disp.c548 * callback updates the use count of all entities in the source and sink sides
681 * @sink: Pad at the end of the link
685 * all entities in the source and sink sides of the link. Entities are powered
693 struct media_pad *sink, u32 flags)
696 int sink_use = isp_pipeline_pm_use_count(sink->entity);
702 isp_pipeline_pm_power(sink->entity, -source_use);
710 ret = isp_pipeline_pm_power(sink->entity, source_use);
692 isp_pipeline_link_notify(struct media_pad *source, struct media_pad *sink, u32 flags) argument
H A Dispresizer.c1205 /* Only sink pad has crop capability */
1219 static void resizer_try_crop(const struct v4l2_mbus_framefmt *sink, argument
1242 crop->left = clamp_t(u32, crop->left, 0, sink->width - MIN_IN_WIDTH);
1244 sink->width - crop->left);
1245 crop->top = clamp_t(u32, crop->top, 0, sink->height - MIN_IN_HEIGHT);
1247 sink->height - crop->top);
1266 /* Only sink pad has crop capability */
1476 /* Propagate the format from sink to source */
H A Disppreview.c86 * computing sink crop and source format limits.
1723 * @sink: format on the sink pad
1733 const struct v4l2_mbus_framefmt *sink,
1737 unsigned int right = sink->width - PREV_MARGIN_RIGHT;
1739 unsigned int bottom = sink->height - PREV_MARGIN_BOTTOM;
1837 /* Cropping is only supported on the sink pad. */
1859 /* Cropping is only supported on the sink pad. */
1920 /* Propagate the format from sink to source */
1732 preview_try_crop(struct isp_prev_device *prev, const struct v4l2_mbus_framefmt *sink, struct v4l2_rect *crop) argument
/drivers/block/drbd/
H A Ddrbd_receiver.c3590 /* TODO zero copy sink :) */
3591 static char sink[128]; local
3599 want = min_t(int, size, sizeof(sink));
3600 r = drbd_recv(mdev, sink, want);

Completed in 329 milliseconds