/linux-4.4.14/drivers/usb/renesas_usbhs/ |
D | pipe.c | 42 char *usbhs_pipe_name(struct usbhs_pipe *pipe) in usbhs_pipe_name() argument 44 return usbhsp_pipe_name[usbhs_pipe_type(pipe)]; in usbhs_pipe_name() 50 static void usbhsp_pipectrl_set(struct usbhs_pipe *pipe, u16 mask, u16 val) in usbhsp_pipectrl_set() argument 52 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_set() 53 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_set() 55 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_set() 61 static u16 usbhsp_pipectrl_get(struct usbhs_pipe *pipe) in usbhsp_pipectrl_get() argument 63 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_get() 64 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_get() 66 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_get() [all …]
|
D | fifo.c | 26 #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */ 41 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle() 54 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument 59 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push() 71 if (!pipe->handler) { in usbhs_pkt_push() 73 pipe->handler = &usbhsf_null_handler; in usbhs_pkt_push() 76 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push() 83 pkt->pipe = pipe; in usbhs_pkt_push() 85 pkt->handler = pipe->handler; in usbhs_pkt_push() 101 static struct usbhs_pkt *__usbhsf_pkt_get(struct usbhs_pipe *pipe) in __usbhsf_pkt_get() argument [all …]
|
D | pipe.h | 47 struct usbhs_pipe *pipe; member 59 ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \ 76 char *usbhs_pipe_name(struct usbhs_pipe *pipe); 79 void usbhs_pipe_free(struct usbhs_pipe *pipe); 82 int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); 83 int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); 84 int usbhs_pipe_is_running(struct usbhs_pipe *pipe); 85 void usbhs_pipe_running(struct usbhs_pipe *pipe, int running); 89 int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); 90 void usbhs_pipe_clear(struct usbhs_pipe *pipe); [all …]
|
D | mod_gadget.c | 39 struct usbhs_pipe *pipe; member 106 #define usbhsg_uep_to_pipe(u) ((u)->pipe) 130 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop() local 134 if (pipe) in __usbhsg_queue_pop() 135 dev_dbg(dev, "pipe %d : queue pop\n", usbhs_pipe_number(pipe)); in __usbhsg_queue_pop() 158 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_queue_done() local 159 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); in usbhsg_queue_done() 176 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_queue_push() local 182 usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, in usbhsg_queue_push() 184 usbhs_pkt_start(pipe); in usbhsg_queue_push() [all …]
|
D | mod_host.c | 84 struct usbhs_pipe *pipe; /* attached pipe */ member 133 #define usbhsh_uep_to_pipe(u) ((u)->pipe) 221 if (usb_pipecontrol(urb->pipe)) in usbhsh_endpoint_sequence_save() 250 usb_pipeendpoint(urb->pipe), in usbhsh_endpoint_sequence_save() 251 usb_pipeout(urb->pipe)); in usbhsh_endpoint_sequence_save() 263 struct usbhs_pipe *pipe; in usbhsh_pipe_attach() local 267 int dir_in_req = !!usb_pipein(urb->pipe); in usbhsh_pipe_attach() 284 usbhs_for_each_pipe_with_dcp(pipe, priv, i) { in usbhsh_pipe_attach() 287 if (!usbhs_pipe_type_is(pipe, usb_endpoint_type(desc))) in usbhsh_pipe_attach() 292 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach() [all …]
|
D | fifo.h | 32 struct usbhs_pipe *pipe; member 56 struct usbhs_pipe *pipe; member 84 void usbhs_fifo_clear_dcp(struct usbhs_pipe *pipe); 103 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, 107 struct usbhs_pkt *usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt); 108 void usbhs_pkt_start(struct usbhs_pipe *pipe);
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_output.h | 75 #define CHECK_PIPE(pipe) ({ \ argument 76 const typeof(pipe) __pipe = (pipe); \ 80 #define CHECK_PIPE(pipe) (pipe) argument 86 #define REG_OFFSET(pipe) (CHECK_PIPE(pipe) * 0x400) argument 89 #define MIPI_DEVICE_READY_REG(pipe) (0xb000 + REG_OFFSET(pipe)) argument 90 #define MIPI_INTR_STAT_REG(pipe) (0xb004 + REG_OFFSET(pipe)) argument 91 #define MIPI_INTR_EN_REG(pipe) (0xb008 + REG_OFFSET(pipe)) argument 92 #define MIPI_DSI_FUNC_PRG_REG(pipe) (0xb00c + REG_OFFSET(pipe)) argument 93 #define MIPI_HS_TX_TIMEOUT_REG(pipe) (0xb010 + REG_OFFSET(pipe)) argument 94 #define MIPI_LP_RX_TIMEOUT_REG(pipe) (0xb014 + REG_OFFSET(pipe)) argument [all …]
|
D | mdfld_dsi_dpi.c | 35 int pipe); 37 static void mdfld_wait_for_HS_DATA_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_DATA_FIFO() argument 39 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_DATA_FIFO() 55 static void mdfld_wait_for_HS_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_CTRL_FIFO() argument 57 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_CTRL_FIFO() 72 static void mdfld_wait_for_DPI_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_DPI_CTRL_FIFO() argument 74 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_DPI_CTRL_FIFO() 90 static void mdfld_wait_for_SPL_PKG_SENT(struct drm_device *dev, u32 pipe) in mdfld_wait_for_SPL_PKG_SENT() argument 92 u32 intr_stat_reg = MIPI_INTR_STAT_REG(pipe); in mdfld_wait_for_SPL_PKG_SENT() 111 int pipe) in dsi_set_device_ready_state() argument [all …]
|
D | psb_irq.c | 38 psb_pipestat(int pipe) in psb_pipestat() argument 40 if (pipe == 0) in psb_pipestat() 42 if (pipe == 1) in psb_pipestat() 44 if (pipe == 2) in psb_pipestat() 50 mid_pipe_event(int pipe) in mid_pipe_event() argument 52 if (pipe == 0) in mid_pipe_event() 54 if (pipe == 1) in mid_pipe_event() 56 if (pipe == 2) in mid_pipe_event() 62 mid_pipe_vsync(int pipe) in mid_pipe_vsync() argument 64 if (pipe == 0) in mid_pipe_vsync() [all …]
|
D | mdfld_device.c | 170 struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum]; in mdfld_save_display_registers() local 197 pipe->dpll = PSB_RVDC32(map->dpll); in mdfld_save_display_registers() 198 pipe->fp0 = PSB_RVDC32(map->fp0); in mdfld_save_display_registers() 199 pipe->conf = PSB_RVDC32(map->conf); in mdfld_save_display_registers() 200 pipe->htotal = PSB_RVDC32(map->htotal); in mdfld_save_display_registers() 201 pipe->hblank = PSB_RVDC32(map->hblank); in mdfld_save_display_registers() 202 pipe->hsync = PSB_RVDC32(map->hsync); in mdfld_save_display_registers() 203 pipe->vtotal = PSB_RVDC32(map->vtotal); in mdfld_save_display_registers() 204 pipe->vblank = PSB_RVDC32(map->vblank); in mdfld_save_display_registers() 205 pipe->vsync = PSB_RVDC32(map->vsync); in mdfld_save_display_registers() [all …]
|
D | mdfld_dsi_output.c | 91 void mdfld_dsi_brightness_init(struct mdfld_dsi_config *dsi_config, int pipe) in mdfld_dsi_brightness_init() argument 132 void mdfld_dsi_brightness_control(struct drm_device *dev, int pipe, int level) in mdfld_dsi_brightness_control() argument 140 if (!dev || (pipe != 0 && pipe != 2)) { in mdfld_dsi_brightness_control() 149 if (pipe) in mdfld_dsi_brightness_control() 164 pipe, gen_ctrl_val); in mdfld_dsi_brightness_control() 215 void mdfld_dsi_controller_init(struct mdfld_dsi_config *dsi_config, int pipe) in mdfld_dsi_controller_init() argument 217 if (!dsi_config || ((pipe != 0) && (pipe != 2))) { in mdfld_dsi_controller_init() 222 mdfld_dsi_dpi_controller_init(dsi_config, pipe); in mdfld_dsi_controller_init() 425 struct mdfld_dsi_config *config, int pipe) in mdfld_dsi_get_default_config() argument 433 if (mdfld_get_panel_type(dev, pipe) == TC35876X) in mdfld_dsi_get_default_config() [all …]
|
D | mdfld_intel_display.c | 51 void mdfldWaitForPipeDisable(struct drm_device *dev, int pipe) in mdfldWaitForPipeDisable() argument 54 const struct psb_offset *map = &dev_priv->regmap[pipe]; in mdfldWaitForPipeDisable() 57 switch (pipe) { in mdfldWaitForPipeDisable() 79 void mdfldWaitForPipeEnable(struct drm_device *dev, int pipe) in mdfldWaitForPipeEnable() argument 82 const struct psb_offset *map = &dev_priv->regmap[pipe]; in mdfldWaitForPipeEnable() 85 switch (pipe) { in mdfldWaitForPipeEnable() 170 int pipe = gma_crtc->pipe; in mdfld__intel_pipe_set_base() local 171 const struct psb_offset *map = &dev_priv->regmap[pipe]; in mdfld__intel_pipe_set_base() 178 dev_dbg(dev->dev, "pipe = 0x%x.\n", pipe); in mdfld__intel_pipe_set_base() 190 if (pipe > 2) { in mdfld__intel_pipe_set_base() [all …]
|
D | psb_intel_display.c | 112 int pipe = gma_crtc->pipe; in psb_intel_crtc_mode_set() local 113 const struct psb_offset *map = &dev_priv->regmap[pipe]; in psb_intel_crtc_mode_set() 207 if (pipe == 0) in psb_intel_crtc_mode_set() 218 if (psb_intel_panel_fitter_pipe(dev) == pipe) in psb_intel_crtc_mode_set() 238 if (pipe == 1) in psb_intel_crtc_mode_set() 313 int pipe = gma_crtc->pipe; in psb_intel_crtc_clock_get() local 314 const struct psb_offset *map = &dev_priv->regmap[pipe]; in psb_intel_crtc_clock_get() 319 struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; in psb_intel_crtc_clock_get() 327 is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN); in psb_intel_crtc_clock_get() 337 is_lvds = (pipe == 1) && (dev_priv->regs.psb.saveLVDS & in psb_intel_crtc_clock_get() [all …]
|
D | cdv_intel_display.c | 226 int pipe = gma_crtc->pipe; in cdv_dpll_set_clock_cdv() local 229 int dpll_reg = (pipe == 0) ? DPLL_A : DPLL_B; in cdv_dpll_set_clock_cdv() 230 int ref_sfr = (pipe == 0) ? SB_REF_DPLLA : SB_REF_DPLLB; in cdv_dpll_set_clock_cdv() 243 cdv_sb_write(dev, SB_REF_SFR(pipe), ref_value); in cdv_dpll_set_clock_cdv() 266 if (pipe == 1 && !is_lvds && !(ddi_select & DP_MASK)) { in cdv_dpll_set_clock_cdv() 277 ret = cdv_sb_read(dev, SB_M(pipe), &m); in cdv_dpll_set_clock_cdv() 282 ret = cdv_sb_write(dev, SB_M(pipe), m); in cdv_dpll_set_clock_cdv() 286 ret = cdv_sb_read(dev, SB_N_VCO(pipe), &n_vco); in cdv_dpll_set_clock_cdv() 313 ret = cdv_sb_write(dev, SB_N_VCO(pipe), n_vco); in cdv_dpll_set_clock_cdv() 317 ret = cdv_sb_read(dev, SB_P(pipe), &p); in cdv_dpll_set_clock_cdv() [all …]
|
D | mdfld_output.h | 58 int (*reset)(int pipe); 59 void (*drv_ic_init)(struct mdfld_dsi_config *dsi_config, int pipe); 67 int mdfld_get_panel_type(struct drm_device *dev, int pipe); 74 extern void mdfld_disable_crtc(struct drm_device *dev, int pipe); 75 extern void mdfldWaitForPipeEnable(struct drm_device *dev, int pipe); 76 extern void mdfldWaitForPipeDisable(struct drm_device *dev, int pipe);
|
D | psb_irq.h | 41 int psb_enable_vblank(struct drm_device *dev, unsigned int pipe); 42 void psb_disable_vblank(struct drm_device *dev, unsigned int pipe); 43 u32 psb_get_vblank_counter(struct drm_device *dev, unsigned int pipe); 45 int mdfld_enable_te(struct drm_device *dev, int pipe); 46 void mdfld_disable_te(struct drm_device *dev, int pipe);
|
D | mdfld_dsi_pkg_sender.c | 589 int pipe) in mdfld_dsi_pkg_sender_init() argument 596 const struct psb_offset *map = &dev_priv->regmap[pipe]; in mdfld_dsi_pkg_sender_init() 618 pkg_sender->pipe = pipe; in mdfld_dsi_pkg_sender_init() 632 pkg_sender->mipi_intr_stat_reg = MIPI_INTR_STAT_REG(pipe); in mdfld_dsi_pkg_sender_init() 633 pkg_sender->mipi_lp_gen_data_reg = MIPI_LP_GEN_DATA_REG(pipe); in mdfld_dsi_pkg_sender_init() 634 pkg_sender->mipi_hs_gen_data_reg = MIPI_HS_GEN_DATA_REG(pipe); in mdfld_dsi_pkg_sender_init() 635 pkg_sender->mipi_lp_gen_ctrl_reg = MIPI_LP_GEN_CTRL_REG(pipe); in mdfld_dsi_pkg_sender_init() 636 pkg_sender->mipi_hs_gen_ctrl_reg = MIPI_HS_GEN_CTRL_REG(pipe); in mdfld_dsi_pkg_sender_init() 637 pkg_sender->mipi_gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_dsi_pkg_sender_init() 638 pkg_sender->mipi_data_addr_reg = MIPI_DATA_ADD_REG(pipe); in mdfld_dsi_pkg_sender_init() [all …]
|
D | psb_intel_reg.h | 1295 #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a))) argument 1336 #define SB_M(pipe) _PIPE(pipe, _SB_M_A, _SB_M_B) argument 1342 #define SB_N_VCO(pipe) _PIPE(pipe, _SB_N_VCO_A, _SB_N_VCO_B) argument 1361 #define SB_REF_SFR(pipe) _PIPE(pipe, _SB_REF_A, _SB_REF_B) argument 1365 #define SB_P(pipe) _PIPE(pipe, _SB_P_A, _SB_P_B) argument 1535 #define PIPE_GMCH_DATA_M(pipe) _PIPE(pipe, _PIPEA_GMCH_DATA_M, _PIPEB_GMCH_DATA_M) argument 1536 #define PIPE_GMCH_DATA_N(pipe) _PIPE(pipe, _PIPEA_GMCH_DATA_N, _PIPEB_GMCH_DATA_N) argument 1537 #define PIPE_DP_LINK_M(pipe) _PIPE(pipe, _PIPEA_DP_LINK_M, _PIPEB_DP_LINK_M) argument 1538 #define PIPE_DP_LINK_N(pipe) _PIPE(pipe, _PIPEA_DP_LINK_N, _PIPEB_DP_LINK_N) argument
|
D | gma_display.c | 63 int pipe = gma_crtc->pipe; in gma_pipe_set_base() local 64 const struct psb_offset *map = &dev_priv->regmap[pipe]; in gma_pipe_set_base() 144 const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; in gma_crtc_load_lut() 166 dev_priv->regs.pipe[0].palette[i] = in gma_crtc_load_lut() 205 int pipe = gma_crtc->pipe; in gma_crtc_dpms() local 206 const struct psb_offset *map = &dev_priv->regmap[pipe]; in gma_crtc_dpms() 284 drm_vblank_off(dev, pipe); in gma_crtc_dpms() 338 int pipe = gma_crtc->pipe; in gma_crtc_cursor_set() local 339 uint32_t control = (pipe == 0) ? CURACNTR : CURBCNTR; in gma_crtc_cursor_set() 340 uint32_t base = (pipe == 0) ? CURABASE : CURBBASE; in gma_crtc_cursor_set() [all …]
|
D | oaktrail_crtc.c | 227 int pipe = gma_crtc->pipe; in oaktrail_crtc_dpms() local 228 const struct psb_offset *map = &dev_priv->regmap[pipe]; in oaktrail_crtc_dpms() 373 int pipe = gma_crtc->pipe; in oaktrail_crtc_mode_set() local 374 const struct psb_offset *map = &dev_priv->regmap[pipe]; in oaktrail_crtc_mode_set() 426 if (oaktrail_panel_fitter_pipe(dev) == pipe) in oaktrail_crtc_mode_set() 498 if (pipe == 0) in oaktrail_crtc_mode_set() 603 int pipe = gma_crtc->pipe; in oaktrail_pipe_set_base() local 604 const struct psb_offset *map = &dev_priv->regmap[pipe]; in oaktrail_pipe_set_base()
|
D | oaktrail_hdmi.c | 268 int pipe = 1; in oaktrail_crtc_hdmi_mode_set() local 269 int htot_reg = (pipe == 0) ? HTOTAL_A : HTOTAL_B; in oaktrail_crtc_hdmi_mode_set() 270 int hblank_reg = (pipe == 0) ? HBLANK_A : HBLANK_B; in oaktrail_crtc_hdmi_mode_set() 271 int hsync_reg = (pipe == 0) ? HSYNC_A : HSYNC_B; in oaktrail_crtc_hdmi_mode_set() 272 int vtot_reg = (pipe == 0) ? VTOTAL_A : VTOTAL_B; in oaktrail_crtc_hdmi_mode_set() 273 int vblank_reg = (pipe == 0) ? VBLANK_A : VBLANK_B; in oaktrail_crtc_hdmi_mode_set() 274 int vsync_reg = (pipe == 0) ? VSYNC_A : VSYNC_B; in oaktrail_crtc_hdmi_mode_set() 275 int dspsize_reg = (pipe == 0) ? DSPASIZE : DSPBSIZE; in oaktrail_crtc_hdmi_mode_set() 276 int dsppos_reg = (pipe == 0) ? DSPAPOS : DSPBPOS; in oaktrail_crtc_hdmi_mode_set() 277 int pipesrc_reg = (pipe == 0) ? PIPEASRC : PIPEBSRC; in oaktrail_crtc_hdmi_mode_set() [all …]
|
D | mdfld_dsi_dpi.h | 76 int pipe); 78 int pipe);
|
D | mdfld_dsi_pkg_sender.h | 39 int pipe; member 66 int pipe);
|
/linux-4.4.14/fs/ |
D | pipe.c | 62 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument 64 if (pipe->files) in pipe_lock_nested() 65 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested() 68 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument 73 pipe_lock_nested(pipe, I_MUTEX_PARENT); in pipe_lock() 77 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() argument 79 if (pipe->files) in pipe_unlock() 80 mutex_unlock(&pipe->mutex); in pipe_unlock() 84 static inline void __pipe_lock(struct pipe_inode_info *pipe) in __pipe_lock() argument 86 mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT); in __pipe_lock() [all …]
|
D | splice.c | 43 static int page_cache_pipe_buf_steal(struct pipe_inode_info *pipe, in page_cache_pipe_buf_steal() argument 88 static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, in page_cache_pipe_buf_release() argument 99 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, in page_cache_pipe_buf_confirm() argument 145 static int user_page_pipe_buf_steal(struct pipe_inode_info *pipe, in user_page_pipe_buf_steal() argument 152 return generic_pipe_buf_steal(pipe, buf); in user_page_pipe_buf_steal() 163 static void wakeup_pipe_readers(struct pipe_inode_info *pipe) in wakeup_pipe_readers() argument 166 if (waitqueue_active(&pipe->wait)) in wakeup_pipe_readers() 167 wake_up_interruptible(&pipe->wait); in wakeup_pipe_readers() 168 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); in wakeup_pipe_readers() 182 ssize_t splice_to_pipe(struct pipe_inode_info *pipe, in splice_to_pipe() argument [all …]
|
D | coredump.c | 459 struct pipe_inode_info *pipe = file->private_data; in wait_for_dump_helpers() local 461 pipe_lock(pipe); in wait_for_dump_helpers() 462 pipe->readers++; in wait_for_dump_helpers() 463 pipe->writers--; in wait_for_dump_helpers() 464 wake_up_interruptible_sync(&pipe->wait); in wait_for_dump_helpers() 465 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); in wait_for_dump_helpers() 466 pipe_unlock(pipe); in wait_for_dump_helpers() 472 wait_event_interruptible(pipe->wait, pipe->readers == 1); in wait_for_dump_helpers() 474 pipe_lock(pipe); in wait_for_dump_helpers() 475 pipe->readers--; in wait_for_dump_helpers() [all …]
|
/linux-4.4.14/sound/drivers/vx/ |
D | vx_pcm.c | 61 struct vx_pipe *pipe) in vx_pcm_read_per_bytes() argument 63 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes() 66 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 71 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 76 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 80 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes() 106 struct vx_pipe *pipe) in vx_set_differed_time() argument 109 if (! (pipe->differed_type & DC_DIFFERED_DELAY)) in vx_set_differed_time() 116 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); in vx_set_differed_time() 119 if (pipe->differed_type & DC_NOTIFY_DELAY) in vx_set_differed_time() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_fifo_underrun.c | 55 enum pipe pipe; in ivb_can_enable_err_int() local 59 for_each_pipe(dev_priv, pipe) { in ivb_can_enable_err_int() 60 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]); in ivb_can_enable_err_int() 72 enum pipe pipe; in cpt_can_enable_serr_int() local 77 for_each_pipe(dev_priv, pipe) { in cpt_can_enable_serr_int() 78 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]); in cpt_can_enable_serr_int() 102 u32 reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns() 115 DRM_ERROR("pipe %c underrun\n", pipe_name(crtc->pipe)); in i9xx_check_fifo_underruns() 122 enum pipe pipe, in i9xx_set_fifo_underrun_reporting() argument 126 u32 reg = PIPESTAT(pipe); in i9xx_set_fifo_underrun_reporting() [all …]
|
D | i915_reg.h | 28 #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a))) argument 32 #define _PIPE3(pipe, a, b, c) ((pipe) == PIPE_A ? (a) : \ argument 33 (pipe) == PIPE_B ? (b) : (c)) 547 #define GEN7_PIPE_DE_LOAD_SL(pipe) _PIPE(pipe, \ argument 597 #define _DP_SSC(val, pipe) ((val) << (2 * (pipe))) argument 598 #define DP_SSC_MASK(pipe) _DP_SSC(0x3, (pipe)) argument 599 #define DP_SSC_PWR_ON(pipe) _DP_SSC(0x0, (pipe)) argument 600 #define DP_SSC_CLK_GATE(pipe) _DP_SSC(0x1, (pipe)) argument 601 #define DP_SSC_RESET(pipe) _DP_SSC(0x2, (pipe)) argument 602 #define DP_SSC_PWR_GATE(pipe) _DP_SSC(0x3, (pipe)) argument [all …]
|
D | intel_sprite.c | 85 enum pipe pipe = crtc->pipe; in intel_pipe_update_start() local 125 pipe_name(crtc->pipe)); in intel_pipe_update_start() 143 dev->driver->get_vblank_counter(dev, pipe); in intel_pipe_update_start() 160 enum pipe pipe = crtc->pipe; in intel_pipe_update_end() local 162 u32 end_vbl_count = dev->driver->get_vblank_counter(dev, pipe); in intel_pipe_update_end() 172 pipe_name(pipe), crtc->debug.start_vbl_count, in intel_pipe_update_end() 192 const int pipe = intel_plane->pipe; in skl_update_plane() local 231 I915_WRITE(PLANE_KEYVAL(pipe, plane), key->min_value); in skl_update_plane() 232 I915_WRITE(PLANE_KEYMAX(pipe, plane), key->max_value); in skl_update_plane() 233 I915_WRITE(PLANE_KEYMSK(pipe, plane), key->channel_mask); in skl_update_plane() [all …]
|
D | i915_irq.c | 477 __i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in __i915_enable_pipestat() argument 480 u32 reg = PIPESTAT(pipe); in __i915_enable_pipestat() 489 pipe_name(pipe), enable_mask, status_mask)) in __i915_enable_pipestat() 495 dev_priv->pipestat_irq_mask[pipe] |= status_mask; in __i915_enable_pipestat() 504 __i915_disable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in __i915_disable_pipestat() argument 507 u32 reg = PIPESTAT(pipe); in __i915_disable_pipestat() 516 pipe_name(pipe), enable_mask, status_mask)) in __i915_disable_pipestat() 522 dev_priv->pipestat_irq_mask[pipe] &= ~status_mask; in __i915_disable_pipestat() 558 i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, in i915_enable_pipestat() argument 568 __i915_enable_pipestat(dev_priv, pipe, enable_mask, status_mask); in i915_enable_pipestat() [all …]
|
D | intel_audio.c | 252 enum pipe pipe = intel_crtc->pipe; in hsw_audio_codec_disable() local 255 DRM_DEBUG_KMS("Disable audio codec on pipe %c\n", pipe_name(pipe)); in hsw_audio_codec_disable() 260 tmp = I915_READ(HSW_AUD_CFG(pipe)); in hsw_audio_codec_disable() 267 I915_WRITE(HSW_AUD_CFG(pipe), tmp); in hsw_audio_codec_disable() 271 tmp &= ~AUDIO_ELD_VALID(pipe); in hsw_audio_codec_disable() 272 tmp &= ~AUDIO_OUTPUT_ENABLE(pipe); in hsw_audio_codec_disable() 284 enum pipe pipe = intel_crtc->pipe; in hsw_audio_codec_enable() local 295 pipe_name(pipe), drm_eld_size(eld)); in hsw_audio_codec_enable() 301 tmp |= AUDIO_OUTPUT_ENABLE(pipe); in hsw_audio_codec_enable() 302 tmp &= ~AUDIO_ELD_VALID(pipe); in hsw_audio_codec_enable() [all …]
|
D | intel_psr.c | 64 static bool vlv_is_psr_active_on_pipe(struct drm_device *dev, int pipe) in vlv_is_psr_active_on_pipe() argument 69 val = I915_READ(VLV_PSRSTAT(pipe)) & in vlv_is_psr_active_on_pipe() 112 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_setup_vsc() local 116 val = I915_READ(VLV_VSCSDP(pipe)); in vlv_psr_setup_vsc() 119 I915_WRITE(VLV_VSCSDP(pipe), val); in vlv_psr_setup_vsc() 224 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_enable_source() local 227 I915_WRITE(VLV_PSRCTL(pipe), in vlv_psr_enable_source() 239 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_activate() local 246 I915_WRITE(VLV_PSRCTL(pipe), I915_READ(VLV_PSRCTL(pipe)) | in vlv_psr_activate() 446 if (wait_for((I915_READ(VLV_PSRSTAT(intel_crtc->pipe)) & in vlv_psr_disable() [all …]
|
D | intel_hdmi.c | 196 int i, reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_write_infoframe() 210 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in ibx_write_infoframe() 215 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in ibx_write_infoframe() 232 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_infoframe_enabled() 254 int i, reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in cpt_write_infoframe() 271 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in cpt_write_infoframe() 276 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in cpt_write_infoframe() 292 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in cpt_infoframe_enabled() 311 int i, reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe); in vlv_write_infoframe() 325 I915_WRITE(VLV_TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in vlv_write_infoframe() [all …]
|
D | intel_display.c | 1088 enum pipe pipe) in intel_pipe_to_cpu_transcoder() argument 1090 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_pipe_to_cpu_transcoder() 1096 static bool pipe_dsl_stopped(struct drm_device *dev, enum pipe pipe) in pipe_dsl_stopped() argument 1099 u32 reg = PIPEDSL(pipe); in pipe_dsl_stopped() 1136 enum pipe pipe = crtc->pipe; in intel_wait_for_pipe_off() local 1147 if (wait_for(pipe_dsl_stopped(dev, pipe), 100)) in intel_wait_for_pipe_off() 1159 enum pipe pipe, bool state) in assert_pll() argument 1164 val = I915_READ(DPLL(pipe)); in assert_pll() 1219 enum pipe pipe, bool state) in assert_fdi_tx() argument 1223 pipe); in assert_fdi_tx() [all …]
|
D | intel_pm.c | 337 enum pipe pipe, int plane) in vlv_get_fifo_size() argument 342 switch (pipe) { in vlv_get_fifo_size() 381 pipe_name(pipe), plane == 0 ? "primary" : "sprite", in vlv_get_fifo_size() 382 plane == 0 ? plane_name(pipe) : sprite_name(pipe, plane - 1), in vlv_get_fifo_size() 823 enum pipe pipe = crtc->pipe; in vlv_write_wm_values() local 825 I915_WRITE(VLV_DDL(pipe), in vlv_write_wm_values() 826 (wm->ddl[pipe].cursor << DDL_CURSOR_SHIFT) | in vlv_write_wm_values() 827 (wm->ddl[pipe].sprite[1] << DDL_SPRITE_SHIFT(1)) | in vlv_write_wm_values() 828 (wm->ddl[pipe].sprite[0] << DDL_SPRITE_SHIFT(0)) | in vlv_write_wm_values() 829 (wm->ddl[pipe].primary << DDL_PLANE_SHIFT)); in vlv_write_wm_values() [all …]
|
D | intel_dp.c | 131 enum pipe pipe); 306 enum pipe pipe = intel_dp->pps_pipe; in vlv_power_sequencer_kick() local 308 enum dpio_phy phy = DPIO_PHY(pipe); in vlv_power_sequencer_kick() 309 enum dpio_channel ch = vlv_pipe_to_channel(pipe); in vlv_power_sequencer_kick() 314 pipe_name(pipe), port_name(intel_dig_port->port))) in vlv_power_sequencer_kick() 318 pipe_name(pipe), port_name(intel_dig_port->port)); in vlv_power_sequencer_kick() 329 DP |= DP_PIPE_SELECT_CHV(pipe); in vlv_power_sequencer_kick() 330 else if (pipe == PIPE_B) in vlv_power_sequencer_kick() 333 pll_enabled = I915_READ(DPLL(pipe)) & DPLL_VCO_ENABLE; in vlv_power_sequencer_kick() 343 vlv_force_pll_on(dev, pipe, IS_CHERRYVIEW(dev) ? in vlv_power_sequencer_kick() [all …]
|
D | intel_drv.h | 149 bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe); 189 int (*setup)(struct intel_connector *connector, enum pipe pipe); 470 enum pipe hsw_workaround_pipe; 530 enum pipe pipe; member 616 enum pipe pipe; member 764 enum pipe pps_pipe; 806 enum pipe pipe; member 840 vlv_pipe_to_channel(enum pipe pipe) in vlv_pipe_to_channel() argument 842 switch (pipe) { in vlv_pipe_to_channel() 854 intel_get_crtc_for_pipe(struct drm_device *dev, int pipe) in intel_get_crtc_for_pipe() argument [all …]
|
D | intel_dvo.c | 131 enum pipe *pipe) in intel_dvo_get_hw_state() argument 143 *pipe = PORT_TO_PIPE(tmp); in intel_dvo_get_hw_state() 256 int pipe = crtc->pipe; in intel_dvo_pre_enable() local 279 if (pipe == 1) in intel_dvo_pre_enable() 396 int pipe = (dvo_val & DVO_PIPE_B_SELECT) ? 1 : 0; in intel_dvo_get_current_mode() local 398 crtc = intel_get_crtc_for_pipe(dev, pipe); in intel_dvo_get_current_mode() 455 enum pipe pipe; in intel_dvo_init() local 487 for_each_pipe(dev_priv, pipe) { in intel_dvo_init() 488 dpll[pipe] = I915_READ(DPLL(pipe)); in intel_dvo_init() 489 I915_WRITE(DPLL(pipe), dpll[pipe] | DPLL_DVO_2X_MODE); in intel_dvo_init() [all …]
|
D | intel_panel.c | 359 pfit_control |= ((intel_crtc->pipe << PFIT_PIPE_SHIFT) | in intel_gmch_panel_fitting() 518 static u32 _vlv_get_backlight(struct drm_device *dev, enum pipe pipe) in _vlv_get_backlight() argument 522 if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B)) in _vlv_get_backlight() 525 return I915_READ(VLV_BLC_PWM_CTL(pipe)) & BACKLIGHT_DUTY_CYCLE_MASK; in _vlv_get_backlight() 531 enum pipe pipe = intel_get_pipe_from_connector(connector); in vlv_get_backlight() local 533 return _vlv_get_backlight(dev, pipe); in vlv_get_backlight() 624 enum pipe pipe = intel_get_pipe_from_connector(connector); in vlv_set_backlight() local 627 if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B)) in vlv_set_backlight() 630 tmp = I915_READ(VLV_BLC_PWM_CTL(pipe)) & ~BACKLIGHT_DUTY_CYCLE_MASK; in vlv_set_backlight() 631 I915_WRITE(VLV_BLC_PWM_CTL(pipe), tmp | level); in vlv_set_backlight() [all …]
|
D | intel_runtime_pm.c | 866 enum pipe pipe; in vlv_display_power_well_init() local 876 for_each_pipe(dev_priv->dev, pipe) { in vlv_display_power_well_init() 877 u32 val = I915_READ(DPLL(pipe)); in vlv_display_power_well_init() 880 if (pipe != PIPE_A) in vlv_display_power_well_init() 883 I915_WRITE(DPLL(pipe), val); in vlv_display_power_well_init() 958 enum pipe pipe; in vlv_dpio_cmn_power_well_disable() local 962 for_each_pipe(dev_priv, pipe) in vlv_dpio_cmn_power_well_disable() 963 assert_pll_disabled(dev_priv, pipe); in vlv_dpio_cmn_power_well_disable() 1099 enum pipe pipe; in chv_dpio_cmn_power_well_enable() local 1106 pipe = PIPE_A; in chv_dpio_cmn_power_well_enable() [all …]
|
D | i915_debugfs.c | 576 const char pipe = pipe_name(crtc->pipe); in i915_gem_pageflip_info() local 584 pipe, plane); in i915_gem_pageflip_info() 590 pipe, plane); in i915_gem_pageflip_info() 593 pipe, plane); in i915_gem_pageflip_info() 768 int ret, i, pipe; in i915_interrupt_info() local 787 for_each_pipe(dev_priv, pipe) in i915_interrupt_info() 789 pipe_name(pipe), in i915_interrupt_info() 790 I915_READ(PIPESTAT(pipe))); in i915_interrupt_info() 827 for_each_pipe(dev_priv, pipe) { in i915_interrupt_info() 829 POWER_DOMAIN_PIPE(pipe))) { in i915_interrupt_info() [all …]
|
D | intel_crt.c | 67 enum pipe *pipe) in intel_crt_get_hw_state() argument 85 *pipe = PORT_TO_PIPE_CPT(tmp); in intel_crt_get_hw_state() 87 *pipe = PORT_TO_PIPE(tmp); in intel_crt_get_hw_state() 166 adpa |= PORT_TRANS_SEL_CPT(crtc->pipe); in intel_crt_set_dpms() 167 else if (crtc->pipe == 0) in intel_crt_set_dpms() 173 I915_WRITE(BCLRPAT(crtc->pipe), 0); in intel_crt_set_dpms() 482 uint32_t pipe = to_intel_crtc(crt->base.base.crtc)->pipe; in intel_crt_load_detect() local 500 bclrpat_reg = BCLRPAT(pipe); in intel_crt_load_detect() 501 vtotal_reg = VTOTAL(pipe); in intel_crt_load_detect() 502 vblank_reg = VBLANK(pipe); in intel_crt_load_detect() [all …]
|
D | intel_sideband.c | 188 u32 vlv_dpio_read(struct drm_i915_private *dev_priv, enum pipe pipe, int reg) in vlv_dpio_read() argument 192 vlv_sideband_rw(dev_priv, DPIO_DEVFN, DPIO_PHY_IOSF_PORT(DPIO_PHY(pipe)), in vlv_dpio_read() 200 pipe_name(pipe), reg, val); in vlv_dpio_read() 205 void vlv_dpio_write(struct drm_i915_private *dev_priv, enum pipe pipe, int reg, u32 val) in vlv_dpio_write() argument 207 vlv_sideband_rw(dev_priv, DPIO_DEVFN, DPIO_PHY_IOSF_PORT(DPIO_PHY(pipe)), in vlv_dpio_write()
|
D | intel_dp_mst.c | 232 enum pipe *pipe) in intel_dp_mst_enc_get_hw_state() argument 235 *pipe = intel_mst->pipe; in intel_dp_mst_enc_get_hw_state() 373 return &intel_dp->mst_encoders[crtc->pipe]->base.base; in intel_mst_atomic_best_encoder() 405 enum pipe pipe; in intel_dp_mst_get_hw_state() local 406 if (!connector->encoder->get_hw_state(connector->encoder, &pipe)) in intel_dp_mst_get_hw_state() 521 intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum pipe pipe) in intel_dp_create_fake_mst_encoder() argument 532 intel_mst->pipe = pipe; in intel_dp_create_fake_mst_encoder()
|
D | intel_fbc.c | 302 I915_WRITE(CHICKEN_PIPESL_1(crtc->pipe), in gen7_fbc_enable() 303 I915_READ(CHICKEN_PIPESL_1(crtc->pipe)) | in gen7_fbc_enable() 528 enum pipe pipe; in intel_fbc_find_crtc() local 534 for_each_pipe(dev_priv, pipe) { in intel_fbc_find_crtc() 535 tmp_crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_fbc_find_crtc() 553 enum pipe pipe; in multiple_pipes_ok() local 560 for_each_pipe(dev_priv, pipe) { in multiple_pipes_ok() 561 crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in multiple_pipes_ok() 1041 fbc_bits = INTEL_FRONTBUFFER_PRIMARY(dev_priv->fbc.crtc->pipe); in intel_fbc_invalidate() 1044 dev_priv->fbc.fbc_work->crtc->pipe); in intel_fbc_invalidate() [all …]
|
D | i915_trace.h | 24 __field(enum pipe, pipe) 32 __entry->pipe = crtc->pipe; 34 crtc->pipe); 41 pipe_name(__entry->pipe), __entry->frame, 50 __field(enum pipe, pipe) 58 __entry->pipe = crtc->pipe; 66 pipe_name(__entry->pipe), __entry->frame, 75 __field(enum pipe, pipe) 81 __entry->pipe = crtc->pipe; 87 pipe_name(__entry->pipe), __entry->frame,
|
D | intel_lvds.c | 71 enum pipe *pipe) in intel_lvds_get_hw_state() argument 89 *pipe = PORT_TO_PIPE_CPT(tmp); in intel_lvds_get_hw_state() 91 *pipe = PORT_TO_PIPE(tmp); in intel_lvds_get_hw_state() 139 int pipe = crtc->pipe; in intel_pre_enable_lvds() local 143 assert_fdi_rx_pll_disabled(dev_priv, pipe); in intel_pre_enable_lvds() 147 assert_pll_disabled(dev_priv, pipe); in intel_pre_enable_lvds() 155 temp |= PORT_TRANS_SEL_CPT(pipe); in intel_pre_enable_lvds() 157 if (pipe == 1) { in intel_pre_enable_lvds() 312 if (INTEL_INFO(dev)->gen < 4 && intel_crtc->pipe == 0) { in intel_lvds_compute_config() 944 int pipe; in intel_lvds_init() local [all …]
|
D | intel_atomic.c | 217 if (WARN_ON(intel_plane->pipe != intel_crtc->pipe)) { in intel_atomic_setup_scalers() 232 intel_crtc->pipe, *scaler_id, name, idx); in intel_atomic_setup_scalers() 244 if (num_scalers_need == 1 && intel_crtc->pipe != PIPE_C) { in intel_atomic_setup_scalers()
|
D | intel_fbdev.c | 474 pipe_name(to_intel_crtc(encoder->crtc)->pipe), in intel_fb_initial_config() 558 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 564 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 583 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 588 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 599 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() 611 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() 619 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() 626 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_irq.c | 46 #define vblanktimestamp(dev, pipe, count) \ argument 47 ((dev)->vblank[pipe].time[(count) % DRM_VBLANKTIME_RBSIZE]) 60 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, 77 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() argument 81 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank() 92 vblanktimestamp(dev, pipe, tslot) = *t_vblank; in store_vblank() 120 static void drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) in drm_reset_vblank_timestamp() argument 134 cur_vblank = dev->driver->get_vblank_counter(dev, pipe); in drm_reset_vblank_timestamp() 135 rc = drm_get_last_vbltimestamp(dev, pipe, &t_vblank, 0); in drm_reset_vblank_timestamp() 136 } while (cur_vblank != dev->driver->get_vblank_counter(dev, pipe) && --count > 0); in drm_reset_vblank_timestamp() [all …]
|
/linux-4.4.14/net/nfc/hci/ |
D | command.c | 31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async() argument 35 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd_async() 41 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, in nfc_hci_execute_cmd_async() 67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd() argument 77 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd() 83 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe, in nfc_hci_execute_cmd() 106 u8 pipe; in nfc_hci_send_event() local 110 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event() 111 if (pipe == NFC_HCI_INVALID_PIPE) in nfc_hci_send_event() 114 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event, in nfc_hci_send_event() [all …]
|
D | hci.h | 25 u8 pipe; member 65 u8 pipe; member 69 u8 pipe; member 82 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, 88 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type,
|
D | core.c | 144 u8 pipe; in nfc_hci_msg_rx_work() local 149 pipe = skb->data[0]; in nfc_hci_msg_rx_work() 156 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, skb); in nfc_hci_msg_rx_work() 193 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received() argument 196 u8 gate = hdev->pipes[pipe].gate; in nfc_hci_cmd_received() 202 pr_debug("from gate %x pipe %x cmd %x\n", gate, pipe, cmd); in nfc_hci_cmd_received() 217 hdev->gate2pipe[create_info->dest_gate] = create_info->pipe; in nfc_hci_cmd_received() 218 hdev->pipes[create_info->pipe].gate = create_info->dest_gate; in nfc_hci_cmd_received() 219 hdev->pipes[create_info->pipe].dest_host = in nfc_hci_cmd_received() 235 hdev->pipes[delete_info->pipe].gate = NFC_HCI_INVALID_GATE; in nfc_hci_cmd_received() [all …]
|
D | hcp.c | 33 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, in nfc_hci_hcp_message_tx() argument 84 packet->header = pipe; in nfc_hci_hcp_message_tx() 131 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, in nfc_hci_hcp_message_rx() argument 139 nfc_hci_cmd_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx() 142 nfc_hci_event_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 310 static int vsp1_pipeline_validate_branch(struct vsp1_pipeline *pipe, in vsp1_pipeline_validate_branch() argument 362 if (pipe->uds) in vsp1_pipeline_validate_branch() 365 pipe->uds = entity; in vsp1_pipeline_validate_branch() 366 pipe->uds_input = bru_found ? pipe->bru in vsp1_pipeline_validate_branch() 386 static void __vsp1_pipeline_cleanup(struct vsp1_pipeline *pipe) in __vsp1_pipeline_cleanup() argument 388 if (pipe->bru) { in __vsp1_pipeline_cleanup() 389 struct vsp1_bru *bru = to_bru(&pipe->bru->subdev); in __vsp1_pipeline_cleanup() 396 INIT_LIST_HEAD(&pipe->entities); in __vsp1_pipeline_cleanup() 397 pipe->state = VSP1_PIPELINE_STOPPED; in __vsp1_pipeline_cleanup() 398 pipe->buffers_ready = 0; in __vsp1_pipeline_cleanup() [all …]
|
D | vsp1_video.h | 65 struct media_pipeline pipe; member 90 if (likely(e->pipe)) in to_vsp1_pipeline() 91 return container_of(e->pipe, struct vsp1_pipeline, pipe); in to_vsp1_pipeline() 128 struct vsp1_pipeline pipe; member 146 void vsp1_pipeline_frame_end(struct vsp1_pipeline *pipe); 148 void vsp1_pipeline_propagate_alpha(struct vsp1_pipeline *pipe,
|
D | vsp1_wpf.c | 76 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity); in wpf_s_stream() local 100 for (i = 0; i < pipe->num_inputs; ++i) { in wpf_s_stream() 101 struct vsp1_rwpf *input = pipe->inputs[i]; in wpf_s_stream() 103 srcrpf |= (!pipe->bru && pipe->num_inputs == 1) in wpf_s_stream() 108 if (pipe->bru || pipe->num_inputs > 1) in wpf_s_stream() 114 if (!pipe->lif) { in wpf_s_stream() 132 if (!pipe->lif) { in wpf_s_stream()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | usb.c | 79 struct ath6kl_usb_pipe *pipe; member 130 ath6kl_usb_alloc_urb_from_pipe(struct ath6kl_usb_pipe *pipe) in ath6kl_usb_alloc_urb_from_pipe() argument 135 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe() 136 if (!list_empty(&pipe->urb_list_head)) { in ath6kl_usb_alloc_urb_from_pipe() 138 list_first_entry(&pipe->urb_list_head, in ath6kl_usb_alloc_urb_from_pipe() 141 pipe->urb_cnt--; in ath6kl_usb_alloc_urb_from_pipe() 143 spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe() 148 static void ath6kl_usb_free_urb_to_pipe(struct ath6kl_usb_pipe *pipe, in ath6kl_usb_free_urb_to_pipe() argument 153 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_free_urb_to_pipe() 154 pipe->urb_cnt++; in ath6kl_usb_free_urb_to_pipe() [all …]
|
D | htc_pipe.c | 251 list_add_tail(&packet->list, &ep->pipe.tx_lookup_queue); in htc_issue_packets() 256 ep->pipe.pipeid_ul, NULL, skb); in htc_issue_packets() 411 if (!ep->pipe.tx_credit_flow_enabled) { in htc_try_send() 414 ep->pipe.pipeid_ul); in htc_try_send() 455 if (ep->pipe.tx_credit_flow_enabled) { in htc_try_send() 485 if (!ep->pipe.tx_credit_flow_enabled) { in htc_try_send() 486 pipeid = ep->pipe.pipeid_ul; in htc_try_send() 562 entry = &target->pipe.txcredit_alloc[0]; in htc_setup_target_buffer_assignments() 640 if (target->pipe.txcredit_alloc[i].service_id != 0) { in htc_setup_target_buffer_assignments() 644 target->pipe.txcredit_alloc[i]. in htc_setup_target_buffer_assignments() [all …]
|
D | hif-ops.h | 154 u8 pipe, struct sk_buff *hdr_buf, in ath6kl_hif_pipe_send() argument 159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send() 180 u8 pipe) in ath6kl_hif_pipe_get_free_queue_number() argument 184 return ar->hif_ops->pipe_get_free_queue_number(ar, pipe); in ath6kl_hif_pipe_get_free_queue_number()
|
/linux-4.4.14/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 510 if (usb_pipeisoc(urb->pipe)) in octeon_free_temp_buffer() 599 struct cvmx_usb_pipe *pipe) in cvmx_usb_pipe_needs_split() argument 601 return pipe->device_speed != CVMX_USB_SPEED_HIGH && in cvmx_usb_pipe_needs_split() 613 static inline int cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe) in cvmx_usb_get_data_pid() argument 615 if (pipe->pid_toggle) in cvmx_usb_get_data_pid() 1122 struct cvmx_usb_pipe *pipe; in cvmx_usb_open_pipe() local 1124 pipe = kzalloc(sizeof(*pipe), GFP_ATOMIC); in cvmx_usb_open_pipe() 1125 if (!pipe) in cvmx_usb_open_pipe() 1130 pipe->flags |= CVMX_USB_PIPE_FLAGS_NEED_PING; in cvmx_usb_open_pipe() 1131 pipe->device_addr = device_addr; in cvmx_usb_open_pipe() [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | rpc_pipe.c | 84 struct rpc_pipe *pipe = in rpc_timeout_upcall_queue() local 89 spin_lock(&pipe->lock); in rpc_timeout_upcall_queue() 90 destroy_msg = pipe->ops->destroy_msg; in rpc_timeout_upcall_queue() 91 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue() 92 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 93 pipe->pipelen = 0; in rpc_timeout_upcall_queue() 95 dentry = dget(pipe->dentry); in rpc_timeout_upcall_queue() 96 spin_unlock(&pipe->lock); in rpc_timeout_upcall_queue() 133 rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg) in rpc_queue_upcall() argument 138 spin_lock(&pipe->lock); in rpc_queue_upcall() [all …]
|
/linux-4.4.14/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 154 static u32 goldfish_cmd_status(struct goldfish_pipe *pipe, u32 cmd) in goldfish_cmd_status() argument 158 struct goldfish_pipe_dev *dev = pipe->dev; in goldfish_cmd_status() 161 gf_write_ptr(pipe, dev->base + PIPE_REG_CHANNEL, in goldfish_cmd_status() 169 static void goldfish_cmd(struct goldfish_pipe *pipe, u32 cmd) in goldfish_cmd() argument 172 struct goldfish_pipe_dev *dev = pipe->dev; in goldfish_cmd() 175 gf_write_ptr(pipe, dev->base + PIPE_REG_CHANNEL, in goldfish_cmd() 243 struct goldfish_pipe *pipe, int *status) in access_with_param() argument 251 aps->channel = (unsigned long)pipe; in access_with_param() 273 struct goldfish_pipe *pipe = filp->private_data; in goldfish_pipe_read_write() local 274 struct goldfish_pipe_dev *dev = pipe->dev; in goldfish_pipe_read_write() [all …]
|
/linux-4.4.14/net/nfc/nci/ |
D | hci.c | 32 u8 pipe; member 49 u8 pipe; member 53 u8 pipe; member 153 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() argument 160 u8 cb = pipe; in nci_hci_send_data() 216 nci_hci_send_data(ndev, data->pipe, data->cmd, in nci_hci_send_data_req() 223 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() local 225 if (pipe == NCI_HCI_INVALID_PIPE) in nci_hci_send_event() 228 return nci_hci_send_data(ndev, pipe, in nci_hci_send_event() 242 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() local [all …]
|
/linux-4.4.14/sound/pci/lx6464es/ |
D | lx_core.h | 120 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, 122 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture); 123 int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, 125 int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate); 126 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture); 127 int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture); 128 int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture); 130 int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture); 131 int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture); 135 u32 pipe, int is_capture); [all …]
|
D | lx_core.c | 429 #define PIPE_INFO_TO_CMD(capture, pipe) \ argument 430 ((u32)((u32)(pipe) | ((capture) ? ID_IS_CAPTURE : 0L)) << ID_OFFSET) 435 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_allocate() argument 439 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_allocate() 456 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_release() argument 459 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_release() 472 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_ask() argument 476 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_ask() 525 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_stop() argument 528 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_stop() [all …]
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | usb_ops_linux.c | 67 unsigned int pipe = 0; in ffaddr2pipehdl() local 73 pipe = usb_sndbulkpipe(pusbd, 0x07); in ffaddr2pipehdl() 76 pipe = usb_sndbulkpipe(pusbd, 0x06); in ffaddr2pipehdl() 79 pipe = usb_sndbulkpipe(pusbd, 0x05); in ffaddr2pipehdl() 82 pipe = usb_sndbulkpipe(pusbd, 0x04); in ffaddr2pipehdl() 85 pipe = usb_sndbulkpipe(pusbd, 0x0a); in ffaddr2pipehdl() 88 pipe = usb_sndbulkpipe(pusbd, 0x0b); in ffaddr2pipehdl() 91 pipe = usb_sndbulkpipe(pusbd, 0x0c); in ffaddr2pipehdl() 94 pipe = usb_rcvbulkpipe(pusbd, 0x03); /* in */ in ffaddr2pipehdl() 97 pipe = usb_rcvbulkpipe(pusbd, 0x09); /* in */ in ffaddr2pipehdl() [all …]
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 27 enum mdp4_pipe pipe; member 164 enum mdp4_pipe pipe = mdp4_plane->pipe; in mdp4_plane_set_scanout() local 166 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_A(pipe), in mdp4_plane_set_scanout() 170 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_B(pipe), in mdp4_plane_set_scanout() 174 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP0_BASE(pipe), in mdp4_plane_set_scanout() 176 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP1_BASE(pipe), in mdp4_plane_set_scanout() 178 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP2_BASE(pipe), in mdp4_plane_set_scanout() 180 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP3_BASE(pipe), in mdp4_plane_set_scanout() 187 enum mdp4_pipe pipe, struct csc_cfg *csc) in mdp4_write_csc_config() argument 192 mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_MV(pipe, i), in mdp4_write_csc_config() [all …]
|
D | mdp4_kms.h | 73 static inline uint32_t pipe2flush(enum mdp4_pipe pipe) in pipe2flush() argument 75 switch (pipe) { in pipe2flush() 114 enum mdp4_pipe pipe, enum mdp_mixer_stage_id stage) in mixercfg() argument 116 switch (pipe) { in mixercfg() 179 static inline uint32_t mdp4_pipe_caps(enum mdp4_pipe pipe) in mdp4_pipe_caps() argument 181 switch (pipe) { in mdp4_pipe_caps()
|
/linux-4.4.14/drivers/usb/host/ |
D | r8a66597-hcd.c | 310 static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) in set_pipe_reg_addr() argument 312 u16 pipenum = pipe->info.pipenum; in set_pipe_reg_addr() 320 pipe->fifoaddr = fifoaddr[dma_ch]; in set_pipe_reg_addr() 321 pipe->fifosel = fifosel[dma_ch]; in set_pipe_reg_addr() 322 pipe->fifoctr = fifoctr[dma_ch]; in set_pipe_reg_addr() 325 pipe->pipectr = DCPCTR; in set_pipe_reg_addr() 327 pipe->pipectr = get_pipectr_addr(pipenum); in set_pipe_reg_addr() 330 pipe->pipetre = get_pipetre_addr(pipenum); in set_pipe_reg_addr() 331 pipe->pipetrn = get_pipetrn_addr(pipenum); in set_pipe_reg_addr() 333 pipe->pipetre = 0; in set_pipe_reg_addr() [all …]
|
D | fhci-sched.c | 714 ed->dev_addr = usb_pipedevice(urb->pipe); in fhci_queue_urb() 715 ed->ep_addr = usb_pipeendpoint(urb->pipe); in fhci_queue_urb() 716 switch (usb_pipetype(urb->pipe)) { in fhci_queue_urb() 735 urb->pipe, usb_pipeout(urb->pipe)); in fhci_queue_urb() 754 if (usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), in fhci_queue_urb() 755 usb_pipeout(urb->pipe))) in fhci_queue_urb() 759 usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), in fhci_queue_urb() 760 usb_pipeout(urb->pipe), 1); in fhci_queue_urb() 775 usb_maxpacket(urb->dev, urb->pipe, in fhci_queue_urb() 776 usb_pipeout(urb->pipe))) == 0)) in fhci_queue_urb() [all …]
|
D | isp116x.h | 508 #define PIPETYPE(pipe) ({ char *__s; \ argument 509 if (usb_pipecontrol(pipe)) __s = "ctrl"; \ 510 else if (usb_pipeint(pipe)) __s = "int"; \ 511 else if (usb_pipebulk(pipe)) __s = "bulk"; \ 514 #define PIPEDIR(pipe) ({ usb_pipein(pipe) ? "in" : "out"; }) argument 521 unsigned int pipe; in urb_dbg() local 527 pipe = urb->pipe; in urb_dbg() 529 usb_pipedevice(pipe), usb_pipeendpoint(pipe), in urb_dbg() 530 PIPEDIR(pipe), PIPETYPE(pipe), in urb_dbg()
|
D | ehci-q.c | 170 if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { in ehci_clear_tt_buffer() 176 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer() 237 usb_pipeendpoint(urb->pipe), in qtd_copy_status() 238 usb_pipein(urb->pipe) ? "in" : "out"); in qtd_copy_status() 251 if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { in ehci_urb_done() 269 usb_pipeendpoint (urb->pipe), in ehci_urb_done() 270 usb_pipein (urb->pipe) ? "in" : "out", in ehci_urb_done() 601 is_input = usb_pipein (urb->pipe); in qh_urb_transaction() 602 if (usb_pipecontrol (urb->pipe)) { in qh_urb_transaction() 645 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction() [all …]
|
D | imx21-hcd.c | 231 ((u32) usb_pipedevice(urb->pipe)) << DW0_ADDRESS | in setup_etd_dword0() 232 ((u32) usb_pipeendpoint(urb->pipe) << DW0_ENDPNT) | in setup_etd_dword0() 236 ((u32) fmt_urb_to_etd[usb_pipetype(urb->pipe)] << DW0_FORMAT) | in setup_etd_dword0() 617 dir = usb_pipeout(td->urb->pipe) ? TD_DIR_OUT : TD_DIR_IN; in schedule_isoc_etds() 641 unsigned int pipe = urb->pipe; in isoc_etd_done() local 642 int dir_in = usb_pipein(pipe); in isoc_etd_done() 791 maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in imx21_hc_urb_enqueue_isoc() 913 unsigned int pipe = urb->pipe; in schedule_nonisoc_etd() local 936 maxpacket = usb_maxpacket(urb->dev, pipe, usb_pipeout(pipe)); in schedule_nonisoc_etd() 940 if (usb_pipecontrol(pipe) && (state != US_CTRL_DATA)) { in schedule_nonisoc_etd() [all …]
|
D | r8a66597.h | 69 struct r8a66597_pipe *pipe; member 215 struct r8a66597_pipe *pipe, u16 *buf, in r8a66597_write_fifo() argument 218 void __iomem *fifoaddr = r8a66597->reg + pipe->fifoaddr; in r8a66597_write_fifo() 244 r8a66597_bclr(r8a66597, MBW_16, pipe->fifosel); in r8a66597_write_fifo() 247 r8a66597_bset(r8a66597, MBW_16, pipe->fifosel); in r8a66597_write_fifo()
|
D | uhci-q.c | 379 unsigned int pipe; in uhci_fixup_toggles() local 416 pipe = list_entry(qh->queue.next, struct urb_priv, node)->urb->pipe; in uhci_fixup_toggles() 417 usb_settoggle(qh->udev, usb_pipeendpoint(pipe), in uhci_fixup_toggles() 418 usb_pipeout(pipe), toggle); in uhci_fixup_toggles() 803 destination = (urb->pipe & PIPE_DEVEP_MASK) | USB_PID_SETUP; in uhci_submit_control() 827 if (usb_pipeout(urb->pipe) || len == 0) in uhci_submit_control() 935 destination = (urb->pipe & PIPE_DEVEP_MASK) | usb_packetid(urb->pipe); in uhci_submit_common() 936 toggle = usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), in uhci_submit_common() 937 usb_pipeout(urb->pipe)); in uhci_submit_common() 943 if (usb_pipein(urb->pipe)) in uhci_submit_common() [all …]
|
D | isp1362-hcd.c | 278 if (usb_pipecontrol(urb->pipe)) { in prepare_ptd() 280 } else if (usb_pipeisoc(urb->pipe)) { in prepare_ptd() 291 if (usb_pipecontrol(urb->pipe)) in prepare_ptd() 293 else if (usb_pipeisoc(urb->pipe)) in prepare_ptd() 313 dir = (urb->transfer_buffer_length && usb_pipein(urb->pipe)) ? in prepare_ptd() 331 ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); in prepare_ptd() 333 if (usb_pipeint(urb->pipe)) { in prepare_ptd() 337 if (usb_pipeisoc(urb->pipe)) in prepare_ptd() 451 if (usb_pipecontrol(urb->pipe)) in finish_request() 455 ep->num_req, usb_pipedevice(urb->pipe), in finish_request() [all …]
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 25 enum mdp5_pipe pipe; member 392 enum mdp5_pipe pipe = mdp5_plane->pipe; in set_scanout_locked() local 394 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_A(pipe), in set_scanout_locked() 398 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_B(pipe), in set_scanout_locked() 402 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC0_ADDR(pipe), in set_scanout_locked() 404 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC1_ADDR(pipe), in set_scanout_locked() 406 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe), in set_scanout_locked() 408 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC3_ADDR(pipe), in set_scanout_locked() 415 static void csc_disable(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe) in csc_disable() argument 417 uint32_t value = mdp5_read(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe)) & in csc_disable() [all …]
|
D | mdp5_smp.c | 115 static inline u32 pipe2client(enum mdp5_pipe pipe, int plane) in pipe2client() argument 119 if (WARN_ON(plane >= pipe2nclients(pipe))) in pipe2client() 134 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client() 192 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument 201 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_0(pipe), val * 1); in set_fifo_thresholds() 202 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_1(pipe), val * 2); in set_fifo_thresholds() 203 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_2(pipe), val * 3); in set_fifo_thresholds() 212 int mdp5_smp_request(struct mdp5_smp *smp, enum mdp5_pipe pipe, in mdp5_smp_request() argument 254 DBG("%s[%d]: request %d SMP blocks", pipe2name(pipe), i, n); in mdp5_smp_request() 255 ret = smp_request_block(smp, pipe2client(pipe, i), n); in mdp5_smp_request() [all …]
|
D | mdp5_smp.h | 42 int mdp5_smp_request(struct mdp5_smp *smp, enum mdp5_pipe pipe, 44 void mdp5_smp_configure(struct mdp5_smp *smp, enum mdp5_pipe pipe); 45 void mdp5_smp_commit(struct mdp5_smp *smp, enum mdp5_pipe pipe); 46 void mdp5_smp_release(struct mdp5_smp *smp, enum mdp5_pipe pipe);
|
D | mdp5_kms.h | 121 static inline const char *pipe2name(enum mdp5_pipe pipe) in pipe2name() argument 131 return names[pipe]; in pipe2name() 134 static inline int pipe2nclients(enum mdp5_pipe pipe) in pipe2nclients() argument 136 switch (pipe) { in pipe2nclients() 208 enum mdp5_pipe pipe, bool private_plane,
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 101 static int xvip_pipeline_start_stop(struct xvip_pipeline *pipe, bool start) in xvip_pipeline_start_stop() argument 103 struct xvip_dma *dma = pipe->output; in xvip_pipeline_start_stop() 156 static int xvip_pipeline_set_stream(struct xvip_pipeline *pipe, bool on) in xvip_pipeline_set_stream() argument 160 mutex_lock(&pipe->lock); in xvip_pipeline_set_stream() 163 if (pipe->stream_count == pipe->num_dmas - 1) { in xvip_pipeline_set_stream() 164 ret = xvip_pipeline_start_stop(pipe, true); in xvip_pipeline_set_stream() 168 pipe->stream_count++; in xvip_pipeline_set_stream() 170 if (--pipe->stream_count == 0) in xvip_pipeline_set_stream() 171 xvip_pipeline_start_stop(pipe, false); in xvip_pipeline_set_stream() 175 mutex_unlock(&pipe->lock); in xvip_pipeline_set_stream() [all …]
|
D | xilinx-dma.h | 41 struct media_pipeline pipe; member 53 return container_of(e->pipe, struct xvip_pipeline, pipe); in to_xvip_pipeline() 83 struct xvip_pipeline pipe; member
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-topology.c | 65 if (skl->resource.mem + mconfig->pipe->memory_pages > in skl_tplg_alloc_pipe_mem() 77 skl->resource.mem += mconfig->pipe->memory_pages; in skl_tplg_alloc_pipe_mem() 123 skl->resource.mem -= mconfig->pipe->memory_pages; in skl_tplg_free_pipe_mem() 231 struct skl_pipe_params *params = m_cfg->pipe->p_params; in skl_tplg_update_module_params() 232 int p_conn_type = m_cfg->pipe->conn_type; in skl_tplg_update_module_params() 264 struct snd_soc_dapm_widget *w, struct skl_pipe *pipe) in skl_tplg_alloc_pipe_widget() argument 275 list_add_tail(&p_module->node, &pipe->w_list); in skl_tplg_alloc_pipe_widget() 286 if (pipe->ppl_id == src_module->pipe->ppl_id) in skl_tplg_alloc_pipe_widget() 288 p->sink, pipe); in skl_tplg_alloc_pipe_widget() 300 skl_tplg_init_pipe_modules(struct skl *skl, struct skl_pipe *pipe) in skl_tplg_init_pipe_modules() argument [all …]
|
D | skl-messages.c | 335 struct skl_pipe_params *params = mconfig->pipe->p_params; in skl_setup_cpr_gateway_cfg() 628 if (mconfig->pipe->state != SKL_PIPE_CREATED) { in skl_init_module() 630 mconfig->pipe->state, mconfig->pipe->ppl_id); in skl_init_module() 643 msg.ppl_instance_id = mconfig->pipe->ppl_id; in skl_init_module() 696 if ((src_mcfg->pipe->ppl_id != dst_mcfg->pipe->ppl_id) && in skl_unbind_modules() 794 static int skl_set_pipe_state(struct skl_sst *ctx, struct skl_pipe *pipe, in skl_set_pipe_state() argument 799 return skl_ipc_set_pipeline_state(&ctx->ipc, pipe->ppl_id, state); in skl_set_pipe_state() 808 int skl_create_pipeline(struct skl_sst *ctx, struct skl_pipe *pipe) in skl_create_pipeline() argument 812 dev_dbg(ctx->dev, "%s: pipe_id = %d\n", __func__, pipe->ppl_id); in skl_create_pipeline() 814 ret = skl_ipc_create_pipeline(&ctx->ipc, pipe->memory_pages, in skl_create_pipeline() [all …]
|
D | skl-topology.h | 266 struct skl_pipe *pipe; member 271 struct skl_pipe *pipe; member 298 int skl_create_pipeline(struct skl_sst *ctx, struct skl_pipe *pipe); 300 int skl_run_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); 302 int skl_pause_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); 304 int skl_delete_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); 306 int skl_stop_pipe(struct skl_sst *ctx, struct skl_pipe *pipe);
|
/linux-4.4.14/drivers/gpu/drm/r128/ |
D | r128_irq.c | 37 u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe) in r128_get_vblank_counter() argument 41 if (pipe != 0) in r128_get_vblank_counter() 65 int r128_enable_vblank(struct drm_device *dev, unsigned int pipe) in r128_enable_vblank() argument 69 if (pipe != 0) { in r128_enable_vblank() 70 DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); in r128_enable_vblank() 78 void r128_disable_vblank(struct drm_device *dev, unsigned int pipe) in r128_disable_vblank() argument 80 if (pipe != 0) in r128_disable_vblank() 81 DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); in r128_disable_vblank()
|
/linux-4.4.14/sound/sparc/ |
D | dbri.c | 295 int pipe; /* Data pipe used */ member 803 static inline int pipe_active(struct snd_dbri *dbri, int pipe) in pipe_active() argument 805 return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1)); in pipe_active() 813 static void reset_pipe(struct snd_dbri *dbri, int pipe) in reset_pipe() argument 819 if (pipe < 0 || pipe > DBRI_MAX_PIPE) { in reset_pipe() 825 sdp = dbri->pipes[pipe].sdp; in reset_pipe() 838 desc = dbri->pipes[pipe].first_desc; in reset_pipe() 844 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe() 846 dbri->pipes[pipe].desc = -1; in reset_pipe() 847 dbri->pipes[pipe].first_desc = -1; in reset_pipe() [all …]
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 225 struct isp_pipeline *pipe) in isp_video_get_graph_data() argument 238 pipe->entities |= 1 << entity->id; in isp_video_get_graph_data() 257 pipe->input = far_end; in isp_video_get_graph_data() 258 pipe->output = video; in isp_video_get_graph_data() 263 pipe->input = video; in isp_video_get_graph_data() 264 pipe->output = far_end; in isp_video_get_graph_data() 389 struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity); in isp_video_buffer_queue() local 414 spin_lock_irqsave(&pipe->lock, flags); in isp_video_buffer_queue() 415 pipe->state |= state; in isp_video_buffer_queue() 419 start = isp_pipeline_ready(pipe); in isp_video_buffer_queue() [all …]
|
D | isp.c | 537 struct isp_pipeline *pipe; in isp_isr_sbl() local 552 pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity); in isp_isr_sbl() 553 if (pipe != NULL) in isp_isr_sbl() 554 pipe->error = true; in isp_isr_sbl() 558 pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity); in isp_isr_sbl() 559 if (pipe != NULL) in isp_isr_sbl() 560 pipe->error = true; in isp_isr_sbl() 564 pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity); in isp_isr_sbl() 565 if (pipe != NULL) in isp_isr_sbl() 566 pipe->error = true; in isp_isr_sbl() [all …]
|
D | ispvideo.h | 86 struct media_pipeline pipe; member 106 container_of((__e)->pipe, struct isp_pipeline, pipe) 108 static inline int isp_pipeline_ready(struct isp_pipeline *pipe) in isp_pipeline_ready() argument 110 return pipe->state == (ISP_PIPELINE_STREAM_INPUT | in isp_pipeline_ready() 169 struct isp_pipeline pipe; member
|
D | ispcsiphy.c | 168 struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity); in omap3isp_csiphy_config() local 169 struct isp_bus_cfg *buscfg = pipe->external->host_priv; in omap3isp_csiphy_config() 178 container_of(pipe->external->asd, in omap3isp_csiphy_config() 216 csi2_ddrclk_khz = pipe->external_rate / 1000 in omap3isp_csiphy_config() 217 / (2 * hweight32(used_lanes)) * pipe->external_width; in omap3isp_csiphy_config() 308 struct isp_pipeline *pipe = in omap3isp_csiphy_release() local 310 struct isp_bus_cfg *buscfg = pipe->external->host_priv; in omap3isp_csiphy_release()
|
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr_hwdep.c | 167 struct pcxhr_pipe *pipe, in pcxhr_dsp_allocate_pipe() argument 186 pipe->is_capture = is_capture; in pcxhr_dsp_allocate_pipe() 187 pipe->first_audio = pin; in pcxhr_dsp_allocate_pipe() 203 pipe->status = PCXHR_PIPE_DEFINED; in pcxhr_dsp_allocate_pipe() 212 static int pcxhr_dsp_free_pipe( struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe) 219 if (pipe->is_capture) 220 capture_mask = (1 << pipe->first_audio); 222 playback_mask = (1 << pipe->first_audio); 230 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio, 236 pipe->status = PCXHR_PIPE_UNDEFINED; [all …]
|
D | pcxhr.c | 530 stream->pipe->is_capture ? 1 : 1<<stream->substream->number; in pcxhr_set_stream_state() 533 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, in pcxhr_set_stream_state() 534 stream->pipe->first_audio, 0, stream_mask); in pcxhr_set_stream_state() 601 is_capture = stream->pipe->is_capture; in pcxhr_set_format() 606 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, in pcxhr_set_format() 653 pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, in pcxhr_update_r_buffer() 683 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 0, 0, 684 1<<stream->pipe->first_audio); 696 struct pcxhr_pipe **pipe) in pcxhr_stream_scheduled_get_pipe() argument 699 *pipe = stream->pipe; in pcxhr_stream_scheduled_get_pipe() [all …]
|
/linux-4.4.14/drivers/staging/media/omap4iss/ |
D | iss_video.c | 350 struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity); in iss_video_buf_queue() local 381 spin_lock_irqsave(&pipe->lock, flags); in iss_video_buf_queue() 382 pipe->state |= state; in iss_video_buf_queue() 386 start = iss_pipeline_ready(pipe); in iss_video_buf_queue() 388 pipe->state |= ISS_PIPELINE_STREAM; in iss_video_buf_queue() 389 spin_unlock_irqrestore(&pipe->lock, flags); in iss_video_buf_queue() 392 omap4iss_pipeline_set_stream(pipe, in iss_video_buf_queue() 421 struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity); in omap4iss_video_buffer_next() local 445 if (video == pipe->output && !pipe->do_propagation) in omap4iss_video_buffer_next() 447 atomic_inc_return(&pipe->frame_number); in omap4iss_video_buffer_next() [all …]
|
D | iss.c | 126 int omap4iss_get_external_info(struct iss_pipeline *pipe, in omap4iss_get_external_info() argument 130 container_of(pipe, struct iss_video, pipe)->iss; in omap4iss_get_external_info() 135 if (!pipe->external) in omap4iss_get_external_info() 138 if (pipe->external_rate) in omap4iss_get_external_info() 150 pipe->external_bpp = omap4iss_video_format_info(fmt.format.code)->bpp; in omap4iss_get_external_info() 152 ctrl = v4l2_ctrl_find(pipe->external->ctrl_handler, in omap4iss_get_external_info() 156 pipe->external->name); in omap4iss_get_external_info() 160 pipe->external_rate = v4l2_ctrl_g_ctrl_int64(ctrl); in omap4iss_get_external_info() 576 static int iss_pipeline_disable(struct iss_pipeline *pipe, in iss_pipeline_disable() argument 579 struct iss_device *iss = pipe->output->iss; in iss_pipeline_disable() [all …]
|
D | iss_video.h | 84 struct media_pipeline pipe; member 101 container_of((__e)->pipe, struct iss_pipeline, pipe) 103 static inline int iss_pipeline_ready(struct iss_pipeline *pipe) in iss_pipeline_ready() argument 105 return pipe->state == (ISS_PIPELINE_STREAM_INPUT | in iss_pipeline_ready() 164 struct iss_pipeline pipe; member
|
D | iss_csiphy.c | 123 struct iss_pipeline *pipe = to_iss_pipeline(&csi2_subdev->entity); in omap4iss_csiphy_config() local 124 struct iss_v4l2_subdevs_group *subdevs = pipe->external->host_priv; in omap4iss_csiphy_config() 200 csi2_ddrclk_khz = pipe->external_rate / 1000 in omap4iss_csiphy_config() 202 * pipe->external_bpp; in omap4iss_csiphy_config()
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart.c | 73 struct mixart_pipe *pipe, int start) in mixart_set_pipe_state() argument 81 switch(pipe->status) { in mixart_set_pipe_state() 115 group_state.pipe_uid[0] = pipe->group_uid; in mixart_set_pipe_state() 122 request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ in mixart_set_pipe_state() 162 pipe->status = PIPE_RUNNING; in mixart_set_pipe_state() 165 pipe->status = PIPE_STOPPED; in mixart_set_pipe_state() 172 struct mixart_pipe *pipe, unsigned int rate) in mixart_set_clock() argument 179 switch(pipe->status) { in mixart_set_clock() 201 clock_properties.uid_caller[0] = pipe->group_uid; in mixart_set_clock() 218 if(rate) pipe->status = PIPE_CLOCK_SET; in mixart_set_clock() [all …]
|
D | mixart_hwdep.c | 176 struct mixart_pipe *pipe; in mixart_enum_connectors() local 179 pipe = &mgr->chip[k/2]->pipe_out_ana; in mixart_enum_connectors() 181 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_out_dig; in mixart_enum_connectors() 184 pipe->uid_right_connector = connector->uid[k]; /* odd */ in mixart_enum_connectors() 186 pipe->uid_left_connector = connector->uid[k]; /* even */ in mixart_enum_connectors() 220 struct mixart_pipe *pipe; in mixart_enum_connectors() local 223 pipe = &mgr->chip[k/2]->pipe_in_ana; in mixart_enum_connectors() 225 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_in_dig; in mixart_enum_connectors() 228 pipe->uid_right_connector = connector->uid[k]; /* odd */ in mixart_enum_connectors() 230 pipe->uid_left_connector = connector->uid[k]; /* even */ in mixart_enum_connectors()
|
D | mixart_mixer.c | 730 struct mixart_pipe *pipe; in mixart_update_playback_stream_level() local 737 pipe = &chip->pipe_out_dig; /* AES playback */ in mixart_update_playback_stream_level() 740 pipe = &chip->pipe_out_ana; /* analog playback */ in mixart_update_playback_stream_level() 744 if(pipe->status == PIPE_UNDEFINED) in mixart_update_playback_stream_level() 747 set_level.stream_level.desc.uid_pipe = pipe->group_uid; in mixart_update_playback_stream_level() 778 struct mixart_pipe *pipe; in mixart_update_capture_stream_level() local 785 pipe = &chip->pipe_in_dig; in mixart_update_capture_stream_level() 788 pipe = &chip->pipe_in_ana; in mixart_update_capture_stream_level() 792 if(pipe->status == PIPE_UNDEFINED) in mixart_update_capture_stream_level() 797 set_level.level[0].connector = pipe->uid_left_connector; in mixart_update_capture_stream_level() [all …]
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.c | 134 struct vpfe_pipeline *pipe = &video->pipe; in vpfe_prepare_pipeline() local 138 pipe->input_num = 0; in vpfe_prepare_pipeline() 139 pipe->output_num = 0; in vpfe_prepare_pipeline() 142 pipe->inputs[pipe->input_num++] = video; in vpfe_prepare_pipeline() 144 pipe->outputs[pipe->output_num++] = video; in vpfe_prepare_pipeline() 155 pipe->inputs[pipe->input_num++] = far_end; in vpfe_prepare_pipeline() 157 pipe->outputs[pipe->output_num++] = far_end; in vpfe_prepare_pipeline() 165 struct vpfe_pipeline *pipe = &video->pipe; in vpfe_update_pipe_state() local 173 if (pipe->input_num == 0) { in vpfe_update_pipe_state() 174 pipe->state = VPFE_PIPELINE_STREAM_CONTINUOUS; in vpfe_update_pipe_state() [all …]
|
D | vpfe_video.h | 54 struct media_pipeline *pipe; member 70 container_of((__e)->pipe, struct vpfe_pipeline, pipe) 94 struct vpfe_pipeline pipe; member 145 int vpfe_video_is_pipe_ready(struct vpfe_pipeline *pipe);
|
/linux-4.4.14/include/linux/ |
D | usb.h | 1469 unsigned int pipe; /* (in) pipe information */ member 1511 unsigned int pipe, in usb_fill_control_urb() argument 1519 urb->pipe = pipe; in usb_fill_control_urb() 1542 unsigned int pipe, in usb_fill_bulk_urb() argument 1549 urb->pipe = pipe; in usb_fill_bulk_urb() 1583 unsigned int pipe, in usb_fill_int_urb() argument 1591 urb->pipe = pipe; in usb_fill_int_urb() 1685 extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, 1688 extern int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, 1690 extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, [all …]
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ |
D | lib.h | 14 union pipe { union 26 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe); 27 extern int wait_for_parent(union pipe read_pipe); 28 extern int notify_parent(union pipe write_pipe); 29 extern int notify_parent_of_error(union pipe write_pipe);
|
D | lib.c | 59 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child() 71 int wait_for_parent(union pipe read_pipe) in wait_for_parent() 81 int notify_parent(union pipe write_pipe) in notify_parent() 90 int notify_parent_of_error(union pipe write_pipe) in notify_parent_of_error() 123 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child() 144 union pipe read_pipe, write_pipe; in eat_cpu() 152 if (pipe(read_pipe.fds) == -1) in eat_cpu() 155 if (pipe(write_pipe.fds) == -1) in eat_cpu()
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd.h | 404 static inline u8 dwc2_hcd_get_ep_num(struct dwc2_hcd_pipe_info *pipe) in dwc2_hcd_get_ep_num() argument 406 return pipe->ep_num; in dwc2_hcd_get_ep_num() 409 static inline u8 dwc2_hcd_get_pipe_type(struct dwc2_hcd_pipe_info *pipe) in dwc2_hcd_get_pipe_type() argument 411 return pipe->pipe_type; in dwc2_hcd_get_pipe_type() 414 static inline u16 dwc2_hcd_get_mps(struct dwc2_hcd_pipe_info *pipe) in dwc2_hcd_get_mps() argument 416 return pipe->mps; in dwc2_hcd_get_mps() 419 static inline u8 dwc2_hcd_get_dev_addr(struct dwc2_hcd_pipe_info *pipe) in dwc2_hcd_get_dev_addr() argument 421 return pipe->dev_addr; in dwc2_hcd_get_dev_addr() 424 static inline u8 dwc2_hcd_is_pipe_isoc(struct dwc2_hcd_pipe_info *pipe) in dwc2_hcd_is_pipe_isoc() argument 426 return pipe->pipe_type == USB_ENDPOINT_XFER_ISOC; in dwc2_hcd_is_pipe_isoc() [all …]
|
/linux-4.4.14/drivers/bluetooth/ |
D | ath3k.c | 209 int err, pipe, len, size, sent = 0; in ath3k_load_firmware() local 214 pipe = usb_sndctrlpipe(udev, 0); in ath3k_load_firmware() 223 err = usb_control_msg(udev, pipe, USB_REQ_DFU_DNLOAD, USB_TYPE_VENDOR, in ath3k_load_firmware() 232 pipe = usb_sndbulkpipe(udev, 0x02); in ath3k_load_firmware() 241 err = usb_bulk_msg(udev, pipe, send_buf, size, in ath3k_load_firmware() 261 int ret, pipe = 0; in ath3k_get_state() local 268 pipe = usb_rcvctrlpipe(udev, 0); in ath3k_get_state() 269 ret = usb_control_msg(udev, pipe, ATH3K_GETSTATE, in ath3k_get_state() 282 int ret, pipe = 0; in ath3k_get_version() local 290 pipe = usb_rcvctrlpipe(udev, 0); in ath3k_get_version() [all …]
|
D | bpa10x.c | 112 bool idx = usb_pipebulk(urb->pipe); in bpa10x_rx_complete() 141 unsigned int pipe; in bpa10x_submit_intr_urb() local 156 pipe = usb_rcvintpipe(data->udev, 0x81); in bpa10x_submit_intr_urb() 158 usb_fill_int_urb(urb, data->udev, pipe, buf, size, in bpa10x_submit_intr_urb() 182 unsigned int pipe; in bpa10x_submit_bulk_urb() local 197 pipe = usb_rcvbulkpipe(data->udev, 0x82); in bpa10x_submit_bulk_urb() 199 usb_fill_bulk_urb(urb, data->udev, pipe, in bpa10x_submit_bulk_urb() 286 unsigned int pipe; in bpa10x_send_frame() local 314 pipe = usb_sndctrlpipe(data->udev, 0x00); in bpa10x_send_frame() 316 usb_fill_control_urb(urb, data->udev, pipe, (void *) dr, in bpa10x_send_frame() [all …]
|
D | bfusb.c | 130 int err, pipe; in bfusb_send_bulk() local 140 pipe = usb_sndbulkpipe(data->udev, data->bulk_out_ep); in bfusb_send_bulk() 142 usb_fill_bulk_urb(urb, data->udev, pipe, skb->data, skb->len, in bfusb_send_bulk() 220 int err, pipe, size = HCI_MAX_FRAME_SIZE + 32; in bfusb_rx_submit() local 241 pipe = usb_rcvbulkpipe(data->udev, data->bulk_in_ep); in bfusb_rx_submit() 243 usb_fill_bulk_urb(urb, data->udev, pipe, skb->data, size, in bfusb_rx_submit() 537 int err, pipe, len, size, sent = 0; in bfusb_load_firmware() local 549 pipe = usb_sndctrlpipe(data->udev, 0); in bfusb_load_firmware() 551 if (usb_control_msg(data->udev, pipe, USB_REQ_SET_CONFIGURATION, in bfusb_load_firmware() 560 pipe = usb_sndbulkpipe(data->udev, data->bulk_out_ep); in bfusb_load_firmware() [all …]
|
D | btusb.c | 644 unsigned int pipe; in btusb_submit_intr_urb() local 664 pipe = usb_rcvintpipe(data->udev, data->intr_ep->bEndpointAddress); in btusb_submit_intr_urb() 666 usb_fill_int_urb(urb, data->udev, pipe, buf, size, in btusb_submit_intr_urb() 733 unsigned int pipe; in btusb_submit_bulk_urb() local 751 pipe = usb_rcvbulkpipe(data->udev, data->bulk_rx_ep->bEndpointAddress); in btusb_submit_bulk_urb() 753 usb_fill_bulk_urb(urb, data->udev, pipe, buf, size, in btusb_submit_bulk_urb() 849 unsigned int pipe; in btusb_submit_isoc_urb() local 870 pipe = usb_rcvisocpipe(data->udev, data->isoc_rx_ep->bEndpointAddress); in btusb_submit_isoc_urb() 872 usb_fill_int_urb(urb, data->udev, pipe, buf, size, btusb_isoc_complete, in btusb_submit_isoc_urb() 940 unsigned int pipe; in btusb_submit_diag_urb() local [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_irq.c | 65 int radeon_enable_vblank(struct drm_device *dev, unsigned int pipe) in radeon_enable_vblank() argument 70 switch (pipe) { in radeon_enable_vblank() 79 pipe); in radeon_enable_vblank() 83 switch (pipe) { in radeon_enable_vblank() 92 pipe); in radeon_enable_vblank() 100 void radeon_disable_vblank(struct drm_device *dev, unsigned int pipe) in radeon_disable_vblank() argument 105 switch (pipe) { in radeon_disable_vblank() 114 pipe); in radeon_disable_vblank() 118 switch (pipe) { in radeon_disable_vblank() 127 pipe); in radeon_disable_vblank() [all …]
|
/linux-4.4.14/drivers/gpu/drm/mga/ |
D | mga_irq.c | 38 u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe) in mga_get_vblank_counter() argument 43 if (pipe != 0) in mga_get_vblank_counter() 91 int mga_enable_vblank(struct drm_device *dev, unsigned int pipe) in mga_enable_vblank() argument 95 if (pipe != 0) { in mga_enable_vblank() 97 pipe); in mga_enable_vblank() 106 void mga_disable_vblank(struct drm_device *dev, unsigned int pipe) in mga_disable_vblank() argument 108 if (pipe != 0) { in mga_disable_vblank() 110 pipe); in mga_disable_vblank()
|
/linux-4.4.14/drivers/usb/storage/ |
D | transport.h | 87 extern int usb_stor_control_msg(struct us_data *us, unsigned int pipe, 90 extern int usb_stor_clear_halt(struct us_data *us, unsigned int pipe); 92 extern int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, 95 extern int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, 97 extern int usb_stor_bulk_transfer_sg(struct us_data *us, unsigned int pipe, 99 extern int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe,
|
D | transport.c | 194 int usb_stor_control_msg(struct us_data *us, unsigned int pipe, in usb_stor_control_msg() argument 211 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg() 235 int usb_stor_clear_halt(struct us_data *us, unsigned int pipe) in usb_stor_clear_halt() argument 238 int endp = usb_pipeendpoint(pipe); in usb_stor_clear_halt() 240 if (usb_pipein (pipe)) in usb_stor_clear_halt() 264 static int interpret_urb_result(struct us_data *us, unsigned int pipe, in interpret_urb_result() argument 285 if (usb_pipecontrol(pipe)) { in interpret_urb_result() 292 pipe); in interpret_urb_result() 293 if (usb_stor_clear_halt(us, pipe) < 0) in interpret_urb_result() 328 int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, in usb_stor_ctrl_transfer() argument [all …]
|
D | onetouch.c | 186 int pipe, maxp; in onetouch_connect_input() local 198 pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); in onetouch_connect_input() 199 maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in onetouch_connect_input() 251 usb_fill_int_urb(onetouch->irq, udev, pipe, onetouch->data, maxp, in onetouch_connect_input()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-bench.txt | 31 % perf bench sched pipe # with no style specified 32 (executing 1000000 pipe operations between two tasks) 42 % perf bench --format=simple sched pipe # specified simple 73 --pipe:: 74 Use pipe() instead of socketpair() 105 *pipe*:: 106 Suite for pipe() system call. 107 Based on pipe-test-1m.c by Ingo Molnar. 109 Options of *pipe* 115 Example of *pipe* [all …]
|
/linux-4.4.14/drivers/usb/c67x00/ |
D | c67x00-sched.c | 84 unsigned int pipe; member 156 dev_dbg(dev, "endpoint: %4d\n", usb_pipeendpoint(td->pipe)); in dbg_td() 157 dev_dbg(dev, "pipeout: %4d\n", usb_pipeout(td->pipe)); in dbg_td() 221 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in c67x00_release_urb() 281 type = usb_pipetype(urb->pipe); in c67x00_ep_data_alloc() 402 switch (usb_pipetype(urb->pipe)) { in c67x00_urb_enqueue() 532 if (usb_pipein(urb->pipe)) in c67x00_claim_frame_bw() 538 if (usb_pipeisoc(urb->pipe)) in c67x00_claim_frame_bw() 539 bit_time = usb_pipein(urb->pipe) ? 9050 : 7840; in c67x00_claim_frame_bw() 587 if (c67x00_claim_frame_bw(c67x00, urb, len, usb_pipeisoc(urb->pipe) in c67x00_create_td() [all …]
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_drv.c | 69 int pipe) in rockchip_register_crtc_funcs() argument 73 if (pipe > ROCKCHIP_MAX_CRTC) in rockchip_register_crtc_funcs() 76 priv->crtc_funcs[pipe] = crtc_funcs; in rockchip_register_crtc_funcs() 82 void rockchip_unregister_crtc_funcs(struct drm_device *dev, int pipe) in rockchip_unregister_crtc_funcs() argument 86 if (pipe > ROCKCHIP_MAX_CRTC) in rockchip_unregister_crtc_funcs() 89 priv->crtc_funcs[pipe] = NULL; in rockchip_unregister_crtc_funcs() 94 int pipe) in rockchip_crtc_from_pipe() argument 100 if (i++ == pipe) in rockchip_crtc_from_pipe() 107 unsigned int pipe) in rockchip_drm_crtc_enable_vblank() argument 110 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_enable_vblank() [all …]
|
D | rockchip_drm_drv.h | 57 int pipe); 58 void rockchip_unregister_crtc_funcs(struct drm_device *dev, int pipe);
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() 46 union pipe read_pipe, write_pipe; in ebb_on_child() 52 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_child() 53 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_child()
|
D | ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() 53 union pipe read_pipe, write_pipe; in ebb_on_willing_child() 59 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_willing_child() 60 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_willing_child()
|
D | task_event_vs_ebb_test.c | 38 union pipe read_pipe, write_pipe; in task_event_vs_ebb() 45 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_vs_ebb() 46 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_vs_ebb()
|
D | ebb_vs_cpu_event_test.c | 39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event() 50 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event() 51 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_vs_cpu_event()
|
D | cpu_event_vs_ebb_test.c | 39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb() 50 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb() 51 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_vs_ebb()
|
D | task_event_pinned_vs_ebb_test.c | 40 union pipe read_pipe, write_pipe; in task_event_pinned_vs_ebb() 47 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_pinned_vs_ebb() 48 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_pinned_vs_ebb()
|
D | cpu_event_pinned_vs_ebb_test.c | 41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb() 52 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb() 53 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
|
D | ebb.h | 74 int ebb_child(union pipe read_pipe, union pipe write_pipe);
|
/linux-4.4.14/sound/pci/echoaudio/ |
D | indigoio_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 104 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument 109 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain() 116 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 117 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain() 121 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigodj_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 134 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument 139 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain() 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 147 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 134 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument 139 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain() 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 147 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | echoaudio.c | 109 struct audiopipe *pipe = runtime->private_data; in audiopipe_free() local 111 if (pipe->sgpage.area) in audiopipe_free() 112 snd_dma_free_pages(&pipe->sgpage); in audiopipe_free() 113 kfree(pipe); in audiopipe_free() 275 struct audiopipe *pipe; in pcm_open() local 284 pipe = kzalloc(sizeof(struct audiopipe), GFP_KERNEL); in pcm_open() 285 if (!pipe) in pcm_open() 287 pipe->index = -1; /* Not configured yet */ in pcm_open() 290 memcpy(&pipe->hw, &pcm_hardware_skel, sizeof(struct snd_pcm_hardware)); in pcm_open() 292 pipe->constr.list = channels_list; in pcm_open() [all …]
|
D | indigo_express_dsp.c | 77 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument 82 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain() 89 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 90 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain() 94 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | echoaudio_dsp.c | 1056 static int allocate_pipes(struct echoaudio *chip, struct audiopipe *pipe, in allocate_pipes() argument 1083 pipe->index = pipe_index; in allocate_pipes() 1084 pipe->interleave = interleave; in allocate_pipes() 1085 pipe->state = PIPE_STATE_STOPPED; in allocate_pipes() 1090 pipe->dma_counter = &chip->comm_page->position[pipe_index]; in allocate_pipes() 1091 *pipe->dma_counter = 0; in allocate_pipes() 1097 static int free_pipes(struct echoaudio *chip, struct audiopipe *pipe) in free_pipes() argument 1102 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) in free_pipes() 1104 if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) in free_pipes() 1107 for (channel_mask = i = 0; i < pipe->interleave; i++) in free_pipes() [all …]
|
D | mia_dsp.c | 35 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 168 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument 173 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain() 180 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 181 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain() 185 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_crtc.c | 113 private->crtc[exynos_crtc->pipe] = NULL; in exynos_drm_crtc_destroy() 130 int pipe, in exynos_drm_crtc_create() argument 144 exynos_crtc->pipe = pipe; in exynos_drm_crtc_create() 153 private->crtc[pipe] = crtc; in exynos_drm_crtc_create() 170 int exynos_drm_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe) in exynos_drm_crtc_enable_vblank() argument 174 to_exynos_crtc(private->crtc[pipe]); in exynos_drm_crtc_enable_vblank() 182 void exynos_drm_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe) in exynos_drm_crtc_disable_vblank() argument 186 to_exynos_crtc(private->crtc[pipe]); in exynos_drm_crtc_disable_vblank() 251 return exynos_crtc->pipe; in exynos_drm_crtc_get_pipe_from_type()
|
D | exynos_drm_vidi.c | 53 int pipe; member 171 ctx->pipe = priv->pipe++; in vidi_ctx_initialize() 190 if (ctx->pipe < 0) in vidi_fake_vblank_handler() 444 int pipe, ret; in vidi_bind() local 451 1 << ctx->pipe, type, formats, in vidi_bind() 459 ctx->pipe, EXYNOS_DISPLAY_TYPE_VIDI, in vidi_bind() 466 pipe = exynos_drm_crtc_get_pipe_from_type(drm_dev, in vidi_bind() 468 if (pipe < 0) in vidi_bind() 469 return pipe; in vidi_bind() 471 encoder->possible_crtcs = 1 << pipe; in vidi_bind()
|
D | exynos_drm_crtc.h | 22 int pipe, 26 int exynos_drm_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe); 27 void exynos_drm_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe);
|
D | exynos_drm_fimd.c | 164 int pipe; member 339 int pipe = ctx->pipe; in fimd_clear_channels() local 343 ctx->pipe = -1; in fimd_clear_channels() 350 ctx->pipe = pipe; in fimd_clear_channels() 840 if (ctx->pipe < 0 || !ctx->drm_dev) in fimd_te_handler() 905 if (ctx->pipe < 0 || !ctx->drm_dev) in fimd_irq_handler() 949 ctx->pipe = priv->pipe++; in fimd_bind() 954 1 << ctx->pipe, type, fimd_formats, in fimd_bind() 962 ctx->pipe, EXYNOS_DISPLAY_TYPE_LCD, in fimd_bind() 975 priv->pipe--; in fimd_bind()
|
/linux-4.4.14/include/drm/ |
D | drmP.h | 443 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe); 458 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe); 469 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe); 515 int (*get_scanout_position) (struct drm_device *dev, unsigned int pipe, 550 int (*get_vblank_timestamp) (struct drm_device *dev, unsigned int pipe, 699 unsigned int pipe; member 718 unsigned int pipe; /* crtc index */ member 946 extern u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe); 948 extern u32 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe, 952 extern void drm_send_vblank_event(struct drm_device *dev, unsigned int pipe, [all …]
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_crtc.c | 151 crtc->state->event->pipe = drm_crtc_index(crtc); in sti_crtc_atomic_begin() 263 unsigned int pipe; in sti_crtc_vblank_cb() local 266 pipe = drm_crtc_index(crtc); in sti_crtc_vblank_cb() 267 mixer = compo->mixer[pipe]; in sti_crtc_vblank_cb() 304 int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe) in sti_crtc_enable_vblank() argument 309 struct drm_crtc *crtc = &compo->mixer[pipe]->drm_crtc; in sti_crtc_enable_vblank() 313 if (sti_vtg_register_client(pipe == STI_MIXER_MAIN ? in sti_crtc_enable_vblank() 323 void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe) in sti_crtc_disable_vblank() argument 328 struct drm_crtc *crtc = &compo->mixer[pipe]->drm_crtc; in sti_crtc_disable_vblank() 332 if (sti_vtg_unregister_client(pipe == STI_MIXER_MAIN ? in sti_crtc_disable_vblank() [all …]
|
D | sti_crtc.h | 16 int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe); 17 void sti_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe);
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | auth_gss.c | 83 struct rpc_pipe *pipe; member 295 struct rpc_pipe *pipe; member 343 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid) in __gss_find_upcall() argument 346 list_for_each_entry(pos, &pipe->in_downcall, list) { in __gss_find_upcall() 364 struct rpc_pipe *pipe = gss_msg->pipe; in gss_add_msg() local 367 spin_lock(&pipe->lock); in gss_add_msg() 368 old = __gss_find_upcall(pipe, gss_msg->uid); in gss_add_msg() 371 list_add(&gss_msg->list, &pipe->in_downcall); in gss_add_msg() 374 spin_unlock(&pipe->lock); in gss_add_msg() 390 struct rpc_pipe *pipe = gss_msg->pipe; in gss_unhash_msg() local [all …]
|
/linux-4.4.14/include/media/ |
D | exynos-fimc.h | 143 struct exynos_media_pipeline *pipe; member 158 (!(ent) ? -ENOENT : (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \ 159 (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv10.c | 435 struct pipe_state *pipe = &chan->pipe_state; in nv17_gr_mthd_lma_window() local 448 PIPE_SAVE(device, pipe->pipe_0x0200, 0x0200); in nv17_gr_mthd_lma_window() 457 PIPE_SAVE(device, pipe->pipe_0x4400, 0x4400); in nv17_gr_mthd_lma_window() 483 PIPE_RESTORE(device, pipe->pipe_0x0200, 0x0200); in nv17_gr_mthd_lma_window() 495 PIPE_RESTORE(device, pipe->pipe_0x4400, 0x4400); in nv17_gr_mthd_lma_window() 563 struct pipe_state *pipe = &chan->pipe_state; in nv10_gr_save_pipe() local 566 PIPE_SAVE(gr, pipe->pipe_0x4400, 0x4400); in nv10_gr_save_pipe() 567 PIPE_SAVE(gr, pipe->pipe_0x0200, 0x0200); in nv10_gr_save_pipe() 568 PIPE_SAVE(gr, pipe->pipe_0x6400, 0x6400); in nv10_gr_save_pipe() 569 PIPE_SAVE(gr, pipe->pipe_0x6800, 0x6800); in nv10_gr_save_pipe() [all …]
|
/linux-4.4.14/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 146 struct rpc_pipe *pipe) in nfs4blocklayout_register_sb() argument 153 dentry = rpc_mkpipe_dentry(dir, "blocklayout", NULL, pipe); in nfs4blocklayout_register_sb() 159 struct rpc_pipe *pipe) in nfs4blocklayout_unregister_sb() argument 161 if (pipe->dentry) in nfs4blocklayout_unregister_sb() 162 rpc_unlink(pipe->dentry); in nfs4blocklayout_unregister_sb() 208 struct rpc_pipe *pipe) in nfs4blocklayout_register_net() argument 216 dentry = nfs4blocklayout_register_sb(pipefs_sb, pipe); in nfs4blocklayout_register_net() 222 struct rpc_pipe *pipe) in nfs4blocklayout_unregister_net() argument 228 nfs4blocklayout_unregister_sb(pipefs_sb, pipe); in nfs4blocklayout_unregister_net()
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
D | imx-drm-core.c | 49 int pipe; member 58 return crtc->pipe; in imx_drm_crtc_id() 132 return drm_vblank_get(imx_drm_crtc->crtc->dev, imx_drm_crtc->pipe); in imx_drm_crtc_vblank_get() 138 drm_vblank_put(imx_drm_crtc->crtc->dev, imx_drm_crtc->pipe); in imx_drm_crtc_vblank_put() 144 drm_handle_vblank(imx_drm_crtc->crtc->dev, imx_drm_crtc->pipe); in imx_drm_handle_vblank() 148 static int imx_drm_enable_vblank(struct drm_device *drm, unsigned int pipe) in imx_drm_enable_vblank() argument 151 struct imx_drm_crtc *imx_drm_crtc = imxdrm->crtc[pipe]; in imx_drm_enable_vblank() 166 static void imx_drm_disable_vblank(struct drm_device *drm, unsigned int pipe) in imx_drm_disable_vblank() argument 169 struct imx_drm_crtc *imx_drm_crtc = imxdrm->crtc[pipe]; in imx_drm_disable_vblank() 366 imx_drm_crtc->pipe = imxdrm->pipes++; in imx_drm_add_crtc() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 611 u32 amdgpu_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe) in amdgpu_get_vblank_counter_kms() argument 617 if (pipe >= adev->mode_info.num_crtc) { in amdgpu_get_vblank_counter_kms() 618 DRM_ERROR("Invalid crtc %u\n", pipe); in amdgpu_get_vblank_counter_kms() 630 if (adev->mode_info.crtcs[pipe]) { in amdgpu_get_vblank_counter_kms() 635 count = amdgpu_display_vblank_get_counter(adev, pipe); in amdgpu_get_vblank_counter_kms() 641 dev, pipe, GET_DISTANCE_TO_VBLANKSTART, in amdgpu_get_vblank_counter_kms() 643 &adev->mode_info.crtcs[pipe]->base.hwmode); in amdgpu_get_vblank_counter_kms() 644 } while (count != amdgpu_display_vblank_get_counter(adev, pipe)); in amdgpu_get_vblank_counter_kms() 651 pipe, vpos); in amdgpu_get_vblank_counter_kms() 662 count = amdgpu_display_vblank_get_counter(adev, pipe); in amdgpu_get_vblank_counter_kms() [all …]
|
D | amdgpu_amdkfd_gfx_v7.c | 167 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 171 uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); in lock_srbm() 189 uint32_t pipe = (pipe_id % CIK_PIPE_PER_MEC); in acquire_queue() local 191 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 249 uint32_t pipe = (pipe_id % CIK_PIPE_PER_MEC); in kgd_init_pipeline() local 251 lock_srbm(kgd, mec, pipe, 0, 0); in kgd_init_pipeline() 265 uint32_t pipe; in kgd_init_interrupts() local 268 pipe = (pipe_id % CIK_PIPE_PER_MEC); in kgd_init_interrupts() 270 lock_srbm(kgd, mec, pipe, 0, 0); in kgd_init_interrupts()
|
D | amdgpu_amdkfd_gfx_v8.c | 128 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 132 uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); in lock_srbm() 150 uint32_t pipe = (pipe_id % VI_PIPE_PER_MEC); in acquire_queue() local 152 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 215 uint32_t pipe; in kgd_init_interrupts() local 218 pipe = (pipe_id % VI_PIPE_PER_MEC); in kgd_init_interrupts() 220 lock_srbm(kgd, mec, pipe, 0, 0); in kgd_init_interrupts()
|
/linux-4.4.14/fs/autofs4/ |
D | inode.c | 209 struct file * pipe; in autofs4_fill_super() local 225 sbi->pipe = NULL; in autofs4_fill_super() 261 pipe = NULL; in autofs4_fill_super() 308 pipe = fget(pipefd); in autofs4_fill_super() 310 if (!pipe) { in autofs4_fill_super() 314 ret = autofs_prepare_pipe(pipe); in autofs4_fill_super() 317 sbi->pipe = pipe; in autofs4_fill_super() 332 fput(pipe); in autofs4_fill_super()
|
D | autofs_i.h | 110 struct file *pipe; member 214 static inline int autofs_prepare_pipe(struct file *pipe) in autofs_prepare_pipe() argument 216 if (!(pipe->f_mode & FMODE_CAN_WRITE)) in autofs_prepare_pipe() 218 if (!S_ISFIFO(file_inode(pipe)->i_mode)) in autofs_prepare_pipe() 221 pipe->f_flags |= O_DIRECT; in autofs_prepare_pipe()
|
D | waitq.c | 51 fput(sbi->pipe); /* Close the pipe */ in autofs4_catatonic_mode() 52 sbi->pipe = NULL; in autofs4_catatonic_mode() 102 struct file *pipe = NULL; in autofs4_notify_daemon() local 149 struct user_namespace *user_ns = sbi->pipe->f_cred->user_ns; in autofs4_notify_daemon() 171 pipe = get_file(sbi->pipe); in autofs4_notify_daemon() 175 if (autofs4_write(sbi, pipe, &pkt, pktsz)) in autofs4_notify_daemon() 177 fput(pipe); in autofs4_notify_daemon()
|
/linux-4.4.14/sound/pcmcia/vx/ |
D | vxp_ops.c | 365 struct vx_pipe *pipe, int count) in vxp_dma_write() argument 368 int offset = pipe->hw_ptr; in vxp_dma_write() 372 if (offset + count > pipe->buffer_bytes) { in vxp_dma_write() 373 int length = pipe->buffer_bytes - offset; in vxp_dma_write() 382 pipe->hw_ptr = 0; in vxp_dma_write() 384 pipe->hw_ptr += count; in vxp_dma_write() 404 struct vx_pipe *pipe, int count) in vxp_dma_read() argument 408 int offset = pipe->hw_ptr; in vxp_dma_read() 414 if (offset + count > pipe->buffer_bytes) { in vxp_dma_read() 415 int length = pipe->buffer_bytes - offset; in vxp_dma_read() [all …]
|
/linux-4.4.14/drivers/mfd/ |
D | viperboard.c | 58 int pipe, ret; in vprbrd_probe() local 76 pipe = usb_rcvctrlpipe(vb->usb_dev, 0); in vprbrd_probe() 77 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, in vprbrd_probe() 83 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MINOR, in vprbrd_probe()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | usb-fw.c | 96 int pipe, do_autopm = 1; in i2400mu_tx_bulk_out() local 104 pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_tx_bulk_out() 106 result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, 200); in i2400mu_tx_bulk_out() 135 usb_clear_halt(i2400mu->usb_dev, pipe); in i2400mu_tx_bulk_out() 250 int pipe; in i2400mu_notif_submit() local 254 pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); in i2400mu_notif_submit() 255 usb_fill_int_urb(urb, i2400mu->usb_dev, pipe, in i2400mu_notif_submit()
|
/linux-4.4.14/drivers/gpu/drm/via/ |
D | via_irq.c | 98 u32 via_get_vblank_counter(struct drm_device *dev, unsigned int pipe) in via_get_vblank_counter() argument 102 if (pipe != 0) in via_get_vblank_counter() 174 int via_enable_vblank(struct drm_device *dev, unsigned int pipe) in via_enable_vblank() argument 179 if (pipe != 0) { in via_enable_vblank() 180 DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); in via_enable_vblank() 193 void via_disable_vblank(struct drm_device *dev, unsigned int pipe) in via_disable_vblank() argument 204 if (pipe != 0) in via_disable_vblank() 205 DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); in via_disable_vblank()
|
D | via_drv.h | 143 extern u32 via_get_vblank_counter(struct drm_device *dev, unsigned int pipe); 144 extern int via_enable_vblank(struct drm_device *dev, unsigned int pipe); 145 extern void via_disable_vblank(struct drm_device *dev, unsigned int pipe);
|
/linux-4.4.14/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 103 int nWaitTime, pipe, len; in flexcop_usb_v8_memory_req() local 110 pipe = B2C2_USB_CTRL_PIPE_IN; in flexcop_usb_v8_memory_req() 116 pipe = B2C2_USB_CTRL_PIPE_OUT; in flexcop_usb_v8_memory_req() 121 pipe = B2C2_USB_CTRL_PIPE_OUT; in flexcop_usb_v8_memory_req() 130 len = usb_control_msg(fc_usb->udev, pipe, in flexcop_usb_v8_memory_req() 207 pipe = set ? B2C2_USB_CTRL_PIPE_OUT : B2C2_USB_CTRL_PIPE_IN, len; 210 len = usb_control_msg(fc_usb->udev,pipe, 229 int nWaitTime,pipe,len; in flexcop_usb_i2c_req() local 238 pipe = B2C2_USB_CTRL_PIPE_OUT; in flexcop_usb_i2c_req() 244 pipe = B2C2_USB_CTRL_PIPE_IN; in flexcop_usb_i2c_req() [all …]
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_irq.c | 147 int omap_irq_enable_vblank(struct drm_device *dev, unsigned int pipe) in omap_irq_enable_vblank() argument 150 struct drm_crtc *crtc = priv->crtcs[pipe]; in omap_irq_enable_vblank() 153 DBG("dev=%p, crtc=%u", dev, pipe); in omap_irq_enable_vblank() 172 void omap_irq_disable_vblank(struct drm_device *dev, unsigned int pipe) in omap_irq_disable_vblank() argument 175 struct drm_crtc *crtc = priv->crtcs[pipe]; in omap_irq_disable_vblank() 178 DBG("dev=%p, crtc=%u", dev, pipe); in omap_irq_disable_vblank()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | trace.h | 68 DEV_ENTRY __field(unsigned, pipe) __field(u32, len) 72 __entry->pipe = u->pipe; 76 DEV_PR_ARG, __entry->pipe, __entry->len) 81 u.pipe = __pipe; \ 107 TP_PROTO(struct mt7601u_dev *dev, unsigned pipe, u8 req, u8 req_type, 109 TP_ARGS(dev, pipe, req, req_type, val, offset, buf, buflen, ret), 112 __field(unsigned, pipe) __field(u8, req) __field(u8, req_type) 118 __entry->pipe = pipe; 129 DEV_PR_ARG, __entry->ret, __entry->pipe, __entry->req,
|
D | usb.c | 67 unsigned pipe; in mt7601u_usb_submit_buf() local 71 pipe = usb_rcvbulkpipe(usb_dev, dev->in_eps[ep_idx]); in mt7601u_usb_submit_buf() 73 pipe = usb_sndbulkpipe(usb_dev, dev->out_eps[ep_idx]); in mt7601u_usb_submit_buf() 75 usb_fill_bulk_urb(buf->urb, usb_dev, pipe, buf->buf, buf->len, in mt7601u_usb_submit_buf() 102 const unsigned int pipe = (direction == USB_DIR_IN) ? in mt7601u_vendor_request() local 106 ret = usb_control_msg(usb_dev, pipe, req, req_type, in mt7601u_vendor_request() 109 trace_mt_vend_req(dev, pipe, req, req_type, val, offset, in mt7601u_vendor_request()
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 272 API-splice-to-pipe 274 API-splice-from-pipe-feed 275 API-splice-from-pipe-next 276 API-splice-from-pipe-begin 277 API-splice-from-pipe-end 278 API---splice-from-pipe 279 API-splice-from-pipe 284 API-struct-pipe-buffer 285 API-struct-pipe-inode-info 286 API-generic-pipe-buf-steal [all …]
|
/linux-4.4.14/drivers/usb/misc/ |
D | usbtest.c | 239 int pipe, in usbtest_alloc_urb() argument 253 usb_fill_int_urb(urb, udev, pipe, NULL, bytes, complete_fn, in usbtest_alloc_urb() 256 usb_fill_bulk_urb(urb, udev, pipe, NULL, bytes, complete_fn, in usbtest_alloc_urb() 263 if (usb_pipein(pipe)) in usbtest_alloc_urb() 289 usb_pipein(urb->pipe) ? GUARD_BYTE : 0, in usbtest_alloc_urb() 296 int pipe, in simple_alloc_urb() argument 300 return usbtest_alloc_urb(udev, pipe, bytes, URB_NO_TRANSFER_DMA_MAP, 0, in simple_alloc_urb() 306 int pipe, in complicated_alloc_urb() argument 310 return usbtest_alloc_urb(udev, pipe, bytes, URB_NO_TRANSFER_DMA_MAP, 0, in complicated_alloc_urb() 319 static unsigned get_maxpacket(struct usb_device *udev, int pipe) in get_maxpacket() argument [all …]
|
/linux-4.4.14/fs/fuse/ |
D | dev.c | 702 struct pipe_inode_info *pipe; member 755 err = buf->ops->confirm(cs->pipe, buf); in fuse_copy_fill() 767 if (cs->nr_segs == cs->pipe->buffers) in fuse_copy_fill() 855 err = buf->ops->confirm(cs->pipe, buf); in fuse_try_move_page() 868 if (buf->ops->steal(cs->pipe, buf) != 0) in fuse_try_move_page() 944 if (cs->nr_segs == cs->pipe->buffers) in fuse_ref_page() 1366 struct pipe_inode_info *pipe, in fuse_dev_splice_read() argument 1379 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_read() 1385 cs.pipe = pipe; in fuse_dev_splice_read() 1391 pipe_lock(pipe); in fuse_dev_splice_read() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | message.c | 81 unsigned int pipe, in usb_internal_control_msg() argument 93 usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data, in usb_internal_control_msg() 131 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in usb_control_msg() argument 148 ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); in usb_control_msg() 183 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_interrupt_msg() argument 186 return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout); in usb_interrupt_msg() 223 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_bulk_msg() argument 229 ep = usb_pipe_endpoint(usb_dev, pipe); in usb_bulk_msg() 239 pipe = (pipe & ~(3 << 30)) | (PIPE_INTERRUPT << 30); in usb_bulk_msg() 240 usb_fill_int_urb(urb, usb_dev, pipe, data, len, in usb_bulk_msg() [all …]
|
D | devio.c | 358 void __user *userurb, int pipe, unsigned length, in snoop_urb() argument 370 ep = usb_pipeendpoint(pipe); in snoop_urb() 371 t = types[usb_pipetype(pipe)]; in snoop_urb() 372 d = dirs[!!usb_pipein(pipe)]; in snoop_urb() 514 snoop_urb(urb->dev, as->userurb, urb->pipe, urb->actual_length, in async_completed() 976 int i, pipe, ret; in proc_control() local 1008 pipe = usb_rcvctrlpipe(dev, 0); in proc_control() 1009 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control() 1012 i = usb_control_msg(dev, pipe, ctrl.bRequest, in proc_control() 1016 snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, in proc_control() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 325 void __ath10k_ce_send_revert(struct ath10k_ce_pipe *pipe) in __ath10k_ce_send_revert() argument 327 struct ath10k *ar = pipe->ar; in __ath10k_ce_send_revert() 329 struct ath10k_ce_ring *src_ring = pipe->src_ring; in __ath10k_ce_send_revert() 330 u32 ctrl_addr = pipe->ctrl_addr; in __ath10k_ce_send_revert() 371 int ath10k_ce_num_free_src_entries(struct ath10k_ce_pipe *pipe) in ath10k_ce_num_free_src_entries() argument 373 struct ath10k *ar = pipe->ar; in ath10k_ce_num_free_src_entries() 378 delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, in ath10k_ce_num_free_src_entries() 379 pipe->src_ring->write_index, in ath10k_ce_num_free_src_entries() 380 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries() 386 int __ath10k_ce_rx_num_free_bufs(struct ath10k_ce_pipe *pipe) in __ath10k_ce_rx_num_free_bufs() argument [all …]
|
D | ce.h | 160 void __ath10k_ce_send_revert(struct ath10k_ce_pipe *pipe); 162 int ath10k_ce_num_free_src_entries(struct ath10k_ce_pipe *pipe); 166 int __ath10k_ce_rx_num_free_bufs(struct ath10k_ce_pipe *pipe); 167 int __ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, u32 paddr); 168 int ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, u32 paddr);
|
/linux-4.4.14/include/net/nfc/ |
D | hci.h | 54 int (*event_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 event, 56 void (*cmd_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, 77 u8 pipe; member 262 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, 264 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, 270 u8 pipe);
|
/linux-4.4.14/drivers/usb/usbip/ |
D | stub_tx.c | 86 usb_pipeendpoint(urb->pipe)); in stub_complete() 177 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) in stub_send_ret_submit() 203 if (usb_pipein(urb->pipe) && in stub_send_ret_submit() 204 usb_pipetype(urb->pipe) != PIPE_ISOCHRONOUS && in stub_send_ret_submit() 210 } else if (usb_pipein(urb->pipe) && in stub_send_ret_submit() 211 usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in stub_send_ret_submit() 244 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in stub_send_ret_submit()
|
D | vhci_tx.c | 32 usb_pipedevice(urb->pipe), vdev->devid); in setup_cmd_submit_pdu() 37 pdup->base.direction = usb_pipein(urb->pipe) ? in setup_cmd_submit_pdu() 39 pdup->base.ep = usb_pipeendpoint(urb->pipe); in setup_cmd_submit_pdu() 96 if (!usb_pipein(urb->pipe) && urb->transfer_buffer_length > 0) { in vhci_send_cmd_submit() 103 if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { in vhci_send_cmd_submit()
|
D | stub_rx.c | 191 if (usb_pipetype(urb->pipe) != PIPE_CONTROL) in tweak_special_requests() 408 ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) in masking_bogus_flags() 409 [usb_pipeendpoint(urb->pipe)]; in masking_bogus_flags() 455 int pipe = get_pipe(sdev, pdu->base.ep, pdu->base.direction); in stub_recv_cmd_submit() local 462 if (usb_pipeisoc(pipe)) in stub_recv_cmd_submit() 497 priv->urb->pipe = pipe; in stub_recv_cmd_submit()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | stv0680.c | 54 unsigned int pipe = 0; in stv_sndctrl() local 59 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl() 63 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl() 67 pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); in stv_sndctrl() 71 pipe = usb_sndctrlpipe(gspca_dev->dev, 0); in stv_sndctrl() 75 ret = usb_control_msg(gspca_dev->dev, pipe, in stv_sndctrl()
|
/linux-4.4.14/tools/virtio/virtio-trace/ |
D | README | 42 virtio-trace uses virtio-serial pipe as trace data paths as to the number 43 of CPUs and a control path, so FIFO (named pipe) should be created as follows: 53 2) Set up of virtio-serial pipe in a host 54 Add qemu option to use virtio-serial pipe. 59 -chardev pipe,id=charchannel0,path=/tmp/virtio-trace/agent-ctl-path\ 63 -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\ 71 <channel type='pipe'> 76 <channel type='pipe'>
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 215 unsigned int pipe = 0, ep_num = 0; in ffaddr2pipehdl() local 219 pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[0]); in ffaddr2pipehdl() 221 pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[1]); in ffaddr2pipehdl() 224 pipe = usb_sndbulkpipe(pusbd, ep_num); in ffaddr2pipehdl() 227 return pipe; in ffaddr2pipehdl() 234 unsigned int pipe; in usbctrl_vendorreq() local 270 pipe = usb_rcvctrlpipe(udev, 0);/* read_in */ in usbctrl_vendorreq() 273 pipe = usb_sndctrlpipe(udev, 0);/* write_out */ in usbctrl_vendorreq() 278 …status = usb_control_msg(udev, pipe, request, reqtype, value, index, pIo_buf, len, RTW_USB_CONTROL… in usbctrl_vendorreq() 465 unsigned int pipe; in usb_read_port() local [all …]
|
/linux-4.4.14/sound/usb/ |
D | helper.c | 83 int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in snd_usb_ctl_msg() argument 102 err = usb_control_msg(dev, pipe, request, requesttype, in snd_usb_ctl_msg() 110 snd_usb_ctl_msg_quirk(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
|
/linux-4.4.14/sound/pci/vx222/ |
D | vx222_ops.c | 259 struct vx_pipe *pipe, int count) in vx2_dma_write() argument 262 int offset = pipe->hw_ptr; in vx2_dma_write() 272 if (offset + count > pipe->buffer_bytes) { in vx2_dma_write() 273 int length = pipe->buffer_bytes - offset; in vx2_dma_write() 282 pipe->hw_ptr = 0; in vx2_dma_write() 284 pipe->hw_ptr += count; in vx2_dma_write() 298 struct vx_pipe *pipe, int count) in vx2_dma_read() argument 300 int offset = pipe->hw_ptr; in vx2_dma_read() 310 if (offset + count > pipe->buffer_bytes) { in vx2_dma_read() 311 int length = pipe->buffer_bytes - offset; in vx2_dma_read() [all …]
|
/linux-4.4.14/fs/nfs/ |
D | nfs4idmap.c | 415 struct rpc_pipe *pipe = idmap->idmap_pipe; in nfs_idmap_pipe_destroy() local 417 if (pipe->dentry) { in nfs_idmap_pipe_destroy() 418 rpc_unlink(pipe->dentry); in nfs_idmap_pipe_destroy() 419 pipe->dentry = NULL; in nfs_idmap_pipe_destroy() 427 struct rpc_pipe *pipe = idmap->idmap_pipe; in nfs_idmap_pipe_create() local 430 dentry = rpc_mkpipe_dentry(dir, "idmap", idmap, pipe); in nfs_idmap_pipe_create() 433 pipe->dentry = dentry; in nfs_idmap_pipe_create() 446 struct rpc_pipe *pipe; in nfs_idmap_new() local 457 pipe = rpc_mkpipe_data(&idmap_upcall_ops, 0); in nfs_idmap_new() 458 if (IS_ERR(pipe)) { in nfs_idmap_new() [all …]
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_host.c | 228 unsigned pipe = urb->pipe; in musb_start_urb() local 229 u8 address = usb_pipedevice(pipe); in musb_start_urb() 320 usb_pipedevice(urb->pipe), in musb_giveback() 321 usb_pipeendpoint(urb->pipe), in musb_giveback() 322 usb_pipein(urb->pipe) ? "in" : "out", in musb_giveback() 478 int pipe = urb->pipe; in musb_host_packet_rx() local 488 if (usb_pipeisoc(pipe)) { in musb_host_packet_rx() 1223 if (usb_pipeout(urb->pipe) in musb_h_ep0_irq() 1272 int pipe; in musb_host_tx() local 1295 pipe = urb->pipe; in musb_host_tx() [all …]
|
/linux-4.4.14/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 193 struct zr364xx_pipeinfo pipe[1]; member 977 int pipe; in read_pipe_completion() local 1016 pipe = usb_rcvbulkpipe(cam->udev, cam->read_endpoint); in read_pipe_completion() 1020 pipe, in read_pipe_completion() 1039 int pipe; in zr364xx_start_readpipe() local 1041 struct zr364xx_pipeinfo *pipe_info = cam->pipe; in zr364xx_start_readpipe() 1042 pipe = usb_rcvbulkpipe(cam->udev, cam->read_endpoint); in zr364xx_start_readpipe() 1054 pipe, in zr364xx_start_readpipe() 1078 pipe_info = cam->pipe; in zr364xx_stop_readpipe() 1232 kfree(cam->pipe->transfer_buffer); in zr364xx_release() [all …]
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | usbmouse.c | 126 int pipe, maxp; in usb_mouse_probe() local 138 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_mouse_probe() 139 maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); in usb_mouse_probe() 193 usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, in usb_mouse_probe()
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | qset.c | 61 is_out = usb_pipeout(urb->pipe); in qset_fill_qh() 79 if (usb_pipecontrol(urb->pipe)) in qset_fill_qh() 91 QH_INFO1_EP(usb_pipeendpoint(urb->pipe)) in qset_fill_qh() 93 | usb_pipe_to_qh_type(urb->pipe) in qset_fill_qh() 208 if (usb_pipecontrol(std->urb->pipe)) in qset_add_qtds() 213 if (whc_std_last(std) && usb_pipeout(std->urb->pipe)) in qset_add_qtds() 227 } else if (usb_pipein(std->urb->pipe)) in qset_add_qtds() 303 bool is_out = usb_pipeout(std->urb->pipe); in qset_free_std() 557 bool is_out = usb_pipeout(urb->pipe); in qset_add_urb_sg_linearize() 731 return usb_pipein(urb->pipe) ? -ENOSR : -ECOMM; in get_urb_status_from_qtd() [all …]
|
/linux-4.4.14/include/linux/sunrpc/ |
D | rpc_pipe_fs.h | 45 struct list_head pipe; member 62 struct rpc_pipe *pipe; member 127 void rpc_destroy_pipe_data(struct rpc_pipe *pipe);
|
/linux-4.4.14/drivers/input/tablet/ |
D | acecad.c | 142 int pipe, maxp; in usb_acecad_probe() local 153 pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); in usb_acecad_probe() 154 maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); in usb_acecad_probe() 230 usb_fill_int_urb(acecad->irq, dev, pipe, in usb_acecad_probe()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 547 maxpacket = usb_maxpacket(qtd->urb->dev, qtd->urb->pipe, in create_ptd_atl() 548 usb_pipeout(qtd->urb->pipe)); in create_ptd_atl() 556 ptd->dw0 |= TO_DW0_ENDPOINT(usb_pipeendpoint(qtd->urb->pipe)); in create_ptd_atl() 559 ptd->dw1 = usb_pipeendpoint(qtd->urb->pipe) >> 1; in create_ptd_atl() 560 ptd->dw1 |= TO_DW1_DEVICE_ADDR(usb_pipedevice(qtd->urb->pipe)); in create_ptd_atl() 563 if (usb_pipebulk(qtd->urb->pipe)) in create_ptd_atl() 565 else if (usb_pipeint(qtd->urb->pipe)) in create_ptd_atl() 579 if (usb_pipeint(qtd->urb->pipe) && in create_ptd_atl() 587 if (usb_pipecontrol(qtd->urb->pipe) || in create_ptd_atl() 588 usb_pipebulk(qtd->urb->pipe)) in create_ptd_atl() [all …]
|
/linux-4.4.14/drivers/media/ |
D | media-entity.c | 226 struct media_pipeline *pipe) in media_entity_pipeline_start() argument 243 WARN_ON(entity->pipe && entity->pipe != pipe); in media_entity_pipeline_start() 244 entity->pipe = pipe; in media_entity_pipeline_start() 320 entity_err->pipe = NULL; in media_entity_pipeline_start() 360 entity->pipe = NULL; in media_entity_pipeline_stop()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 237 static int __usb_control_msg(struct cx231xx *dev, unsigned int pipe, in __usb_control_msg() argument 247 pipe, in __usb_control_msg() 266 rc = usb_control_msg(dev->udev, pipe, request, requesttype, value, in __usb_control_msg() 300 int pipe = usb_rcvctrlpipe(dev->udev, 0); in cx231xx_read_ctrl_reg() local 328 ret = __usb_control_msg(dev, pipe, req, in cx231xx_read_ctrl_reg() 338 int pipe = 0; in cx231xx_send_vendor_cmd() local 349 pipe = usb_rcvctrlpipe(dev->udev, 0); in cx231xx_send_vendor_cmd() 351 pipe = usb_sndctrlpipe(dev->udev, 0); in cx231xx_send_vendor_cmd() 369 ret = __usb_control_msg(dev, pipe, ven_req->bRequest, in cx231xx_send_vendor_cmd() 379 ret = __usb_control_msg(dev, pipe, in cx231xx_send_vendor_cmd() [all …]
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-dvb.c | 121 unsigned int pipe, size; in tm6000_start_stream() local 137 pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress in tm6000_start_stream() 140 size = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe)); in tm6000_start_stream() 150 usb_fill_bulk_urb(dvb->bulk_urb, dev->udev, pipe, in tm6000_start_stream() 155 ret = usb_clear_halt(dev->udev, pipe); in tm6000_start_stream()
|
/linux-4.4.14/include/sound/ |
D | vx_core.h | 109 struct vx_pipe *pipe, int count); 111 struct vx_pipe *pipe, int count); 289 struct vx_pipe *pipe, int count) in vx_pseudo_dma_write() argument 291 chip->ops->dma_write(chip, runtime, pipe, count); in vx_pseudo_dma_write() 295 struct vx_pipe *pipe, int count) in vx_pseudo_dma_read() argument 297 chip->ops->dma_read(chip, runtime, pipe, count); in vx_pseudo_dma_read()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device_queue_manager.c | 199 int pipe, bit, i; in allocate_hqd() local 203 for (pipe = dqm->next_pipe_to_allocate, i = 0; i < get_pipes_num(dqm); in allocate_hqd() 204 pipe = ((pipe + 1) % get_pipes_num(dqm)), ++i) { in allocate_hqd() 205 if (dqm->allocated_queues[pipe] != 0) { in allocate_hqd() 207 (unsigned long *)&dqm->allocated_queues[pipe], in allocate_hqd() 211 (unsigned long *)&dqm->allocated_queues[pipe]); in allocate_hqd() 212 q->pipe = pipe; in allocate_hqd() 223 __func__, q->pipe, q->queue); in allocate_hqd() 225 dqm->next_pipe_to_allocate = (pipe + 1) % get_pipes_num(dqm); in allocate_hqd() 233 set_bit(q->queue, (unsigned long *)&dqm->allocated_queues[q->pipe]); in deallocate_hqd() [all …]
|
/linux-4.4.14/drivers/net/irda/ |
D | kingsun-sir.c | 442 int pipe, maxp_in, maxp_out; in kingsun_probe() local 464 pipe = usb_rcvintpipe(dev, ep_in); in kingsun_probe() 465 maxp_in = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); in kingsun_probe() 481 pipe = usb_sndintpipe(dev, ep_out); in kingsun_probe() 482 maxp_out = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); in kingsun_probe()
|
/linux-4.4.14/drivers/hid/ |
D | hid-elo.c | 104 unsigned int pipe; in elo_smartset_send_get() local 108 pipe = usb_sndctrlpipe(dev, 0); in elo_smartset_send_get() 111 pipe = usb_rcvctrlpipe(dev, 0); in elo_smartset_send_get() 116 return usb_control_msg(dev, pipe, command, in elo_smartset_send_get()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 81 int pipe = usb_rcvctrlpipe(dev->udev, 0); in em28xx_read_reg_req_len() local 92 pipe, in em28xx_read_reg_req_len() 100 ret = usb_control_msg(dev->udev, pipe, req, in em28xx_read_reg_req_len() 157 int pipe = usb_sndctrlpipe(dev->udev, 0); in em28xx_write_regs_req() local 170 pipe, in em28xx_write_regs_req() 183 ret = usb_control_msg(dev->udev, pipe, req, in em28xx_write_regs_req() 875 int sb_size, pipe; in em28xx_alloc_urbs() local 956 pipe = usb_rcvbulkpipe(dev->udev, in em28xx_alloc_urbs() 960 usb_fill_bulk_urb(urb, dev->udev, pipe, in em28xx_alloc_urbs() 965 pipe = usb_rcvisocpipe(dev->udev, in em28xx_alloc_urbs() [all …]
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | st5481_usb.c | 101 u_char pipe, in st5481_usb_pipe_reset() argument 104 DBG(1, "pipe=%02x", pipe); in st5481_usb_pipe_reset() 108 0, pipe, complete, context); in st5481_usb_pipe_reset() 405 unsigned int pipe, void *buf, int num_packets, in fill_isoc_urb() argument 412 urb->pipe = pipe; in fill_isoc_urb() 430 unsigned int pipe, int num_packets, in st5481_setup_isocpipes() argument 449 fill_isoc_urb(urb[j], dev, pipe, buf, in st5481_setup_isocpipes()
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 272 struct s2255_pipeinfo pipe; member 924 int pipe; in s2255_write_config() local 928 pipe = usb_sndbulkpipe(udev, S2255_CONFIG_EP); in s2255_write_config() 929 retval = usb_bulk_msg(udev, pipe, pbuf, size, &done, 500); in s2255_write_config() 1991 struct s2255_pipeinfo *pipe = &dev->pipe; in s2255_board_init() local 1993 memset(pipe, 0, sizeof(*pipe)); in s2255_board_init() 1994 pipe->dev = dev; in s2255_board_init() 1995 pipe->cur_transfer_size = S2255_USB_XFER_SIZE; in s2255_board_init() 1996 pipe->max_transfer_size = S2255_USB_XFER_SIZE; in s2255_board_init() 1998 pipe->transfer_buffer = kzalloc(pipe->max_transfer_size, in s2255_board_init() [all …]
|
/linux-4.4.14/drivers/usb/serial/ |
D | whiteheat.c | 256 int pipe; in whiteheat_attach() local 264 pipe = usb_sndbulkpipe(serial->dev, in whiteheat_attach() 280 usb_clear_halt(serial->dev, pipe); in whiteheat_attach() 281 ret = usb_bulk_msg(serial->dev, pipe, command, 2, in whiteheat_attach() 293 pipe = usb_rcvbulkpipe(serial->dev, in whiteheat_attach() 296 usb_clear_halt(serial->dev, pipe); in whiteheat_attach() 297 ret = usb_bulk_msg(serial->dev, pipe, result, in whiteheat_attach() 416 usb_clear_halt(port->serial->dev, port->read_urb->pipe); in whiteheat_open() 417 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in whiteheat_open() 832 usb_clear_halt(serial->dev, command_port->read_urb->pipe); in start_command_port()
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.c | 239 static int rcar_du_enable_vblank(struct drm_device *dev, unsigned int pipe) in rcar_du_enable_vblank() argument 243 rcar_du_crtc_enable_vblank(&rcdu->crtcs[pipe], true); in rcar_du_enable_vblank() 248 static void rcar_du_disable_vblank(struct drm_device *dev, unsigned int pipe) in rcar_du_disable_vblank() argument 252 rcar_du_crtc_enable_vblank(&rcdu->crtcs[pipe], false); in rcar_du_disable_vblank()
|
/linux-4.4.14/drivers/media/rc/ |
D | ati_remote.c | 778 int pipe, maxp; in ati_remote_initialize() local 783 pipe = usb_rcvintpipe(udev, ati_remote->endpoint_in->bEndpointAddress); in ati_remote_initialize() 784 maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in ati_remote_initialize() 787 usb_fill_int_urb(ati_remote->irq_urb, udev, pipe, ati_remote->inbuf, in ati_remote_initialize() 794 pipe = usb_sndintpipe(udev, ati_remote->endpoint_out->bEndpointAddress); in ati_remote_initialize() 795 maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in ati_remote_initialize() 798 usb_fill_int_urb(ati_remote->out_urb, udev, pipe, ati_remote->outbuf, in ati_remote_initialize()
|