Searched refs:entity (Results 51 - 75 of 386) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_drv.c63 if ((status & VI6_WPF_IRQ_STA_UND) && wpf->entity.pipe) {
64 wpf->entity.pipe->underrun_count++;
68 i, wpf->entity.pipe->underrun_count);
72 vsp1_pipeline_frame_end(wpf->entity.pipe);
92 * - from an entity to itself (no loops are allowed)
101 struct media_entity *entity = &sink->subdev.entity; local
123 for (pad = 0; pad < entity->num_pads; ++pad) {
124 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK))
127 ret = media_create_pad_link(&source->subdev.entity,
143 struct vsp1_entity *entity; local
222 struct vsp1_entity *entity, *_entity; local
248 struct vsp1_entity *entity; local
[all...]
H A Dvsp1_drm.c14 #include <media/media-entity.h>
134 crop = &vsp1->drm->inputs[rpf->entity.index].crop;
142 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL,
150 format.format.code, rpf->entity.index);
156 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_selection, NULL,
164 rpf->entity.index);
172 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, get_fmt, NULL,
180 format.format.code, rpf->entity.index);
184 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL,
190 ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURC
543 struct vsp1_entity *entity; local
[all...]
H A Dvsp1_hgo.c28 return vsp1_read(hgo->histo.entity.vsp1, reg);
41 void vsp1_hgo_frame_end(struct vsp1_entity *entity) argument
43 struct vsp1_hgo *hgo = to_hgo(&entity->subdev);
60 vsp1_write(hgo->histo.entity.vsp1,
132 static void hgo_configure_stream(struct vsp1_entity *entity, argument
137 struct vsp1_hgo *hgo = to_hgo(&entity->subdev);
143 crop = vsp1_entity_get_pad_selection(entity, entity->state,
145 compose = vsp1_entity_get_pad_selection(entity, entity
[all...]
H A Dvsp1_pipe.c15 #include <media/media-entity.h>
264 struct vsp1_entity *entity; local
279 list_for_each_entry(entity, &pipe->entities, list_pipe)
280 entity->pipe = NULL;
307 struct vsp1_device *vsp1 = pipe->output->entity.vsp1;
310 vsp1_write(vsp1, VI6_CMD(pipe->output->entity.index),
332 struct vsp1_device *vsp1 = pipe->output->entity.vsp1;
333 struct vsp1_entity *entity; local
342 ret = vsp1_reset_wpf(vsp1, pipe->output->entity.index);
360 list_for_each_entry(entity,
460 struct vsp1_entity *entity; local
[all...]
H A Dvsp1_histo.c60 struct vsp1_pipeline *pipe = histo->entity.pipe;
214 mutex_lock(&histo->entity.lock);
216 state = vsp1_entity_get_state(&histo->entity, sd_state, sel->which);
225 crop = vsp1_entity_get_pad_selection(&histo->entity, state,
236 format = vsp1_entity_get_pad_format(&histo->entity, state,
246 sel->r = *vsp1_entity_get_pad_selection(&histo->entity, state,
256 mutex_unlock(&histo->entity.lock);
269 format = vsp1_entity_get_pad_format(&histo->entity, sd_state,
279 selection = vsp1_entity_get_pad_selection(&histo->entity, sd_state,
283 selection = vsp1_entity_get_pad_selection(&histo->entity, sd_stat
508 vsp1_histogram_destroy(struct vsp1_entity *entity) argument
[all...]
/linux-master/block/
H A Dbfq-iosched.h59 /* idle entity with minimum F_i */
61 /* idle entity with maximum F_i */
84 * @next_in_service, which points to the entity on the active trees
86 * before the current in-service entity is expired, 2) the in-service
87 * queue becomes idle when it expires, and 3) if the entity pointed by
88 * in_service_entity is not a queue, then the in-service child entity
89 * of the entity pointed by in_service_entity becomes idle on
91 * optimization, not yet exploited: while a given entity is still in
94 * entity. We can then quickly compare the timestamps of the
95 * in-service entity wit
288 struct bfq_entity entity; member in struct:bfq_queue
1012 struct bfq_entity entity; member in struct:bfq_group
1032 struct bfq_entity entity; member in struct:bfq_group
[all...]
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-streamer.c16 * vimc_get_source_entity - get the entity connected with the first sink pad
20 * Helper function that returns the media entity containing the source pad
21 * linked with the first sink pad from the given media entity pad list.
34 return pad ? pad->entity : NULL;
45 * Calls s_stream to disable the stream in each entity of the pipeline
70 * @ved: the pointer to the vimc entity initializing the stream
72 * Initializes the stream structure. Walks through the entity graph to
82 struct media_entity *entity; local
106 entity = vimc_get_source_entity(ved->ent);
108 if (!entity) {
[all...]
H A Dvimc-common.c241 if (is_media_entity_v4l2_subdev(pad->entity)) {
243 media_entity_to_v4l2_subdev(pad->entity);
258 } else if (is_media_entity_v4l2_video_device(pad->entity)) {
259 struct video_device *vdev = container_of(pad->entity,
261 entity);
292 link->source->entity->name,
298 link->sink->entity->name,
366 ved->ent = &sd->entity;
370 sd->entity.function = function;
371 sd->entity
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_exec_queue_types.h25 /** @entity: Scheduler entity for this xe_exec_queue */
26 struct xe_sched_entity entity; member in struct:xe_guc_exec_queue
H A Dxe_execlist_types.h37 struct drm_sched_entity entity; member in struct:xe_execlist_exec_queue
/linux-master/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c3 * Microchip Image Sensor Controller (ISC) Scaler entity support
12 #include <media/media-entity.h>
116 * entity cropping is part of the PFE module (parallel front end)
200 isc->scaler_sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
201 isc->scaler_sd.entity.ops = &isc_scaler_entity_ops;
214 ret = media_entity_pads_init(&isc->scaler_sd.entity,
218 dev_err(isc->dev, "scaler sd media entity init failed\n");
236 ret = media_create_pad_link(&isc->current_subdev->sd->entity,
237 isc->remote_pad, &isc->scaler_sd.entity,
244 isc->current_subdev->sd->entity
[all...]
/linux-master/drivers/media/dvb-core/
H A Ddvbdev.c205 if (dvbdev->entity) {
206 media_device_unregister_entity(dvbdev->entity);
207 kfree(dvbdev->entity);
209 dvbdev->entity = NULL;
263 struct media_entity *entity = &dvbdev->tsout_entity[i]; local
266 entity->name = kasprintf(GFP_KERNEL, "%s #%d", name, i);
267 if (!entity->name)
270 entity->function = MEDIA_ENT_F_IO_DTV;
273 ret = media_entity_pads_init(entity, 1, pads);
278 entity);
643 struct media_entity *entity; local
664 struct media_entity *entity, *tuner = NULL, *demod = NULL, *conn; local
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disp.c545 pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity);
551 pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity);
557 pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity);
563 pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity);
572 pipe = to_isp_pipeline(&isp->isp_res.subdev.entity);
675 struct media_entity *entity; local
681 /* Refuse to start streaming if an entity included in the pipeline has
697 entity = &pipe->output->video.entity;
699 pad = &entity
784 struct media_entity *entity; local
1613 isp_link_entity( struct isp_device *isp, struct media_entity *entity, enum isp_interface_type interface) argument
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_driver.c135 struct uvc_entity *entity; local
137 list_for_each_entry(entity, &dev->entities, list) {
138 if (entity->id == id)
139 return entity;
146 int id, struct uvc_entity *entity)
150 if (entity == NULL)
151 entity = list_entry(&dev->entities, struct uvc_entity, list);
153 list_for_each_entry_continue(entity, &dev->entities, list) {
154 for (i = 0; i < entity->bNrInPins; ++i)
155 if (entity
145 uvc_entity_by_reference(struct uvc_device *dev, int id, struct uvc_entity *entity) argument
770 struct uvc_entity *entity; local
823 uvc_entity_set_name(struct uvc_device *dev, struct uvc_entity *entity, const char *type_name, u8 string_id) argument
1237 uvc_gpio_get_cur(struct uvc_device *dev, struct uvc_entity *entity, u8 cs, void *data, u16 size) argument
1248 uvc_gpio_get_info(struct uvc_device *dev, struct uvc_entity *entity, u8 cs, u8 *caps) argument
1346 uvc_scan_chain_entity(struct uvc_video_chain *chain, struct uvc_entity *entity) argument
1423 uvc_scan_chain_forward(struct uvc_video_chain *chain, struct uvc_entity *entity, struct uvc_entity *prev) argument
1525 struct uvc_entity *entity = *_entity; local
1603 struct uvc_entity *entity, *prev; local
1706 struct uvc_entity *entity; local
1874 struct uvc_entity *entity; local
[all...]
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c33 * @entity: media entity, from the corresponding V4L2 subdev
38 struct media_entity *entity; member in struct:xvip_graph_entity
56 struct xvip_graph_entity *entity; local
66 entity = to_xvip_entity(asd);
67 if (entity->asd.match.fwnode == fwnode)
68 return entity;
76 struct xvip_graph_entity *entity)
79 struct media_entity *local = entity->entity;
75 xvip_graph_build_one(struct xvip_composite_device *xdev, struct xvip_graph_entity *entity) argument
294 struct xvip_graph_entity *entity; local
324 struct xvip_graph_entity *entity = to_xvip_entity(asc); local
389 struct xvip_graph_entity *entity; local
[all...]
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c229 struct md_pm_entity *entity; local
232 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) {
233 if (entity->id == pm_entity->id) {
239 list_add_tail(&pm_entity->entity, &t7xx_dev->md_pm_entities);
246 struct md_pm_entity *entity, *tmp_entity; local
249 list_for_each_entry_safe(entity, tmp_entity, &t7xx_dev->md_pm_entities, entity) {
250 if (entity->id == pm_entity->id) {
251 list_del(&pm_entity->entity);
353 struct md_pm_entity *entity; local
487 struct md_pm_entity *entity; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c33 container_of((e), struct amdgpu_ctx_entity, entity)
209 struct amdgpu_ctx_entity *entity; local
215 entity = kzalloc(struct_size(entity, fences, amdgpu_sched_jobs),
217 if (!entity)
222 entity->hw_ip = hw_ip;
223 entity->sequence = 1;
252 r = drm_sched_entity_init(&entity->entity, drm_prio, scheds, num_scheds,
257 /* It's not an error if we fail to install the new entity */
272 amdgpu_ctx_fini_entity(struct amdgpu_device *adev, struct amdgpu_ctx_entity *entity) argument
434 amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, u32 ring, struct drm_sched_entity **entity) argument
749 amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, struct drm_sched_entity *entity, struct dma_fence *fence) argument
776 amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, struct drm_sched_entity *entity, uint64_t seq) argument
851 amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx, struct drm_sched_entity *entity) argument
900 struct drm_sched_entity *entity; local
930 struct drm_sched_entity *entity; local
[all...]
H A Damdgpu_job.h85 return to_amdgpu_ring(job->base.entity->rq->sched);
89 struct drm_sched_entity *entity, void *owner,
92 struct drm_sched_entity *entity, void *owner,
/linux-master/drivers/gpu/drm/scheduler/
H A Dsched_fence.c206 struct drm_sched_fence *drm_sched_fence_alloc(struct drm_sched_entity *entity, argument
222 struct drm_sched_entity *entity)
226 fence->sched = entity->rq->sched;
227 seq = atomic_inc_return(&entity->fence_seq);
229 &fence->lock, entity->fence_context, seq);
231 &fence->lock, entity->fence_context + 1, seq);
221 drm_sched_fence_init(struct drm_sched_fence *fence, struct drm_sched_entity *entity) argument
/linux-master/drivers/staging/media/imx/
H A Dimx-ic-common.c54 priv->sd.entity.ops = ic_ops[priv->task_id]->entity_ops;
55 priv->sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
84 media_entity_cleanup(&sd->entity);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_cudbg.h22 enum cudbg_dbg_entity_type entity; member in struct:cxgb4_collect_entity
H A Dcxgb4_cudbg.c75 u32 i, entity; local
81 entity = cxgb4_collect_hw_dump[i].entity;
82 len += cudbg_get_entity_length(adap, entity);
88 entity = cxgb4_collect_mem_dump[i].entity;
89 len += cudbg_get_entity_length(adap, entity);
117 entity_hdr = cudbg_get_entity_hdr(buf, e->entity);
118 entity_hdr->entity_type = e->entity;
129 /* Log error and continue with next entity */
[all...]
/linux-master/drivers/staging/media/tegra-video/
H A Dvip.h10 #include <media/media-entity.h>
26 * @pads: media pads for the subdevice entity
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss.h19 #include <media/media-entity.h>
139 struct media_entity *camss_find_sensor(struct media_entity *entity);
140 s64 camss_get_link_freq(struct media_entity *entity, unsigned int bpp,
142 int camss_get_pixel_clock(struct media_entity *entity, u64 *pixel_clock);
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c132 struct device_node *entity; local
135 /* Locate the connected entity and initialize the encoder. */
136 entity = of_graph_get_remote_port_parent(ep->local_node);
137 if (!entity) {
143 if (!of_device_is_available(entity)) {
145 "connected entity %pOF is disabled, skipping\n",
146 entity);
147 of_node_put(entity);
151 ret = rzg2l_du_encoder_init(rcdu, output, entity);
155 entity, rzg2l_du_output_nam
[all...]

Completed in 375 milliseconds

1234567891011>>