/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
D | ia_css_sdis.host.c | 312 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs_statistics_allocate() local 322 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs_statistics_allocate() 323 if (!me) in ia_css_isp_dvs_statistics_allocate() 333 me->size = hor_size + ver_size; in ia_css_isp_dvs_statistics_allocate() 334 me->data_ptr = hmm_alloc(me->size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_isp_dvs_statistics_allocate() 335 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs_statistics_allocate() 337 me->hor_size = hor_size; in ia_css_isp_dvs_statistics_allocate() 338 me->hor_proj = me->data_ptr; in ia_css_isp_dvs_statistics_allocate() 339 me->ver_size = ver_size; in ia_css_isp_dvs_statistics_allocate() 340 me->ver_proj = me->data_ptr + hor_size; in ia_css_isp_dvs_statistics_allocate() [all …]
|
/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 292 input_system_channel_t *me) in create_input_system_channel() argument 296 me->dma_id = ISYS2401_DMA0_ID; in create_input_system_channel() 301 me->stream2mmio_id = STREAM2MMIO0_ID; in create_input_system_channel() 302 me->ibuf_ctrl_id = IBUF_CTRL0_ID; in create_input_system_channel() 307 me->stream2mmio_id = STREAM2MMIO1_ID; in create_input_system_channel() 308 me->ibuf_ctrl_id = IBUF_CTRL1_ID; in create_input_system_channel() 313 me->stream2mmio_id = STREAM2MMIO2_ID; in create_input_system_channel() 314 me->ibuf_ctrl_id = IBUF_CTRL2_ID; in create_input_system_channel() 324 if (!acquire_sid(me->stream2mmio_id, &me->stream2mmio_sid_id)) { in create_input_system_channel() 338 &me->ib_buffer)) { in create_input_system_channel() [all …]
|
/drivers/staging/media/atomisp/pci/ |
D | sh_css_host_data.c | 22 struct ia_css_host_data *me; in ia_css_host_data_allocate() local 24 me = kmalloc(sizeof(struct ia_css_host_data), GFP_KERNEL); in ia_css_host_data_allocate() 25 if (!me) in ia_css_host_data_allocate() 27 me->size = (uint32_t)size; in ia_css_host_data_allocate() 28 me->address = kvmalloc(size, GFP_KERNEL); in ia_css_host_data_allocate() 29 if (!me->address) { in ia_css_host_data_allocate() 30 kfree(me); in ia_css_host_data_allocate() 33 return me; in ia_css_host_data_allocate() 36 void ia_css_host_data_free(struct ia_css_host_data *me) in ia_css_host_data_free() argument 38 if (me) { in ia_css_host_data_free() [all …]
|
D | sh_css_params.c | 700 struct ia_css_isp_parameter_set_info *me, 784 struct ia_css_host_data *me; in convert_allocate_fpntbl() local 794 me = ia_css_host_data_allocate(isp_format_data_size); in convert_allocate_fpntbl() 796 if (!me) in convert_allocate_fpntbl() 799 isp_format_data_ptr = (uint32_t *)me->address; in convert_allocate_fpntbl() 812 return me; in convert_allocate_fpntbl() 1365 struct ia_css_morph_table *me) in ia_css_morph_table_free() argument 1369 if (!me) in ia_css_morph_table_free() 1375 if (me->coordinates_x[i]) { in ia_css_morph_table_free() 1376 kvfree(me->coordinates_x[i]); in ia_css_morph_table_free() [all …]
|
D | sh_css_param_shading.c | 338 struct ia_css_shading_table *me; in ia_css_shading_table_alloc() local 342 me = kmalloc(sizeof(*me), GFP_KERNEL); in ia_css_shading_table_alloc() 343 if (!me) in ia_css_shading_table_alloc() 344 return me; in ia_css_shading_table_alloc() 346 me->width = width; in ia_css_shading_table_alloc() 347 me->height = height; in ia_css_shading_table_alloc() 348 me->sensor_width = 0; in ia_css_shading_table_alloc() 349 me->sensor_height = 0; in ia_css_shading_table_alloc() 350 me->fraction_bits = 0; in ia_css_shading_table_alloc() 352 me->data[i] = in ia_css_shading_table_alloc() [all …]
|
D | ia_css_dvs.h | 175 ia_css_isp_dvs_statistics_free(struct ia_css_isp_dvs_statistics *me); 189 ia_css_isp_dvs2_statistics_free(struct ia_css_isp_dvs_statistics *me); 203 ia_css_dvs_statistics_free(struct ia_css_dvs_statistics *me); 217 ia_css_dvs_coefficients_free(struct ia_css_dvs_coefficients *me); 231 ia_css_dvs2_statistics_free(struct ia_css_dvs2_statistics *me); 245 ia_css_dvs2_coefficients_free(struct ia_css_dvs2_coefficients *me); 291 ia_css_isp_dvs_statistics_map_free(struct ia_css_isp_dvs_statistics_map *me);
|
D | ia_css_3a.h | 142 ia_css_isp_3a_statistics_free(struct ia_css_isp_3a_statistics *me); 156 ia_css_3a_statistics_free(struct ia_css_3a_statistics *me); 188 ia_css_isp_3a_statistics_map_free(struct ia_css_isp_3a_statistics_map *me);
|
D | sh_css.c | 1436 struct ia_css_pipe *me, in start_pipe() argument 1445 me, copy_ovrd, input_mode); in start_pipe() 1447 assert(me); /* all callers are in this file and call with non null argument */ in start_pipe() 1450 coord = &me->config.internal_frame_origin_bqs_on_sctbl; in start_pipe() 1451 params = me->stream->isp_params_configs; in start_pipe() 1454 sh_css_sp_init_pipeline(&me->pipeline, in start_pipe() 1455 me->mode, in start_pipe() 1456 (uint8_t)ia_css_pipe_get_pipe_num(me), in start_pipe() 1457 me->config.default_capture_config.enable_xnr != 0, in start_pipe() 1458 me->stream->config.pixels_per_clock == 2, in start_pipe() [all …]
|
D | atomisp_tpg.c | 145 struct media_entity *me = &sd->entity; in atomisp_tpg_init() local 155 me->function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN; in atomisp_tpg_init() 157 ret = media_entity_pads_init(me, 1, pads); in atomisp_tpg_init()
|
D | sh_css_sp.c | 1191 sh_css_sp_init_pipeline(struct ia_css_pipeline *me, in sh_css_sp_init_pipeline() argument 1219 assert(me); in sh_css_sp_init_pipeline() 1221 assert(me->stages); in sh_css_sp_init_pipeline() 1223 first_binary = me->stages->binary; in sh_css_sp_init_pipeline() 1244 for (stage = me->stages, num = 0; stage; stage = stage->next, num++) in sh_css_sp_init_pipeline() 1249 me->num_stages = num; in sh_css_sp_init_pipeline() 1259 if ((me->num_stages == 1) && me->stages && in sh_css_sp_init_pipeline() 1260 (me->stages->sp_func == IA_CSS_PIPELINE_ISYS_COPY)) in sh_css_sp_init_pipeline() 1270 sh_css_sp_group.pipe[thread_id].num_execs = me->num_execs; in sh_css_sp_init_pipeline() 1271 sh_css_sp_group.pipe[thread_id].pipe_qos_config = me->pipe_qos_config; in sh_css_sp_init_pipeline() [all …]
|
/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 161 struct ia_css_frame *me; in ia_css_frame_map() local 166 err = ia_css_frame_create_from_info(&me, info); in ia_css_frame_map() 172 if (pgnr < ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map() 177 } else if (pgnr > ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map() 184 me->data = hmm_alloc(me->data_bytes, HMM_BO_USER, 0, data, in ia_css_frame_map() 187 if (me->data == mmgr_NULL) in ia_css_frame_map() 193 kvfree(me); in ia_css_frame_map() 194 me = NULL; in ia_css_frame_map() 197 *frame = me; in ia_css_frame_map() 206 struct ia_css_frame *me; in ia_css_frame_create_from_info() local [all …]
|
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
D | ia_css_sdis2.host.c | 276 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs2_statistics_allocate() local 286 me = kvcalloc(1, sizeof(*me), GFP_KERNEL); in ia_css_isp_dvs2_statistics_allocate() 287 if (!me) in ia_css_isp_dvs2_statistics_allocate() 296 me->size = 2 * size; in ia_css_isp_dvs2_statistics_allocate() 297 me->data_ptr = hmm_alloc(me->size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_isp_dvs2_statistics_allocate() 298 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs2_statistics_allocate() 300 me->hor_proj = me->data_ptr; in ia_css_isp_dvs2_statistics_allocate() 301 me->hor_size = size; in ia_css_isp_dvs2_statistics_allocate() 302 me->ver_proj = me->data_ptr + size; in ia_css_isp_dvs2_statistics_allocate() 303 me->ver_size = size; in ia_css_isp_dvs2_statistics_allocate() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | msix.c | 124 struct hfi1_msix_entry *me; in msix_request_irq() local 156 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq() 157 me->irq = irq; in msix_request_irq() 158 me->arg = arg; in msix_request_irq() 159 me->type = type; in msix_request_irq() 162 ret = hfi1_get_irq_affinity(dd, me); in msix_request_irq() 331 struct hfi1_msix_entry *me; in msix_free_irq() local 336 me = &dd->msix_info.msix_entries[msix_intr]; in msix_free_irq() 338 if (!me->arg) /* => no irq, no affinity */ in msix_free_irq() 341 hfi1_put_irq_affinity(dd, me); in msix_free_irq() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 70 int me, int pipe, int queue) in amdgpu_gfx_me_queue_to_bit() argument 74 bit += me * adev->gfx.me.num_pipe_per_me in amdgpu_gfx_me_queue_to_bit() 75 * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit() 76 bit += pipe * adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_me_queue_to_bit() 83 int *me, int *pipe, int *queue) in amdgpu_gfx_bit_to_me_queue() argument 85 *queue = bit % adev->gfx.me.num_queue_per_pipe; in amdgpu_gfx_bit_to_me_queue() 86 *pipe = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue() 87 % adev->gfx.me.num_pipe_per_me; in amdgpu_gfx_bit_to_me_queue() 88 *me = (bit / adev->gfx.me.num_queue_per_pipe) in amdgpu_gfx_bit_to_me_queue() 89 / adev->gfx.me.num_pipe_per_me; in amdgpu_gfx_bit_to_me_queue() [all …]
|
D | uvd_v7_0.c | 75 return RREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_RPTR); in uvd_v7_0_ring_get_rptr() 89 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_rptr() 90 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_RPTR); in uvd_v7_0_enc_ring_get_rptr() 92 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_RPTR2); in uvd_v7_0_enc_ring_get_rptr() 106 return RREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_WPTR); in uvd_v7_0_ring_get_wptr() 123 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_wptr() 124 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_WPTR); in uvd_v7_0_enc_ring_get_wptr() 126 return RREG32_SOC15(UVD, ring->me, mmUVD_RB_WPTR2); in uvd_v7_0_enc_ring_get_wptr() 140 WREG32_SOC15(UVD, ring->me, mmUVD_RBC_RB_WPTR, lower_32_bits(ring->wptr)); in uvd_v7_0_ring_set_wptr() 161 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_set_wptr() [all …]
|
D | amdgpu_rlc.c | 188 int me, i, max_me; in amdgpu_gfx_rlc_setup_cp_table() local 196 for (me = 0; me < max_me; me++) { in amdgpu_gfx_rlc_setup_cp_table() 197 if (me == 0) { in amdgpu_gfx_rlc_setup_cp_table() 205 } else if (me == 1) { in amdgpu_gfx_rlc_setup_cp_table() 213 } else if (me == 2) { in amdgpu_gfx_rlc_setup_cp_table() 221 } else if (me == 3) { in amdgpu_gfx_rlc_setup_cp_table() 229 } else if (me == 4) { in amdgpu_gfx_rlc_setup_cp_table()
|
D | amdgpu_gfx.h | 214 void (*select_me_pipe_q)(struct amdgpu_device *adev, u32 me, u32 pipe, 259 struct amdgpu_me me; member 328 #define amdgpu_gfx_select_me_pipe_q(adev, me, pipe, q, vmid) (adev)->gfx.funcs->select_me_pipe_q((a… argument 377 int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, int me, 380 int *me, int *pipe, int *queue); 381 bool amdgpu_gfx_is_me_queue_enabled(struct amdgpu_device *adev, int me,
|
/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
D | ia_css_dvs.host.c | 236 struct ia_css_host_data *me; in convert_allocate_dvs_6axis_config() local 242 me = ia_css_host_data_allocate((size_t)((DVS_6AXIS_BYTES(binary) / 2) * 3)); in convert_allocate_dvs_6axis_config() 244 if (!me) in convert_allocate_dvs_6axis_config() 257 convert_coords_to_ispparams(me, dvs_6axis_config, in convert_allocate_dvs_6axis_config() 266 convert_coords_to_ispparams(me, dvs_6axis_config, in convert_allocate_dvs_6axis_config() 269 return me; in convert_allocate_dvs_6axis_config() 278 struct ia_css_host_data *me; in store_dvs_6axis_config() local 284 me = convert_allocate_dvs_6axis_config(dvs_6axis_config, in store_dvs_6axis_config() 288 if (!me) in store_dvs_6axis_config() 296 me); in store_dvs_6axis_config() [all …]
|
/drivers/staging/media/atomisp/pci/runtime/pipeline/src/ |
D | pipeline.c | 54 static void ia_css_pipeline_configure_inout_port(struct ia_css_pipeline *me, 728 ia_css_pipeline_configure_inout_port(struct ia_css_pipeline *me, in ia_css_pipeline_configure_inout_port() argument 733 me->pipe_id, continuous); in ia_css_pipeline_configure_inout_port() 734 switch (me->pipe_id) { in ia_css_pipeline_configure_inout_port() 737 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 740 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 745 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 749 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 752 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 756 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() [all …]
|
/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/net/ |
D | vrf.c | 187 static int vrf_map_elem_get_vrf_ifindex(struct vrf_map_elem *me) in vrf_map_elem_get_vrf_ifindex() argument 189 struct list_head *me_head = &me->vrf_list; in vrf_map_elem_get_vrf_ifindex() 202 struct vrf_map_elem *me; in vrf_map_elem_alloc() local 204 me = kmalloc(sizeof(*me), flags); in vrf_map_elem_alloc() 205 if (!me) in vrf_map_elem_alloc() 208 return me; in vrf_map_elem_alloc() 211 static void vrf_map_elem_free(struct vrf_map_elem *me) in vrf_map_elem_free() argument 213 kfree(me); in vrf_map_elem_free() 216 static void vrf_map_elem_init(struct vrf_map_elem *me, int table_id, in vrf_map_elem_init() argument 219 me->table_id = table_id; in vrf_map_elem_init() [all …]
|
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
D | irq.c | 89 unsigned int me = 1U << irq_id; in irq_enable_channel() local 94 mask |= me; in irq_enable_channel() 95 enable |= me; in irq_enable_channel() 96 edge_in |= me; /* rising edge */ in irq_enable_channel() 102 _HRT_IRQ_CONTROLLER_MASK_REG_IDX, mask & ~me); in irq_enable_channel() 111 _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX, me); in irq_enable_channel() 144 unsigned int me = 1U << irq_id; in irq_disable_channel() local 149 mask &= ~me; in irq_disable_channel() 150 enable &= ~me; in irq_disable_channel() 160 _HRT_IRQ_CONTROLLER_CLEAR_REG_IDX, me); in irq_disable_channel()
|
/drivers/staging/media/imx/ |
D | imx-media-utils.c | 709 struct media_entity *me = start_entity; in imx_media_pipeline_pad() local 715 for (i = 0; i < me->num_pads; i++) { in imx_media_pipeline_pad() 716 struct media_pad *spad = &me->pads[i]; in imx_media_pipeline_pad() 808 struct media_entity *me; in imx_media_pipeline_subdev() local 810 me = find_pipeline_entity(start_entity, grp_id, 0, upstream); in imx_media_pipeline_subdev() 811 if (!me) in imx_media_pipeline_subdev() 814 return media_entity_to_v4l2_subdev(me); in imx_media_pipeline_subdev() 827 struct media_entity *me; in imx_media_pipeline_video_device() local 829 me = find_pipeline_entity(start_entity, 0, buftype, upstream); in imx_media_pipeline_video_device() 830 if (!me) in imx_media_pipeline_video_device() [all …]
|
/drivers/media/platform/exynos4-is/ |
D | media-dev.h | 151 static inline struct fimc_md *entity_to_fimc_mdev(struct media_entity *me) in entity_to_fimc_mdev() argument 153 return me->graph_obj.mdev == NULL ? NULL : in entity_to_fimc_mdev() 154 container_of(me->graph_obj.mdev, struct fimc_md, media_dev); in entity_to_fimc_mdev()
|
D | fimc-isp-video.c | 268 struct media_entity *me = &ve->vdev.entity; in isp_video_open() local 283 mutex_lock(&me->graph_obj.mdev->graph_mutex); in isp_video_open() 285 ret = fimc_pipeline_call(ve, open, me, true); in isp_video_open() 289 me->use_count++; in isp_video_open() 291 mutex_unlock(&me->graph_obj.mdev->graph_mutex); in isp_video_open() 493 struct media_entity *me = &ve->vdev.entity; in isp_video_streamon() local 496 ret = media_pipeline_start(me, &ve->pipe->mp); in isp_video_streamon() 511 media_pipeline_stop(me); in isp_video_streamon()
|