Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/freebsd-12-stable/sys/xen/interface/io/
Dusbif.h148 #define usbif_pipeportnum(pipe) ((pipe) & USBIF_PIPE_PORT_MASK) argument
149 #define usbif_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
151 #define usbif_pipeunlink(pipe) ((pipe) & USBIF_PIPE_UNLINK) argument
152 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument
153 #define usbif_setunlink_pipe(pipe) ((pipe) | USBIF_PIPE_UNLINK) argument
155 #define usbif_pipein(pipe) ((pipe) & USBIF_PIPE_DIR) argument
156 #define usbif_pipeout(pipe) (!usbif_pipein(pipe)) argument
158 #define usbif_pipedevice(pipe) \ argument
159 (((pipe) >> USBIF_PIPE_DEV_SHIFT) & USBIF_PIPE_DEV_MASK)
161 #define usbif_pipeendpoint(pipe) \ argument
[all …]
/freebsd-12-stable/sys/contrib/octeon-sdk/
Dcvmx-usb.c212 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-12-stable/sys/dev/drm2/i915/
Di915_reg.h31 #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a))) argument
367 #define DPIO_DIV(pipe) _PIPE(pipe, _DPIO_DIV_A, _DPIO_DIV_B) argument
378 #define DPIO_REFSFR(pipe) _PIPE(pipe, _DPIO_REFSFR_A, _DPIO_REFSFR_B) argument
382 #define DPIO_CORE_CLK(pipe) _PIPE(pipe, _DPIO_CORE_CLK_A, _DPIO_CORE_CLK_B) argument
386 #define DPIO_LFP_COEFF(pipe) _PIPE(pipe, _DPIO_LFP_COEFF_A, _DPIO_LFP_COEFF_B) argument
929 #define DPLL(pipe) _PIPE(pipe, _DPLL_A, _DPLL_B) argument
1042 #define DPLL_MD(pipe) _PIPE(pipe, _DPLL_A_MD, _DPLL_B_MD) argument
1048 #define FP0(pipe) _PIPE(pipe, _FPA0, _FPB0) argument
1049 #define FP1(pipe) _PIPE(pipe, _FPA1, _FPB1) argument
1193 #define PALETTE(pipe) _PIPE(pipe, _PALETTE_A, _PALETTE_B) argument
[all …]
Dintel_sprite.c53 int pipe = intel_plane->pipe; in ivb_update_plane() local
58 sprctl = I915_READ(SPRCTL(pipe)); in ivb_update_plane()
102 intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size); in ivb_update_plane()
113 intel_wait_for_vblank(dev, pipe); in ivb_update_plane()
124 I915_WRITE(SPRSTRIDE(pipe), fb->pitches[0]); in ivb_update_plane()
125 I915_WRITE(SPRPOS(pipe), (crtc_y << 16) | crtc_x); in ivb_update_plane()
136 I915_WRITE(SPROFFSET(pipe), (y << 16) | x); in ivb_update_plane()
138 I915_WRITE(SPRTILEOFF(pipe), (y << 16) | x); in ivb_update_plane()
140 I915_WRITE(SPRLINOFF(pipe), linear_offset); in ivb_update_plane()
142 I915_WRITE(SPRSIZE(pipe), (crtc_h << 16) | crtc_w); in ivb_update_plane()
[all …]
Di915_irq.c65 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_enable_pipestat() argument
67 if ((dev_priv->pipestat[pipe] & mask) != mask) { in i915_enable_pipestat()
68 u32 reg = PIPESTAT(pipe); in i915_enable_pipestat()
70 dev_priv->pipestat[pipe] |= mask; in i915_enable_pipestat()
72 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16)); in i915_enable_pipestat()
78 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) in i915_disable_pipestat() argument
80 if ((dev_priv->pipestat[pipe] & mask) != 0) { in i915_disable_pipestat()
81 u32 reg = PIPESTAT(pipe); in i915_disable_pipestat()
83 dev_priv->pipestat[pipe] &= ~mask; in i915_disable_pipestat()
84 I915_WRITE(reg, dev_priv->pipestat[pipe]); in i915_disable_pipestat()
[all …]
Dintel_display.c931 enum pipe pipe) in intel_pipe_to_cpu_transcoder() argument
933 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_pipe_to_cpu_transcoder()
939 static void ironlake_wait_for_vblank(struct drm_device *dev, int pipe) in ironlake_wait_for_vblank() argument
942 u32 frame, frame_reg = PIPEFRAME(pipe); in ironlake_wait_for_vblank()
958 void intel_wait_for_vblank(struct drm_device *dev, int pipe) in intel_wait_for_vblank() argument
961 int pipestat_reg = PIPESTAT(pipe); in intel_wait_for_vblank()
964 ironlake_wait_for_vblank(dev, pipe); in intel_wait_for_vblank()
1008 void intel_wait_for_pipe_off(struct drm_device *dev, int pipe) in intel_wait_for_pipe_off() argument
1012 pipe); in intel_wait_for_pipe_off()
1023 int reg = PIPEDSL(pipe); in intel_wait_for_pipe_off()
[all …]
Dintel_ddi.c677 int pipe = intel_crtc->pipe; in intel_ddi_mode_set() local
681 port_name(port), pipe_name(pipe)); in intel_ddi_mode_set()
709 pipe_name(intel_crtc->pipe)); in intel_ddi_mode_set()
727 pipe_name(intel_crtc->pipe)); in intel_ddi_mode_set()
753 intel_crtc->pipe); in intel_ddi_get_crtc_encoder()
837 enum pipe pipe = intel_crtc->pipe; in intel_ddi_pll_mode_set() local
871 pipe_name(pipe)); in intel_ddi_pll_mode_set()
877 pipe_name(pipe)); in intel_ddi_pll_mode_set()
898 pipe_name(pipe)); in intel_ddi_pll_mode_set()
960 enum pipe pipe = intel_crtc->pipe; in intel_ddi_enable_pipe_func() local
[all …]
Dintel_drv.h188 bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe);
224 enum pipe pipe; member
261 enum pipe pipe; member
412 intel_get_crtc_for_pipe(struct drm_device *dev, int pipe) in intel_get_crtc_for_pipe() argument
415 return dev_priv->pipe_to_crtc_mapping[pipe]; in intel_get_crtc_for_pipe()
499 extern int intel_plane_init(struct drm_device *dev, enum pipe pipe);
518 enum pipe pipe);
585 enum pipe pipe);
586 extern void intel_wait_for_vblank(struct drm_device *dev, int pipe);
587 extern void intel_wait_for_pipe_off(struct drm_device *dev, int pipe);
[all …]
Dintel_hdmi.c125 static u32 hsw_infoframe_data_reg(struct dip_infoframe *frame, enum pipe pipe) in hsw_infoframe_data_reg() argument
129 return HSW_TVIDEO_DIP_AVI_DATA(pipe); in hsw_infoframe_data_reg()
131 return HSW_TVIDEO_DIP_SPD_DATA(pipe); in hsw_infoframe_data_reg()
181 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_write_infoframe()
196 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in ibx_write_infoframe()
201 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in ibx_write_infoframe()
219 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in cpt_write_infoframe()
237 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in cpt_write_infoframe()
242 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in cpt_write_infoframe()
260 int reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe); in vlv_write_infoframe()
[all …]
Dintel_crt.c67 enum pipe *pipe) in intel_crt_get_hw_state() argument
80 *pipe = PORT_TO_PIPE_CPT(tmp); in intel_crt_get_hw_state()
82 *pipe = PORT_TO_PIPE(tmp); in intel_crt_get_hw_state()
236 adpa |= PORT_TRANS_SEL_CPT(intel_crtc->pipe); in intel_crt_mode_set()
237 else if (intel_crtc->pipe == 0) in intel_crt_mode_set()
243 I915_WRITE(BCLRPAT(intel_crtc->pipe), 0); in intel_crt_mode_set()
463 uint32_t pipe = to_intel_crtc(crt->base.base.crtc)->pipe; in intel_crt_load_detect() local
481 bclrpat_reg = BCLRPAT(pipe); in intel_crt_load_detect()
482 vtotal_reg = VTOTAL(pipe); in intel_crt_load_detect()
483 vblank_reg = VBLANK(pipe); in intel_crt_load_detect()
[all …]
Dintel_dvo.c117 enum pipe *pipe) in intel_dvo_get_hw_state() argument
129 *pipe = PORT_TO_PIPE(tmp); in intel_dvo_get_hw_state()
255 int pipe = intel_crtc->pipe; in intel_dvo_mode_set() local
258 int dpll_reg = DPLL(pipe); in intel_dvo_mode_set()
281 if (pipe == 1) in intel_dvo_mode_set()
401 int pipe = (dvo_val & DVO_PIPE_B_SELECT) ? 1 : 0; in intel_dvo_get_current_mode() local
403 crtc = intel_get_crtc_for_pipe(dev, pipe); in intel_dvo_get_current_mode()
Dintel_lvds.c70 enum pipe *pipe) in intel_lvds_get_hw_state() argument
88 *pipe = PORT_TO_PIPE_CPT(tmp); in intel_lvds_get_hw_state()
90 *pipe = PORT_TO_PIPE(tmp); in intel_lvds_get_hw_state()
139 intel_panel_enable_backlight(dev, intel_crtc->pipe); in intel_enable_lvds()
259 int pipe; in intel_lvds_mode_fixup() local
262 if (INTEL_INFO(dev)->gen < 4 && intel_crtc->pipe == 0) { in intel_lvds_mode_fixup()
293 pfit_control |= ((intel_crtc->pipe << PFIT_PIPE_SHIFT) | in intel_lvds_mode_fixup()
302 for_each_pipe(pipe) in intel_lvds_mode_fixup()
303 I915_WRITE(BCLRPAT(pipe), 0); in intel_lvds_mode_fixup()
941 int pipe; in intel_lvds_init() local
[all …]
/freebsd-12-stable/sys/sys/
Dpipe.h104 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 int pipe_named_ctor(struct pipe **ppipe, struct thread *td);
[all …]
/freebsd-12-stable/sys/kern/
Dsys_pipe.c142 #define PIPE_PEER(pipe) \ argument
143 (((pipe)->pipe_state & PIPE_NAMED) ? (pipe) : ((pipe)->pipe_peer))
227 static void pipeclose(struct pipe *cpipe);
228 static void pipe_free_kmem(struct pipe *cpipe);
229 static int pipe_create(struct pipe *pipe, bool backing);
231 static __inline int pipelock(struct pipe *cpipe, int catch);
232 static __inline void pipeunlock(struct pipe *cpipe);
234 static int pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio);
235 static void pipe_destroy_write_buffer(struct pipe *wpipe);
236 static int pipe_direct_write(struct pipe *wpipe, struct uio *uio);
[all …]
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dctrl_iface_named_pipe.c65 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-12-stable/contrib/netbsd-tests/kernel/kqueue/read/
Dt_pipe.c46 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-12-stable/sys/netpfil/ipfw/
Ddummynet.txt20 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-12-stable/contrib/llvm-project/lldb/source/Host/posix/
DProcessLauncherPosixFork.cpp185 PipePosix pipe; in LaunchProcess() local
187 error = pipe.CreateNew(child_processes_inherit); in LaunchProcess()
200 pipe.CloseReadFileDescriptor(); in LaunchProcess()
201 ChildFunc(pipe.ReleaseWriteFileDescriptor(), launch_info); in LaunchProcess()
206 pipe.CloseWriteFileDescriptor(); in LaunchProcess()
208 int r = read(pipe.GetReadFileDescriptor(), buf, sizeof buf); in LaunchProcess()
/freebsd-12-stable/tests/sys/netpfil/common/
Ddummynet.sh52 jexec alcatraz dnctl pipe 1 config bw 30Byte/s
94 jexec alcatraz dnctl pipe 1 config bw 100Byte/s
143 jexec alcatraz dnctl pipe 1 config bw 1MByte/s
144 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+
245 jexec alcatraz dnctl pipe 1 config bw 1MByte/s
246 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+
323 pipe \
/freebsd-12-stable/contrib/netbsd-tests/fs/tmpfs/
Dt_mknod.sh100 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-12-stable/sys/security/mac/
Dmac_syscalls.c235 struct pipe *pipe; in sys___mac_get_fd() local
282 pipe = fp->f_data; in sys___mac_get_fd()
284 PIPE_LOCK(pipe); in sys___mac_get_fd()
285 mac_pipe_copy_label(pipe->pipe_pair->pp_label, intlabel); in sys___mac_get_fd()
286 PIPE_UNLOCK(pipe); in sys___mac_get_fd()
389 struct pipe *pipe; in sys___mac_set_fd() local
452 pipe = fp->f_data; in sys___mac_set_fd()
453 PIPE_LOCK(pipe); in sys___mac_set_fd()
455 pipe->pipe_pair, intlabel); in sys___mac_set_fd()
456 PIPE_UNLOCK(pipe); in sys___mac_set_fd()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Interpreter/
DScriptInterpreter.cpp173 Pipe pipe; in ScriptInterpreterIORedirect() local
174 Status pipe_result = pipe.CreateNew(false); in ScriptInterpreterIORedirect()
176 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect()
177 pipe.ReleaseReadFileDescriptor(); in ScriptInterpreterIORedirect()
183 pipe.ReleaseReadFileDescriptor(), true); in ScriptInterpreterIORedirect()
193 FILE *outfile_handle = fdopen(pipe.ReleaseWriteFileDescriptor(), "w"); in ScriptInterpreterIORedirect()
/freebsd-12-stable/usr.sbin/periodic/
Dperiodic.sh22 /*) pipe="cat >>$output";;
23 "") pipe=cat;;
24 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";;
26 eval $pipe
/freebsd-12-stable/contrib/wpa/src/common/
Dwpa_ctrl.c73 HANDLE pipe; member
684 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open()
693 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open()
698 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open()
704 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open()
705 CloseHandle(ctrl->pipe); in wpa_ctrl_open()
716 CloseHandle(ctrl->pipe); in wpa_ctrl_close()
728 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
731 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request()
742 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv()
[all …]
/freebsd-12-stable/sys/netinet/cc/
Dcc_htcp.c355 int pipe; in htcp_post_recovery() local
358 pipe = 0; in htcp_post_recovery()
370 pipe = tcp_compute_pipe(ccv->ccvc.tcp); in htcp_post_recovery()
372 pipe = CCV(ccv, snd_max) - ccv->curack; in htcp_post_recovery()
374 if (pipe < CCV(ccv, snd_ssthresh)) in htcp_post_recovery()
379 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()

12345678910>>...20