/drivers/media/ |
H A D | media-entity.c | 31 * @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...] |
H A D | media-device.c | 162 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...] |
/drivers/media/video/uvc/ |
H A D | uvc_entity.c | 30 struct media_entity *sink; local 34 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING) 37 if (sink == NULL) 60 sink, i, flags);
|
/drivers/media/video/s5p-fimc/ |
H A D | fimc-mdevice.c | 425 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 D | fimc-capture.c | 566 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/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 100 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/scsi/ |
H A D | NCR5380.c | 1754 * 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 D | atari_NCR5380.c | 1872 * 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
|
H A D | sun3_NCR5380.c | 1816 * 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
|
/drivers/media/video/omap3isp/ |
H A D | ispresizer.c | 1205 /* 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 D | isp.c | 548 * 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 D | isppreview.c | 86 * 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/isdn/hisax/ |
H A D | hfc_usb.c | 547 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/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 1200 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/block/drbd/ |
H A D | drbd_receiver.c | 3590 /* 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);
|