| /freebsd-10-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-usb.c | 212 cvmx_usb_pipe_t pipe[MAX_PIPES]; /**< Storage for pipes */ member 425 static inline int __cvmx_usb_pipe_needs_split(cvmx_usb_internal_state_t *usb, cvmx_usb_pipe_t *pipe) in __cvmx_usb_pipe_needs_split() argument 427 …return ((pipe->device_speed != CVMX_USB_SPEED_HIGH) && (usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED… in __cvmx_usb_pipe_needs_split() 439 static inline int __cvmx_usb_get_data_pid(cvmx_usb_pipe_t *pipe) in __cvmx_usb_get_data_pid() argument 441 if (pipe->pid_toggle) in __cvmx_usb_get_data_pid() 544 static inline void __cvmx_usb_append_pipe(cvmx_usb_pipe_list_t *list, cvmx_usb_pipe_t *pipe) in __cvmx_usb_append_pipe() argument 546 pipe->next = NULL; in __cvmx_usb_append_pipe() 547 pipe->prev = list->tail; in __cvmx_usb_append_pipe() 549 list->tail->next = pipe; in __cvmx_usb_append_pipe() 551 list->head = pipe; in __cvmx_usb_append_pipe() [all …]
|
| /freebsd-10-stable/sys/dev/drm2/i915/ |
| D | intel_sprite.c | 53 int pipe = intel_plane->pipe; in ivb_update_plane() local 57 sprctl = I915_READ(SPRCTL(pipe)); in ivb_update_plane() 109 intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size); in ivb_update_plane() 120 intel_wait_for_vblank(dev, pipe); in ivb_update_plane() 131 I915_WRITE(SPRSTRIDE(pipe), fb->pitches[0]); in ivb_update_plane() 132 I915_WRITE(SPRPOS(pipe), (crtc_y << 16) | crtc_x); in ivb_update_plane() 134 I915_WRITE(SPRTILEOFF(pipe), (y << 16) | x); in ivb_update_plane() 139 I915_WRITE(SPRLINOFF(pipe), offset); in ivb_update_plane() 141 I915_WRITE(SPRSIZE(pipe), (crtc_h << 16) | crtc_w); in ivb_update_plane() 142 I915_WRITE(SPRSCALE(pipe), sprscale); in ivb_update_plane() [all …]
|
| D | i915_reg.h | 31 #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a))) argument 359 #define DPIO_DIV(pipe) _PIPE(pipe, _DPIO_DIV_A, _DPIO_DIV_B) argument 369 #define DPIO_REFSFR(pipe) _PIPE(pipe, _DPIO_REFSFR_A, _DPIO_REFSFR_B) argument 373 #define DPIO_CORE_CLK(pipe) _PIPE(pipe, _DPIO_CORE_CLK_A, _DPIO_CORE_CLK_B) argument 377 #define DPIO_LFP_COEFF(pipe) _PIPE(pipe, _DPIO_LFP_COEFF_A, _DPIO_LFP_COEFF_B) argument 893 #define DPLL(pipe) _PIPE(pipe, _DPLL_A, _DPLL_B) argument 1005 #define DPLL_MD(pipe) _PIPE(pipe, _DPLL_A_MD, _DPLL_B_MD) argument 1011 #define FP0(pipe) _PIPE(pipe, _FPA0, _FPB0) argument 1012 #define FP1(pipe) _PIPE(pipe, _FPA1, _FPB1) argument 1156 #define PALETTE(pipe) _PIPE(pipe, _PALETTE_A, _PALETTE_B) argument [all …]
|
| D | intel_display.c | 805 static void ironlake_wait_for_vblank(struct drm_device *dev, int pipe) in ironlake_wait_for_vblank() argument 808 u32 frame, frame_reg = PIPEFRAME(pipe); in ironlake_wait_for_vblank() 824 void intel_wait_for_vblank(struct drm_device *dev, int pipe) in intel_wait_for_vblank() argument 827 int pipestat_reg = PIPESTAT(pipe); in intel_wait_for_vblank() 830 ironlake_wait_for_vblank(dev, pipe); in intel_wait_for_vblank() 874 void intel_wait_for_pipe_off(struct drm_device *dev, int pipe) in intel_wait_for_pipe_off() argument 879 int reg = PIPECONF(pipe); in intel_wait_for_pipe_off() 888 int reg = PIPEDSL(pipe); in intel_wait_for_pipe_off() 914 enum pipe pipe, bool state) in assert_pll() argument 920 reg = DPLL(pipe); in assert_pll() [all …]
|
| D | i915_irq.c | 66 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_enable_pipestat() argument 68 if ((dev_priv->pipestat[pipe] & mask) != mask) { in i915_enable_pipestat() 69 u32 reg = PIPESTAT(pipe); in i915_enable_pipestat() 71 dev_priv->pipestat[pipe] |= mask; in i915_enable_pipestat() 73 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16)); in i915_enable_pipestat() 79 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_disable_pipestat() argument 81 if ((dev_priv->pipestat[pipe] & mask) != 0) { in i915_disable_pipestat() 82 u32 reg = PIPESTAT(pipe); in i915_disable_pipestat() 84 dev_priv->pipestat[pipe] &= ~mask; in i915_disable_pipestat() 85 I915_WRITE(reg, dev_priv->pipestat[pipe]); in i915_disable_pipestat() [all …]
|
| D | intel_ddi.c | 142 int pipe = intel_crtc->pipe; in hsw_fdi_link_train() local 154 I915_WRITE(PIPE_CLK_SEL(pipe), in hsw_fdi_link_train() 180 reg = FDI_RX_CTL(pipe); in hsw_fdi_link_train() 204 temp = I915_READ(DDI_FUNC_CTL(pipe)); in hsw_fdi_link_train() 210 I915_WRITE(DDI_FUNC_CTL(pipe), in hsw_fdi_link_train() 220 I915_WRITE(FDI_RX_CTL(pipe), in hsw_fdi_link_train() 221 I915_READ(FDI_RX_CTL(pipe)) & in hsw_fdi_link_train() 657 int pipe = intel_crtc->pipe; in intel_ddi_mode_set() local 664 …KMS("Preparing HDMI DDI mode for Haswell on port %c, pipe %c\n", port_name(port), pipe_name(pipe)); in intel_ddi_mode_set() 709 I915_WRITE(PIPE_CLK_SEL(pipe), in intel_ddi_mode_set() [all …]
|
| D | intel_drv.h | 173 enum pipe pipe; member 198 enum pipe pipe; member 313 intel_get_crtc_for_pipe(struct drm_device *dev, int pipe) in intel_get_crtc_for_pipe() argument 316 return dev_priv->pipe_to_crtc_mapping[pipe]; in intel_get_crtc_for_pipe() 370 extern int intel_plane_init(struct drm_device *dev, enum pipe pipe); 410 extern void intel_wait_for_vblank(struct drm_device *dev, int pipe); 411 extern void intel_wait_for_pipe_off(struct drm_device *dev, int pipe); 459 extern void intel_finish_page_flip(struct drm_device *dev, int pipe); 473 extern void assert_pipe(struct drm_i915_private *dev_priv, enum pipe pipe, 481 extern void intel_cpt_verify_modeset(struct drm_device *dev, int pipe); [all …]
|
| D | intel_hdmi.c | 105 static u32 hsw_infoframe_data_reg(struct dip_infoframe *frame, enum pipe pipe) in hsw_infoframe_data_reg() argument 109 return HSW_TVIDEO_DIP_AVI_DATA(pipe); in hsw_infoframe_data_reg() 111 return HSW_TVIDEO_DIP_SPD_DATA(pipe); in hsw_infoframe_data_reg() 164 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_write_infoframe() 183 intel_wait_for_vblank(dev, intel_crtc->pipe); in ibx_write_infoframe() 194 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in ibx_write_infoframe() 212 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in cpt_write_infoframe() 216 intel_wait_for_vblank(dev, intel_crtc->pipe); in cpt_write_infoframe() 233 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in cpt_write_infoframe() 251 int reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe); in vlv_write_infoframe() [all …]
|
| D | intel_crt.c | 151 dpll_md_reg = DPLL_MD(intel_crtc->pipe); in intel_crt_mode_set() 176 adpa |= PORT_TRANS_SEL_CPT(intel_crtc->pipe); in intel_crt_mode_set() 177 else if (intel_crtc->pipe == 0) in intel_crt_mode_set() 183 I915_WRITE(BCLRPAT(intel_crtc->pipe), 0); in intel_crt_mode_set() 332 uint32_t pipe = to_intel_crtc(crt->base.base.crtc)->pipe; in intel_crt_load_detect() local 350 bclrpat_reg = BCLRPAT(pipe); in intel_crt_load_detect() 351 vtotal_reg = VTOTAL(pipe); in intel_crt_load_detect() 352 vblank_reg = VBLANK(pipe); in intel_crt_load_detect() 353 vsync_reg = VSYNC(pipe); in intel_crt_load_detect() 354 pipeconf_reg = PIPECONF(pipe); in intel_crt_load_detect() [all …]
|
| D | i915_suspend.c | 35 static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) in i915_pipe_enabled() argument 41 if (pipe > 1) in i915_pipe_enabled() 45 dpll_reg = _PCH_DPLL(pipe); in i915_pipe_enabled() 47 dpll_reg = (pipe == PIPE_A) ? _DPLL_A : _DPLL_B; in i915_pipe_enabled() 52 static void i915_save_palette(struct drm_device *dev, enum pipe pipe) in i915_save_palette() argument 55 unsigned long reg = (pipe == PIPE_A ? _PALETTE_A : _PALETTE_B); in i915_save_palette() 59 if (!i915_pipe_enabled(dev, pipe)) in i915_save_palette() 63 reg = (pipe == PIPE_A) ? _LGC_PALETTE_A : _LGC_PALETTE_B; in i915_save_palette() 65 if (pipe == PIPE_A) in i915_save_palette() 74 static void i915_restore_palette(struct drm_device *dev, enum pipe pipe) in i915_restore_palette() argument [all …]
|
| /freebsd-10-stable/sys/sys/ |
| D | pipe.h | 104 struct pipe { struct 112 struct pipe *pipe_peer; /* link with other direction */ argument 133 struct pipe pp_rpipe; 134 struct pipe pp_wpipe; 139 #define PIPE_MTX(pipe) (&(pipe)->pipe_pair->pp_mtx) argument 140 #define PIPE_LOCK(pipe) mtx_lock(PIPE_MTX(pipe)) argument 141 #define PIPE_UNLOCK(pipe) mtx_unlock(PIPE_MTX(pipe)) argument 142 #define PIPE_LOCK_ASSERT(pipe, type) mtx_assert(PIPE_MTX(pipe), (type)) argument 144 void pipe_dtor(struct pipe *dpipe); 145 void pipe_named_ctor(struct pipe **ppipe, struct thread *td); [all …]
|
| /freebsd-10-stable/sys/dev/drm/ |
| D | i915_irq.c | 82 i915_pipestat(int pipe) in i915_pipestat() argument 84 if (pipe == 0) in i915_pipestat() 86 if (pipe == 1) in i915_pipestat() 92 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_enable_pipestat() argument 94 if ((dev_priv->pipestat[pipe] & mask) != mask) { in i915_enable_pipestat() 95 u32 reg = i915_pipestat(pipe); in i915_enable_pipestat() 97 dev_priv->pipestat[pipe] |= mask; in i915_enable_pipestat() 99 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16)); in i915_enable_pipestat() 105 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_disable_pipestat() argument 107 if ((dev_priv->pipestat[pipe] & mask) != 0) { in i915_disable_pipestat() [all …]
|
| D | i915_suspend.c | 38 static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) in i915_pipe_enabled() argument 42 if (pipe == PIPE_A) in i915_pipe_enabled() 48 static void i915_save_palette(struct drm_device *dev, enum pipe pipe) in i915_save_palette() argument 51 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); in i915_save_palette() 55 if (!i915_pipe_enabled(dev, pipe)) in i915_save_palette() 58 if (pipe == PIPE_A) in i915_save_palette() 67 static void i915_restore_palette(struct drm_device *dev, enum pipe pipe) in i915_restore_palette() argument 70 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B); in i915_restore_palette() 74 if (!i915_pipe_enabled(dev, pipe)) in i915_restore_palette() 77 if (pipe == PIPE_A) in i915_restore_palette()
|
| /freebsd-10-stable/sys/xen/interface/io/ |
| D | usbif.h | 66 #define usbif_pipeportnum(pipe) ((pipe) & 0x1f) argument 67 #define usbif_setportnum_pipe(pipe, portnum) \ argument 68 ((pipe)|(portnum)) 70 #define usbif_pipeunlink(pipe) ((pipe) & 0x20) argument 71 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument 72 #define usbif_setunlink_pipe(pipe) ((pipe)|(0x20)) argument 91 uint32_t pipe; member
|
| /freebsd-10-stable/sys/kern/ |
| D | sys_pipe.c | 139 #define PIPE_PEER(pipe) \ argument 140 (((pipe)->pipe_state & PIPE_NAMED) ? (pipe) : ((pipe)->pipe_peer)) 222 static void pipeclose(struct pipe *cpipe); 223 static void pipe_free_kmem(struct pipe *cpipe); 224 static void pipe_create(struct pipe *pipe, int backing); 226 static __inline int pipelock(struct pipe *cpipe, int catch); 227 static __inline void pipeunlock(struct pipe *cpipe); 229 static int pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio); 230 static void pipe_destroy_write_buffer(struct pipe *wpipe); 231 static int pipe_direct_write(struct pipe *wpipe, struct uio *uio); [all …]
|
| /freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
| D | ctrl_iface_named_pipe.c | 65 HANDLE pipe; member 100 static int ctrl_broken_pipe(HANDLE pipe, int used) in ctrl_broken_pipe() argument 104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) in ctrl_broken_pipe() 122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { in ctrl_flush_broken_pipes() 145 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe() 167 dst->pipe = CreateNamedPipe(name, in ctrl_open_pipe() 175 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe() 181 if (ConnectNamedPipe(dst->pipe, &dst->overlap)) { in ctrl_open_pipe() 184 CloseHandle(dst->pipe); in ctrl_open_pipe() 204 CloseHandle(dst->pipe); in ctrl_open_pipe() [all …]
|
| /freebsd-10-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
| D | t_pipe.c | 46 ATF_TC(pipe); 47 ATF_TC_HEAD(pipe, tc) in ATF_TC_HEAD() argument 51 ATF_TC_BODY(pipe, tc) in ATF_TC_BODY() argument 58 RL(pipe(fds)); in ATF_TC_BODY() 85 ATF_TP_ADD_TC(tp, pipe); in ATF_TP_ADD_TCS()
|
| /freebsd-10-stable/sys/netinet/cc/ |
| D | cc_newreno.c | 217 int pipe; in newreno_post_recovery() local 218 pipe = 0; in newreno_post_recovery() 231 pipe = tcp_compute_pipe(ccv->ccvc.tcp); in newreno_post_recovery() 233 pipe = CCV(ccv, snd_max) - ccv->curack; in newreno_post_recovery() 235 if (pipe < CCV(ccv, snd_ssthresh)) in newreno_post_recovery() 236 CCV(ccv, snd_cwnd) = pipe + CCV(ccv, t_maxseg); in newreno_post_recovery()
|
| D | cc_cubic.c | 302 int pipe; in cubic_post_recovery() local 305 pipe = 0; in cubic_post_recovery() 321 pipe = tcp_compute_pipe(ccv->ccvc.tcp); in cubic_post_recovery() 323 pipe = CCV(ccv, snd_max) - ccv->curack; in cubic_post_recovery() 325 if (pipe < CCV(ccv, snd_ssthresh)) in cubic_post_recovery() 326 CCV(ccv, snd_cwnd) = pipe + CCV(ccv, t_maxseg); in cubic_post_recovery()
|
| /freebsd-10-stable/sys/netpfil/ipfw/ |
| D | dummynet.txt | 20 Add a pipe 25 Delete a pipe 45 with a tag such as "pipe 10" or "queue 5" which tells what to 180 (plus one for each 'pipe X config'). 185 (plus one for each 'pipe X config'). 293 TRADITIONAL DUMMYNET QUEUES "queue N config ... pipe M ..." 296 TRADITIONAL DUMMYNET PIPES "pipe N config ..." 304 DELAY PROFILE "pipe N config profile ..." 311 "pipe N config ..." configures: 353 To create a pipe, queue or scheduler, the user should type commands like: [all …]
|
| /freebsd-10-stable/contrib/netbsd-tests/fs/tmpfs/ |
| D | t_mknod.sh | 100 atf_test_case pipe 109 atf_check -s eq:0 -o empty -e empty mknod pipe p 110 eval $(stat -s pipe) 141 atf_add_test_case pipe
|
| /freebsd-10-stable/contrib/wpa/src/common/ |
| D | wpa_ctrl.c | 61 HANDLE pipe; member 570 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 579 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 584 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 590 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 591 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 602 CloseHandle(ctrl->pipe); in wpa_ctrl_close() 614 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request() 617 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 628 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv() [all …]
|
| /freebsd-10-stable/usr.sbin/periodic/ |
| D | periodic.sh | 22 /*) pipe="cat >>$output";; 23 "") pipe=cat;; 24 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";; 26 eval $pipe
|
| /freebsd-10-stable/sys/security/mac/ |
| D | mac_syscalls.c | 230 struct pipe *pipe; in sys___mac_get_fd() local 279 pipe = fp->f_data; in sys___mac_get_fd() 281 PIPE_LOCK(pipe); in sys___mac_get_fd() 282 mac_pipe_copy_label(pipe->pipe_pair->pp_label, intlabel); in sys___mac_get_fd() 283 PIPE_UNLOCK(pipe); in sys___mac_get_fd() 423 struct pipe *pipe; in sys___mac_set_fd() local 486 pipe = fp->f_data; in sys___mac_set_fd() 487 PIPE_LOCK(pipe); in sys___mac_set_fd() 489 pipe->pipe_pair, intlabel); in sys___mac_set_fd() 490 PIPE_UNLOCK(pipe); in sys___mac_set_fd()
|
| /freebsd-10-stable/usr.bin/mail/ |
| D | popen.c | 48 int pipe; member 106 if (pipe(p) < 0) in Popen() 154 if (fp_head->pipe) in close_all_files() 161 register_file(FILE *fp, int pipe, int pid) in register_file() argument 168 fpp->pipe = pipe; in register_file()
|