/linux-master/sound/pci/echoaudio/ |
H A D | indigo_express_dsp.c | 77 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, argument 82 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || 89 chip->vmixer_gain[output][pipe] = gain; 90 index = output * num_pipes_out(chip) + pipe; 94 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain);
|
H A D | indigoio_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 106 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, argument 111 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || 118 chip->vmixer_gain[output][pipe] = gain; 119 index = output * num_pipes_out(chip) + pipe; 123 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain);
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | ebb_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 46 union pipe read_pipe, write_pipe; 52 FAIL_IF(pipe(read_pipe.fds) == -1); 53 FAIL_IF(pipe(write_pipe.fds) == -1);
|
H A D | ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 51 union pipe read_pipe, write_pipe; 57 FAIL_IF(pipe(read_pipe.fds) == -1); 58 FAIL_IF(pipe(write_pipe.fds) == -1);
|
/linux-master/drivers/gpu/drm/aspeed/ |
H A D | aspeed_gfx_crtc.c | 21 drm_pipe_to_aspeed_gfx(struct drm_simple_display_pipe *pipe) argument 23 return container_of(pipe, struct aspeed_gfx, pipe); 28 struct drm_crtc *crtc = &priv->pipe.crtc; 82 struct drm_display_mode *m = &priv->pipe.crtc.state->adjusted_mode; 142 static void aspeed_gfx_pipe_enable(struct drm_simple_display_pipe *pipe, argument 146 struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); 147 struct drm_crtc *crtc = &pipe->crtc; 154 static void aspeed_gfx_pipe_disable(struct drm_simple_display_pipe *pipe) argument 156 struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); 163 aspeed_gfx_pipe_update(struct drm_simple_display_pipe *pipe, struct drm_plane_state *plane_state) argument 193 aspeed_gfx_enable_vblank(struct drm_simple_display_pipe *pipe) argument 207 aspeed_gfx_disable_vblank(struct drm_simple_display_pipe *pipe) argument [all...] |
/linux-master/include/drm/ |
H A D | drm_gem_atomic_helper.h | 129 int drm_gem_simple_kms_begin_shadow_fb_access(struct drm_simple_display_pipe *pipe, 131 void drm_gem_simple_kms_end_shadow_fb_access(struct drm_simple_display_pipe *pipe, 133 void drm_gem_simple_kms_reset_shadow_plane(struct drm_simple_display_pipe *pipe); 135 drm_gem_simple_kms_duplicate_shadow_plane_state(struct drm_simple_display_pipe *pipe); 136 void drm_gem_simple_kms_destroy_shadow_plane_state(struct drm_simple_display_pipe *pipe,
|
H A D | drm_audio_component.h | 50 int (*sync_audio_rate)(struct device *, int port, int pipe, int rate); 63 int (*get_eld)(struct device *, int port, int pipe, bool *enabled, 83 void (*pin_eld_notify)(void *audio_ptr, int port, int pipe);
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | fb_decoder.c | 150 static u32 intel_vgpu_get_stride(struct intel_vgpu *vgpu, int pipe, argument 155 u32 stride_reg = vgpu_vreg_t(vgpu, DSPSTRIDE(pipe)) & stride_mask; 211 int pipe; local 213 pipe = get_active_pipe(vgpu); 214 if (pipe >= I915_MAX_PIPES) 217 val = vgpu_vreg_t(vgpu, DSPCNTR(pipe)); 251 plane->base = vgpu_vreg_t(vgpu, DSPSURF(pipe)) & I915_GTT_PAGE_MASK; 262 plane->stride = intel_vgpu_get_stride(vgpu, pipe, plane->tiled, 267 plane->width = (vgpu_vreg_t(vgpu, PIPESRC(pipe)) & _PIPE_H_SRCSZ_MASK) >> 270 plane->height = (vgpu_vreg_t(vgpu, PIPESRC(pipe)) 342 int pipe; local 421 int pipe; local [all...] |
/linux-master/drivers/gpu/drm/gma500/ |
H A D | psb_irq.c | 24 static inline u32 gma_pipestat(int pipe) argument 26 if (pipe == 0) 28 if (pipe == 1) 30 if (pipe == 2) 35 static inline u32 gma_pipeconf(int pipe) argument 37 if (pipe == 0) 39 if (pipe == 1) 41 if (pipe == 2) 46 void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask) argument 48 if ((dev_priv->pipestat[pipe] 62 gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask) argument 80 gma_pipe_event_handler(struct drm_device *dev, int pipe) argument 379 unsigned int pipe = crtc->index; local 412 unsigned int pipe = crtc->index; local 436 unsigned int pipe = crtc->index; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_fops.c | 49 struct atomisp_video_pipe *pipe = container_of(vq, struct atomisp_video_pipe, vb_queue); local 52 mutex_lock(&pipe->asd->isp->mutex); /* for get_css_frame_info() / set_fmt() */ 58 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info); 66 ret = atomisp_set_fmt(&pipe->vdev, &f); 70 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info); 75 atomisp_alloc_css_stat_bufs(pipe->asd, ATOMISP_INPUT_STREAM_GENERAL); 78 sizes[0] = PAGE_ALIGN(pipe->pix.sizeimage); 81 mutex_unlock(&pipe 87 struct atomisp_video_pipe *pipe = vb_to_pipe(vb); local 231 atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id) argument 372 struct atomisp_video_pipe *pipe = vb_to_pipe(vb); local 427 struct atomisp_video_pipe *pipe = vb_to_pipe(vb); local 488 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); local 539 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); local [all...] |
H A D | sh_css_legacy.h | 26 /* The pipe id type, distinguishes the kind of pipes that 51 struct ia_css_pipe **pipe); 58 ia_css_temp_pipe_to_pipe_id(const struct ia_css_pipe *pipe,
|
H A D | sh_css_sp.c | 126 sh_css_sp_group.pipe[thread_id].sp_stage_addr[stage] = 197 struct sh_css_sp_pipeline *pipe; local 203 pipe = &sh_css_sp_group.pipe[thread_id]; 205 pipe->copy.bin.bytes_available = out_frame->data_bytes; 206 pipe->num_stages = 1; 207 pipe->pipe_id = pipe_id; 208 pipe->pipe_num = pipe_num; 209 pipe->thread_id = thread_id; 210 pipe 250 struct sh_css_sp_pipeline *pipe; local 320 struct sh_css_sp_pipeline *pipe; local 888 struct ia_css_pipe *pipe = NULL; local 1184 struct ia_css_pipe *pipe = NULL; local 1526 ia_css_pipe_set_irq_mask(struct ia_css_pipe *pipe, unsigned int or_mask, unsigned int and_mask) argument 1567 ia_css_event_get_irq_mask(const struct ia_css_pipe *pipe, unsigned int *or_mask, unsigned int *and_mask) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_dc_resource_mgmt.c | 108 // The master pipe of a stream is defined as the top pipe in odm slice 0 149 struct pipe_ctx *pipe = &state->res_ctx.pipe_ctx[i]; local 151 if (!pipe->plane_state || !pipe->stream) 154 get_plane_id(ctx, state, pipe->plane_state, pipe->stream->stream_id, 155 ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[pipe->pipe_idx], 157 if (plane_id_assigned_to_pipe == plane_id && !pipe->prev_odm_pipe 158 && (!pipe 227 is_plane_using_pipe(const struct pipe_ctx *pipe) argument 235 is_pipe_free(const struct pipe_ctx *pipe) argument 327 struct pipe_ctx *pipe = NULL; local 393 struct pipe_ctx *pipe = NULL; local 539 struct pipe_ctx *pipe = NULL; local 590 struct pipe_ctx *pipe = &state->res_ctx.pipe_ctx[i]; local 696 free_pipe(struct pipe_ctx *pipe) argument 720 struct pipe_ctx *pipe; local 1076 struct pipe_ctx *pipe = &state->res_ctx.pipe_ctx[i]; local [all...] |
/linux-master/drivers/rpmsg/ |
H A D | qcom_glink_rpm.c | 71 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local 75 head = readl(pipe->head); 76 tail = readl(pipe->tail); 79 return pipe->native.length - tail + head; 87 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local 91 tail = readl(pipe->tail); 93 if (tail >= pipe->native.length) 94 tail -= pipe->native.length; 96 len = min_t(size_t, count, pipe->native.length - tail); 98 __ioread32_copy(data, pipe 111 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local 125 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local 138 glink_rpm_tx_write_one(struct glink_rpm_pipe *pipe, unsigned int head, const void *data, size_t count) argument 166 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local 197 struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); local [all...] |
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 31 struct usbhs_pipe *pipe; member in struct:usbhsg_uep 32 spinlock_t lock; /* protect the pipe */ 99 #define usbhsg_uep_to_pipe(u) ((u)->pipe) 123 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 127 if (pipe) 128 dev_dbg(dev, "pipe %d : queue pop\n", usbhs_pipe_number(pipe)); 151 struct usbhs_pipe *pipe = pkt->pipe; local 152 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); 169 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 192 struct usbhs_pipe *pipe = pkt->pipe; local 223 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); local 235 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 282 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 315 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); local 380 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 408 struct usbhs_pipe *pipe; local 481 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); local 558 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 585 struct usbhs_pipe *pipe; local 639 struct usbhs_pipe *pipe; local 688 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local 705 struct usbhs_pipe *pipe; local 726 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); local [all...] |
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-debug.c | 17 static inline u32 mxc_isi_read(struct mxc_isi_pipe *pipe, u32 reg) argument 19 return readl(pipe->regs + reg); 82 struct mxc_isi_pipe *pipe = m->private; local 85 if (!pm_runtime_get_if_in_use(pipe->isi->dev)) 88 seq_printf(m, "--- ISI pipe %u registers ---\n", pipe->id); 93 mxc_isi_read(pipe, registers[i].offset)); 95 if (pipe->isi->pdata->has_36bit_dma) { 101 mxc_isi_read(pipe, reg->offset)); 105 pm_runtime_put(pipe 118 struct mxc_isi_pipe *pipe = &isi->pipes[i]; local [all...] |
/linux-master/include/media/drv-intf/ |
H A D | exynos-fimc.h | 138 struct exynos_media_pipeline *pipe; member in struct:exynos_video_entity 153 ((!(ent) || !(ent)->pipe) ? -ENOENT : \ 154 (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \ 155 (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \
|
/linux-master/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_kms.c | 33 to_xen_drm_pipeline(struct drm_simple_display_pipe *pipe) argument 35 return container_of(pipe, struct xen_drm_front_drm_pipeline, pipe); 95 struct drm_crtc *crtc = &pipeline->pipe.crtc; 106 static void display_enable(struct drm_simple_display_pipe *pipe, argument 111 to_xen_drm_pipeline(pipe); 112 struct drm_crtc *crtc = &pipe->crtc; 116 if (!drm_dev_enter(pipe->crtc.dev, &idx)) 132 static void display_disable(struct drm_simple_display_pipe *pipe) argument 135 to_xen_drm_pipeline(pipe); 178 display_send_page_flip(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_plane_state) argument 225 display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *plane_state, struct drm_crtc_state *crtc_state) argument 243 display_update(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_plane_state) argument 286 display_mode_valid(struct drm_simple_display_pipe *pipe, const struct drm_display_mode *mode) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/ |
H A D | ia_css_raw.host.c | 29 .pipe = (struct sh_css_sp_pipeline *)NULL, 88 to->inout_port_config = from->pipe->inout_port_config; 90 to->required_bds_factor = from->pipe->required_bds_factor; 104 int ia_css_raw_configure(const struct sh_css_sp_pipeline *pipe, argument 114 config.pipe = pipe;
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite.c | 52 static char sprite_name(struct drm_i915_private *i915, enum pipe pipe, int sprite) argument 54 return pipe * DISPLAY_RUNTIME_INFO(i915)->num_sprites[pipe] + sprite + 'A'; 145 enum pipe pipe = plane->pipe; local 172 intel_de_write_fw(dev_priv, SPCLRC0(pipe, plane_id), 174 intel_de_write_fw(dev_priv, SPCLRC1(pipe, plane_id), 348 enum pipe pip local 372 enum pipe pipe = plane->pipe; local 393 enum pipe pipe = plane->pipe; local 441 enum pipe pipe = plane->pipe; local 449 vlv_sprite_get_hw_state(struct intel_plane *plane, enum pipe *pipe) argument 756 enum pipe pipe = plane->pipe; local 787 enum pipe pipe = plane->pipe; local 817 enum pipe pipe = plane->pipe; local 863 enum pipe pipe = plane->pipe; local 873 ivb_sprite_get_hw_state(struct intel_plane *plane, enum pipe *pipe) argument 1057 enum pipe pipe = plane->pipe; local 1087 enum pipe pipe = plane->pipe; local 1114 enum pipe pipe = plane->pipe; local 1143 enum pipe pipe = plane->pipe; local 1185 enum pipe pipe = plane->pipe; local 1194 g4x_sprite_get_hw_state(struct intel_plane *plane, enum pipe *pipe) argument 1552 intel_sprite_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe, int sprite) argument [all...] |
H A D | intel_link_bw.h | 34 enum pipe pipe);
|
H A D | intel_dsb.c | 67 * DSB's can access only the pipe, plane, and transcoder Data Island Packet 123 static bool is_dsb_busy(struct drm_i915_private *i915, enum pipe pipe, argument 126 return intel_de_read_fw(i915, DSB_CTRL(pipe, id)) & DSB_STATUS_BUSY; 276 enum pipe pipe = crtc->pipe; local 278 intel_dsb_reg_write_masked(dsb, DSB_CTRL(pipe, dsb->id), 286 enum pipe pipe local 360 enum pipe pipe = crtc->pipe; local 424 enum pipe pipe = crtc->pipe; local [all...] |
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_pipe.h | 13 /* represents a hw pipe, which is dynamically assigned to a plane */ 18 enum mdp5_pipe pipe; member in struct:mdp5_hw_pipe 23 uint32_t flush_mask; /* used to commit pipe registers */ 43 enum mdp5_pipe pipe,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | mes_v11_0.c | 548 enum admgpu_mes_pipe pipe) 556 adev->mes.fw[pipe]->data; 558 fw_data = (const __le32 *)(adev->mes.fw[pipe]->data + 566 &adev->mes.ucode_fw_obj[pipe], 567 &adev->mes.ucode_fw_gpu_addr[pipe], 568 (void **)&adev->mes.ucode_fw_ptr[pipe]); 574 memcpy(adev->mes.ucode_fw_ptr[pipe], fw_data, fw_size); 576 amdgpu_bo_kunmap(adev->mes.ucode_fw_obj[pipe]); 577 amdgpu_bo_unreserve(adev->mes.ucode_fw_obj[pipe]); 583 enum admgpu_mes_pipe pipe) 547 mes_v11_0_allocate_ucode_buffer(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 582 mes_v11_0_allocate_ucode_data_buffer(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 623 mes_v11_0_free_ucode_buffers(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 638 uint32_t pipe, data = 0; local 689 mes_v11_0_load_microcode(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe, bool prime_icache) argument 761 mes_v11_0_allocate_eop_buf(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 972 mes_v11_0_queue_init(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 1067 mes_v11_0_mqd_sw_init(struct amdgpu_device *adev, enum admgpu_mes_pipe pipe) argument 1109 int pipe, r; local 1148 int pipe; local 1385 int pipe, r; local [all...] |
/linux-master/net/nfc/nci/ |
H A D | hci.c | 21 u8 pipe; member in struct:nci_data 38 u8 pipe; member in struct:nci_hci_create_pipe_resp 42 u8 pipe; member in struct:nci_hci_delete_pipe_noti 55 u8 header; /* cbit+pipe */ 142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, argument 149 u8 cb = pipe; 203 nci_hci_send_data(ndev, data->pipe, data->cmd, 210 u8 pipe = ndev->hci_dev->gate2pipe[gate]; local 212 if (pipe == NCI_HCI_INVALID_PIPE) 215 return nci_hci_send_data(ndev, pipe, 229 u8 pipe = ndev->hci_dev->gate2pipe[gate]; local 274 nci_hci_event_received(struct nci_dev *ndev, u8 pipe, u8 event, struct sk_buff *skb) argument 281 nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, struct sk_buff *skb) argument 364 nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, struct sk_buff *skb) argument 382 nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb) argument 411 u8 pipe, type, instruction; local 432 u8 pipe, type; local 498 nci_hci_open_pipe(struct nci_dev *ndev, u8 pipe) argument 522 u8 pipe; local 548 nci_hci_delete_pipe(struct nci_dev *ndev, u8 pipe) argument 562 u8 pipe = ndev->hci_dev->gate2pipe[gate]; local 608 u8 pipe = ndev->hci_dev->gate2pipe[gate]; local 643 nci_hci_connect_gate(struct nci_dev *ndev, u8 dest_host, u8 dest_gate, u8 pipe) argument [all...] |