/drivers/staging/lustre/lnet/lnet/ |
D | lib-me.c | 83 struct lnet_me *me; in LNetMEAttach() local 97 me = lnet_me_alloc(); in LNetMEAttach() 98 if (me == NULL) in LNetMEAttach() 103 me->me_portal = portal; in LNetMEAttach() 104 me->me_match_id = match_id; in LNetMEAttach() 105 me->me_match_bits = match_bits; in LNetMEAttach() 106 me->me_ignore_bits = ignore_bits; in LNetMEAttach() 107 me->me_unlink = unlink; in LNetMEAttach() 108 me->me_md = NULL; in LNetMEAttach() 111 &me->me_lh); in LNetMEAttach() [all …]
|
D | lib-ptl.c | 146 lnet_me_t *me = md->md_me; in lnet_try_match_md() local 157 if (me->me_match_id.nid != LNET_NID_ANY && in lnet_try_match_md() 158 me->me_match_id.nid != info->mi_id.nid) in lnet_try_match_md() 161 if (me->me_match_id.pid != LNET_PID_ANY && in lnet_try_match_md() 162 me->me_match_id.pid != info->mi_id.pid) in lnet_try_match_md() 166 if (((me->me_match_bits ^ info->mi_mbits) & ~me->me_ignore_bits) != 0) in lnet_try_match_md() 377 lnet_me_t *me; in lnet_mt_match_md() local 392 list_for_each_entry_safe(me, tmp, head, me_list) { in lnet_mt_match_md() 394 if (me->me_md == NULL) in lnet_mt_match_md() 397 LASSERT(me == me->me_md->md_me); in lnet_mt_match_md() [all …]
|
D | lib-md.c | 51 lnet_me_t *me = md->md_me; in lnet_md_unlink() local 58 if (me != NULL) { in lnet_md_unlink() 60 lnet_ptl_detach_md(me, md); in lnet_md_unlink() 61 if (me->me_unlink == LNET_UNLINK) in lnet_md_unlink() 62 lnet_me_unlink(me); in lnet_md_unlink() 271 struct lnet_me *me; in LNetMDAttach() local 298 me = lnet_handle2me(&meh); in LNetMDAttach() 299 if (me == NULL) in LNetMDAttach() 301 else if (me->me_md != NULL) in LNetMDAttach() 311 lnet_ptl_attach_md(me, md, &matches, &drops); in LNetMDAttach()
|
D | Makefile | 4 lib-me.o lib-msg.o lib-eq.o lib-md.o lib-ptl.o \
|
/drivers/misc/mei/ |
D | Makefile | 17 obj-$(CONFIG_INTEL_MEI_ME) += mei-me.o 18 mei-me-objs := pci-me.o 19 mei-me-objs += hw-me.o
|
/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 606 struct score me; /* score for area */ in update_candidate() local 615 assign(&me.a, x0, y0, x0 + w - 1, y0 + h - 1); in update_candidate() 619 get_neighbor_stats(tcm, &me.a, &me.n); in update_candidate() 620 me.neighs = me.n.edge + me.n.busy; in update_candidate() 621 get_nearness_factor(field, &me.a, &me.f); in update_candidate() 632 best->neighs <= me.neighs && in update_candidate() 633 (best->neighs < me.neighs || in update_candidate() 635 best->n.busy < me.n.busy || in update_candidate() 636 (best->n.busy == me.n.busy && in update_candidate() 638 best->f.x + best->f.y > me.f.x + me.f.y))) in update_candidate() [all …]
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 223 lnet_me_t *me; in lnet_me_alloc() local 225 LIBCFS_ALLOC(me, sizeof(*me)); in lnet_me_alloc() 226 return me; in lnet_me_alloc() 230 lnet_me_free(lnet_me_t *me) in lnet_me_free() argument 232 LIBCFS_FREE(me, sizeof(*me)); in lnet_me_free() 329 lnet_me2handle(lnet_handle_me_t *handle, lnet_me_t *me) in lnet_me2handle() argument 331 handle->cookie = me->me_lh.lh_cookie; in lnet_me2handle() 513 void lnet_ptl_attach_md(lnet_me_t *me, lnet_libmd_t *md, 515 void lnet_ptl_detach_md(lnet_me_t *me, lnet_libmd_t *md); 617 void lnet_me_unlink(lnet_me_t *me);
|
/drivers/media/platform/exynos4-is/ |
D | media-dev.h | 165 static inline struct fimc_md *entity_to_fimc_mdev(struct media_entity *me) in entity_to_fimc_mdev() argument 167 return me->parent == NULL ? NULL : in entity_to_fimc_mdev() 168 container_of(me->parent, struct fimc_md, media_dev); in entity_to_fimc_mdev()
|
D | fimc-isp-video.c | 278 struct media_entity *me = &ve->vdev.entity; in isp_video_open() local 293 mutex_lock(&me->parent->graph_mutex); in isp_video_open() 295 ret = fimc_pipeline_call(ve, open, me, true); in isp_video_open() 299 me->use_count++; in isp_video_open() 301 mutex_unlock(&me->parent->graph_mutex); in isp_video_open() 502 struct media_entity *me = &ve->vdev.entity; in isp_video_streamon() local 505 ret = media_entity_pipeline_start(me, &ve->pipe->mp); in isp_video_streamon() 520 media_entity_pipeline_stop(me); in isp_video_streamon()
|
D | media-dev.c | 68 struct media_entity *me) in fimc_pipeline_prepare() argument 70 struct fimc_md *fmd = entity_to_fimc_mdev(me); in fimc_pipeline_prepare() 82 for (i = 0; i < me->num_pads; i++) { in fimc_pipeline_prepare() 83 struct media_pad *spad = &me->pads[i]; in fimc_pipeline_prepare() 118 me = &sd->entity; in fimc_pipeline_prepare() 119 if (me->num_pads == 1) in fimc_pipeline_prepare() 198 struct media_entity *me, bool prepare) in __fimc_pipeline_open() argument 200 struct fimc_md *fmd = entity_to_fimc_mdev(me); in __fimc_pipeline_open() 205 if (WARN_ON(p == NULL || me == NULL)) in __fimc_pipeline_open() 209 fimc_pipeline_prepare(p, me); in __fimc_pipeline_open()
|
D | fimc-capture.c | 753 static struct media_entity *fimc_pipeline_get_head(struct media_entity *me) in fimc_pipeline_get_head() argument 755 struct media_pad *pad = &me->pads[0]; in fimc_pipeline_get_head() 761 me = pad->entity; in fimc_pipeline_get_head() 762 pad = &me->pads[0]; in fimc_pipeline_get_head() 765 return me; in fimc_pipeline_get_head() 786 struct media_entity *me; in fimc_pipeline_try_format() local 799 me = fimc_pipeline_get_head(&sd->entity); in fimc_pipeline_try_format() 814 while (me != &fimc->vid_cap.subdev.entity) { in fimc_pipeline_try_format() 815 sd = media_entity_to_v4l2_subdev(me); in fimc_pipeline_try_format() 822 if (me->pads[0].flags & MEDIA_PAD_FL_SINK) { in fimc_pipeline_try_format() [all …]
|
/drivers/tty/ |
D | mxser.c | 1550 struct mxser_mon_ext *me; /* it's 2k, stack unfriendly */ in mxser_ioctl_special() local 1554 me = kzalloc(sizeof(*me), GFP_KERNEL); in mxser_ioctl_special() 1555 if (!me) in mxser_ioctl_special() 1560 if (p >= ARRAY_SIZE(me->rx_cnt)) { in mxser_ioctl_special() 1586 me->rx_cnt[p] = ip->mon_data.rxcnt; in mxser_ioctl_special() 1587 me->tx_cnt[p] = ip->mon_data.txcnt; in mxser_ioctl_special() 1588 me->up_rxcnt[p] = ip->mon_data.up_rxcnt; in mxser_ioctl_special() 1589 me->up_txcnt[p] = ip->mon_data.up_txcnt; in mxser_ioctl_special() 1590 me->modem_status[p] = in mxser_ioctl_special() 1599 me->baudrate[p] = tty_termios_baud_rate(&ip->normal_termios); in mxser_ioctl_special() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | channv50.c | 54 u32 me; in nv50_fifo_chan_engine_fini() local 72 me = nvkm_mask(device, 0x00b860, 0x00000001, 0x00000001); in nv50_fifo_chan_engine_fini() 85 nvkm_wr32(device, 0x00b860, me); in nv50_fifo_chan_engine_fini()
|
/drivers/tty/ipwireless/ |
D | main.c | 314 static struct pcmcia_driver me = { variable 334 ret = pcmcia_register_driver(&me); in init_ipwireless() 346 pcmcia_unregister_driver(&me); in exit_ipwireless()
|
/drivers/media/platform/omap3isp/ |
D | isp.c | 1128 static int isp_pipeline_is_last(struct media_entity *me) in isp_pipeline_is_last() argument 1133 if (!me->pipe) in isp_pipeline_is_last() 1135 pipe = to_isp_pipeline(me); in isp_pipeline_is_last() 1139 return pad->entity == me; in isp_pipeline_is_last() 1150 static void isp_suspend_module_pipeline(struct media_entity *me) in isp_suspend_module_pipeline() argument 1152 if (isp_pipeline_is_last(me)) in isp_suspend_module_pipeline() 1153 isp_pipeline_suspend(to_isp_pipeline(me)); in isp_suspend_module_pipeline() 1164 static void isp_resume_module_pipeline(struct media_entity *me) in isp_resume_module_pipeline() argument 1166 if (isp_pipeline_is_last(me)) in isp_resume_module_pipeline() 1167 isp_pipeline_resume(to_isp_pipeline(me)); in isp_resume_module_pipeline() [all …]
|
/drivers/staging/media/omap4iss/ |
D | iss.c | 737 static int iss_pipeline_is_last(struct media_entity *me) in iss_pipeline_is_last() argument 742 if (!me->pipe) in iss_pipeline_is_last() 744 pipe = to_iss_pipeline(me); in iss_pipeline_is_last() 748 return pad->entity == me; in iss_pipeline_is_last() 813 int omap4iss_module_sync_idle(struct media_entity *me, wait_queue_head_t *wait, in omap4iss_module_sync_idle() argument 816 struct iss_pipeline *pipe = to_iss_pipeline(me); in omap4iss_module_sync_idle() 841 if (!iss_pipeline_is_last(me)) in omap4iss_module_sync_idle()
|
D | iss_ipipe.c | 500 struct media_entity *me = &sd->entity; in ipipe_init_entities() local 515 me->ops = &ipipe_media_ops; in ipipe_init_entities() 516 ret = media_entity_init(me, IPIPE_PADS_NUM, pads, 0); in ipipe_init_entities()
|
D | iss_ipipeif.c | 729 struct media_entity *me = &sd->entity; in ipipeif_init_entities() local 745 me->ops = &ipipeif_media_ops; in ipipeif_init_entities() 746 ret = media_entity_init(me, IPIPEIF_PADS_NUM, pads, 0); in ipipeif_init_entities()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | cik.h | 30 u32 me, u32 pipe, u32 queue, u32 vmid);
|
D | vi.h | 30 u32 me, u32 pipe, u32 queue, u32 vmid);
|
D | gfx_v7_0.c | 2398 switch (ring->me) { in gfx_v7_0_ring_emit_hdp_flush() 3319 int me = (i < 4) ? 1 : 2; in gfx_v7_0_cp_compute_resume() local 3324 cik_srbm_select(adev, me, pipe, 0, 0); in gfx_v7_0_cp_compute_resume() 3388 cik_srbm_select(adev, ring->me, in gfx_v7_0_cp_compute_resume() 4291 int me, i, max_me = 4; in gfx_v7_0_init_cp_pg_table() local 4303 for (me = 0; me < max_me; me++) { in gfx_v7_0_init_cp_pg_table() 4304 if (me == 0) { in gfx_v7_0_init_cp_pg_table() 4312 } else if (me == 1) { in gfx_v7_0_init_cp_pg_table() 4320 } else if (me == 2) { in gfx_v7_0_init_cp_pg_table() 4328 } else if (me == 3) { in gfx_v7_0_init_cp_pg_table() [all …]
|
/drivers/staging/rdma/ehca/ |
D | ehca_mrmw.c | 120 struct ehca_mr *me; in ehca_mr_new() local 122 me = kmem_cache_zalloc(mr_cache, GFP_KERNEL); in ehca_mr_new() 123 if (me) in ehca_mr_new() 124 spin_lock_init(&me->mrlock); in ehca_mr_new() 128 return me; in ehca_mr_new() 131 static void ehca_mr_delete(struct ehca_mr *me) in ehca_mr_delete() argument 133 kmem_cache_free(mr_cache, me); in ehca_mr_delete() 138 struct ehca_mw *me; in ehca_mw_new() local 140 me = kmem_cache_zalloc(mw_cache, GFP_KERNEL); in ehca_mw_new() 141 if (me) in ehca_mw_new() [all …]
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | device.h | 131 struct nvkm_engine *me; member 196 int (*me )(struct nvkm_device *, int idx, struct nvkm_engine **); member
|
/drivers/staging/media/davinci_vpfe/ |
D | dm365_resizer.c | 1884 struct media_entity *me = &sd->entity; in vpfe_resizer_init() local 1917 me->ops = &resizer_media_ops; in vpfe_resizer_init() 1918 ret = media_entity_init(me, RESIZER_CROP_PADS_NUM, pads, 0); in vpfe_resizer_init() 1924 me = &sd->entity; in vpfe_resizer_init() 1939 me->ops = &resizer_media_ops; in vpfe_resizer_init() 1940 ret = media_entity_init(me, RESIZER_PADS_NUM, pads, 0); in vpfe_resizer_init() 1946 me = &sd->entity; in vpfe_resizer_init() 1961 me->ops = &resizer_media_ops; in vpfe_resizer_init() 1962 ret = media_entity_init(me, RESIZER_PADS_NUM, pads, 0); in vpfe_resizer_init()
|
/drivers/media/tuners/ |
D | mt2063.c | 723 u32 ma, mb, mc, md, me, mf; in IsSpurInBand() local 776 me = (n * ((f_LO1 + hgfs) / gf_Scale) + in IsSpurInBand() 780 if (me != mf) { in IsSpurInBand() 782 f_nsLO2 = me * (f_LO2 / gf_Scale); in IsSpurInBand() 785 n * (f_LO1 % gf_Scale) - me * (f_LO2 % gf_Scale); in IsSpurInBand() 787 *fp = ((f_Spur + (s32) f) / (me - n)) + 1; in IsSpurInBand() 788 *fm = (((s32) f - f_Spur) / (me - n)) + 1; in IsSpurInBand()
|