/linux-4.19.296/block/ |
D | bfq-wf2q.c | 39 static unsigned int bfq_class_idx(struct bfq_entity *entity) in bfq_class_idx() argument 41 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_class_idx() 153 struct bfq_entity *group_entity = bfqq->entity.parent; in bfq_bfqq_to_bfqg() 156 group_entity = &bfqq->bfqd->root_group->entity; in bfq_bfqq_to_bfqg() 158 return container_of(group_entity, struct bfq_group, entity); in bfq_bfqq_to_bfqg() 210 static bool bfq_no_longer_next_in_service(struct bfq_entity *entity) in bfq_no_longer_next_in_service() argument 214 if (bfq_entity_to_bfqq(entity)) in bfq_no_longer_next_in_service() 217 bfqg = container_of(entity, struct bfq_group, entity); in bfq_no_longer_next_in_service() 249 static bool bfq_no_longer_next_in_service(struct bfq_entity *entity) in bfq_no_longer_next_in_service() argument 265 struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity) in bfq_entity_to_bfqq() argument [all …]
|
D | bfq-cgroup.c | 243 struct bfq_entity *group_entity = bfqq->entity.parent; in bfqq_group() 246 entity) : in bfqq_group() 346 void bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg) in bfq_init_entity() argument 348 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() 350 entity->weight = entity->new_weight; in bfq_init_entity() 351 entity->orig_weight = entity->new_weight; in bfq_init_entity() 361 entity->parent = bfqg->my_entity; /* NULL for root group */ in bfq_init_entity() 362 entity->sched_data = &bfqg->sched_data; in bfq_init_entity() 460 struct bfq_entity *entity = &bfqg->entity; in bfq_pd_init() local 463 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init() [all …]
|
D | bfq-iosched.h | 267 struct bfq_entity entity; member 858 struct bfq_entity entity; member 886 struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity); 931 void bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg); 953 #define for_each_entity(entity) \ argument 954 for (; entity ; entity = entity->parent) 962 #define for_each_entity_safe(entity, parent) \ argument 963 for (; entity && ({ parent = entity->parent; 1; }); entity = parent) 971 #define for_each_entity(entity) \ argument 972 for (; entity ; entity = NULL) [all …]
|
D | bfq-iosched.c | 694 struct bfq_entity *entity = &bfqq->entity; in bfq_weights_tree_add() local 718 if (entity->weight == __counter->weight) { in bfq_weights_tree_add() 722 if (entity->weight < __counter->weight) in bfq_weights_tree_add() 747 bfqq->weight_counter->weight = entity->weight; in bfq_weights_tree_add() 788 struct bfq_entity *entity = bfqq->entity.parent; in bfq_weights_tree_remove() local 790 for_each_entity(entity) { in bfq_weights_tree_remove() 791 struct bfq_sched_data *sd = entity->my_sched_data; in bfq_weights_tree_remove() 818 if (entity->in_groups_with_pending_reqs) { in bfq_weights_tree_remove() 819 entity->in_groups_with_pending_reqs = false; in bfq_weights_tree_remove() 907 struct bfq_entity *entity = &bfqq->entity; in bfq_updated_next_req() local [all …]
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 25 struct media_entity *entity; in v4l2_mc_create_media_graph() local 36 media_device_for_each_entity(entity, mdev) { in v4l2_mc_create_media_graph() 37 switch (entity->function) { in v4l2_mc_create_media_graph() 39 if_vid = entity; in v4l2_mc_create_media_graph() 42 if_aud = entity; in v4l2_mc_create_media_graph() 45 tuner = entity; in v4l2_mc_create_media_graph() 48 decoder = entity; in v4l2_mc_create_media_graph() 51 io_v4l = entity; in v4l2_mc_create_media_graph() 54 io_vbi = entity; in v4l2_mc_create_media_graph() 57 io_swradio = entity; in v4l2_mc_create_media_graph() [all …]
|
D | v4l2-subdev.c | 35 if (sd->entity.num_pads) { in subdev_fh_init() 58 struct media_entity *entity = NULL; in subdev_open() local 77 entity = media_entity_get(&sd->entity); in subdev_open() 78 if (!entity) { in subdev_open() 95 media_entity_put(entity); in subdev_open() 116 media_entity_put(&sd->entity); in subdev_close() 135 if (format->pad >= sd->entity.num_pads) in check_format() 147 if (crop->pad >= sd->entity.num_pads) in check_crop() 160 if (sel->pad >= sd->entity.num_pads) in check_selection() 168 if (edid->pad >= sd->entity.num_pads) in check_edid() [all …]
|
D | v4l2-device.c | 158 struct media_entity *entity = &sd->entity; in v4l2_device_register_subdev() local 188 err = media_device_register_entity(v4l2_dev->mdev, entity); in v4l2_device_register_subdev() 208 media_device_unregister_entity(entity); in v4l2_device_register_subdev() 261 sd->entity.info.dev.major = VIDEO_MAJOR; in v4l2_device_register_subdev_nodes() 262 sd->entity.info.dev.minor = vdev->minor; in v4l2_device_register_subdev_nodes() 268 link = media_create_intf_link(&sd->entity, in v4l2_device_register_subdev_nodes() 316 media_device_unregister_entity(&sd->entity); in v4l2_device_unregister_subdev()
|
D | v4l2-dev.c | 208 if (vdev->entity.function != MEDIA_ENT_F_UNKNOWN) in v4l2_device_release() 209 media_device_unregister_entity(&vdev->entity); in v4l2_device_release() 748 vdev->entity.obj_type = MEDIA_ENTITY_TYPE_VIDEO_DEVICE; in video_register_media_controller() 749 vdev->entity.function = MEDIA_ENT_F_UNKNOWN; in video_register_media_controller() 754 vdev->entity.function = MEDIA_ENT_F_IO_V4L; in video_register_media_controller() 758 vdev->entity.function = MEDIA_ENT_F_IO_VBI; in video_register_media_controller() 762 vdev->entity.function = MEDIA_ENT_F_IO_SWRADIO; in video_register_media_controller() 766 vdev->entity.function = MEDIA_ENT_F_IO_V4L; in video_register_media_controller() 784 if (vdev->entity.function != MEDIA_ENT_F_UNKNOWN) { in video_register_media_controller() 785 vdev->entity.name = vdev->name; in video_register_media_controller() [all …]
|
D | v4l2-mem2mem.c | 733 struct media_entity *entity; in v4l2_m2m_register_entity() local 742 entity = m2m_dev->source; in v4l2_m2m_register_entity() 748 entity = &m2m_dev->sink; in v4l2_m2m_register_entity() 754 entity = &m2m_dev->proc; in v4l2_m2m_register_entity() 764 entity->obj_type = MEDIA_ENTITY_TYPE_BASE; in v4l2_m2m_register_entity() 766 entity->info.dev.major = VIDEO_MAJOR; in v4l2_m2m_register_entity() 767 entity->info.dev.minor = vdev->minor; in v4l2_m2m_register_entity() 774 entity->name = name; in v4l2_m2m_register_entity() 775 entity->function = function; in v4l2_m2m_register_entity() 777 ret = media_entity_pads_init(entity, num_pads, pads); in v4l2_m2m_register_entity() [all …]
|
D | v4l2-flash-led-class.c | 645 ret = media_entity_pads_init(&sd->entity, 0, NULL); in __v4l2_flash_init() 649 sd->entity.function = MEDIA_ENT_F_FLASH; in __v4l2_flash_init() 667 media_entity_cleanup(&sd->entity); in __v4l2_flash_init() 705 media_entity_cleanup(&sd->entity); in v4l2_flash_release()
|
D | tuner-core.c | 426 t->sd.entity.name = t->name; in set_type() 680 t->sd.entity.name = t->name; in tuner_probe() 689 ret = media_entity_pads_init(&t->sd.entity, in tuner_probe() 692 t->sd.entity.function = MEDIA_ENT_F_IF_VID_DECODER; in tuner_probe() 697 ret = media_entity_pads_init(&t->sd.entity, TUNER_NUM_PADS, in tuner_probe() 699 t->sd.entity.function = MEDIA_ENT_F_TUNER; in tuner_probe()
|
/linux-4.19.296/drivers/media/ |
D | media-entity.c | 135 pad->entity->name, pad->index); in dev_dbg_obj() 206 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument 209 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init() 215 entity->num_pads = num_pads; in media_entity_pads_init() 216 entity->pads = pads; in media_entity_pads_init() 222 pads[i].entity = entity; in media_entity_pads_init() 226 &entity->pads[i].graph_obj); in media_entity_pads_init() 241 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other() argument 243 if (link->source->entity == entity) in media_entity_other() 244 return link->sink->entity; in media_entity_other() [all …]
|
/linux-4.19.296/include/media/ |
D | media-entity.h | 98 struct media_entity *entity; member 151 struct media_entity *entity; member 170 struct media_entity *entity; member 194 int (*link_setup)(struct media_entity *entity, 340 static inline u32 media_entity_id(struct media_entity *entity) in media_entity_id() argument 342 return entity->graph_obj.id; in media_entity_id() 389 static inline bool is_media_entity_v4l2_video_device(struct media_entity *entity) in is_media_entity_v4l2_video_device() argument 391 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_VIDEO_DEVICE; in is_media_entity_v4l2_video_device() 402 static inline bool is_media_entity_v4l2_subdev(struct media_entity *entity) in is_media_entity_v4l2_subdev() argument 404 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_V4L2_SUBDEV; in is_media_entity_v4l2_subdev() [all …]
|
D | media-device.h | 46 void (*notify)(struct media_entity *entity, void *notify_data); 156 int (*enable_source)(struct media_entity *entity, 158 void (*disable_source)(struct media_entity *entity); 319 struct media_entity *entity); 340 void media_device_unregister_entity(struct media_entity *entity); 370 #define media_device_for_each_entity(entity, mdev) \ argument 371 list_for_each_entry(entity, &(mdev)->entities, graph_obj.list) 428 struct media_entity *entity) in media_device_register_entity() argument 432 static inline void media_device_unregister_entity(struct media_entity *entity) in media_device_unregister_entity() argument
|
D | v4l2-mc.h | 192 int v4l2_pipeline_pm_use(struct media_entity *entity, int use); 234 static inline int v4l2_pipeline_pm_use(struct media_entity *entity, int use) in v4l2_pipeline_pm_use() argument
|
D | v4l2-subdev.h | 848 struct media_entity entity; member 884 container_of(__me_sd_ent, struct v4l2_subdev, entity) : \ 934 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_format() 952 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_crop() 970 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_compose()
|
D | v4l2-dev.h | 250 struct media_entity entity; member 303 container_of(__entity, struct video_device, entity)
|
D | dvbdev.h | 185 struct media_entity *entity, *tsout_entity; member
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | um_idi.h | 14 int divas_um_idi_delete_entity(int adapter_nr, void *entity); 25 int diva_um_idi_read(void *entity, 30 int diva_um_idi_write(void *entity, 35 int diva_user_mode_idi_ind_ready(void *entity, void *os_handle); 36 void *diva_um_id_get_os_context(void *entity); 38 int divas_um_idi_entity_assigned(void *entity); 39 int divas_um_idi_entity_start_remove(void *entity); 41 void diva_um_idi_start_wdog(void *entity); 42 void diva_um_idi_stop_wdog(void *entity);
|
D | divasi.c | 80 static int remove_entity(void *entity); 460 static int remove_entity(void *entity) in remove_entity() argument 465 diva_um_idi_stop_wdog(entity); in remove_entity() 467 if (!entity) { in remove_entity() 474 diva_um_id_get_os_context(entity))) { in remove_entity() 479 if (!divas_um_idi_entity_assigned(entity) || p_os->aborted) { in remove_entity() 486 DBG_TRC(("E(%08x) check remove", entity)) in remove_entity() 492 diva_um_idi_start_wdog(entity); in remove_entity() 500 if (!divas_um_idi_entity_start_remove(entity) in remove_entity() 510 DBG_TRC(("E(%08x) start remove", entity)) in remove_entity() [all …]
|
D | um_idi.c | 273 int divas_um_idi_delete_entity(int adapter_nr, void *entity) in divas_um_idi_delete_entity() argument 279 if (!(e = (divas_um_idi_entity_t *) entity)) in divas_um_idi_delete_entity() 288 diva_um_idi_stop_wdog(entity); in divas_um_idi_delete_entity() 302 int diva_um_idi_read(void *entity, in diva_um_idi_read() argument 316 e = (divas_um_idi_entity_t *) entity; in diva_um_idi_read() 382 int diva_um_idi_write(void *entity, in diva_um_idi_write() argument 396 e = (divas_um_idi_entity_t *) entity; in diva_um_idi_write() 492 static void diva_um_idi_xdi_callback(ENTITY *entity) in diva_um_idi_xdi_callback() argument 494 divas_um_idi_entity_t *e = DIVAS_CONTAINING_RECORD(entity, in diva_um_idi_xdi_callback() 760 int diva_user_mode_idi_ind_ready(void *entity, void *os_handle) in diva_user_mode_idi_ind_ready() argument [all …]
|
/linux-4.19.296/drivers/media/dvb-core/ |
D | dvbdev.c | 217 if (dvbdev->entity) { in dvb_media_device_free() 218 media_device_unregister_entity(dvbdev->entity); in dvb_media_device_free() 219 kfree(dvbdev->entity); in dvb_media_device_free() 221 dvbdev->entity = NULL; in dvb_media_device_free() 275 struct media_entity *entity = &dvbdev->tsout_entity[i]; in dvb_create_tsout_entity() local 277 entity->name = kasprintf(GFP_KERNEL, "%s #%d", name, i); in dvb_create_tsout_entity() 278 if (!entity->name) in dvb_create_tsout_entity() 281 entity->function = MEDIA_ENT_F_IO_DTV; in dvb_create_tsout_entity() 284 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity() 289 entity); in dvb_create_tsout_entity() [all …]
|
/linux-4.19.296/include/drm/ |
D | gpu_scheduler.h | 195 struct drm_sched_entity *entity; member 285 int drm_sched_entity_init(struct drm_sched_entity *entity, 289 long drm_sched_entity_flush(struct drm_sched_entity *entity, long timeout); 290 void drm_sched_entity_fini(struct drm_sched_entity *entity); 291 void drm_sched_entity_destroy(struct drm_sched_entity *entity); 293 struct drm_sched_entity *entity); 294 void drm_sched_entity_set_rq(struct drm_sched_entity *entity, 302 struct drm_sched_entity *entity, 308 struct drm_sched_entity *entity);
|
/linux-4.19.296/include/uapi/linux/ |
D | uvcvideo.h | 47 __u8 entity[16]; member
|
D | media.h | 215 __u32 entity; /* entity ID */ member 237 __u32 entity; member
|