pipe 152 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.pipe = (mode == CVMX_HELPER_INTERFACE_MODE_LOOP) ? pipe 964 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t pipe:7; pipe 978 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t pipe:7; pipe 1240 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t pipe:7; pipe 1242 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t pipe:7; pipe 210 drivers/bluetooth/ath3k.c int err, pipe, size, sent = 0; pipe 215 drivers/bluetooth/ath3k.c pipe = usb_sndctrlpipe(udev, 0); pipe 224 drivers/bluetooth/ath3k.c err = usb_control_msg(udev, pipe, USB_REQ_DFU_DNLOAD, USB_TYPE_VENDOR, pipe 234 drivers/bluetooth/ath3k.c pipe = usb_sndbulkpipe(udev, 0x02); pipe 243 drivers/bluetooth/ath3k.c err = usb_bulk_msg(udev, pipe, send_buf, size, pipe 262 drivers/bluetooth/ath3k.c int ret, pipe = 0; pipe 269 drivers/bluetooth/ath3k.c pipe = usb_rcvctrlpipe(udev, 0); pipe 270 drivers/bluetooth/ath3k.c ret = usb_control_msg(udev, pipe, ATH3K_GETSTATE, pipe 283 drivers/bluetooth/ath3k.c int ret, pipe = 0; pipe 291 drivers/bluetooth/ath3k.c pipe = usb_rcvctrlpipe(udev, 0); pipe 292 drivers/bluetooth/ath3k.c ret = usb_control_msg(udev, pipe, ATH3K_GETVERSION, pipe 307 drivers/bluetooth/ath3k.c int err, pipe, size, count, sent = 0; pipe 321 drivers/bluetooth/ath3k.c pipe = usb_sndctrlpipe(udev, 0); pipe 322 drivers/bluetooth/ath3k.c ret = usb_control_msg(udev, pipe, ATH3K_DNLOAD, pipe 334 drivers/bluetooth/ath3k.c pipe = usb_sndbulkpipe(udev, 0x02); pipe 343 drivers/bluetooth/ath3k.c err = usb_bulk_msg(udev, pipe, send_buf, size, pipe 360 drivers/bluetooth/ath3k.c int pipe = 0; pipe 362 drivers/bluetooth/ath3k.c pipe = usb_sndctrlpipe(udev, 0); pipe 363 drivers/bluetooth/ath3k.c return usb_control_msg(udev, pipe, USB_REG_SWITCH_VID_PID, pipe 371 drivers/bluetooth/ath3k.c int pipe = 0, ret; pipe 384 drivers/bluetooth/ath3k.c pipe = usb_sndctrlpipe(udev, 0); pipe 385 drivers/bluetooth/ath3k.c return usb_control_msg(udev, pipe, ATH3K_SET_NORMAL_MODE, pipe 115 drivers/bluetooth/bfusb.c int err, pipe; pipe 125 drivers/bluetooth/bfusb.c pipe = usb_sndbulkpipe(data->udev, data->bulk_out_ep); pipe 127 drivers/bluetooth/bfusb.c usb_fill_bulk_urb(urb, data->udev, pipe, skb->data, skb->len, pipe 205 drivers/bluetooth/bfusb.c int err, pipe, size = HCI_MAX_FRAME_SIZE + 32; pipe 226 drivers/bluetooth/bfusb.c pipe = usb_rcvbulkpipe(data->udev, data->bulk_in_ep); pipe 228 drivers/bluetooth/bfusb.c usb_fill_bulk_urb(urb, data->udev, pipe, skb->data, size, pipe 523 drivers/bluetooth/bfusb.c int err, pipe, len, size, sent = 0; pipe 535 drivers/bluetooth/bfusb.c pipe = usb_sndctrlpipe(data->udev, 0); pipe 537 drivers/bluetooth/bfusb.c if (usb_control_msg(data->udev, pipe, USB_REQ_SET_CONFIGURATION, pipe 546 drivers/bluetooth/bfusb.c pipe = usb_sndbulkpipe(data->udev, data->bulk_out_ep); pipe 553 drivers/bluetooth/bfusb.c err = usb_bulk_msg(data->udev, pipe, buf, size, pipe 565 drivers/bluetooth/bfusb.c err = usb_bulk_msg(data->udev, pipe, NULL, 0, pipe 572 drivers/bluetooth/bfusb.c pipe = usb_sndctrlpipe(data->udev, 0); pipe 574 drivers/bluetooth/bfusb.c err = usb_control_msg(data->udev, pipe, USB_REQ_SET_CONFIGURATION, pipe 591 drivers/bluetooth/bfusb.c pipe = usb_sndctrlpipe(data->udev, 0); pipe 593 drivers/bluetooth/bfusb.c usb_control_msg(data->udev, pipe, USB_REQ_SET_CONFIGURATION, pipe 97 drivers/bluetooth/bpa10x.c bool idx = usb_pipebulk(urb->pipe); pipe 125 drivers/bluetooth/bpa10x.c unsigned int pipe; pipe 140 drivers/bluetooth/bpa10x.c pipe = usb_rcvintpipe(data->udev, 0x81); pipe 142 drivers/bluetooth/bpa10x.c usb_fill_int_urb(urb, data->udev, pipe, buf, size, pipe 165 drivers/bluetooth/bpa10x.c unsigned int pipe; pipe 180 drivers/bluetooth/bpa10x.c pipe = usb_rcvbulkpipe(data->udev, 0x82); pipe 182 drivers/bluetooth/bpa10x.c usb_fill_bulk_urb(urb, data->udev, pipe, pipe 270 drivers/bluetooth/bpa10x.c unsigned int pipe; pipe 298 drivers/bluetooth/bpa10x.c pipe = usb_sndctrlpipe(data->udev, 0x00); pipe 300 drivers/bluetooth/bpa10x.c usb_fill_control_urb(urb, data->udev, pipe, (void *) dr, pipe 307 drivers/bluetooth/bpa10x.c pipe = usb_sndbulkpipe(data->udev, 0x02); pipe 309 drivers/bluetooth/bpa10x.c usb_fill_bulk_urb(urb, data->udev, pipe, pipe 316 drivers/bluetooth/bpa10x.c pipe = usb_sndbulkpipe(data->udev, 0x02); pipe 318 drivers/bluetooth/bpa10x.c usb_fill_bulk_urb(urb, data->udev, pipe, pipe 796 drivers/bluetooth/btusb.c unsigned int pipe; pipe 816 drivers/bluetooth/btusb.c pipe = usb_rcvintpipe(data->udev, data->intr_ep->bEndpointAddress); pipe 818 drivers/bluetooth/btusb.c usb_fill_int_urb(urb, data->udev, pipe, buf, size, pipe 886 drivers/bluetooth/btusb.c unsigned int pipe; pipe 904 drivers/bluetooth/btusb.c pipe = usb_rcvbulkpipe(data->udev, data->bulk_rx_ep->bEndpointAddress); pipe 906 drivers/bluetooth/btusb.c usb_fill_bulk_urb(urb, data->udev, pipe, buf, size, pipe 1003 drivers/bluetooth/btusb.c unsigned int pipe; pipe 1024 drivers/bluetooth/btusb.c pipe = usb_rcvisocpipe(data->udev, data->isoc_rx_ep->bEndpointAddress); pipe 1026 drivers/bluetooth/btusb.c usb_fill_int_urb(urb, data->udev, pipe, buf, size, btusb_isoc_complete, pipe 1095 drivers/bluetooth/btusb.c unsigned int pipe; pipe 1113 drivers/bluetooth/btusb.c pipe = usb_rcvbulkpipe(data->udev, data->diag_rx_ep->bEndpointAddress); pipe 1115 drivers/bluetooth/btusb.c usb_fill_bulk_urb(urb, data->udev, pipe, buf, size, pipe 1308 drivers/bluetooth/btusb.c unsigned int pipe; pipe 1326 drivers/bluetooth/btusb.c pipe = usb_sndctrlpipe(data->udev, 0x00); pipe 1328 drivers/bluetooth/btusb.c usb_fill_control_urb(urb, data->udev, pipe, (void *)dr, pipe 1340 drivers/bluetooth/btusb.c unsigned int pipe; pipe 1349 drivers/bluetooth/btusb.c pipe = usb_sndbulkpipe(data->udev, data->bulk_tx_ep->bEndpointAddress); pipe 1351 drivers/bluetooth/btusb.c usb_fill_bulk_urb(urb, data->udev, pipe, pipe 1363 drivers/bluetooth/btusb.c unsigned int pipe; pipe 1372 drivers/bluetooth/btusb.c pipe = usb_sndisocpipe(data->udev, data->isoc_tx_ep->bEndpointAddress); pipe 1374 drivers/bluetooth/btusb.c usb_fill_int_urb(urb, data->udev, pipe, pipe 2645 drivers/bluetooth/btusb.c unsigned int pipe; pipe 2670 drivers/bluetooth/btusb.c pipe = usb_rcvctrlpipe(data->udev, 0); pipe 2672 drivers/bluetooth/btusb.c usb_fill_control_urb(urb, data->udev, pipe, (void *)dr, pipe 2889 drivers/bluetooth/btusb.c int pipe, err, size = sizeof(u32); pipe 2896 drivers/bluetooth/btusb.c pipe = usb_rcvctrlpipe(data->udev, 0); pipe 2897 drivers/bluetooth/btusb.c err = usb_control_msg(data->udev, pipe, 0x63, pipe 3190 drivers/bluetooth/btusb.c int pipe, err; pipe 3200 drivers/bluetooth/btusb.c pipe = usb_rcvctrlpipe(udev, 0); pipe 3201 drivers/bluetooth/btusb.c err = usb_control_msg(udev, pipe, request, USB_TYPE_VENDOR | USB_DIR_IN, pipe 3223 drivers/bluetooth/btusb.c int pipe, len, err; pipe 3240 drivers/bluetooth/btusb.c pipe = usb_sndctrlpipe(udev, 0); pipe 3241 drivers/bluetooth/btusb.c err = usb_control_msg(udev, pipe, QCA_DFU_DOWNLOAD, USB_TYPE_VENDOR, pipe 3256 drivers/bluetooth/btusb.c pipe = usb_sndbulkpipe(udev, 0x02); pipe 3257 drivers/bluetooth/btusb.c err = usb_bulk_msg(udev, pipe, buf, size, &len, pipe 3457 drivers/bluetooth/btusb.c unsigned int pipe; pipe 3475 drivers/bluetooth/btusb.c pipe = usb_sndbulkpipe(data->udev, data->diag_tx_ep->bEndpointAddress); pipe 3477 drivers/bluetooth/btusb.c usb_fill_bulk_urb(urb, data->udev, pipe, pipe 699 drivers/char/mem.c static ssize_t splice_write_null(struct pipe_inode_info *pipe, struct file *out, pipe 702 drivers/char/mem.c return splice_from_pipe(pipe, out, ppos, len, flags, pipe_to_null); pipe 864 drivers/char/virtio_console.c static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, pipe 874 drivers/char/virtio_console.c if (pipe_buf_steal(pipe, buf) == 0) { pipe 908 drivers/char/virtio_console.c static ssize_t port_fops_splice_write(struct pipe_inode_info *pipe, pipe 936 drivers/char/virtio_console.c pipe_lock(pipe); pipe 937 drivers/char/virtio_console.c if (!pipe->nrbufs) { pipe 946 drivers/char/virtio_console.c buf = alloc_buf(port->portdev->vdev, 0, pipe->nrbufs); pipe 954 drivers/char/virtio_console.c sgl.size = pipe->nrbufs; pipe 957 drivers/char/virtio_console.c ret = __splice_from_pipe(pipe, &sd, pipe_to_sg); pipe 958 drivers/char/virtio_console.c pipe_unlock(pipe); pipe 967 drivers/char/virtio_console.c pipe_unlock(pipe); pipe 408 drivers/dma/qcom/bam_dma.c static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, pipe 414 drivers/dma/qcom/bam_dma.c r.pipe_mult * pipe + pipe 415 drivers/dma/qcom/bam_dma.c r.evnt_mult * pipe + pipe 1213 drivers/gpu/drm/amd/amdgpu/amdgpu.h u32 amdgpu_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe); pipe 1214 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_enable_vblank_kms(struct drm_device *dev, unsigned int pipe); pipe 1215 drivers/gpu/drm/amd/amdgpu/amdgpu.h void amdgpu_disable_vblank_kms(struct drm_device *dev, unsigned int pipe); pipe 172 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c adev->gfx.kiq.ring.pipe, pipe 178 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, pipe 184 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c nv_grbm_select(adev, mec, pipe, queue, vmid); pipe 201 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 203 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c lock_srbm(kgd, mec, pipe, queue_id, 0); pipe 293 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t pipe; pipe 296 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 298 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c lock_srbm(kgd, mec, pipe, 0, 0); pipe 374 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t value, mec, pipe; pipe 377 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 380 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c mec, pipe, queue_id); pipe 383 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c ((mec << 5) | (pipe << 3) | queue_id | 0x80)); pipe 209 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, pipe 213 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); pipe 233 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 235 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c lock_srbm(kgd, mec, pipe, queue_id, 0); pipe 291 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t pipe; pipe 294 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 296 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c lock_srbm(kgd, mec, pipe, 0, 0); pipe 165 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, pipe 169 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); pipe 189 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 191 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c lock_srbm(kgd, mec, pipe, queue_id, 0); pipe 248 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t pipe; pipe 251 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 253 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c lock_srbm(kgd, mec, pipe, 0, 0); pipe 301 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t value, mec, pipe; pipe 304 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 307 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c mec, pipe, queue_id); pipe 310 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c ((mec << 5) | (pipe << 3) | queue_id | 0x80)); pipe 89 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, pipe 95 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c soc15_grbm_select(adev, mec, pipe, queue, vmid); pipe 112 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 114 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c lock_srbm(kgd, mec, pipe, queue_id, 0); pipe 213 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t pipe; pipe 216 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 218 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c lock_srbm(kgd, mec, pipe, 0, 0); pipe 275 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t value, mec, pipe; pipe 278 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); pipe 281 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c mec, pipe, queue_id); pipe 284 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c ((mec << 5) | (pipe << 3) | queue_id | 0x80)); pipe 109 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c unsigned instance_bank, sh_bank, se_bank, me, pipe, queue, vmid; pipe 112 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c instance_bank = sh_bank = se_bank = me = pipe = queue = vmid = 0; pipe 136 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c pipe = (*pos & GENMASK_ULL(43, 34)) >> 34; pipe 156 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_gfx_select_me_pipe_q(adev, me, pipe, queue, vmid); pipe 795 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c unsigned int pipe, unsigned int flags, int *vpos, pipe 811 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0) pipe 854 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c vbl_start -= adev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; pipe 1413 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_get_crtc_scanout_position(struct drm_device *dev, unsigned int pipe, pipe 1418 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, pipe 38 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int pipe, int queue) pipe 44 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c bit += pipe * adev->gfx.mec.num_queue_per_pipe; pipe 51 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int *mec, int *pipe, int *queue) pipe 54 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c *pipe = (bit / adev->gfx.mec.num_queue_per_pipe) pipe 62 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int mec, int pipe, int queue) pipe 64 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c return test_bit(amdgpu_gfx_mec_queue_to_bit(adev, mec, pipe, queue), pipe 69 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int me, int pipe, int queue) pipe 75 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c bit += pipe * adev->gfx.me.num_queue_per_pipe; pipe 82 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int *me, int *pipe, int *queue) pipe 85 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c *pipe = (bit / adev->gfx.me.num_queue_per_pipe) pipe 92 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int me, int pipe, int queue) pipe 94 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c return test_bit(amdgpu_gfx_me_queue_to_bit(adev, me, pipe, queue), pipe 196 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int i, queue, pipe, mec; pipe 202 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c pipe = (i / adev->gfx.mec.num_queue_per_pipe) pipe 217 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (mec == 0 && pipe == 0) pipe 234 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int i, queue, pipe, me; pipe 238 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c pipe = (i / adev->gfx.me.num_queue_per_pipe) pipe 260 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c int mec, pipe, queue; pipe 270 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_bit_to_mec_queue(adev, queue_bit, &mec, &pipe, &queue); pipe 277 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if ((mec == 1 && pipe > 1) || queue != 0) pipe 281 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c ring->pipe = pipe; pipe 314 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c sprintf(ring->name, "kiq_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 512 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c DRM_INFO("kiq ring mec %d pipe %d q %d\n", kiq_ring->me, kiq_ring->pipe, pipe 198 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h void (*select_me_pipe_q)(struct amdgpu_device *adev, u32 me, u32 pipe, pipe 334 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h #define amdgpu_gfx_select_me_pipe_q(adev, me, pipe, q, vmid) (adev)->gfx.funcs->select_me_pipe_q((adev), (me), (pipe), (q), (vmid)) pipe 376 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int pipe, int queue); pipe 378 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int *mec, int *pipe, int *queue); pipe 380 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int pipe, int queue); pipe 382 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int pipe, int queue); pipe 384 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int *me, int *pipe, int *queue); pipe 386 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h int pipe, int queue); pipe 1107 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c u32 amdgpu_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe) pipe 1113 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (pipe >= adev->mode_info.num_crtc) { pipe 1114 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c DRM_ERROR("Invalid crtc %u\n", pipe); pipe 1126 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (adev->mode_info.crtcs[pipe]) { pipe 1131 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c count = amdgpu_display_vblank_get_counter(adev, pipe); pipe 1137 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c dev, pipe, GET_DISTANCE_TO_VBLANKSTART, pipe 1139 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c &adev->mode_info.crtcs[pipe]->base.hwmode); pipe 1140 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c } while (count != amdgpu_display_vblank_get_counter(adev, pipe)); pipe 1147 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c pipe, vpos); pipe 1158 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c count = amdgpu_display_vblank_get_counter(adev, pipe); pipe 1174 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c int amdgpu_enable_vblank_kms(struct drm_device *dev, unsigned int pipe) pipe 1177 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c int idx = amdgpu_display_crtc_idx_to_irq_type(adev, pipe); pipe 1190 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c void amdgpu_disable_vblank_kms(struct drm_device *dev, unsigned int pipe) pipe 1193 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c int idx = amdgpu_display_crtc_idx_to_irq_type(adev, pipe); pipe 595 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h unsigned int pipe, unsigned int flags, int *vpos, pipe 197 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h u32 pipe; pipe 869 drivers/gpu/drm/amd/amdgpu/cik.c u32 me, u32 pipe, u32 queue, u32 vmid) pipe 872 drivers/gpu/drm/amd/amdgpu/cik.c (((pipe << SRBM_GFX_CNTL__PIPEID__SHIFT) & SRBM_GFX_CNTL__PIPEID_MASK)| pipe 30 drivers/gpu/drm/amd/amdgpu/cik.h u32 me, u32 pipe, u32 queue, u32 vmid); pipe 284 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c PACKET3_MAP_QUEUES_PIPE(ring->pipe) | pipe 1179 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 me, u32 pipe, u32 q, u32 vm) pipe 1181 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, me, pipe, q, vm); pipe 1240 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int me, int pipe, int queue) pipe 1249 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ring->pipe = pipe; pipe 1259 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c sprintf(ring->name, "gfx_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 1261 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c irq_type = AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP + ring->pipe; pipe 1270 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int mec, int pipe, int queue) pipe 1280 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ring->pipe = pipe; pipe 1288 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 1292 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c + ring->pipe; pipe 2777 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c CP_PIPE_ID pipe) pipe 2782 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, GRBM_GFX_CNTL, PIPEID, pipe); pipe 3012 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); pipe 3162 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3180 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3515 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3522 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3544 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c nv_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3659 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c i, ring->me, ring->pipe, ring->queue); pipe 3671 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c i, ring->me, ring->pipe, ring->queue); pipe 4432 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ref_and_mask = nbio_hf_reg->ref_and_mask_cp2 << ring->pipe; pipe 4435 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ref_and_mask = nbio_hf_reg->ref_and_mask_cp6 << ring->pipe; pipe 4855 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t me, uint32_t pipe, pipe 4861 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (pipe) { pipe 4869 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c DRM_DEBUG("invalid pipe %d\n", pipe); pipe 4896 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int me, int pipe, pipe 4908 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (pipe) { pipe 4922 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c DRM_DEBUG("invalid pipe %d\n", pipe); pipe 5017 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if ((ring->me == me_id) && (ring->pipe == pipe_id) && (ring->queue == queue_id)) pipe 5078 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (ring->me == me_id && ring->pipe == pipe_id) pipe 5086 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (ring->me == me_id && ring->pipe == pipe_id && pipe 5126 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c target += ring->pipe; pipe 3046 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 me, u32 pipe, u32 q, u32 vm) pipe 3135 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c ring->pipe = i; pipe 3137 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 3138 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe; pipe 2139 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ref_and_mask = GPU_HDP_FLUSH_DONE__CP2_MASK << ring->pipe; pipe 2142 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ref_and_mask = GPU_HDP_FLUSH_DONE__CP6_MASK << ring->pipe; pipe 2875 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c int mec, int pipe) pipe 2879 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c size_t eop_offset = (mec * adev->gfx.mec.num_pipe_per_mec + pipe) pipe 2885 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c cik_srbm_select(adev, mec + 1, pipe, 0, 0); pipe 3089 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c cik_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 4200 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 me, u32 pipe, u32 q, u32 vm) pipe 4202 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c cik_srbm_select(adev, me, pipe, q, vm); pipe 4399 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c int mec, int pipe, int queue) pipe 4407 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ring->pipe = pipe; pipe 4413 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 4417 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c + ring->pipe; pipe 4724 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c int me, int pipe, pipe 4736 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (pipe) { pipe 4750 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c DRM_DEBUG("invalid pipe %d\n", pipe); pipe 4882 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if ((ring->me == me_id) && (ring->pipe == pipe_id)) pipe 4907 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if ((ring->me == me_id) && (ring->pipe == pipe_id)) pipe 1915 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c int mec, int pipe, int queue) pipe 1925 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ring->pipe = pipe; pipe 1933 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 1937 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c + ring->pipe; pipe 3472 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 me, u32 pipe, u32 q, u32 vm) pipe 3474 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, me, pipe, q, vm); pipe 4369 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); pipe 4423 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c PACKET3_MAP_QUEUES_PIPE(ring->pipe) | pipe 4654 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 4663 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 4687 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 5067 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 5162 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 6079 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ref_and_mask = GPU_HDP_FLUSH_DONE__CP2_MASK << ring->pipe; pipe 6082 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ref_and_mask = GPU_HDP_FLUSH_DONE__CP6_MASK << ring->pipe; pipe 6282 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c pipe_num = ring->me * adev->gfx.mec.num_pipe_per_mec + ring->pipe; pipe 6298 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c int i, pipe; pipe 6303 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, ring->me, ring->pipe, 0); pipe 6305 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c set_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 6307 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c clear_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 6322 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, pipe 6324 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c iring->pipe, pipe 6326 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 6332 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, pipe 6334 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c iring->pipe, pipe 6336 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 6352 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c vi_srbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 6545 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c int me, int pipe, pipe 6557 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (pipe) { pipe 6571 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c DRM_DEBUG("invalid pipe %d\n", pipe); pipe 6751 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((ring->me == me_id) && (ring->pipe == pipe_id) && (ring->queue == queue_id)) pipe 6778 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (ring->me == me_id && ring->pipe == pipe_id && pipe 1841 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 me, u32 pipe, u32 q, u32 vm) pipe 1843 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, me, pipe, q, vm); pipe 2157 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int mec, int pipe, int queue) pipe 2167 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ring->pipe = pipe; pipe 2175 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c sprintf(ring->name, "comp_%d.%d.%d", ring->me, ring->pipe, ring->queue); pipe 2179 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c + ring->pipe; pipe 3336 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); pipe 3390 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c PACKET3_MAP_QUEUES_PIPE(ring->pipe) | pipe 3714 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3723 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3747 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 3970 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.kiq.ring.pipe, pipe 4991 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ref_and_mask = nbio_hf_reg->ref_and_mask_cp2 << ring->pipe; pipe 4994 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ref_and_mask = nbio_hf_reg->ref_and_mask_cp6 << ring->pipe; pipe 5161 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c pipe_num = ring->me * adev->gfx.mec.num_pipe_per_mec + ring->pipe; pipe 5177 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int i, pipe; pipe 5182 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, ring->me, ring->pipe, 0); pipe 5184 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c set_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 5186 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c clear_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 5201 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, pipe 5203 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c iring->pipe, pipe 5205 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 5211 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c pipe = amdgpu_gfx_mec_queue_to_bit(adev, pipe 5213 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c iring->pipe, pipe 5215 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c reserve = test_bit(pipe, adev->gfx.pipe_reserve_bitmap); pipe 5231 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c soc15_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0); pipe 5495 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int me, int pipe, pipe 5507 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (pipe) { pipe 5521 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c DRM_DEBUG("invalid pipe %d\n", pipe); pipe 5584 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c #define ENABLE_ECC_ON_ME_PIPE(me, pipe) \ pipe 5585 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_FIELD15(GC, 0, CP_ME##me##_PIPE##pipe##_INT_CNTL,\ pipe 5588 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c #define DISABLE_ECC_ON_ME_PIPE(me, pipe) \ pipe 5589 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_FIELD15(GC, 0, CP_ME##me##_PIPE##pipe##_INT_CNTL,\ pipe 5686 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if ((ring->me == me_id) && (ring->pipe == pipe_id) && (ring->queue == queue_id)) pipe 5713 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (ring->me == me_id && ring->pipe == pipe_id && pipe 132 drivers/gpu/drm/amd/amdgpu/nv.c u32 me, u32 pipe, u32 queue, u32 vmid) pipe 135 drivers/gpu/drm/amd/amdgpu/nv.c grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, PIPEID, pipe); pipe 30 drivers/gpu/drm/amd/amdgpu/nv.h u32 me, u32 pipe, u32 queue, u32 vmid); pipe 30 drivers/gpu/drm/amd/amdgpu/si.h u32 me, u32 pipe, u32 queue, u32 vmid); pipe 4149 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp, pipe; pipe 4166 drivers/gpu/drm/amd/amdgpu/si_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; pipe 4169 drivers/gpu/drm/amd/amdgpu/si_dpm.c (!(adev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pipe 4176 drivers/gpu/drm/amd/amdgpu/si_dpm.c pipe = 0; pipe 4178 drivers/gpu/drm/amd/amdgpu/si_dpm.c pipe = i; pipe 4181 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); pipe 287 drivers/gpu/drm/amd/amdgpu/soc15.c u32 me, u32 pipe, u32 queue, u32 vmid) pipe 290 drivers/gpu/drm/amd/amdgpu/soc15.c grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, PIPEID, pipe); pipe 71 drivers/gpu/drm/amd/amdgpu/soc15.h u32 me, u32 pipe, u32 queue, u32 vmid); pipe 360 drivers/gpu/drm/amd/amdgpu/vi.c u32 me, u32 pipe, u32 queue, u32 vmid) pipe 363 drivers/gpu/drm/amd/amdgpu/vi.c srbm_gfx_cntl = REG_SET_FIELD(srbm_gfx_cntl, SRBM_GFX_CNTL, PIPEID, pipe); pipe 30 drivers/gpu/drm/amd/amdgpu/vi.h u32 me, u32 pipe, u32 queue, u32 vmid); pipe 72 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c static bool is_pipe_enabled(struct device_queue_manager *dqm, int mec, int pipe) pipe 76 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c + pipe * dqm->dev->shared_resources.num_queue_per_pipe; pipe 309 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c q->pipe, q->queue); pipe 339 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, pipe 385 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int pipe, bit, i; pipe 389 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c for (pipe = dqm->next_pipe_to_allocate, i = 0; pipe 391 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pipe = ((pipe + 1) % get_pipes_per_mec(dqm)), ++i) { pipe 393 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (!is_pipe_enabled(dqm, 0, pipe)) pipe 396 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (dqm->allocated_queues[pipe] != 0) { pipe 397 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c bit = ffs(dqm->allocated_queues[pipe]) - 1; pipe 398 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->allocated_queues[pipe] &= ~(1 << bit); pipe 399 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c q->pipe = pipe; pipe 409 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pr_debug("hqd slot - pipe %d, queue %d\n", q->pipe, q->queue); pipe 411 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->next_pipe_to_allocate = (pipe + 1) % get_pipes_per_mec(dqm); pipe 419 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->allocated_queues[q->pipe] |= (1 << q->queue); pipe 455 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c q->pipe, q->queue); pipe 529 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c KFD_UNMAP_LATENCY_MS, q->pipe, q->queue); pipe 560 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c q->pipe, q->queue, pipe 598 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c KFD_UNMAP_LATENCY_MS, q->pipe, q->queue); pipe 705 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, pipe 858 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int pipe, queue; pipe 873 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c for (pipe = 0; pipe < get_pipes_per_mec(dqm); pipe++) { pipe 874 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int pipe_offset = pipe * get_queues_per_pipe(dqm); pipe 879 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->allocated_queues[pipe] |= 1 << queue; pipe 1886 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int pipe, queue; pipe 1902 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c for (pipe = 0; pipe < get_pipes_per_mec(dqm); pipe++) { pipe 1903 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int pipe_offset = pipe * get_queues_per_pipe(dqm); pipe 1911 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->dev->kgd, pipe, queue, &dump, &n_regs); pipe 1916 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pipe, queue); pipe 1923 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c for (pipe = 0; pipe < get_num_sdma_engines(dqm); pipe++) { pipe 1928 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c dqm->dev->kgd, pipe, queue, &dump, &n_regs); pipe 1933 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pipe, queue); pipe 146 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c kq->queue->pipe = KFD_CIK_HIQ_PIPE; pipe 149 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c kq->queue->pipe, kq->queue->queue, pipe 193 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c kq->queue->pipe, pipe 497 drivers/gpu/drm/amd/amdkfd/kfd_priv.h uint32_t pipe; pipe 344 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c e->pipe = amdgpu_crtc->crtc_id; pipe 514 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int pipe, bool *enabled, pipe 2760 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c const struct pipe_ctx pipe[], int pipe_count, struct bw_calcs_data *data) pipe 2777 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].stream || !pipe[i].bottom_pipe) pipe 2780 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c ASSERT(pipe[i].plane_state); pipe 2783 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].plane_state->visible) pipe 2788 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].plane_state->visible) pipe 2796 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.h_total); pipe 2797 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.v_total); pipe 2798 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->pixel_rate[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->timing.pix_clk_100hz, 10000); pipe 2799 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); pipe 2801 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); pipe 2802 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.h_taps); pipe 2803 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.v_taps); pipe 2804 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); pipe 2805 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); pipe 2806 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->rotation) { pipe 2822 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->format) { pipe 2853 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.height); pipe 2854 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.width); pipe 2856 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].bottom_pipe->plane_state->plane_size.surface_pitch); pipe 2857 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.h_taps); pipe 2858 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.v_taps); pipe 2860 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); pipe 2862 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); pipe 2863 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].bottom_pipe->plane_state->rotation) { pipe 2888 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].stream || pipe[i].bottom_pipe) pipe 2894 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.h_total); pipe 2895 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_total[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.v_total); pipe 2896 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pixel_clock_100hz = pipe[i].stream->timing.pix_clk_100hz; pipe 2897 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (pipe[i].stream->timing.timing_3d_format == TIMING_3D_FORMAT_HW_FRAME_PACKING) pipe 2900 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (pipe[i].plane_state) { pipe 2901 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); pipe 2903 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); pipe 2904 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.h_taps); pipe 2905 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.v_taps); pipe 2906 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); pipe 2907 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); pipe 2908 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->rotation) { pipe 2924 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->format) { pipe 2948 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c } else if (pipe[i].stream->dst.width != 0 && pipe 2949 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].stream->dst.height != 0 && pipe 2950 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].stream->src.width != 0 && pipe 2951 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].stream->src.height != 0) { pipe 2952 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->src.width); pipe 2954 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->src.height); pipe 2955 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_taps[num_displays + 4] = pipe[i].stream->src.width == pipe[i].stream->dst.width ? bw_int_to_fixed(1) : bw_int_to_fixed(2); pipe 2956 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_taps[num_displays + 4] = pipe[i].stream->src.height == pipe[i].stream->dst.height ? bw_int_to_fixed(1) : bw_int_to_fixed(2); pipe 2957 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_scale_ratio[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->src.width, pipe[i].stream->dst.width); pipe 2958 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->v_scale_ratio[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->src.height, pipe[i].stream->dst.height); pipe 2962 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.h_addressable); pipe 2964 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->timing.v_addressable); pipe 2981 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c static bool all_displays_in_sync(const struct pipe_ctx pipe[], pipe 2988 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (!pipe[i].stream || pipe[i].top_pipe) pipe 2991 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c active_pipes[num_active_pipes++] = &pipe[i]; pipe 3017 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c const struct pipe_ctx pipe[], pipe 3026 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c populate_initial_data(pipe, pipe_count, data); pipe 3029 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c calcs_output->all_displays_in_sync = all_displays_in_sync(pipe, pipe_count); pipe 304 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c const struct pipe_ctx *pipe, pipe 308 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) pipe 310 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c else if (pipe->bottom_pipe != NULL && pipe->bottom_pipe->plane_state == pipe->plane_state) pipe 313 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->plane_res.dpp->ctx->dc->debug.optimized_watermark) { pipe 318 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.dcc = pipe->plane_state->dcc.enable ? 1 : 0; pipe 328 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.dcc = pipe->plane_res.dpp->ctx->dc->res_pool->hubbub->funcs-> pipe 329 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dcc_support_pixel_format(pipe->plane_state->format, &bpe) ? 1 : 0; pipe 332 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.meta_pitch = pipe->plane_state->dcc.meta_pitch; pipe 334 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.sw_mode = pipe->plane_state->tiling_info.gfx9.swizzle; pipe 336 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; pipe 337 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; pipe 338 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; pipe 339 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; pipe 343 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.macro_tile_size = swizzle_mode_to_macro_tile_size(pipe->plane_state->tiling_info.gfx9.swizzle); pipe 345 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (pipe->plane_state->rotation) { pipe 360 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (pipe->plane_state->format) { pipe 387 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; pipe 388 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; pipe 389 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; pipe 390 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit = pipe->plane_res.scl_data.inits.v.value/4294967296.0; pipe 393 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; pipe 394 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.vtaps_c = pipe->plane_res.scl_data.taps.v_taps_c; pipe 395 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.htaps_c = pipe->plane_res.scl_data.taps.h_taps_c; pipe 396 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0; pipe 397 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0; pipe 398 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit_c = pipe->plane_res.scl_data.inits.v_c.value/4294967296.0; pipe 401 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (pipe->plane_res.scl_data.lb_params.depth) { pipe 411 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vactive = pipe->stream->timing.v_addressable + pipe->stream->timing.v_border_top pipe 412 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->stream->timing.v_border_bottom; pipe 414 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.recout_width = pipe->plane_res.scl_data.recout.width; pipe 415 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.recout_height = pipe->plane_res.scl_data.recout.height; pipe 417 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.full_recout_width = pipe->plane_res.scl_data.recout.width; pipe 418 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.full_recout_height = pipe->plane_res.scl_data.recout.height; pipe 420 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.htotal = pipe->stream->timing.h_total; pipe 421 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.hblank_start = input->dest.htotal - pipe->stream->timing.h_front_porch; pipe 423 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.h_addressable pipe 424 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.h_border_left pipe 425 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.h_border_right; pipe 427 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vtotal = pipe->stream->timing.v_total; pipe 428 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vblank_start = input->dest.vtotal - pipe->stream->timing.v_front_porch; pipe 430 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.v_addressable pipe 431 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.v_border_bottom pipe 432 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.v_border_top; pipe 433 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.pixel_rate_mhz = pipe->stream->timing.pix_clk_100hz/10000.0; pipe 434 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vstartup_start = pipe->pipe_dlg_param.vstartup_start; pipe 435 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_offset = pipe->pipe_dlg_param.vupdate_offset; pipe 436 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_offset = pipe->pipe_dlg_param.vupdate_offset; pipe 437 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_width = pipe->pipe_dlg_param.vupdate_width; pipe 444 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct pipe_ctx *pipe, pipe 448 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct _vcs_dpi_display_dlg_regs_st *dlg_regs = &pipe->dlg_regs; pipe 449 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct _vcs_dpi_display_ttu_regs_st *ttu_regs = &pipe->ttu_regs; pipe 450 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct _vcs_dpi_display_rq_regs_st *rq_regs = &pipe->rq_regs; pipe 479 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe_ctx_to_e2e_pipe_params(pipe, &input.pipe); pipe 494 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dml1_rq_dlg_get_rq_params(dml, &rq_param, input.pipe.src); pipe 506 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->flip_immediate); pipe 866 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 868 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (!pipe->stream) pipe 871 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) pipe 877 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->htotal[input_idx] = pipe->stream->timing.h_total; pipe 878 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->vtotal[input_idx] = pipe->stream->timing.v_total; pipe 879 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->vactive[input_idx] = pipe->stream->timing.v_addressable + pipe 880 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_border_top + pipe->stream->timing.v_border_bottom; pipe 881 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->v_sync_plus_back_porch[input_idx] = pipe->stream->timing.v_total pipe 883 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->stream->timing.v_front_porch; pipe 884 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->pixel_clock[input_idx] = pipe->stream->timing.pix_clk_100hz/10000.0; pipe 885 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->stream->timing.timing_3d_format == TIMING_3D_FORMAT_HW_FRAME_PACKING) pipe 887 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (!pipe->plane_state) { pipe 892 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->viewport_width[input_idx] = pipe->stream->timing.h_addressable; pipe 893 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->viewport_height[input_idx] = pipe->stream->timing.v_addressable; pipe 914 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->viewport_height[input_idx] = pipe->plane_res.scl_data.viewport.height; pipe 915 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width; pipe 916 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width; pipe 917 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->scaler_recout_height[input_idx] = pipe->plane_res.scl_data.recout.height; pipe 918 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->bottom_pipe && pipe->bottom_pipe->plane_state == pipe->plane_state) { pipe 919 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->plane_state->rotation % 2 == 0) { pipe 920 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_end = pipe->plane_res.scl_data.viewport.width pipe 921 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->plane_res.scl_data.viewport.x; pipe 922 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width pipe 923 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->bottom_pipe->plane_res.scl_data.viewport.x; pipe 927 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->bottom_pipe->plane_res.scl_data.viewport.x; pipe 930 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->plane_res.scl_data.viewport.x; pipe 932 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_end = pipe->plane_res.scl_data.viewport.height pipe 933 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->plane_res.scl_data.viewport.y; pipe 934 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.height pipe 935 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->bottom_pipe->plane_res.scl_data.viewport.y; pipe 939 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->bottom_pipe->plane_res.scl_data.viewport.y; pipe 942 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c - pipe->plane_res.scl_data.viewport.y; pipe 944 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width pipe 945 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->bottom_pipe->plane_res.scl_data.recout.width; pipe 948 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->plane_state->rotation % 2 == 0) { pipe 949 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value pipe 951 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value pipe 954 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value pipe 956 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value pipe 965 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->dcc_enable[input_idx] = pipe->plane_state->dcc.enable ? dcn_bw_yes : dcn_bw_no; pipe 976 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no; pipe 980 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->format); pipe 982 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->tiling_info.gfx9.swizzle); pipe 983 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->lb_bit_per_pixel[input_idx] = tl_lb_bpp_to_int(pipe->plane_res.scl_data.lb_params.depth); pipe 984 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->override_hta_ps[input_idx] = pipe->plane_res.scl_data.taps.h_taps; pipe 985 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->override_vta_ps[input_idx] = pipe->plane_res.scl_data.taps.v_taps; pipe 986 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->override_hta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.h_taps_c; pipe 987 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->override_vta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.v_taps_c; pipe 997 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->source_scan[input_idx] = (pipe->plane_state->rotation % 2) ? dcn_bw_vert : dcn_bw_hor; pipe 1002 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->output_format[input_idx] = pipe->stream->timing.pixel_encoding == pipe 1004 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->output[input_idx] = pipe->stream->signal == pipe 1008 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (pipe->stream->timing.display_color_depth) { pipe 1172 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 1175 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (!pipe->stream) pipe 1178 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) pipe 1181 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vupdate_width = v->v_update_width_pix[input_idx]; pipe 1182 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vupdate_offset = v->v_update_offset_pix[input_idx]; pipe 1183 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vready_offset = v->v_ready_offset_pix[input_idx]; pipe 1184 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vstartup_start = v->v_startup[input_idx]; pipe 1186 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total; pipe 1187 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vtotal = pipe->stream->timing.v_total; pipe 1188 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c vesa_sync_start = pipe->stream->timing.v_addressable + pipe 1189 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_border_bottom + pipe 1190 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_front_porch; pipe 1192 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c asic_blank_end = (pipe->stream->timing.v_total - pipe 1194 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_border_top) pipe 1195 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c * (pipe->stream->timing.flags.INTERLACE ? 1 : 0); pipe 1198 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c (pipe->stream->timing.v_border_top + pipe 1199 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_addressable + pipe 1200 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.v_border_bottom) pipe 1201 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c * (pipe->stream->timing.flags.INTERLACE ? 1 : 0); pipe 1203 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vblank_start = asic_blank_start; pipe 1204 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->pipe_dlg_param.vblank_end = asic_blank_end; pipe 1206 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (pipe->plane_state) { pipe 1207 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; pipe 1209 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->update_flags.bits.full_update = 1; pipe 1212 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c ((pipe->stream->view_format == pipe 1214 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->view_format == pipe 1216 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c (pipe->stream->timing.timing_3d_format == pipe 1218 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->stream->timing.timing_3d_format == pipe 1220 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (hsplit_pipe && hsplit_pipe->plane_state == pipe->plane_state) { pipe 1227 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->pipe_dlg_param.htotal = pipe->stream->timing.h_total; pipe 1228 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->pipe_dlg_param.vtotal = pipe->stream->timing.v_total; pipe 1229 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->pipe_dlg_param.vblank_start = pipe->pipe_dlg_param.vblank_start; pipe 1230 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->pipe_dlg_param.vblank_end = pipe->pipe_dlg_param.vblank_end; pipe 1233 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe = find_idle_secondary_pipe(&context->res_ctx, pool, pipe); pipe 1235 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c split_stream_across_pipes(&context->res_ctx, pool, pipe, hsplit_pipe); pipe 1239 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c } else if (hsplit_pipe && hsplit_pipe->plane_state == pipe->plane_state) { pipe 1241 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->bottom_pipe = hsplit_pipe->bottom_pipe; pipe 1243 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c hsplit_pipe->bottom_pipe->top_pipe = pipe; pipe 1251 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c resource_build_scaling_params(pipe); pipe 1254 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dcn_bw_calc_rq_dlg_ttu(dc, v, pipe, input_idx); pipe 289 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 291 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe->stream == stream && pipe->stream_res.tg) { pipe 292 drivers/gpu/drm/amd/display/dc/core/dc.c pipe->stream->adjust = *adjust; pipe 293 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.set_drr(&pipe, pipe 317 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe = pipe 320 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe->stream == stream && pipe->stream_res.stream_enc) { pipe 321 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.get_position(&pipe, 1, &position); pipe 346 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe; pipe 351 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 352 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe->stream == stream) pipe 362 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_x_end = pipe->stream->timing.h_addressable; pipe 363 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowa_y_end = pipe->stream->timing.v_addressable; pipe 366 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_x_end = pipe->stream->timing.h_addressable; pipe 367 drivers/gpu/drm/amd/display/dc/core/dc.c param.windowb_y_end = pipe->stream->timing.v_addressable; pipe 374 drivers/gpu/drm/amd/display/dc/core/dc.c tg = pipe->stream_res.tg; pipe 396 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe; pipe 400 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 401 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe->stream == stream) pipe 408 drivers/gpu/drm/amd/display/dc/core/dc.c tg = pipe->stream_res.tg; pipe 1034 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe; pipe 1038 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &context->res_ctx.pipe_ctx[i]; pipe 1040 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 1041 drivers/gpu/drm/amd/display/dc/core/dc.c for (j = 0 ; pipe && j < stream_count; j++) { pipe 1042 drivers/gpu/drm/amd/display/dc/core/dc.c if (streams[j] && streams[j] == pipe->stream && pipe 1044 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.setup_stereo(pipe, dc); pipe 1059 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe; pipe 1094 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &context->res_ctx.pipe_ctx[i]; pipe 1095 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe); pipe 1125 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &context->res_ctx.pipe_ctx[k]; pipe 1127 drivers/gpu/drm/amd/display/dc/core/dc.c for (l = 0 ; pipe && l < context->stream_count; l++) { pipe 1129 drivers/gpu/drm/amd/display/dc/core/dc.c context->streams[l] == pipe->stream && pipe 1131 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.setup_stereo(pipe, dc); pipe 1188 drivers/gpu/drm/amd/display/dc/core/dc.c struct pipe_ctx *pipe; pipe 1191 drivers/gpu/drm/amd/display/dc/core/dc.c pipe = &context->res_ctx.pipe_ctx[i]; pipe 1193 drivers/gpu/drm/amd/display/dc/core/dc.c if (!pipe->plane_state) pipe 1197 drivers/gpu/drm/amd/display/dc/core/dc.c pipe->plane_state->status.is_flip_pending = false; pipe 1198 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.update_pending_status(pipe); pipe 1199 drivers/gpu/drm/amd/display/dc/core/dc.c if (pipe->plane_state->status.is_flip_pending) pipe 3004 drivers/gpu/drm/amd/display/dc/core/dc_link.c struct pipe_ctx *pipe; pipe 3019 drivers/gpu/drm/amd/display/dc/core/dc_link.c pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 3020 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (pipe->stream && pipe->stream->link) { pipe 3021 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (pipe->stream->link == link) { pipe 3022 drivers/gpu/drm/amd/display/dc/core/dc_link.c link_stream = pipe->stream; pipe 429 drivers/gpu/drm/amd/display/dc/core/dc_resource.c const struct pipe_ctx *pipe) pipe 438 drivers/gpu/drm/amd/display/dc/core/dc_resource.c (dc_is_dp_signal(pipe->stream->signal) && pipe 440 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe->stream))) pipe 444 drivers/gpu/drm/amd/display/dc/core/dc_resource.c && dc_is_dual_link_signal(pipe->stream->signal)) pipe 447 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (dc_is_hdmi_signal(pipe->stream->signal) pipe 452 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_with_clk_src->stream, pipe->stream)) pipe 574 drivers/gpu/drm/amd/display/dc/core/dc_stream.c struct pipe_ctx *pipe = NULL; pipe 581 drivers/gpu/drm/amd/display/dc/core/dc_stream.c pipe = &dc->current_state->res_ctx.pipe_ctx[i]; pipe 582 drivers/gpu/drm/amd/display/dc/core/dc_stream.c if (pipe->stream == stream) pipe 589 drivers/gpu/drm/amd/display/dc/core/dc_stream.c status = dc->hwss.dmdata_status_done(pipe); pipe 48 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c struct pipe_ctx *pipe, pipe 56 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c if (lock && pipe->stream_res.tg->funcs->is_blanked && pipe 57 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c pipe->stream_res.tg->funcs->is_blanked(pipe->stream_res.tg)) pipe 60 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c val = REG_GET_4(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], pipe 71 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, pipe 76 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, pipe 82 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c uint32_t value = REG_READ(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst]); pipe 83 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c REG_WRITE(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst], value); pipe 826 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h struct pipe_ctx *pipe, pipe 1507 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c struct pipe_ctx *pipe, pipe 1513 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe->top_pipe) pipe 1520 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); pipe 1522 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); pipe 1069 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c struct pipe_ctx *pipe, pipe 1073 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->lock_doublebuffer_enable( pipe 1074 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg); pipe 1075 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); pipe 1077 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); pipe 1078 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, pipe 1080 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, pipe 1082 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->wait_for_state(pipe->stream_res.tg, pipe 1084 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->lock_doublebuffer_disable( pipe 1085 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg); pipe 1091 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c struct pipe_ctx *pipe, pipe 1099 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe->top_pipe) pipe 1102 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe->plane_state != NULL) pipe 1103 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c flip_immediate = pipe->plane_state->flip_immediate; pipe 1110 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (!pipe->plane_res.hubp->funcs->hubp_is_flip_pending(pipe->plane_res.hubp)) pipe 1115 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe->bottom_pipe != NULL) { pipe 1117 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (!pipe->bottom_pipe->plane_res.hubp->funcs->hubp_is_flip_pending(pipe->bottom_pipe->plane_res.hubp)) pipe 1127 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (lock && pipe->bottom_pipe != NULL) pipe 1128 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if ((flip_immediate && pipe->stream_res.gsl_group == 0) || pipe 1129 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c (!flip_immediate && pipe->stream_res.gsl_group > 0)) pipe 1130 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c dcn20_setup_gsl_group_as_lock(dc, pipe, flip_immediate); pipe 1132 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe->plane_state != NULL && pipe->plane_state->triplebuffer_flips) { pipe 1134 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg); pipe 1136 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg); pipe 1139 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg); pipe 1141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg); pipe 89 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.h struct pipe_ctx *pipe, pipe 1911 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_enable = true; pipe 1913 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_lines_before_active = pipe 1917 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dynamic_metadata_xmit_bytes = pipe 1920 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc = false; pipe 1921 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc_rate = 1; pipe 1922 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.synchronized_vblank_all_planes = synchronized_vblank; pipe 1923 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hblank_start = timing->h_total - timing->h_front_porch; pipe 1924 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hblank_end = pipes[pipe_cnt].pipe.dest.hblank_start pipe 1928 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vblank_start = timing->v_total - timing->v_front_porch; pipe 1929 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vblank_end = pipes[pipe_cnt].pipe.dest.vblank_start pipe 1933 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.htotal = timing->h_total; pipe 1934 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal = timing->v_total; pipe 1935 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.hactive = timing->h_addressable; pipe 1936 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vactive = timing->v_addressable; pipe 1937 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.interlaced = timing->flags.INTERLACE; pipe 1938 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.pixel_rate_mhz = timing->pix_clk_100hz/10000.0; pipe 1940 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.pixel_rate_mhz *= 2; pipe 1941 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.otg_inst = res_ctx->pipe_ctx[i].stream_res.tg->inst; pipe 1943 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_min = res_ctx->pipe_ctx[i].stream->adjust.v_total_min; pipe 1944 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_max = res_ctx->pipe_ctx[i].stream->adjust.v_total_max; pipe 1945 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = res_ctx->pipe_ctx[i].prev_odm_pipe pipe 1947 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].pipe_idx; pipe 1950 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = res_ctx->pipe_ctx[i].top_pipe->pipe_idx; pipe 1956 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.hsplit_grp = first_pipe->pipe_idx; pipe 2038 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.num_cursors = 2; pipe 2039 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur0_src_width = 256; pipe 2040 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur0_bpp = dm_cur_32bit; pipe 2041 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur1_src_width = 256; pipe 2042 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.cur1_bpp = dm_cur_32bit; pipe 2045 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_scan = dm_horz; pipe 2046 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.sw_mode = dm_sw_linear; pipe 2047 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.macro_tile_size = dm_64k_tile; pipe 2048 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; pipe 2049 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) pipe 2050 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = 1920; pipe 2051 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; pipe 2052 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) pipe 2053 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = 1080; pipe 2054 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 63) / 64) * 64; /* linear sw only */ pipe 2055 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_32; pipe 2056 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hratio*/ pipe 2057 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vratio*/ pipe 2058 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width = pipes[pipe_cnt].pipe.dest.recout_width; /*when is_hsplit != 1*/ pipe 2059 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height = pipes[pipe_cnt].pipe.dest.recout_height; /*when is_hsplit != 1*/ pipe 2060 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; pipe 2061 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = 1.0; pipe 2062 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = 1.0; pipe 2063 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = 0; /*Lb only or Full scl*/ pipe 2064 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps = 1; pipe 2065 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps = 1; pipe 2066 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.is_hsplit = 0; pipe 2067 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe 2068 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_min = timing->v_total; pipe 2069 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.vtotal_max = timing->v_total; pipe 2074 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.immediate_flip = pln->flip_immediate; pipe 2075 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.is_hsplit = (res_ctx->pipe_ctx[i].bottom_pipe pipe 2079 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90 pipe 2081 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_y_y = scl->viewport.y; pipe 2082 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_y_c = scl->viewport_c.y; pipe 2083 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; pipe 2084 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width_c = scl->viewport_c.width; pipe 2085 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; pipe 2086 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_height_c = scl->viewport_c.height; pipe 2088 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; pipe 2089 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch_c = pln->plane_size.chroma_pitch; pipe 2090 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch = pln->dcc.meta_pitch; pipe 2091 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch_c = pln->dcc.meta_pitch_c; pipe 2093 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.data_pitch = pln->plane_size.surface_pitch; pipe 2094 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.meta_pitch = pln->dcc.meta_pitch; pipe 2096 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.dcc = pln->dcc.enable; pipe 2097 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_width = scl->recout.width; pipe 2098 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_height = scl->recout.height; pipe 2099 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width = scl->recout.width; pipe 2100 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height = scl->recout.height; pipe 2102 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width += pipe 2104 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height += pipe 2107 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width += pipe 2109 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_height += pipe 2113 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.lb_depth = dm_lb_16; pipe 2114 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32); pipe 2115 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio_c = (double) scl->ratios.horz_c.value / (1ULL<<32); pipe 2116 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32); pipe 2117 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio_c = (double) scl->ratios.vert_c.value / (1ULL<<32); pipe 2118 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_ratio_depth.scl_enable = pipe 2124 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps = scl->taps.h_taps; pipe 2125 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.htaps_c = scl->taps.h_taps_c; pipe 2126 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; pipe 2127 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.scale_taps.vtaps_c = scl->taps.v_taps_c; pipe 2129 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.macro_tile_size = pipe 2132 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c &pipes[pipe_cnt].pipe.src.sw_mode); pipe 2137 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_420_8; pipe 2141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_420_10; pipe 2146 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_64; pipe 2150 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_16; pipe 2153 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_8; pipe 2156 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.source_format = dm_444_32; pipe 2390 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 2391 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *odm_pipe = pipe->next_odm_pipe; pipe 2393 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe->prev_odm_pipe) pipe 2396 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe->next_odm_pipe = NULL; pipe 2415 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe->plane_state) pipe 2416 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c resource_build_scaling_params(pipe); pipe 2421 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 2422 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; pipe 2424 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!hsplit_pipe || hsplit_pipe->plane_state != pipe->plane_state) pipe 2427 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe->bottom_pipe = hsplit_pipe->bottom_pipe; pipe 2429 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c hsplit_pipe->bottom_pipe->top_pipe = pipe; pipe 2438 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe->plane_state) pipe 2439 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c resource_build_scaling_params(pipe); pipe 2487 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 2490 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->stream || pipe->top_pipe) pipe 2527 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; pipe 2528 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct pipe_ctx *hsplit_pipe = pipe->bottom_pipe; pipe 2532 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->stream || pipe_split_from[i] >= 0) pipe 2537 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (dc->debug.force_odm_combine & (1 << pipe->stream_res.tg->inst)) { pipe 2544 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { pipe 2545 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c hsplit_pipe = dcn20_find_secondary_pipe(dc, &context->res_ctx, dc->res_pool, pipe); pipe 2549 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe, hsplit_pipe)) pipe 2552 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c dcn20_build_mapped_resource(dc, context, pipe->stream); pipe 2555 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!pipe->plane_state) pipe 2558 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pipe->top_pipe && pipe->plane_state == pipe->top_pipe->plane_state) pipe 2561 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c need_split3d = ((pipe->stream->view_format == pipe 2563 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe->stream->view_format == pipe 2565 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c (pipe->stream->timing.timing_3d_format == pipe 2567 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe->stream->timing.timing_3d_format == pipe 2578 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (hsplit_pipe && hsplit_pipe->plane_state != pipe->plane_state pipe 2583 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (!hsplit_pipe || hsplit_pipe->plane_state != pipe->plane_state) { pipe 2585 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c hsplit_pipe = dcn20_find_secondary_pipe(dc, &context->res_ctx, dc->res_pool, pipe); pipe 2593 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe, hsplit_pipe)) pipe 2595 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c dcn20_build_mapped_resource(dc, context, pipe->stream); pipe 2599 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipe, hsplit_pipe); pipe 2602 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c } else if (hsplit_pipe && hsplit_pipe->plane_state == pipe->plane_state) { pipe 2648 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe 2651 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe 2657 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe 2660 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe 2767 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c display_pipe_source_params_st *src = &pipes[pipe_idx_unsplit].pipe.src; pipe 2768 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c display_pipe_dest_params_st *dst = &pipes[pipe_idx_unsplit].pipe.dest; pipe 2780 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c display_pipe_source_params_st *src_j = &pipes[j].pipe.src; pipe 2781 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c display_pipe_dest_params_st *dst_j = &pipes[j].pipe.dest; pipe 2806 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c context->res_ctx.pipe_ctx[i].pipe_dlg_param = pipes[pipe_idx].pipe.dest; pipe 2833 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_idx].pipe); pipe 1004 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe 1007 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe 1013 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = pipe 1016 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[pipe_cnt].pipe.dest.odm_combine = 0; pipe 777 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c const display_pipe_source_params_st *src = &e2e_pipe_param[pipe_idx].pipe.src; pipe 778 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c const display_pipe_dest_params_st *dst = &e2e_pipe_param[pipe_idx].pipe.dest; pipe 781 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; pipe 782 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c const scaler_taps_st *taps = &e2e_pipe_param[pipe_idx].pipe.scale_taps; pipe 1601 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c dml20_rq_dlg_get_rq_params(mode_lib, &rq_param, e2e_pipe_param[pipe_idx].pipe.src); pipe 777 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c const display_pipe_source_params_st *src = &e2e_pipe_param[pipe_idx].pipe.src; pipe 778 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c const display_pipe_dest_params_st *dst = &e2e_pipe_param[pipe_idx].pipe.dest; pipe 781 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; pipe 782 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c const scaler_taps_st *taps = &e2e_pipe_param[pipe_idx].pipe.scale_taps; pipe 1601 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c dml20v2_rq_dlg_get_rq_params(mode_lib, &rq_param, e2e_pipe_param[pipe_idx].pipe.src); pipe 824 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c const display_pipe_source_params_st *src = &e2e_pipe_param[pipe_idx].pipe.src; pipe 825 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c const display_pipe_dest_params_st *dst = &e2e_pipe_param[pipe_idx].pipe.dest; pipe 828 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c const scaler_ratio_depth_st *scl = &e2e_pipe_param[pipe_idx].pipe.scale_ratio_depth; pipe 829 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c const scaler_taps_st *taps = &e2e_pipe_param[pipe_idx].pipe.scale_taps; pipe 1705 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c dml_rq_dlg_get_rq_params(mode_lib, &rq_param, e2e_pipe_param[pipe_idx].pipe); pipe 347 drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h display_pipe_params_st pipe; pipe 365 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c display_pipe_source_params_st *src = &pipes[j].pipe.src; pipe 366 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c display_pipe_dest_params_st *dst = &pipes[j].pipe.dest; pipe 367 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c scaler_ratio_depth_st *scl = &pipes[j].pipe.scale_ratio_depth; pipe 368 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c scaler_taps_st *taps = &pipes[j].pipe.scale_taps; pipe 583 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c display_pipe_source_params_st *src_k = &pipes[k].pipe.src; pipe 584 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c display_pipe_dest_params_st *dst_k = &pipes[k].pipe.dest; pipe 607 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c if (pipes[k].pipe.src.immediate_flip) pipe 639 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c mode_lib->vba.SynchronizedVBlank = pipes[0].pipe.dest.synchronized_vblank_all_planes; pipe 641 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c ASSERT(mode_lib->vba.SynchronizedVBlank == pipes[k].pipe.dest.synchronized_vblank_all_planes); pipe 649 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c mode_lib->vba.GPUVMEnable = mode_lib->vba.GPUVMEnable || !!pipes[k].pipe.src.gpuvm || !!pipes[k].pipe.src.vm; pipe 651 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c (pipes[k].pipe.src.gpuvm_levels_force_en pipe 653 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c < pipes[k].pipe.src.gpuvm_levels_force) ? pipe 654 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c pipes[k].pipe.src.gpuvm_levels_force : pipe 657 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c mode_lib->vba.HostVMEnable = mode_lib->vba.HostVMEnable || !!pipes[k].pipe.src.hostvm || !!pipes[k].pipe.src.vm; pipe 659 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c (pipes[k].pipe.src.hostvm_levels_force_en pipe 661 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c < pipes[k].pipe.src.hostvm_levels_force) ? pipe 662 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c pipes[k].pipe.src.hostvm_levels_force : pipe 992 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c unsigned int htotal = e2e_pipe_param.pipe.dest.htotal; pipe 993 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c unsigned int hblank_end = e2e_pipe_param.pipe.dest.hblank_end; pipe 994 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c unsigned int vblank_start = e2e_pipe_param.pipe.dest.vblank_start; pipe 995 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c unsigned int vblank_end = e2e_pipe_param.pipe.dest.vblank_end; pipe 996 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c bool interlaced = e2e_pipe_param.pipe.dest.interlaced; pipe 999 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c double pclk_freq_in_mhz = e2e_pipe_param.pipe.dest.pixel_rate_mhz; pipe 1182 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c dcc_en = e2e_pipe_param.pipe.src.dcc; pipe 1184 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (enum source_format_class) e2e_pipe_param.pipe.src.source_format); pipe 1186 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c access_dir = (e2e_pipe_param.pipe.src.source_scan == dm_vert); /* vp access direction: horizontal or vertical accessed */ pipe 1188 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (enum source_format_class) e2e_pipe_param.pipe.src.source_format, pipe 1191 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c (enum source_format_class) e2e_pipe_param.pipe.src.source_format, pipe 1193 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vp_height_l = e2e_pipe_param.pipe.src.viewport_height; pipe 1194 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vp_width_l = e2e_pipe_param.pipe.src.viewport_width; pipe 1195 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vp_height_c = e2e_pipe_param.pipe.src.viewport_height_c; pipe 1196 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vp_width_c = e2e_pipe_param.pipe.src.viewport_width_c; pipe 1199 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c htaps_l = e2e_pipe_param.pipe.scale_taps.htaps; pipe 1200 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c htaps_c = e2e_pipe_param.pipe.scale_taps.htaps_c; pipe 1201 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c hratios_l = e2e_pipe_param.pipe.scale_ratio_depth.hscl_ratio; pipe 1202 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c hratios_c = e2e_pipe_param.pipe.scale_ratio_depth.hscl_ratio_c; pipe 1203 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vratio_l = e2e_pipe_param.pipe.scale_ratio_depth.vscl_ratio; pipe 1204 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vratio_c = e2e_pipe_param.pipe.scale_ratio_depth.vscl_ratio_c; pipe 1207 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vinit_l = e2e_pipe_param.pipe.scale_ratio_depth.vinit; pipe 1208 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vinit_c = e2e_pipe_param.pipe.scale_ratio_depth.vinit_c; pipe 1209 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vinit_bot_l = e2e_pipe_param.pipe.scale_ratio_depth.vinit_bot; pipe 1210 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vinit_bot_c = e2e_pipe_param.pipe.scale_ratio_depth.vinit_bot_c; pipe 1225 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vupdate_offset = e2e_pipe_param.pipe.dest.vupdate_offset; pipe 1226 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vupdate_width = e2e_pipe_param.pipe.dest.vupdate_width; pipe 1227 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vready_offset = e2e_pipe_param.pipe.dest.vready_offset; pipe 1234 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c vstartup_start = e2e_pipe_param.pipe.dest.vstartup_start; pipe 1261 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c if (e2e_pipe_param.pipe.src.is_hsplit) pipe 1263 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c + e2e_pipe_param.pipe.dest.recout_width; pipe 1635 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c if (e2e_pipe_param.pipe.src.is_hsplit) { pipe 1636 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c if (e2e_pipe_param.pipe.dest.full_recout_width == 0) { pipe 1638 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c full_recout_width = e2e_pipe_param.pipe.dest.recout_width * 2; /* assume half split for dcn1 */ pipe 1640 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c full_recout_width = e2e_pipe_param.pipe.dest.full_recout_width; pipe 1642 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c full_recout_width = e2e_pipe_param.pipe.dest.recout_width; pipe 1809 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c hratios_cur0 = e2e_pipe_param.pipe.scale_ratio_depth.hscl_ratio; pipe 1810 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c cur0_src_width = e2e_pipe_param.pipe.src.cur0_src_width; /* cursor source width */ pipe 1811 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c cur0_bpp = (enum cursor_bpp) e2e_pipe_param.pipe.src.cur0_bpp; pipe 484 drivers/gpu/drm/amd/display/dc/inc/dce_calcs.h const struct pipe_ctx *pipe, pipe 213 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h struct pipe_ctx *pipe, pipe 218 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h struct pipe_ctx *pipe, pipe 278 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h void (*set_cursor_position)(struct pipe_ctx *pipe); pipe 279 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h void (*set_cursor_attribute)(struct pipe_ctx *pipe); pipe 280 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h void (*set_cursor_sdr_white_level)(struct pipe_ctx *pipe); pipe 16 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c u32 pipe = id; pipe 26 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = id / D71_PIPELINE_MAX_SCALERS; pipe 34 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = id / D71_PIPELINE_MAX_LAYERS; pipe 55 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c *pipe_id = pipe; pipe 768 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c static int d71_downscaling_clk_check(struct komeda_pipeline *pipe, pipe 1146 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c struct d71_pipeline *pipe; pipe 1156 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = d71->pipes[blk_id]; pipe 1157 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe->lpu_addr = reg; pipe 1169 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = d71->pipes[blk_id]; pipe 1170 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe->cu_addr = reg; pipe 1187 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = d71->pipes[blk_id]; pipe 1188 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe->dou_addr = reg; pipe 1196 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe = d71->pipes[blk_id]; pipe 1197 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c pipe->dou_ft_coeff_addr = reg; pipe 210 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c struct d71_pipeline *pipe; pipe 216 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c pipe = d71->pipes[i]; pipe 217 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->cu_addr, BLK_IRQ_MASK, pipe 219 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->lpu_addr, BLK_IRQ_MASK, pipe 221 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->dou_addr, BLK_IRQ_MASK, pipe 230 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c struct d71_pipeline *pipe; pipe 235 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c pipe = d71->pipes[i]; pipe 236 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->cu_addr, BLK_IRQ_MASK, pipe 238 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->lpu_addr, BLK_IRQ_MASK, pipe 240 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->dou_addr, BLK_IRQ_MASK, pipe 249 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c struct d71_pipeline *pipe = d71->pipes[master_pipe]; pipe 251 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c malidp_write32_mask(pipe->dou_addr, BLK_IRQ_MASK, pipe 341 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c struct komeda_pipeline *pipe; pipe 392 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c pipe = komeda_pipeline_add(mdev, sizeof(struct d71_pipeline), pipe 394 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c if (IS_ERR(pipe)) { pipe 395 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c err = PTR_ERR(pipe); pipe 398 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c d71->pipes[i] = to_d71_pipeline(pipe); pipe 75 drivers/gpu/drm/arm/display/komeda/komeda_dev.c struct komeda_pipeline *pipe = mdev->pipelines[0]; pipe 81 drivers/gpu/drm/arm/display/komeda/komeda_dev.c config_id.max_line_sz = pipe->layers[0]->hsize_in.end; pipe 83 drivers/gpu/drm/arm/display/komeda/komeda_dev.c config_id.n_scalers = pipe->n_scalers; pipe 84 drivers/gpu/drm/arm/display/komeda/komeda_dev.c config_id.n_layers = pipe->n_layers; pipe 86 drivers/gpu/drm/arm/display/komeda/komeda_dev.c for (i = 0; i < pipe->n_layers; i++) { pipe 87 drivers/gpu/drm/arm/display/komeda/komeda_dev.c if (pipe->layers[i]->layer_type == KOMEDA_FMT_RICH_LAYER) pipe 106 drivers/gpu/drm/arm/display/komeda/komeda_dev.c struct komeda_pipeline *pipe; pipe 115 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe = mdev->pipelines[pipe_id]; pipe 122 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->pxlclk = clk; pipe 125 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->of_output_links[0] = pipe 127 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->of_output_links[1] = pipe 129 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->of_output_port = pipe 132 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->dual_link = pipe->of_output_links[0] && pipe->of_output_links[1]; pipe 133 drivers/gpu/drm/arm/display/komeda/komeda_dev.c pipe->of_node = of_node_get(np); pipe 17 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_pipeline *pipe; pipe 25 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (size < sizeof(*pipe)) { pipe 30 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); pipe 31 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (!pipe) pipe 34 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->mdev = mdev; pipe 35 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->id = mdev->n_pipelines; pipe 36 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->funcs = funcs; pipe 38 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c mdev->pipelines[mdev->n_pipelines] = pipe; pipe 41 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c return pipe; pipe 45 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_pipeline *pipe) pipe 50 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c dp_for_each_set_bit(i, pipe->avail_comps) { pipe 51 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = komeda_pipeline_get_component(pipe, i); pipe 55 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c clk_put(pipe->pxlclk); pipe 57 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c of_node_put(pipe->of_output_links[0]); pipe 58 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c of_node_put(pipe->of_output_links[1]); pipe 59 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c of_node_put(pipe->of_output_port); pipe 60 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c of_node_put(pipe->of_node); pipe 62 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c devm_kfree(mdev->dev, pipe); pipe 66 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_pipeline_get_component_pos(struct komeda_pipeline *pipe, int id) pipe 68 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_dev *mdev = pipe->mdev; pipe 77 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->layers[id - KOMEDA_COMPONENT_LAYER0]); pipe 80 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->wb_layer); pipe 93 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->scalers[id - KOMEDA_COMPONENT_SCALER0]); pipe 96 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->splitter); pipe 99 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->merger); pipe 111 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = to_cpos(pipe->ctrlr); pipe 123 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_pipeline_get_component(struct komeda_pipeline *pipe, int id) pipe 128 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = komeda_pipeline_get_component_pos(pipe, id); pipe 136 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_pipeline_get_first_component(struct komeda_pipeline *pipe, pipe 144 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = komeda_pipeline_get_component(pipe, id); pipe 159 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_component_add(struct komeda_pipeline *pipe, pipe 176 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pos = komeda_pipeline_get_component_pos(pipe, id); pipe 182 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c num = &pipe->n_layers; pipe 183 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (idx != pipe->n_layers) { pipe 189 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c num = &pipe->n_scalers; pipe 190 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (idx != pipe->n_scalers) { pipe 196 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = devm_kzalloc(pipe->mdev->dev, comp_sz, GFP_KERNEL); pipe 203 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c->pipeline = pipe; pipe 220 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->avail_comps |= BIT(c->id); pipe 245 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c static void komeda_pipeline_dump(struct komeda_pipeline *pipe) pipe 251 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->id, pipe->n_layers, pipe->n_scalers, pipe 252 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->dual_link ? "dual-link" : "single-link"); pipe 254 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->of_output_links[0] ? pipe 255 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->of_output_links[0]->full_name : "none"); pipe 257 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->of_output_links[1] ? pipe 258 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->of_output_links[1]->full_name : "none"); pipe 260 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c dp_for_each_set_bit(id, pipe->avail_comps) { pipe 261 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = komeda_pipeline_get_component(pipe, id); pipe 269 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_pipeline *pipe = c->pipeline; pipe 274 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c input = komeda_pipeline_get_component(pipe, id); pipe 287 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_get_layer_split_right_layer(struct komeda_pipeline *pipe, pipe 293 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c for (i = index + 1; i < pipe->n_layers; i++) pipe 294 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (left->layer_type == pipe->layers[i]->layer_type) pipe 295 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c return pipe->layers[i]; pipe 299 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c static void komeda_pipeline_assemble(struct komeda_pipeline *pipe) pipe 305 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c dp_for_each_set_bit(id, pipe->avail_comps) { pipe 306 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = komeda_pipeline_get_component(pipe, id); pipe 310 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c for (i = 0; i < pipe->n_layers; i++) { pipe 311 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c layer = pipe->layers[i]; pipe 313 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c layer->right = komeda_get_layer_split_right_layer(pipe, layer); pipe 316 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (pipe->dual_link && !pipe->ctrlr->supports_dual_link) { pipe 317 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->dual_link = false; pipe 319 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->id); pipe 339 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_pipeline *pipe; pipe 343 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe = mdev->pipelines[i]; pipe 345 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_pipeline_assemble(pipe); pipe 346 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c komeda_pipeline_dump(pipe); pipe 352 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c void komeda_pipeline_dump_register(struct komeda_pipeline *pipe, pipe 358 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c seq_printf(sf, "\n======== Pipeline-%d ==========\n", pipe->id); pipe 360 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (pipe->funcs && pipe->funcs->dump_register) pipe 361 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c pipe->funcs->dump_register(pipe, sf); pipe 363 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c dp_for_each_set_bit(id, pipe->avail_comps) { pipe 364 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c c = komeda_pipeline_get_component(pipe, id); pipe 367 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h int (*downscaling_clk_check)(struct komeda_pipeline *pipe, pipe 372 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h void (*dump_register)(struct komeda_pipeline *pipe, pipe 436 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h struct komeda_pipeline *pipe; pipe 471 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h struct komeda_pipeline *pipe); pipe 476 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h komeda_pipeline_get_component(struct komeda_pipeline *pipe, int id); pipe 478 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h komeda_pipeline_get_first_component(struct komeda_pipeline *pipe, pipe 481 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h void komeda_pipeline_dump_register(struct komeda_pipeline *pipe, pipe 487 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h komeda_component_add(struct komeda_pipeline *pipe, pipe 532 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h int komeda_release_unclaimed_resources(struct komeda_pipeline *pipe, pipe 536 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h komeda_pipeline_get_old_state(struct komeda_pipeline *pipe, pipe 538 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h void komeda_pipeline_disable(struct komeda_pipeline *pipe, pipe 540 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h void komeda_pipeline_update(struct komeda_pipeline *pipe, pipe 24 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_get_state(struct komeda_pipeline *pipe, pipe 29 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c priv_st = drm_atomic_get_private_obj_state(state, &pipe->obj); pipe 37 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_get_old_state(struct komeda_pipeline *pipe, pipe 42 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c priv_st = drm_atomic_get_old_private_obj_state(state, &pipe->obj); pipe 49 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_get_new_state(struct komeda_pipeline *pipe, pipe 54 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c priv_st = drm_atomic_get_new_private_obj_state(state, &pipe->obj); pipe 62 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_get_state_and_set_crtc(struct komeda_pipeline *pipe, pipe 68 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c st = komeda_pipeline_get_state(pipe, state); pipe 74 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c drm_crtc_index(crtc), pipe->id); pipe 80 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c DRM_DEBUG_ATOMIC("Disabling a busy pipeline:%d.\n", pipe->id); pipe 92 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c kcrtc_st->active_pipes |= BIT(pipe->id); pipe 93 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c kcrtc_st->affected_pipes |= BIT(pipe->id); pipe 471 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline *pipe = scaler->base.pipeline; pipe 474 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = pipe->funcs->downscaling_clk_check(pipe, pipe 821 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c static bool merger_is_available(struct komeda_pipeline *pipe, pipe 824 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c u32 avail_inputs = pipe->merger ? pipe 825 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c pipe->merger->base.supported_inputs : 0; pipe 836 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline *pipe = layer->base.pipeline; pipe 853 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (dflow->en_split && merger_is_available(pipe, dflow)) pipe 856 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_compiz_set_input(pipe->compiz, kcrtc_st, dflow); pipe 1039 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline *pipe = left->base.pipeline; pipe 1044 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_split_data_flow(pipe->scalers[0], dflow, &l_dflow, &r_dflow); pipe 1071 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_merger_validate(pipe->merger, plane, kcrtc_st, pipe 1076 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_compiz_set_input(pipe->compiz, kcrtc_st, dflow); pipe 1107 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline *pipe = wb_layer->base.pipeline; pipe 1112 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_splitter_validate(pipe->splitter, conn_st, pipe 1124 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c err = komeda_merger_validate(pipe->merger, conn_st, kcrtc_st, pipe 1175 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_unbound_components(struct komeda_pipeline *pipe, pipe 1179 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline_state *old = priv_to_pipe_st(pipe->obj.state); pipe 1190 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c c = komeda_pipeline_get_component(pipe, id); pipe 1198 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c int komeda_release_unclaimed_resources(struct komeda_pipeline *pipe, pipe 1205 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!pipe || !has_bit(pipe->id, kcrtc_st->affected_pipes)) pipe 1208 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (has_bit(pipe->id, kcrtc_st->active_pipes)) pipe 1209 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c st = komeda_pipeline_get_new_state(pipe, drm_st); pipe 1211 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c st = komeda_pipeline_get_state_and_set_crtc(pipe, drm_st, NULL); pipe 1216 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_pipeline_unbound_components(pipe, st); pipe 1221 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c void komeda_pipeline_disable(struct komeda_pipeline *pipe, pipe 1229 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c old = komeda_pipeline_get_old_state(pipe, old_state); pipe 1233 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c pipe->id, disabling_comps); pipe 1236 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c c = komeda_pipeline_get_component(pipe, id); pipe 1253 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c void komeda_pipeline_update(struct komeda_pipeline *pipe, pipe 1256 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_pipeline_state *new = priv_to_pipe_st(pipe->obj.state); pipe 1261 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c old = komeda_pipeline_get_old_state(pipe, old_state); pipe 1266 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c pipe->id, new->active_comps, changed_comps); pipe 1269 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c c = komeda_pipeline_get_component(pipe, id); pipe 23 drivers/gpu/drm/arm/display/komeda/komeda_plane.c struct komeda_pipeline *pipe = kplane->layer->base.pipeline; pipe 28 drivers/gpu/drm/arm/display/komeda/komeda_plane.c if (pipe == to_kcrtc(st->crtc)->master) pipe 207 drivers/gpu/drm/arm/display/komeda/komeda_plane.c struct komeda_pipeline *pipe) pipe 216 drivers/gpu/drm/arm/display/komeda/komeda_plane.c if ((pipe == crtc->master) || (pipe == crtc->slave)) pipe 225 drivers/gpu/drm/arm/display/komeda/komeda_plane.c struct komeda_pipeline *pipe, pipe 234 drivers/gpu/drm/arm/display/komeda/komeda_plane.c if (pipe == kcrtc->slave) pipe 323 drivers/gpu/drm/arm/display/komeda/komeda_plane.c struct komeda_pipeline *pipe; pipe 327 drivers/gpu/drm/arm/display/komeda/komeda_plane.c pipe = mdev->pipelines[i]; pipe 329 drivers/gpu/drm/arm/display/komeda/komeda_plane.c for (j = 0; j < pipe->n_layers; j++) { pipe 330 drivers/gpu/drm/arm/display/komeda/komeda_plane.c err = komeda_plane_add(kms, pipe->layers[j]); pipe 351 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c struct komeda_pipeline *pipe) pipe 359 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c st->pipe = pipe; pipe 360 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c drm_atomic_private_obj_init(&kms->base, &pipe->obj, &st->obj, pipe 369 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c struct komeda_pipeline *pipe; pipe 373 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c pipe = mdev->pipelines[i]; pipe 375 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_pipeline_obj_add(kms, pipe); pipe 379 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c for (j = 0; j < pipe->n_layers; j++) { pipe 380 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_layer_obj_add(kms, pipe->layers[j]); pipe 385 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c if (pipe->wb_layer) { pipe 386 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_layer_obj_add(kms, pipe->wb_layer); pipe 391 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c for (j = 0; j < pipe->n_scalers; j++) { pipe 392 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_scaler_obj_add(kms, pipe->scalers[j]); pipe 397 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_compiz_obj_add(kms, pipe->compiz); pipe 401 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c if (pipe->splitter) { pipe 402 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_splitter_obj_add(kms, pipe->splitter); pipe 407 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c if (pipe->merger) { pipe 408 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_merger_obj_add(kms, pipe->merger); pipe 413 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_improc_obj_add(kms, pipe->improc); pipe 417 drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c err = komeda_timing_ctrlr_obj_add(kms, pipe->ctrlr); pipe 13 drivers/gpu/drm/aspeed/aspeed_gfx.h struct drm_simple_display_pipe pipe; pipe 21 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c drm_pipe_to_aspeed_gfx(struct drm_simple_display_pipe *pipe) pipe 23 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c return container_of(pipe, struct aspeed_gfx, pipe); pipe 28 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_crtc *crtc = &priv->pipe.crtc; pipe 82 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_display_mode *m = &priv->pipe.crtc.state->adjusted_mode; pipe 141 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static void aspeed_gfx_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 145 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); pipe 146 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_crtc *crtc = &pipe->crtc; pipe 153 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static void aspeed_gfx_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 155 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); pipe 156 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_crtc *crtc = &pipe->crtc; pipe 162 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static void aspeed_gfx_pipe_update(struct drm_simple_display_pipe *pipe, pipe 165 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); pipe 166 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_crtc *crtc = &pipe->crtc; pipe 167 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct drm_framebuffer *fb = pipe->plane.state->fb; pipe 192 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static int aspeed_gfx_enable_vblank(struct drm_simple_display_pipe *pipe) pipe 194 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); pipe 206 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static void aspeed_gfx_disable_vblank(struct drm_simple_display_pipe *pipe) pipe 208 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c struct aspeed_gfx *priv = drm_pipe_to_aspeed_gfx(pipe); pipe 236 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c return drm_simple_display_pipe_init(drm, &priv->pipe, &aspeed_gfx_funcs, pipe 86 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c drm_crtc_handle_vblank(&priv->pipe.crtc); pipe 349 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c c->state->event->pipe = drm_crtc_index(c); pipe 72 drivers/gpu/drm/bochs/bochs.h struct drm_simple_display_pipe pipe; pipe 46 drivers/gpu/drm/bochs/bochs_kms.c static void bochs_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 50 drivers/gpu/drm/bochs/bochs_kms.c struct bochs_device *bochs = pipe->crtc.dev->dev_private; pipe 56 drivers/gpu/drm/bochs/bochs_kms.c static void bochs_pipe_update(struct drm_simple_display_pipe *pipe, pipe 59 drivers/gpu/drm/bochs/bochs_kms.c struct bochs_device *bochs = pipe->crtc.dev->dev_private; pipe 60 drivers/gpu/drm/bochs/bochs_kms.c struct drm_crtc *crtc = &pipe->crtc; pipe 62 drivers/gpu/drm/bochs/bochs_kms.c bochs_plane_update(bochs, pipe->plane.state); pipe 72 drivers/gpu/drm/bochs/bochs_kms.c static int bochs_pipe_prepare_fb(struct drm_simple_display_pipe *pipe, pipe 83 drivers/gpu/drm/bochs/bochs_kms.c static void bochs_pipe_cleanup_fb(struct drm_simple_display_pipe *pipe, pipe 203 drivers/gpu/drm/bochs/bochs_kms.c &bochs->pipe, pipe 54 drivers/gpu/drm/cirrus/cirrus.c struct drm_simple_display_pipe pipe; pipe 401 drivers/gpu/drm/cirrus/cirrus.c static int cirrus_pipe_check(struct drm_simple_display_pipe *pipe, pipe 412 drivers/gpu/drm/cirrus/cirrus.c static void cirrus_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 416 drivers/gpu/drm/cirrus/cirrus.c struct cirrus_device *cirrus = pipe->crtc.dev->dev_private; pipe 422 drivers/gpu/drm/cirrus/cirrus.c static void cirrus_pipe_update(struct drm_simple_display_pipe *pipe, pipe 425 drivers/gpu/drm/cirrus/cirrus.c struct cirrus_device *cirrus = pipe->crtc.dev->dev_private; pipe 426 drivers/gpu/drm/cirrus/cirrus.c struct drm_plane_state *state = pipe->plane.state; pipe 427 drivers/gpu/drm/cirrus/cirrus.c struct drm_crtc *crtc = &pipe->crtc; pipe 430 drivers/gpu/drm/cirrus/cirrus.c if (pipe->plane.state->fb && pipe 431 drivers/gpu/drm/cirrus/cirrus.c cirrus->cpp != cirrus_cpp(pipe->plane.state->fb)) pipe 433 drivers/gpu/drm/cirrus/cirrus.c pipe->plane.state->fb); pipe 436 drivers/gpu/drm/cirrus/cirrus.c cirrus_fb_blit_rect(pipe->plane.state->fb, &rect); pipe 467 drivers/gpu/drm/cirrus/cirrus.c &cirrus->pipe, pipe 319 drivers/gpu/drm/drm_gem_framebuffer_helper.c int drm_gem_fb_simple_display_pipe_prepare_fb(struct drm_simple_display_pipe *pipe, pipe 322 drivers/gpu/drm/drm_gem_framebuffer_helper.c return drm_gem_fb_prepare_fb(&pipe->plane, plane_state); pipe 70 drivers/gpu/drm/drm_internal.h void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe); pipe 298 drivers/gpu/drm/drm_mipi_dbi.c void mipi_dbi_pipe_update(struct drm_simple_display_pipe *pipe, pipe 301 drivers/gpu/drm/drm_mipi_dbi.c struct drm_plane_state *state = pipe->plane.state; pipe 302 drivers/gpu/drm/drm_mipi_dbi.c struct drm_crtc *crtc = &pipe->crtc; pipe 387 drivers/gpu/drm/drm_mipi_dbi.c void mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 389 drivers/gpu/drm/drm_mipi_dbi.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 529 drivers/gpu/drm/drm_mipi_dbi.c ret = drm_simple_display_pipe_init(drm, &dbidev->pipe, funcs, formats, format_count, pipe 534 drivers/gpu/drm/drm_mipi_dbi.c drm_plane_enable_fb_damage_clips(&dbidev->pipe.plane); pipe 38 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 40 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); pipe 41 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->mode_valid) pipe 45 drivers/gpu/drm/drm_simple_kms_helper.c return pipe->funcs->mode_valid(crtc, mode); pipe 65 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 67 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); pipe 68 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->enable) pipe 71 drivers/gpu/drm/drm_simple_kms_helper.c plane = &pipe->plane; pipe 72 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs->enable(pipe, crtc->state, plane->state); pipe 78 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 80 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); pipe 81 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->disable) pipe 84 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs->disable(pipe); pipe 96 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 98 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); pipe 99 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->enable_vblank) pipe 102 drivers/gpu/drm/drm_simple_kms_helper.c return pipe->funcs->enable_vblank(pipe); pipe 107 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 109 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); pipe 110 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->disable_vblank) pipe 113 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs->disable_vblank(pipe); pipe 130 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 134 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(plane, struct drm_simple_display_pipe, plane); pipe 136 drivers/gpu/drm/drm_simple_kms_helper.c &pipe->crtc); pipe 148 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->check) pipe 151 drivers/gpu/drm/drm_simple_kms_helper.c return pipe->funcs->check(pipe, plane_state, crtc_state); pipe 157 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 159 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(plane, struct drm_simple_display_pipe, plane); pipe 160 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->update) pipe 163 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs->update(pipe, old_pstate); pipe 169 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 171 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(plane, struct drm_simple_display_pipe, plane); pipe 172 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->prepare_fb) pipe 175 drivers/gpu/drm/drm_simple_kms_helper.c return pipe->funcs->prepare_fb(pipe, state); pipe 181 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe; pipe 183 drivers/gpu/drm/drm_simple_kms_helper.c pipe = container_of(plane, struct drm_simple_display_pipe, plane); pipe 184 drivers/gpu/drm/drm_simple_kms_helper.c if (!pipe->funcs || !pipe->funcs->cleanup_fb) pipe 187 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs->cleanup_fb(pipe, state); pipe 228 drivers/gpu/drm/drm_simple_kms_helper.c int drm_simple_display_pipe_attach_bridge(struct drm_simple_display_pipe *pipe, pipe 231 drivers/gpu/drm/drm_simple_kms_helper.c return drm_bridge_attach(&pipe->encoder, bridge, NULL); pipe 260 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_simple_display_pipe *pipe, pipe 266 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_encoder *encoder = &pipe->encoder; pipe 267 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_plane *plane = &pipe->plane; pipe 268 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_crtc *crtc = &pipe->crtc; pipe 271 drivers/gpu/drm/drm_simple_kms_helper.c pipe->connector = connector; pipe 272 drivers/gpu/drm/drm_simple_kms_helper.c pipe->funcs = funcs; pipe 85 drivers/gpu/drm/drm_vblank.c drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, pipe 97 drivers/gpu/drm/drm_vblank.c static void store_vblank(struct drm_device *dev, unsigned int pipe, pipe 101 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 113 drivers/gpu/drm/drm_vblank.c static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) pipe 115 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 124 drivers/gpu/drm/drm_vblank.c static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) pipe 126 drivers/gpu/drm/drm_vblank.c WARN_ON_ONCE(drm_max_vblank_count(dev, pipe) != 0); pipe 130 drivers/gpu/drm/drm_vblank.c static u32 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 133 drivers/gpu/drm/drm_vblank.c struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); pipe 143 drivers/gpu/drm/drm_vblank.c return dev->driver->get_vblank_counter(dev, pipe); pipe 145 drivers/gpu/drm/drm_vblank.c return drm_vblank_no_hw_counter(dev, pipe); pipe 157 drivers/gpu/drm/drm_vblank.c static void drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) pipe 171 drivers/gpu/drm/drm_vblank.c cur_vblank = __get_vblank_counter(dev, pipe); pipe 172 drivers/gpu/drm/drm_vblank.c rc = drm_get_last_vbltimestamp(dev, pipe, &t_vblank, false); pipe 173 drivers/gpu/drm/drm_vblank.c } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); pipe 187 drivers/gpu/drm/drm_vblank.c store_vblank(dev, pipe, 1, t_vblank, cur_vblank); pipe 204 drivers/gpu/drm/drm_vblank.c static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, pipe 207 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 213 drivers/gpu/drm/drm_vblank.c u32 max_vblank_count = drm_max_vblank_count(dev, pipe); pipe 228 drivers/gpu/drm/drm_vblank.c cur_vblank = __get_vblank_counter(dev, pipe); pipe 229 drivers/gpu/drm/drm_vblank.c rc = drm_get_last_vbltimestamp(dev, pipe, &t_vblank, in_vblank_irq); pipe 230 drivers/gpu/drm/drm_vblank.c } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); pipe 246 drivers/gpu/drm/drm_vblank.c pipe, (long long) diff_ns, framedur_ns); pipe 252 drivers/gpu/drm/drm_vblank.c pipe); pipe 269 drivers/gpu/drm/drm_vblank.c " due to pre-modeset.\n", pipe, diff); pipe 275 drivers/gpu/drm/drm_vblank.c pipe, vblank->count, diff, cur_vblank, vblank->last); pipe 291 drivers/gpu/drm/drm_vblank.c store_vblank(dev, pipe, diff, t_vblank, cur_vblank); pipe 294 drivers/gpu/drm/drm_vblank.c static u64 drm_vblank_count(struct drm_device *dev, unsigned int pipe) pipe 296 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 298 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 318 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 327 drivers/gpu/drm/drm_vblank.c drm_update_vblank_count(dev, pipe, false); pipe 328 drivers/gpu/drm/drm_vblank.c vblank = drm_vblank_count(dev, pipe); pipe 336 drivers/gpu/drm/drm_vblank.c static void __disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 339 drivers/gpu/drm/drm_vblank.c struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); pipe 350 drivers/gpu/drm/drm_vblank.c dev->driver->disable_vblank(dev, pipe); pipe 359 drivers/gpu/drm/drm_vblank.c void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) pipe 361 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 387 drivers/gpu/drm/drm_vblank.c drm_update_vblank_count(dev, pipe, false); pipe 388 drivers/gpu/drm/drm_vblank.c __disable_vblank(dev, pipe); pipe 399 drivers/gpu/drm/drm_vblank.c unsigned int pipe = vblank->pipe; pipe 404 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("disabling vblank on crtc %u\n", pipe); pipe 405 drivers/gpu/drm/drm_vblank.c drm_vblank_disable_and_save(dev, pipe); pipe 412 drivers/gpu/drm/drm_vblank.c unsigned int pipe; pipe 418 drivers/gpu/drm/drm_vblank.c for (pipe = 0; pipe < dev->num_crtcs; pipe++) { pipe 419 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 462 drivers/gpu/drm/drm_vblank.c vblank->pipe = i; pipe 521 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 522 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 529 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 597 drivers/gpu/drm/drm_vblank.c unsigned int pipe, pipe 607 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 614 drivers/gpu/drm/drm_vblank.c crtc = drm_crtc_from_index(dev, pipe); pipe 616 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs || !crtc) { pipe 617 drivers/gpu/drm/drm_vblank.c DRM_ERROR("Invalid crtc %u\n", pipe); pipe 636 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("crtc %u: Noop due to uninitialized mode.\n", pipe); pipe 654 drivers/gpu/drm/drm_vblank.c vbl_status = dev->driver->get_scanout_position(dev, pipe, pipe 663 drivers/gpu/drm/drm_vblank.c pipe); pipe 678 drivers/gpu/drm/drm_vblank.c pipe, duration_ns/1000, *max_error/1000, i); pipe 703 drivers/gpu/drm/drm_vblank.c pipe, hpos, vpos, pipe 734 drivers/gpu/drm/drm_vblank.c drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, pipe 744 drivers/gpu/drm/drm_vblank.c ret = dev->driver->get_vblank_timestamp(dev, pipe, &max_error, pipe 789 drivers/gpu/drm/drm_vblank.c static u64 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe, pipe 792 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 796 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) { pipe 854 drivers/gpu/drm/drm_vblank.c trace_drm_vblank_event_delivered(e->base.file_priv, e->pipe, seq); pipe 900 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 904 drivers/gpu/drm/drm_vblank.c e->pipe = pipe; pipe 926 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 930 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); pipe 936 drivers/gpu/drm/drm_vblank.c e->pipe = pipe; pipe 941 drivers/gpu/drm/drm_vblank.c static int __enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 944 drivers/gpu/drm/drm_vblank.c struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); pipe 953 drivers/gpu/drm/drm_vblank.c return dev->driver->enable_vblank(dev, pipe); pipe 956 drivers/gpu/drm/drm_vblank.c static int drm_vblank_enable(struct drm_device *dev, unsigned int pipe) pipe 958 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 973 drivers/gpu/drm/drm_vblank.c ret = __enable_vblank(dev, pipe); pipe 974 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("enabling vblank on crtc %u, ret: %d\n", pipe, ret); pipe 978 drivers/gpu/drm/drm_vblank.c drm_update_vblank_count(dev, pipe, 0); pipe 993 drivers/gpu/drm/drm_vblank.c static int drm_vblank_get(struct drm_device *dev, unsigned int pipe) pipe 995 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1002 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1008 drivers/gpu/drm/drm_vblank.c ret = drm_vblank_enable(dev, pipe); pipe 1036 drivers/gpu/drm/drm_vblank.c static void drm_vblank_put(struct drm_device *dev, unsigned int pipe) pipe 1038 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1040 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1082 drivers/gpu/drm/drm_vblank.c void drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe) pipe 1084 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1088 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1091 drivers/gpu/drm/drm_vblank.c ret = drm_vblank_get(dev, pipe); pipe 1092 drivers/gpu/drm/drm_vblank.c if (WARN(ret, "vblank not available on crtc %i, ret=%i\n", pipe, ret)) pipe 1095 drivers/gpu/drm/drm_vblank.c last = drm_vblank_count(dev, pipe); pipe 1098 drivers/gpu/drm/drm_vblank.c last != drm_vblank_count(dev, pipe), pipe 1101 drivers/gpu/drm/drm_vblank.c WARN(ret == 0, "vblank wait timed out on crtc %i\n", pipe); pipe 1103 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1135 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 1136 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1143 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1150 drivers/gpu/drm/drm_vblank.c pipe, vblank->enabled, vblank->inmodeset); pipe 1155 drivers/gpu/drm/drm_vblank.c drm_vblank_disable_and_save(dev, pipe); pipe 1170 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); pipe 1173 drivers/gpu/drm/drm_vblank.c if (e->pipe != pipe) pipe 1179 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1206 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 1207 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1245 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 1246 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1268 drivers/gpu/drm/drm_vblank.c unsigned int pipe = drm_crtc_index(crtc); pipe 1269 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1272 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1277 drivers/gpu/drm/drm_vblank.c pipe, vblank->enabled, vblank->inmodeset); pipe 1285 drivers/gpu/drm/drm_vblank.c drm_reset_vblank_timestamp(dev, pipe); pipe 1292 drivers/gpu/drm/drm_vblank.c WARN_ON(drm_vblank_enable(dev, pipe)); pipe 1310 drivers/gpu/drm/drm_vblank.c void drm_vblank_restore(struct drm_device *dev, unsigned int pipe) pipe 1319 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1325 drivers/gpu/drm/drm_vblank.c vblank = &dev->vblank[pipe]; pipe 1331 drivers/gpu/drm/drm_vblank.c cur_vblank = __get_vblank_counter(dev, pipe); pipe 1332 drivers/gpu/drm/drm_vblank.c drm_get_last_vbltimestamp(dev, pipe, &t_vblank, false); pipe 1333 drivers/gpu/drm/drm_vblank.c } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); pipe 1342 drivers/gpu/drm/drm_vblank.c store_vblank(dev, pipe, diff, t_vblank, cur_vblank); pipe 1363 drivers/gpu/drm/drm_vblank.c unsigned int pipe) pipe 1365 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1371 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1383 drivers/gpu/drm/drm_vblank.c if (drm_vblank_get(dev, pipe) == 0) pipe 1389 drivers/gpu/drm/drm_vblank.c unsigned int pipe) pipe 1391 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1398 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1403 drivers/gpu/drm/drm_vblank.c drm_reset_vblank_timestamp(dev, pipe); pipe 1407 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1417 drivers/gpu/drm/drm_vblank.c unsigned int pipe; pipe 1427 drivers/gpu/drm/drm_vblank.c pipe = modeset->crtc; pipe 1428 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs) pipe 1433 drivers/gpu/drm/drm_vblank.c drm_legacy_vblank_pre_modeset(dev, pipe); pipe 1436 drivers/gpu/drm/drm_vblank.c drm_legacy_vblank_post_modeset(dev, pipe); pipe 1450 drivers/gpu/drm/drm_vblank.c static int drm_queue_vblank_event(struct drm_device *dev, unsigned int pipe, pipe 1455 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1468 drivers/gpu/drm/drm_vblank.c e->pipe = pipe; pipe 1474 drivers/gpu/drm/drm_vblank.c struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); pipe 1498 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); pipe 1501 drivers/gpu/drm/drm_vblank.c req_seq, seq, pipe); pipe 1503 drivers/gpu/drm/drm_vblank.c trace_drm_vblank_event_queued(file_priv, pipe, req_seq); pipe 1507 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1524 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1555 drivers/gpu/drm/drm_vblank.c static void drm_wait_vblank_reply(struct drm_device *dev, unsigned int pipe, pipe 1566 drivers/gpu/drm/drm_vblank.c reply->sequence = drm_vblank_count_and_time(dev, pipe, &now); pipe 1581 drivers/gpu/drm/drm_vblank.c unsigned int flags, pipe, high_pipe; pipe 1608 drivers/gpu/drm/drm_vblank.c pipe = 0; pipe 1615 drivers/gpu/drm/drm_vblank.c pipe++; pipe 1618 drivers/gpu/drm/drm_vblank.c pipe = pipe_index; pipe 1621 drivers/gpu/drm/drm_vblank.c if (pipe >= dev->num_crtcs) pipe 1624 drivers/gpu/drm/drm_vblank.c vblank = &dev->vblank[pipe]; pipe 1632 drivers/gpu/drm/drm_vblank.c drm_wait_vblank_reply(dev, pipe, &vblwait->reply); pipe 1636 drivers/gpu/drm/drm_vblank.c ret = drm_vblank_get(dev, pipe); pipe 1638 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("crtc %d failed to acquire vblank counter, %d\n", pipe, ret); pipe 1641 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count(dev, pipe); pipe 1668 drivers/gpu/drm/drm_vblank.c return drm_queue_vblank_event(dev, pipe, req_seq, vblwait, file_priv); pipe 1675 drivers/gpu/drm/drm_vblank.c req_seq, pipe); pipe 1677 drivers/gpu/drm/drm_vblank.c vblank_passed(drm_vblank_count(dev, pipe), req_seq) || pipe 1697 drivers/gpu/drm/drm_vblank.c drm_wait_vblank_reply(dev, pipe, &vblwait->reply); pipe 1700 drivers/gpu/drm/drm_vblank.c pipe, vblwait->reply.sequence); pipe 1702 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("crtc %d vblank wait interrupted by signal\n", pipe); pipe 1706 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1710 drivers/gpu/drm/drm_vblank.c static void drm_handle_vblank_events(struct drm_device *dev, unsigned int pipe) pipe 1718 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); pipe 1721 drivers/gpu/drm/drm_vblank.c if (e->pipe != pipe) pipe 1730 drivers/gpu/drm/drm_vblank.c drm_vblank_put(dev, pipe); pipe 1734 drivers/gpu/drm/drm_vblank.c trace_drm_vblank_event(pipe, seq); pipe 1747 drivers/gpu/drm/drm_vblank.c bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe) pipe 1749 drivers/gpu/drm/drm_vblank.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 1756 drivers/gpu/drm/drm_vblank.c if (WARN_ON(pipe >= dev->num_crtcs)) pipe 1774 drivers/gpu/drm/drm_vblank.c drm_update_vblank_count(dev, pipe, true); pipe 1789 drivers/gpu/drm/drm_vblank.c drm_handle_vblank_events(dev, pipe); pipe 1831 drivers/gpu/drm/drm_vblank.c int pipe; pipe 1847 drivers/gpu/drm/drm_vblank.c pipe = drm_crtc_index(crtc); pipe 1849 drivers/gpu/drm/drm_vblank.c vblank = &dev->vblank[pipe]; pipe 1855 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("crtc %d failed to acquire vblank counter, %d\n", pipe, ret); pipe 1865 drivers/gpu/drm/drm_vblank.c get_seq->sequence = drm_vblank_count_and_time(dev, pipe, &now); pipe 1885 drivers/gpu/drm/drm_vblank.c int pipe; pipe 1911 drivers/gpu/drm/drm_vblank.c pipe = drm_crtc_index(crtc); pipe 1913 drivers/gpu/drm/drm_vblank.c vblank = &dev->vblank[pipe]; pipe 1921 drivers/gpu/drm/drm_vblank.c DRM_DEBUG("crtc %d failed to acquire vblank counter, %d\n", pipe, ret); pipe 1925 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); pipe 1934 drivers/gpu/drm/drm_vblank.c e->pipe = pipe; pipe 89 drivers/gpu/drm/etnaviv/etnaviv_buffer.c struct etnaviv_cmdbuf *buffer, u8 pipe) pipe 111 drivers/gpu/drm/etnaviv/etnaviv_buffer.c VIVS_GL_PIPE_SELECT_PIPE(pipe)); pipe 262 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) pipe 265 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; pipe 363 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) pipe 366 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; pipe 414 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) pipe 417 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; pipe 442 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) pipe 445 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; pipe 459 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) pipe 462 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; pipe 443 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->pipe >= ETNA_MAX_PIPES) pipe 446 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c gpu = priv->gpu[args->pipe]; pipe 584 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = etnaviv_sched_push_job(&ctx->sched_entity[args->pipe], submit); pipe 96 drivers/gpu/drm/gma500/cdv_intel_crt.c if (gma_crtc->pipe == 0) pipe 119 drivers/gpu/drm/gma500/cdv_intel_crt.c if (gma_crtc->pipe == 0) pipe 216 drivers/gpu/drm/gma500/cdv_intel_display.c int pipe = gma_crtc->pipe; pipe 219 drivers/gpu/drm/gma500/cdv_intel_display.c int dpll_reg = (pipe == 0) ? DPLL_A : DPLL_B; pipe 220 drivers/gpu/drm/gma500/cdv_intel_display.c int ref_sfr = (pipe == 0) ? SB_REF_DPLLA : SB_REF_DPLLB; pipe 233 drivers/gpu/drm/gma500/cdv_intel_display.c cdv_sb_write(dev, SB_REF_SFR(pipe), ref_value); pipe 256 drivers/gpu/drm/gma500/cdv_intel_display.c if (pipe == 1 && !is_lvds && !(ddi_select & DP_MASK)) { pipe 267 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_read(dev, SB_M(pipe), &m); pipe 272 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_write(dev, SB_M(pipe), m); pipe 276 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_read(dev, SB_N_VCO(pipe), &n_vco); pipe 303 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_write(dev, SB_N_VCO(pipe), n_vco); pipe 307 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_read(dev, SB_P(pipe), &p); pipe 329 drivers/gpu/drm/gma500/cdv_intel_display.c ret = cdv_sb_write(dev, SB_P(pipe), p); pipe 338 drivers/gpu/drm/gma500/cdv_intel_display.c lane_value |= LANE_PLL_ENABLE | LANE_PLL_PIPE(pipe); pipe 344 drivers/gpu/drm/gma500/cdv_intel_display.c lane_value |= LANE_PLL_ENABLE | LANE_PLL_PIPE(pipe); pipe 350 drivers/gpu/drm/gma500/cdv_intel_display.c lane_value |= LANE_PLL_ENABLE | LANE_PLL_PIPE(pipe); pipe 356 drivers/gpu/drm/gma500/cdv_intel_display.c lane_value |= LANE_PLL_ENABLE | LANE_PLL_PIPE(pipe); pipe 453 drivers/gpu/drm/gma500/cdv_intel_display.c static bool cdv_intel_pipe_enabled(struct drm_device *dev, int pipe) pipe 459 drivers/gpu/drm/gma500/cdv_intel_display.c crtc = dev_priv->pipe_to_crtc_mapping[pipe]; pipe 516 drivers/gpu/drm/gma500/cdv_intel_display.c if (gma_crtc->pipe == 1 && pipe 577 drivers/gpu/drm/gma500/cdv_intel_display.c int pipe = gma_crtc->pipe; pipe 578 drivers/gpu/drm/gma500/cdv_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 640 drivers/gpu/drm/gma500/cdv_intel_display.c if (pipe == 0) pipe 674 drivers/gpu/drm/gma500/cdv_intel_display.c REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0); pipe 675 drivers/gpu/drm/gma500/cdv_intel_display.c REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0); pipe 676 drivers/gpu/drm/gma500/cdv_intel_display.c REG_WRITE(PIPE_DP_LINK_M(pipe), 0); pipe 677 drivers/gpu/drm/gma500/cdv_intel_display.c REG_WRITE(PIPE_DP_LINK_N(pipe), 0); pipe 718 drivers/gpu/drm/gma500/cdv_intel_display.c if (pipe == 0) pipe 765 drivers/gpu/drm/gma500/cdv_intel_display.c if (cdv_intel_panel_fitter_pipe(dev) == pipe) pipe 768 drivers/gpu/drm/gma500/cdv_intel_display.c DRM_DEBUG_KMS("Mode for pipe %c:\n", pipe == 0 ? 'A' : 'B'); pipe 844 drivers/gpu/drm/gma500/cdv_intel_display.c int pipe = gma_crtc->pipe; pipe 845 drivers/gpu/drm/gma500/cdv_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 850 drivers/gpu/drm/gma500/cdv_intel_display.c struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; pipe 858 drivers/gpu/drm/gma500/cdv_intel_display.c is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN); pipe 867 drivers/gpu/drm/gma500/cdv_intel_display.c is_lvds = (pipe == 1) && pipe 922 drivers/gpu/drm/gma500/cdv_intel_display.c int pipe = gma_crtc->pipe; pipe 924 drivers/gpu/drm/gma500/cdv_intel_display.c struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; pipe 925 drivers/gpu/drm/gma500/cdv_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 996 drivers/gpu/drm/gma500/cdv_intel_dp.c int pipe = gma_crtc->pipe; pipe 1029 drivers/gpu/drm/gma500/cdv_intel_dp.c REG_WRITE(PIPE_GMCH_DATA_M(pipe), pipe 1032 drivers/gpu/drm/gma500/cdv_intel_dp.c REG_WRITE(PIPE_GMCH_DATA_N(pipe), m_n.gmch_n); pipe 1033 drivers/gpu/drm/gma500/cdv_intel_dp.c REG_WRITE(PIPE_DP_LINK_M(pipe), m_n.link_m); pipe 1034 drivers/gpu/drm/gma500/cdv_intel_dp.c REG_WRITE(PIPE_DP_LINK_N(pipe), m_n.link_n); pipe 1086 drivers/gpu/drm/gma500/cdv_intel_dp.c if (gma_crtc->pipe == 1) pipe 1101 drivers/gpu/drm/gma500/cdv_intel_dp.c pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; pipe 81 drivers/gpu/drm/gma500/cdv_intel_hdmi.c if (gma_crtc->pipe == 1) pipe 367 drivers/gpu/drm/gma500/cdv_intel_lvds.c pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; pipe 581 drivers/gpu/drm/gma500/cdv_intel_lvds.c int pipe; pipe 708 drivers/gpu/drm/gma500/cdv_intel_lvds.c pipe = (lvds & LVDS_PIPEB_SELECT) ? 1 : 0; pipe 709 drivers/gpu/drm/gma500/cdv_intel_lvds.c crtc = psb_intel_get_crtc_from_pipe(dev, pipe); pipe 733 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (pipe == 1) pipe 58 drivers/gpu/drm/gma500/gma_display.c int pipe = gma_crtc->pipe; pipe 59 drivers/gpu/drm/gma500/gma_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 141 drivers/gpu/drm/gma500/gma_display.c const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; pipe 165 drivers/gpu/drm/gma500/gma_display.c dev_priv->regs.pipe[0].palette[i] = pipe 194 drivers/gpu/drm/gma500/gma_display.c int pipe = gma_crtc->pipe; pipe 195 drivers/gpu/drm/gma500/gma_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 327 drivers/gpu/drm/gma500/gma_display.c int pipe = gma_crtc->pipe; pipe 328 drivers/gpu/drm/gma500/gma_display.c uint32_t control = (pipe == 0) ? CURACNTR : CURBCNTR; pipe 329 drivers/gpu/drm/gma500/gma_display.c uint32_t base = (pipe == 0) ? CURABASE : CURBBASE; pipe 415 drivers/gpu/drm/gma500/gma_display.c temp |= (pipe << 28); pipe 444 drivers/gpu/drm/gma500/gma_display.c int pipe = gma_crtc->pipe; pipe 463 drivers/gpu/drm/gma500/gma_display.c REG_WRITE((pipe == 0) ? CURAPOS : CURBPOS, temp); pipe 464 drivers/gpu/drm/gma500/gma_display.c REG_WRITE((pipe == 0) ? CURABASE : CURBBASE, addr); pipe 530 drivers/gpu/drm/gma500/gma_display.c const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; pipe 573 drivers/gpu/drm/gma500/gma_display.c const struct psb_offset *map = &dev_priv->regmap[gma_crtc->pipe]; pipe 160 drivers/gpu/drm/gma500/mdfld_device.c struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum]; pipe 187 drivers/gpu/drm/gma500/mdfld_device.c pipe->dpll = PSB_RVDC32(map->dpll); pipe 188 drivers/gpu/drm/gma500/mdfld_device.c pipe->fp0 = PSB_RVDC32(map->fp0); pipe 189 drivers/gpu/drm/gma500/mdfld_device.c pipe->conf = PSB_RVDC32(map->conf); pipe 190 drivers/gpu/drm/gma500/mdfld_device.c pipe->htotal = PSB_RVDC32(map->htotal); pipe 191 drivers/gpu/drm/gma500/mdfld_device.c pipe->hblank = PSB_RVDC32(map->hblank); pipe 192 drivers/gpu/drm/gma500/mdfld_device.c pipe->hsync = PSB_RVDC32(map->hsync); pipe 193 drivers/gpu/drm/gma500/mdfld_device.c pipe->vtotal = PSB_RVDC32(map->vtotal); pipe 194 drivers/gpu/drm/gma500/mdfld_device.c pipe->vblank = PSB_RVDC32(map->vblank); pipe 195 drivers/gpu/drm/gma500/mdfld_device.c pipe->vsync = PSB_RVDC32(map->vsync); pipe 196 drivers/gpu/drm/gma500/mdfld_device.c pipe->src = PSB_RVDC32(map->src); pipe 197 drivers/gpu/drm/gma500/mdfld_device.c pipe->stride = PSB_RVDC32(map->stride); pipe 198 drivers/gpu/drm/gma500/mdfld_device.c pipe->linoff = PSB_RVDC32(map->linoff); pipe 199 drivers/gpu/drm/gma500/mdfld_device.c pipe->tileoff = PSB_RVDC32(map->tileoff); pipe 200 drivers/gpu/drm/gma500/mdfld_device.c pipe->size = PSB_RVDC32(map->size); pipe 201 drivers/gpu/drm/gma500/mdfld_device.c pipe->pos = PSB_RVDC32(map->pos); pipe 202 drivers/gpu/drm/gma500/mdfld_device.c pipe->surf = PSB_RVDC32(map->surf); pipe 203 drivers/gpu/drm/gma500/mdfld_device.c pipe->cntr = PSB_RVDC32(map->cntr); pipe 204 drivers/gpu/drm/gma500/mdfld_device.c pipe->status = PSB_RVDC32(map->status); pipe 208 drivers/gpu/drm/gma500/mdfld_device.c pipe->palette[i] = PSB_RVDC32(map->palette + (i << 2)); pipe 238 drivers/gpu/drm/gma500/mdfld_device.c struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum]; pipe 248 drivers/gpu/drm/gma500/mdfld_device.c u32 dpll_val = pipe->dpll; pipe 276 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->fp0, map->fp0); pipe 292 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->fp0, map->fp0); pipe 316 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->htotal, map->htotal); pipe 317 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->hblank, map->hblank); pipe 318 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->hsync, map->hsync); pipe 319 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->vtotal, map->vtotal); pipe 320 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->vblank, map->vblank); pipe 321 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->vsync, map->vsync); pipe 322 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->src, map->src); pipe 323 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->status, map->status); pipe 326 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->stride, map->stride); pipe 327 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->linoff, map->linoff); pipe 328 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->tileoff, map->tileoff); pipe 329 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->size, map->size); pipe 330 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->pos, map->pos); pipe 331 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->surf, map->surf); pipe 337 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); pipe 347 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->cntr & ~DISPLAY_PLANE_ENABLE, map->cntr); pipe 365 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->cntr, map->cntr); pipe 394 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->conf, map->conf); pipe 399 drivers/gpu/drm/gma500/mdfld_device.c PSB_WVDC32(pipe->palette[i], map->palette + (i << 2)); pipe 37 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe); pipe 39 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_wait_for_HS_DATA_FIFO(struct drm_device *dev, u32 pipe) pipe 41 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); pipe 57 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_wait_for_HS_CTRL_FIFO(struct drm_device *dev, u32 pipe) pipe 59 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); pipe 74 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_wait_for_DPI_CTRL_FIFO(struct drm_device *dev, u32 pipe) pipe 76 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); pipe 92 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_wait_for_SPL_PKG_SENT(struct drm_device *dev, u32 pipe) pipe 94 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 intr_stat_reg = MIPI_INTR_STAT_REG(pipe); pipe 113 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 115 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_FLD_MOD(MIPI_DEVICE_READY_REG(pipe), !!state, 0, 0); pipe 119 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int state, int pipe) pipe 125 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 dspcntr = dev_priv->dspcntr[pipe]; pipe 128 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (pipe) { pipe 145 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 dspbase_reg = pipe ? MDFLD_DSPCBASE : MRST_DSPABASE; pipe 148 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_FLD_MOD(MIPI_DEVICE_READY_REG(pipe), 2, 2, 1); pipe 149 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_DEVICE_READY_REG(pipe)); /* posted write? */ pipe 152 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_FLD_MOD(MIPI_PORT_CONTROL(pipe), 0, 16, 16); pipe 153 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)); /* posted write? */ pipe 169 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (REG_BIT_WAIT(MIPI_GEN_FIFO_STAT_REG(pipe), 1, 28)) pipe 176 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 185 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (!dev_priv->dpi_panel_on[pipe]) { pipe 191 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_set_pipe_plane_enable_state(dev, 0, pipe); pipe 192 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_shut_down(dpi_output, pipe); pipe 193 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_set_device_ready_state(dev, 0, pipe); pipe 197 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 206 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (dev_priv->dpi_panel_on[pipe]) { pipe 212 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_shut_down(dpi_output, pipe); pipe 213 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_set_device_ready_state(dev, 0, pipe); pipe 215 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_set_device_ready_state(dev, 1, pipe); pipe 218 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_turn_on(dpi_output, pipe); /* Send turn on command */ pipe 219 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_set_pipe_plane_enable_state(dev, 1, pipe); pipe 231 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_dsi_tpo_ic_init(struct mdfld_dsi_config *dsi_config, u32 pipe) pipe 235 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 gen_data_reg = MIPI_HS_GEN_DATA_REG(pipe); pipe 236 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c u32 gen_ctrl_reg = MIPI_HS_GEN_CTRL_REG(pipe); pipe 244 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 246 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 250 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 252 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 256 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 258 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 262 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 264 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 268 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 270 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 272 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 276 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 278 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 282 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 284 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 286 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 288 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 292 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 294 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 296 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 298 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 300 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 304 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 306 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 308 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 312 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 314 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 318 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 320 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 322 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 324 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 326 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 328 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 332 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 334 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 336 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 338 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 342 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 344 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 346 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 348 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 352 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 354 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 356 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 358 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 360 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 362 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 364 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 366 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 368 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 370 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 372 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 374 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 376 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 378 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 382 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 384 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 386 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 388 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 390 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 392 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 394 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 396 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 398 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 400 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 402 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 404 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 406 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 408 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 412 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_DATA_FIFO(dev, pipe); pipe 414 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_HS_CTRL_FIFO(dev, pipe); pipe 469 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 478 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_FLD_MOD(MIPI_DEVICE_READY_REG(pipe), 0, 0, 0); pipe 481 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_CTRL_REG(pipe), 0x00000018); pipe 484 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INTR_EN_REG(pipe), 0xffffffff); pipe 504 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DSI_FUNC_PRG_REG(pipe), val); pipe 506 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HS_TX_TIMEOUT_REG(pipe), pipe 509 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_LP_RX_TIMEOUT_REG(pipe), pipe 513 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_TURN_AROUND_TIMEOUT_REG(pipe), pipe 517 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DEVICE_RESET_TIMER_REG(pipe), pipe 520 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPI_RESOLUTION_REG(pipe), pipe 527 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HSYNC_COUNT_REG(pipe), pipe 529 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HBP_COUNT_REG(pipe), pipe 531 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HFP_COUNT_REG(pipe), pipe 533 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HACTIVE_COUNT_REG(pipe), pipe 535 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VSYNC_COUNT_REG(pipe), pipe 537 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VBP_COUNT_REG(pipe), pipe 539 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VFP_COUNT_REG(pipe), pipe 542 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HIGH_LOW_SWITCH_COUNT_REG(pipe), 0x46); pipe 545 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INIT_COUNT_REG(pipe), 0x000007d0); pipe 549 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VIDEO_MODE_FORMAT_REG(pipe), val); pipe 551 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_EOT_DISABLE_REG(pipe), 0x00000000); pipe 553 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_LP_BYTECLK_REG(pipe), 0x00000004); pipe 556 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 557 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPHY_PARAM_REG(pipe), 0x2A0c6008); pipe 559 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPHY_PARAM_REG(pipe), 0x150c3408); pipe 561 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_CLK_LANE_SWITCH_TIME_CNT_REG(pipe), (0xa << 16) | 0x14); pipe 563 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 567 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_FLD_MOD(MIPI_DEVICE_READY_REG(pipe), 1, 0, 0); pipe 570 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c void mdfld_dsi_dpi_turn_on(struct mdfld_dsi_dpi_output *output, int pipe) pipe 575 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (REG_READ(MIPI_INTR_STAT_REG(pipe)) & DSI_INTR_STATE_SPL_PKG_SENT) pipe 576 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INTR_STAT_REG(pipe), pipe 580 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPI_CONTROL_REG(pipe), DSI_DPI_CTRL_HS_TURN_ON); pipe 583 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_SPL_PKG_SENT(dev, pipe); pipe 585 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (REG_READ(MIPI_INTR_STAT_REG(pipe)) & DSI_INTR_STATE_SPL_PKG_SENT) pipe 586 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INTR_STAT_REG(pipe), pipe 600 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 611 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_wait_for_DPI_CTRL_FIFO(dev, pipe); pipe 614 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (REG_READ(MIPI_INTR_STAT_REG(pipe)) & DSI_INTR_STATE_SPL_PKG_SENT) pipe 615 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INTR_STAT_REG(pipe), pipe 618 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (REG_READ(MIPI_DPI_CONTROL_REG(pipe)) == DSI_DPI_CTRL_HS_SHUTDOWN) pipe 621 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPI_CONTROL_REG(pipe), DSI_DPI_CTRL_HS_SHUTDOWN); pipe 642 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe = mdfld_dsi_encoder_get_pipe(dsi_encoder); pipe 651 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TMD_VID) pipe 652 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_turn_on(dpi_output, pipe); pipe 653 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c else if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 654 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_configure_up(dsi_encoder, pipe); pipe 657 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_PORT_CONTROL(pipe), pipe 658 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)) | BIT(31)); pipe 659 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)); pipe 661 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_turn_on(dpi_output, pipe); pipe 662 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_tpo_ic_init(dsi_config, pipe); pipe 664 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dev_priv->dpi_panel_on[pipe] = true; pipe 666 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TMD_VID) pipe 667 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_shut_down(dpi_output, pipe); pipe 668 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c else if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 669 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_configure_down(dsi_encoder, pipe); pipe 671 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_shut_down(dpi_output, pipe); pipe 674 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_PORT_CONTROL(pipe), pipe 675 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)) & ~BIT(31)); pipe 676 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)); pipe 678 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dev_priv->dpi_panel_on[pipe] = false; pipe 725 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mipi_set_properties(struct mdfld_dsi_config *dsi_config, int pipe) pipe 729 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_CTRL_REG(pipe), 0x00000018); pipe 730 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INTR_EN_REG(pipe), 0xffffffff); pipe 731 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HS_TX_TIMEOUT_REG(pipe), 0xffffff); pipe 732 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_LP_RX_TIMEOUT_REG(pipe), 0xffffff); pipe 733 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_TURN_AROUND_TIMEOUT_REG(pipe), 0x14); pipe 734 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DEVICE_RESET_TIMER_REG(pipe), 0xff); pipe 735 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HIGH_LOW_SWITCH_COUNT_REG(pipe), 0x25); pipe 736 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_INIT_COUNT_REG(pipe), 0xf0); pipe 737 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_EOT_DISABLE_REG(pipe), 0x00000000); pipe 738 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_LP_BYTECLK_REG(pipe), 0x00000004); pipe 739 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DBI_BW_CTRL_REG(pipe), 0x00000820); pipe 740 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_CLK_LANE_SWITCH_TIME_CNT_REG(pipe), (0xa << 16) | 0x14); pipe 744 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe) pipe 754 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPI_RESOLUTION_REG(pipe), pipe 756 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HSYNC_COUNT_REG(pipe), pipe 758 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HBP_COUNT_REG(pipe), pipe 760 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HFP_COUNT_REG(pipe), pipe 762 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_HACTIVE_COUNT_REG(pipe), pipe 764 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VSYNC_COUNT_REG(pipe), pipe 766 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VBP_COUNT_REG(pipe), pipe 768 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VFP_COUNT_REG(pipe), pipe 772 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_mipi_config(struct mdfld_dsi_config *dsi_config, int pipe) pipe 777 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (pipe) { pipe 785 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPHY_PARAM_REG(pipe), 0x150A600F); pipe 786 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_VIDEO_MODE_FORMAT_REG(pipe), 0x0000000F); pipe 789 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DSI_FUNC_PRG_REG(pipe), 0x00000200 | lane_count); pipe 791 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_mipi_set_video_timing(dsi_config, pipe); pipe 794 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_set_pipe_timing(struct mdfld_dsi_config *dsi_config, int pipe) pipe 825 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe = mdfld_dsi_encoder_get_pipe(dsi_encoder); pipe 832 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (WARN_ON(pipe < 0)) pipe 835 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pipeconf = dev_priv->pipeconf[pipe]; pipe 836 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dspcntr = dev_priv->dspcntr[pipe]; pipe 838 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (pipe) { pipe 842 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 852 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TC35876X) { pipe 871 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_DPHY_PARAM_REG(pipe), 0x2A0c6008); pipe 873 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mipi_set_properties(dsi_config, pipe); pipe 874 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_mipi_config(dsi_config, pipe); pipe 875 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_set_pipe_timing(dsi_config, pipe); pipe 887 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_PORT_CONTROL(pipe), 0x80810000); pipe 890 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_WRITE(MIPI_PORT_CONTROL(pipe), mipi); pipe 892 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c REG_READ(MIPI_PORT_CONTROL(pipe)); pipe 894 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TMD_VID) { pipe 896 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c } else if (mdfld_get_panel_type(dev, pipe) == TC35876X) { pipe 898 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_controller_init(dsi_config, pipe); pipe 902 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dev_priv->dpi_panel_on[pipe] = true; pipe 905 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_turn_on(dpi_output, pipe); pipe 918 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) == TMD_VID) { pipe 920 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c } else if (mdfld_get_panel_type(dev, pipe) == TC35876X) { pipe 921 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_dpi_turn_on(dpi_output, pipe); pipe 924 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_tpo_ic_init(dsi_config, pipe); pipe 926 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c mdfld_dsi_brightness_init(dsi_config, pipe); pipe 945 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int pipe; pipe 949 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pipe = dsi_connector->pipe; pipe 951 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) != TC35876X) { pipe 956 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c ret = p_funcs->reset(pipe); pipe 958 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c DRM_ERROR("Panel %d hard-reset failed\n", pipe); pipe 965 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c p_funcs->drv_ic_init(dsi_config, pipe); pipe 970 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c DRM_ERROR("Panel %d get power mode failed\n", pipe); pipe 973 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c DRM_INFO("pipe %d power mode 0x%x\n", pipe, data); pipe 986 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (mdfld_get_panel_type(dev, pipe) != TC35876X) pipe 1007 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c if (dsi_connector->pipe) { pipe 76 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h int pipe); pipe 78 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h int pipe); pipe 93 drivers/gpu/drm/gma500/mdfld_dsi_output.c void mdfld_dsi_brightness_init(struct mdfld_dsi_config *dsi_config, int pipe) pipe 134 drivers/gpu/drm/gma500/mdfld_dsi_output.c void mdfld_dsi_brightness_control(struct drm_device *dev, int pipe, int level) pipe 142 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (!dev || (pipe != 0 && pipe != 2)) { pipe 151 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (pipe) pipe 166 drivers/gpu/drm/gma500/mdfld_dsi_output.c pipe, gen_ctrl_val); pipe 217 drivers/gpu/drm/gma500/mdfld_dsi_output.c void mdfld_dsi_controller_init(struct mdfld_dsi_config *dsi_config, int pipe) pipe 219 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (!dsi_config || ((pipe != 0) && (pipe != 2))) { pipe 224 drivers/gpu/drm/gma500/mdfld_dsi_output.c mdfld_dsi_dpi_controller_init(dsi_config, pipe); pipe 410 drivers/gpu/drm/gma500/mdfld_dsi_output.c struct mdfld_dsi_config *config, int pipe) pipe 418 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 424 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (mdfld_get_panel_type(dev, pipe) == TMD_VID) pipe 426 drivers/gpu/drm/gma500/mdfld_dsi_output.c else if (mdfld_get_panel_type(dev, pipe) == TC35876X) pipe 435 drivers/gpu/drm/gma500/mdfld_dsi_output.c int mdfld_dsi_panel_reset(int pipe) pipe 440 drivers/gpu/drm/gma500/mdfld_dsi_output.c switch (pipe) { pipe 483 drivers/gpu/drm/gma500/mdfld_dsi_output.c int pipe, pipe 494 drivers/gpu/drm/gma500/mdfld_dsi_output.c dev_dbg(dev->dev, "init DSI output on pipe %d\n", pipe); pipe 496 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (pipe != 0 && pipe != 2) { pipe 508 drivers/gpu/drm/gma500/mdfld_dsi_output.c dsi_connector->pipe = pipe; pipe 516 drivers/gpu/drm/gma500/mdfld_dsi_output.c mdfld_dsi_get_default_config(dev, dsi_config, pipe); pipe 524 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (p_vid_funcs->get_panel_info(dev, pipe, &dsi_panel_info)) pipe 538 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (pipe && dev_priv->dsi_configs[0]) { pipe 541 drivers/gpu/drm/gma500/mdfld_dsi_output.c } else if (pipe == 0) { pipe 573 drivers/gpu/drm/gma500/mdfld_dsi_output.c if (mdfld_dsi_pkg_sender_init(dsi_connector, pipe)) { pipe 575 drivers/gpu/drm/gma500/mdfld_dsi_output.c pipe); pipe 586 drivers/gpu/drm/gma500/mdfld_dsi_output.c encoder->base.type = (pipe == 0) ? INTEL_OUTPUT_MIPI : pipe 75 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define CHECK_PIPE(pipe) ({ \ pipe 76 drivers/gpu/drm/gma500/mdfld_dsi_output.h const typeof(pipe) __pipe = (pipe); \ pipe 80 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define CHECK_PIPE(pipe) (pipe) pipe 86 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define REG_OFFSET(pipe) (CHECK_PIPE(pipe) * 0x400) pipe 89 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DEVICE_READY_REG(pipe) (0xb000 + REG_OFFSET(pipe)) pipe 90 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_INTR_STAT_REG(pipe) (0xb004 + REG_OFFSET(pipe)) pipe 91 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_INTR_EN_REG(pipe) (0xb008 + REG_OFFSET(pipe)) pipe 92 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DSI_FUNC_PRG_REG(pipe) (0xb00c + REG_OFFSET(pipe)) pipe 93 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HS_TX_TIMEOUT_REG(pipe) (0xb010 + REG_OFFSET(pipe)) pipe 94 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_LP_RX_TIMEOUT_REG(pipe) (0xb014 + REG_OFFSET(pipe)) pipe 95 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_TURN_AROUND_TIMEOUT_REG(pipe) (0xb018 + REG_OFFSET(pipe)) pipe 96 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DEVICE_RESET_TIMER_REG(pipe) (0xb01c + REG_OFFSET(pipe)) pipe 97 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DPI_RESOLUTION_REG(pipe) (0xb020 + REG_OFFSET(pipe)) pipe 98 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DBI_FIFO_THROTTLE_REG(pipe) (0xb024 + REG_OFFSET(pipe)) pipe 99 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HSYNC_COUNT_REG(pipe) (0xb028 + REG_OFFSET(pipe)) pipe 100 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HBP_COUNT_REG(pipe) (0xb02c + REG_OFFSET(pipe)) pipe 101 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HFP_COUNT_REG(pipe) (0xb030 + REG_OFFSET(pipe)) pipe 102 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HACTIVE_COUNT_REG(pipe) (0xb034 + REG_OFFSET(pipe)) pipe 103 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_VSYNC_COUNT_REG(pipe) (0xb038 + REG_OFFSET(pipe)) pipe 104 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_VBP_COUNT_REG(pipe) (0xb03c + REG_OFFSET(pipe)) pipe 105 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_VFP_COUNT_REG(pipe) (0xb040 + REG_OFFSET(pipe)) pipe 106 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HIGH_LOW_SWITCH_COUNT_REG(pipe) (0xb044 + REG_OFFSET(pipe)) pipe 107 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DPI_CONTROL_REG(pipe) (0xb048 + REG_OFFSET(pipe)) pipe 108 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DPI_DATA_REG(pipe) (0xb04c + REG_OFFSET(pipe)) pipe 109 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_INIT_COUNT_REG(pipe) (0xb050 + REG_OFFSET(pipe)) pipe 110 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_MAX_RETURN_PACK_SIZE_REG(pipe) (0xb054 + REG_OFFSET(pipe)) pipe 111 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_VIDEO_MODE_FORMAT_REG(pipe) (0xb058 + REG_OFFSET(pipe)) pipe 112 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_EOT_DISABLE_REG(pipe) (0xb05c + REG_OFFSET(pipe)) pipe 113 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_LP_BYTECLK_REG(pipe) (0xb060 + REG_OFFSET(pipe)) pipe 114 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_LP_GEN_DATA_REG(pipe) (0xb064 + REG_OFFSET(pipe)) pipe 115 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HS_GEN_DATA_REG(pipe) (0xb068 + REG_OFFSET(pipe)) pipe 116 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_LP_GEN_CTRL_REG(pipe) (0xb06c + REG_OFFSET(pipe)) pipe 117 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HS_GEN_CTRL_REG(pipe) (0xb070 + REG_OFFSET(pipe)) pipe 118 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_GEN_FIFO_STAT_REG(pipe) (0xb074 + REG_OFFSET(pipe)) pipe 119 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_HS_LS_DBI_ENABLE_REG(pipe) (0xb078 + REG_OFFSET(pipe)) pipe 120 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DPHY_PARAM_REG(pipe) (0xb080 + REG_OFFSET(pipe)) pipe 121 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DBI_BW_CTRL_REG(pipe) (0xb084 + REG_OFFSET(pipe)) pipe 122 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_CLK_LANE_SWITCH_TIME_CNT_REG(pipe) (0xb088 + REG_OFFSET(pipe)) pipe 124 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_CTRL_REG(pipe) (0xb104 + REG_OFFSET(pipe)) pipe 125 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DATA_ADD_REG(pipe) (0xb108 + REG_OFFSET(pipe)) pipe 126 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_DATA_LEN_REG(pipe) (0xb10c + REG_OFFSET(pipe)) pipe 127 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_CMD_ADD_REG(pipe) (0xb110 + REG_OFFSET(pipe)) pipe 128 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_CMD_LEN_REG(pipe) (0xb114 + REG_OFFSET(pipe)) pipe 131 drivers/gpu/drm/gma500/mdfld_dsi_output.h #define MIPI_PORT_CONTROL(pipe) (CHECK_PIPE(pipe) ? MIPI_C : MIPI) pipe 232 drivers/gpu/drm/gma500/mdfld_dsi_output.h int pipe; pipe 357 drivers/gpu/drm/gma500/mdfld_dsi_output.h return connector->pipe; pipe 364 drivers/gpu/drm/gma500/mdfld_dsi_output.h int pipe); pipe 365 drivers/gpu/drm/gma500/mdfld_dsi_output.h extern void mdfld_dsi_brightness_control(struct drm_device *dev, int pipe, pipe 368 drivers/gpu/drm/gma500/mdfld_dsi_output.h int pipe, pipe 371 drivers/gpu/drm/gma500/mdfld_dsi_output.h int pipe); pipe 375 drivers/gpu/drm/gma500/mdfld_dsi_output.h extern int mdfld_dsi_panel_reset(int pipe); pipe 593 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c int pipe) pipe 600 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 622 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->pipe = pipe; pipe 636 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_intr_stat_reg = MIPI_INTR_STAT_REG(pipe); pipe 637 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_lp_gen_data_reg = MIPI_LP_GEN_DATA_REG(pipe); pipe 638 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_hs_gen_data_reg = MIPI_HS_GEN_DATA_REG(pipe); pipe 639 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_lp_gen_ctrl_reg = MIPI_LP_GEN_CTRL_REG(pipe); pipe 640 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_hs_gen_ctrl_reg = MIPI_HS_GEN_CTRL_REG(pipe); pipe 641 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); pipe 642 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_data_addr_reg = MIPI_DATA_ADD_REG(pipe); pipe 643 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_data_len_reg = MIPI_DATA_LEN_REG(pipe); pipe 644 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_cmd_addr_reg = MIPI_CMD_ADD_REG(pipe); pipe 645 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c pkg_sender->mipi_cmd_len_reg = MIPI_CMD_LEN_REG(pipe); pipe 650 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c if (mdfld_get_panel_type(dev, pipe) != TC35876X) { pipe 657 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c if (pipe == 0) pipe 660 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c REG_WRITE(MIPI_PORT_CONTROL(pipe), mipi_val); pipe 661 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c REG_READ(MIPI_PORT_CONTROL(pipe)); pipe 664 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c mdfld_dsi_controller_init(dsi_config, pipe); pipe 39 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h int pipe; pipe 66 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h int pipe); pipe 42 drivers/gpu/drm/gma500/mdfld_intel_display.c void mdfldWaitForPipeDisable(struct drm_device *dev, int pipe) pipe 45 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 48 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (pipe) { pipe 70 drivers/gpu/drm/gma500/mdfld_intel_display.c void mdfldWaitForPipeEnable(struct drm_device *dev, int pipe) pipe 73 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 76 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (pipe) { pipe 161 drivers/gpu/drm/gma500/mdfld_intel_display.c int pipe = gma_crtc->pipe; pipe 162 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 169 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_dbg(dev->dev, "pipe = 0x%x.\n", pipe); pipe 181 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe > 2) { pipe 229 drivers/gpu/drm/gma500/mdfld_intel_display.c void mdfld_disable_crtc(struct drm_device *dev, int pipe) pipe 232 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 235 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_dbg(dev->dev, "pipe = %d\n", pipe); pipe 238 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe != 1) pipe 239 drivers/gpu/drm/gma500/mdfld_intel_display.c mdfld_dsi_gen_fifo_ready(dev, MIPI_GEN_FIFO_STAT_REG(pipe), pipe 263 drivers/gpu/drm/gma500/mdfld_intel_display.c mdfldWaitForPipeDisable(dev, pipe); pipe 268 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((pipe != 1 && pipe 270 drivers/gpu/drm/gma500/mdfld_intel_display.c & PIPEACONF_ENABLE)) || pipe == 1) { pipe 300 drivers/gpu/drm/gma500/mdfld_intel_display.c int pipe = gma_crtc->pipe; pipe 301 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 302 drivers/gpu/drm/gma500/mdfld_intel_display.c u32 pipeconf = dev_priv->pipeconf[pipe]; pipe 306 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_dbg(dev->dev, "mode = %d, pipe = %d\n", mode, pipe); pipe 347 drivers/gpu/drm/gma500/mdfld_intel_display.c while ((pipe != 2) && (timeout < 20000) && pipe 369 drivers/gpu/drm/gma500/mdfld_intel_display.c mdfldWaitForPipeEnable(dev, pipe); pipe 374 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe == 0 || pipe == 2) { pipe 393 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(MIPI_DEVICE_READY_REG(pipe), 0); pipe 397 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(MIPI_DEVICE_READY_REG(pipe), 1); pipe 422 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe != 1) pipe 424 drivers/gpu/drm/gma500/mdfld_intel_display.c MIPI_GEN_FIFO_STAT_REG(pipe), pipe 449 drivers/gpu/drm/gma500/mdfld_intel_display.c mdfldWaitForPipeDisable(dev, pipe); pipe 454 drivers/gpu/drm/gma500/mdfld_intel_display.c if ((pipe != 1 && !((REG_READ(PIPEACONF) pipe 456 drivers/gpu/drm/gma500/mdfld_intel_display.c || pipe == 1) { pipe 665 drivers/gpu/drm/gma500/mdfld_intel_display.c int pipe = gma_crtc->pipe; pipe 666 drivers/gpu/drm/gma500/mdfld_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 682 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_dbg(dev->dev, "pipe = 0x%x\n", pipe); pipe 685 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe == 1) { pipe 756 drivers/gpu/drm/gma500/mdfld_intel_display.c if (psb_intel_panel_fitter_pipe(dev) == pipe) pipe 762 drivers/gpu/drm/gma500/mdfld_intel_display.c if (pipe == 1) { pipe 845 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_priv->pipeconf[pipe] = PIPEACONF_ENABLE; /* FIXME_JLIU7 REG_READ(pipeconf_reg); */ pipe 848 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_priv->dspcntr[pipe] = REG_READ(map->cntr); pipe 849 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_priv->dspcntr[pipe] |= pipe << DISPPLANE_SEL_PIPE_POS; pipe 850 drivers/gpu/drm/gma500/mdfld_intel_display.c dev_priv->dspcntr[pipe] |= DISPLAY_PLANE_ENABLE; pipe 1000 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->conf, dev_priv->pipeconf[pipe]); pipe 1004 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->cntr, dev_priv->dspcntr[pipe]); pipe 34 drivers/gpu/drm/gma500/mdfld_output.c int mdfld_get_panel_type(struct drm_device *dev, int pipe) pipe 58 drivers/gpu/drm/gma500/mdfld_output.h int (*reset)(int pipe); pipe 59 drivers/gpu/drm/gma500/mdfld_output.h void (*drv_ic_init)(struct mdfld_dsi_config *dsi_config, int pipe); pipe 67 drivers/gpu/drm/gma500/mdfld_output.h int mdfld_get_panel_type(struct drm_device *dev, int pipe); pipe 74 drivers/gpu/drm/gma500/mdfld_output.h extern void mdfld_disable_crtc(struct drm_device *dev, int pipe); pipe 75 drivers/gpu/drm/gma500/mdfld_output.h extern void mdfldWaitForPipeEnable(struct drm_device *dev, int pipe); pipe 76 drivers/gpu/drm/gma500/mdfld_output.h extern void mdfldWaitForPipeDisable(struct drm_device *dev, int pipe); pipe 97 drivers/gpu/drm/gma500/mdfld_tmd_vid.c int pipe, pipe 134 drivers/gpu/drm/gma500/mdfld_tmd_vid.c int pipe) pipe 57 drivers/gpu/drm/gma500/mdfld_tpo_vid.c int pipe, pipe 219 drivers/gpu/drm/gma500/oaktrail_crtc.c int pipe = gma_crtc->pipe; pipe 220 drivers/gpu/drm/gma500/oaktrail_crtc.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 365 drivers/gpu/drm/gma500/oaktrail_crtc.c int pipe = gma_crtc->pipe; pipe 366 drivers/gpu/drm/gma500/oaktrail_crtc.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 418 drivers/gpu/drm/gma500/oaktrail_crtc.c if (oaktrail_panel_fitter_pipe(dev) == pipe) pipe 490 drivers/gpu/drm/gma500/oaktrail_crtc.c if (pipe == 0) pipe 595 drivers/gpu/drm/gma500/oaktrail_crtc.c int pipe = gma_crtc->pipe; pipe 596 drivers/gpu/drm/gma500/oaktrail_crtc.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 183 drivers/gpu/drm/gma500/oaktrail_device.c struct psb_pipe *p = ®s->pipe[0]; pipe 297 drivers/gpu/drm/gma500/oaktrail_device.c struct psb_pipe *p = ®s->pipe[0]; pipe 270 drivers/gpu/drm/gma500/oaktrail_hdmi.c int pipe = 1; pipe 271 drivers/gpu/drm/gma500/oaktrail_hdmi.c int htot_reg = (pipe == 0) ? HTOTAL_A : HTOTAL_B; pipe 272 drivers/gpu/drm/gma500/oaktrail_hdmi.c int hblank_reg = (pipe == 0) ? HBLANK_A : HBLANK_B; pipe 273 drivers/gpu/drm/gma500/oaktrail_hdmi.c int hsync_reg = (pipe == 0) ? HSYNC_A : HSYNC_B; pipe 274 drivers/gpu/drm/gma500/oaktrail_hdmi.c int vtot_reg = (pipe == 0) ? VTOTAL_A : VTOTAL_B; pipe 275 drivers/gpu/drm/gma500/oaktrail_hdmi.c int vblank_reg = (pipe == 0) ? VBLANK_A : VBLANK_B; pipe 276 drivers/gpu/drm/gma500/oaktrail_hdmi.c int vsync_reg = (pipe == 0) ? VSYNC_A : VSYNC_B; pipe 277 drivers/gpu/drm/gma500/oaktrail_hdmi.c int dspsize_reg = (pipe == 0) ? DSPASIZE : DSPBSIZE; pipe 278 drivers/gpu/drm/gma500/oaktrail_hdmi.c int dsppos_reg = (pipe == 0) ? DSPAPOS : DSPBPOS; pipe 279 drivers/gpu/drm/gma500/oaktrail_hdmi.c int pipesrc_reg = (pipe == 0) ? PIPEASRC : PIPEBSRC; pipe 280 drivers/gpu/drm/gma500/oaktrail_hdmi.c int pipeconf_reg = (pipe == 0) ? PIPEACONF : PIPEBCONF; pipe 758 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct psb_pipe *pipeb = &dev_priv->regs.pipe[1]; pipe 811 drivers/gpu/drm/gma500/oaktrail_hdmi.c struct psb_pipe *pipeb = &dev_priv->regs.pipe[1]; pipe 413 drivers/gpu/drm/gma500/psb_drv.h struct psb_pipe pipe[3]; pipe 682 drivers/gpu/drm/gma500/psb_drv.h extern int psb_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 683 drivers/gpu/drm/gma500/psb_drv.h extern void psb_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 685 drivers/gpu/drm/gma500/psb_drv.h psb_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask); pipe 688 drivers/gpu/drm/gma500/psb_drv.h psb_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask); pipe 690 drivers/gpu/drm/gma500/psb_drv.h extern u32 psb_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 101 drivers/gpu/drm/gma500/psb_intel_display.c int pipe = gma_crtc->pipe; pipe 102 drivers/gpu/drm/gma500/psb_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 196 drivers/gpu/drm/gma500/psb_intel_display.c if (pipe == 0) pipe 207 drivers/gpu/drm/gma500/psb_intel_display.c if (psb_intel_panel_fitter_pipe(dev) == pipe) pipe 227 drivers/gpu/drm/gma500/psb_intel_display.c if (pipe == 1) pipe 302 drivers/gpu/drm/gma500/psb_intel_display.c int pipe = gma_crtc->pipe; pipe 303 drivers/gpu/drm/gma500/psb_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 308 drivers/gpu/drm/gma500/psb_intel_display.c struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; pipe 316 drivers/gpu/drm/gma500/psb_intel_display.c is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN); pipe 326 drivers/gpu/drm/gma500/psb_intel_display.c is_lvds = (pipe == 1) && (dev_priv->regs.psb.saveLVDS & pipe 377 drivers/gpu/drm/gma500/psb_intel_display.c int pipe = gma_crtc->pipe; pipe 384 drivers/gpu/drm/gma500/psb_intel_display.c struct psb_pipe *p = &dev_priv->regs.pipe[pipe]; pipe 385 drivers/gpu/drm/gma500/psb_intel_display.c const struct psb_offset *map = &dev_priv->regmap[pipe]; pipe 473 drivers/gpu/drm/gma500/psb_intel_display.c REG_WRITE(control[gma_crtc->pipe], 0); pipe 474 drivers/gpu/drm/gma500/psb_intel_display.c REG_WRITE(base[gma_crtc->pipe], 0); pipe 477 drivers/gpu/drm/gma500/psb_intel_display.c void psb_intel_crtc_init(struct drm_device *dev, int pipe, pipe 507 drivers/gpu/drm/gma500/psb_intel_display.c gma_crtc->pipe = pipe; pipe 508 drivers/gpu/drm/gma500/psb_intel_display.c gma_crtc->plane = pipe; pipe 521 drivers/gpu/drm/gma500/psb_intel_display.c BUG_ON(pipe >= ARRAY_SIZE(dev_priv->plane_to_crtc_mapping) || pipe 524 drivers/gpu/drm/gma500/psb_intel_display.c dev_priv->pipe_to_crtc_mapping[gma_crtc->pipe] = &gma_crtc->base; pipe 533 drivers/gpu/drm/gma500/psb_intel_display.c struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev, int pipe) pipe 539 drivers/gpu/drm/gma500/psb_intel_display.c if (gma_crtc->pipe == pipe) pipe 159 drivers/gpu/drm/gma500/psb_intel_drv.h int pipe; pipe 203 drivers/gpu/drm/gma500/psb_intel_drv.h extern void psb_intel_crtc_init(struct drm_device *dev, int pipe, pipe 234 drivers/gpu/drm/gma500/psb_intel_drv.h int pipe); pipe 377 drivers/gpu/drm/gma500/psb_intel_lvds.c if (!IS_MRST(dev) && gma_crtc->pipe == 0) { pipe 381 drivers/gpu/drm/gma500/psb_intel_lvds.c if (IS_MRST(dev) && gma_crtc->pipe != 0) { pipe 655 drivers/gpu/drm/gma500/psb_intel_lvds.c int pipe; pipe 773 drivers/gpu/drm/gma500/psb_intel_lvds.c pipe = (lvds & LVDS_PIPEB_SELECT) ? 1 : 0; pipe 774 drivers/gpu/drm/gma500/psb_intel_lvds.c crtc = psb_intel_get_crtc_from_pipe(dev, pipe); pipe 1283 drivers/gpu/drm/gma500/psb_intel_reg.h #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a))) pipe 1324 drivers/gpu/drm/gma500/psb_intel_reg.h #define SB_M(pipe) _PIPE(pipe, _SB_M_A, _SB_M_B) pipe 1330 drivers/gpu/drm/gma500/psb_intel_reg.h #define SB_N_VCO(pipe) _PIPE(pipe, _SB_N_VCO_A, _SB_N_VCO_B) pipe 1349 drivers/gpu/drm/gma500/psb_intel_reg.h #define SB_REF_SFR(pipe) _PIPE(pipe, _SB_REF_A, _SB_REF_B) pipe 1353 drivers/gpu/drm/gma500/psb_intel_reg.h #define SB_P(pipe) _PIPE(pipe, _SB_P_A, _SB_P_B) pipe 1523 drivers/gpu/drm/gma500/psb_intel_reg.h #define PIPE_GMCH_DATA_M(pipe) _PIPE(pipe, _PIPEA_GMCH_DATA_M, _PIPEB_GMCH_DATA_M) pipe 1524 drivers/gpu/drm/gma500/psb_intel_reg.h #define PIPE_GMCH_DATA_N(pipe) _PIPE(pipe, _PIPEA_GMCH_DATA_N, _PIPEB_GMCH_DATA_N) pipe 1525 drivers/gpu/drm/gma500/psb_intel_reg.h #define PIPE_DP_LINK_M(pipe) _PIPE(pipe, _PIPEA_DP_LINK_M, _PIPEB_DP_LINK_M) pipe 1526 drivers/gpu/drm/gma500/psb_intel_reg.h #define PIPE_DP_LINK_N(pipe) _PIPE(pipe, _PIPEA_DP_LINK_N, _PIPEB_DP_LINK_N) pipe 1088 drivers/gpu/drm/gma500/psb_intel_sdvo.c if (gma_crtc->pipe == 1) pipe 25 drivers/gpu/drm/gma500/psb_irq.c psb_pipestat(int pipe) pipe 27 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 29 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 1) pipe 31 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 2) pipe 37 drivers/gpu/drm/gma500/psb_irq.c mid_pipe_event(int pipe) pipe 39 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 41 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 1) pipe 43 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 2) pipe 49 drivers/gpu/drm/gma500/psb_irq.c mid_pipe_vsync(int pipe) pipe 51 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 53 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 1) pipe 55 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 2) pipe 61 drivers/gpu/drm/gma500/psb_irq.c mid_pipeconf(int pipe) pipe 63 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 65 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 1) pipe 67 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 2) pipe 73 drivers/gpu/drm/gma500/psb_irq.c psb_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask) pipe 75 drivers/gpu/drm/gma500/psb_irq.c if ((dev_priv->pipestat[pipe] & mask) != mask) { pipe 76 drivers/gpu/drm/gma500/psb_irq.c u32 reg = psb_pipestat(pipe); pipe 77 drivers/gpu/drm/gma500/psb_irq.c dev_priv->pipestat[pipe] |= mask; pipe 90 drivers/gpu/drm/gma500/psb_irq.c psb_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask) pipe 92 drivers/gpu/drm/gma500/psb_irq.c if ((dev_priv->pipestat[pipe] & mask) != 0) { pipe 93 drivers/gpu/drm/gma500/psb_irq.c u32 reg = psb_pipestat(pipe); pipe 94 drivers/gpu/drm/gma500/psb_irq.c dev_priv->pipestat[pipe] &= ~mask; pipe 105 drivers/gpu/drm/gma500/psb_irq.c static void mid_enable_pipe_event(struct drm_psb_private *dev_priv, int pipe) pipe 108 drivers/gpu/drm/gma500/psb_irq.c u32 pipe_event = mid_pipe_event(pipe); pipe 116 drivers/gpu/drm/gma500/psb_irq.c static void mid_disable_pipe_event(struct drm_psb_private *dev_priv, int pipe) pipe 118 drivers/gpu/drm/gma500/psb_irq.c if (dev_priv->pipestat[pipe] == 0) { pipe 120 drivers/gpu/drm/gma500/psb_irq.c u32 pipe_event = mid_pipe_event(pipe); pipe 133 drivers/gpu/drm/gma500/psb_irq.c static void mid_pipe_event_handler(struct drm_device *dev, int pipe) pipe 139 drivers/gpu/drm/gma500/psb_irq.c uint32_t pipe_stat_reg = psb_pipestat(pipe); pipe 140 drivers/gpu/drm/gma500/psb_irq.c uint32_t pipe_enable = dev_priv->pipestat[pipe]; pipe 141 drivers/gpu/drm/gma500/psb_irq.c uint32_t pipe_status = dev_priv->pipestat[pipe] >> 16; pipe 166 drivers/gpu/drm/gma500/psb_irq.c __func__, pipe, PSB_RVDC32(pipe_stat_reg)); pipe 169 drivers/gpu/drm/gma500/psb_irq.c drm_handle_vblank(dev, pipe); pipe 172 drivers/gpu/drm/gma500/psb_irq.c drm_handle_vblank(dev, pipe); pipe 500 drivers/gpu/drm/gma500/psb_irq.c int psb_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 505 drivers/gpu/drm/gma500/psb_irq.c uint32_t pipeconf_reg = mid_pipeconf(pipe); pipe 510 drivers/gpu/drm/gma500/psb_irq.c return mdfld_enable_te(dev, pipe); pipe 522 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 524 drivers/gpu/drm/gma500/psb_irq.c else if (pipe == 1) pipe 529 drivers/gpu/drm/gma500/psb_irq.c psb_enable_pipestat(dev_priv, pipe, PIPE_VBLANK_INTERRUPT_ENABLE); pipe 539 drivers/gpu/drm/gma500/psb_irq.c void psb_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 545 drivers/gpu/drm/gma500/psb_irq.c mdfld_disable_te(dev, pipe); pipe 548 drivers/gpu/drm/gma500/psb_irq.c if (pipe == 0) pipe 550 drivers/gpu/drm/gma500/psb_irq.c else if (pipe == 1) pipe 555 drivers/gpu/drm/gma500/psb_irq.c psb_disable_pipestat(dev_priv, pipe, PIPE_VBLANK_INTERRUPT_ENABLE); pipe 563 drivers/gpu/drm/gma500/psb_irq.c int mdfld_enable_te(struct drm_device *dev, int pipe) pipe 569 drivers/gpu/drm/gma500/psb_irq.c uint32_t pipeconf_reg = mid_pipeconf(pipe); pipe 581 drivers/gpu/drm/gma500/psb_irq.c mid_enable_pipe_event(dev_priv, pipe); pipe 582 drivers/gpu/drm/gma500/psb_irq.c psb_enable_pipestat(dev_priv, pipe, PIPE_TE_ENABLE); pipe 592 drivers/gpu/drm/gma500/psb_irq.c void mdfld_disable_te(struct drm_device *dev, int pipe) pipe 603 drivers/gpu/drm/gma500/psb_irq.c mid_disable_pipe_event(dev_priv, pipe); pipe 604 drivers/gpu/drm/gma500/psb_irq.c psb_disable_pipestat(dev_priv, pipe, PIPE_TE_ENABLE); pipe 612 drivers/gpu/drm/gma500/psb_irq.c u32 psb_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 620 drivers/gpu/drm/gma500/psb_irq.c switch (pipe) { pipe 645 drivers/gpu/drm/gma500/psb_irq.c pipe); pipe 29 drivers/gpu/drm/gma500/psb_irq.h int psb_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 30 drivers/gpu/drm/gma500/psb_irq.h void psb_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 31 drivers/gpu/drm/gma500/psb_irq.h u32 psb_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 33 drivers/gpu/drm/gma500/psb_irq.h int mdfld_enable_te(struct drm_device *dev, int pipe); pipe 34 drivers/gpu/drm/gma500/psb_irq.h void mdfld_disable_te(struct drm_device *dev, int pipe); pipe 623 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c static int tc35876x_get_panel_info(struct drm_device *dev, int pipe, pipe 629 drivers/gpu/drm/i915/display/icl_dsi.c enum pipe pipe = intel_crtc->pipe; pipe 735 drivers/gpu/drm/i915/display/icl_dsi.c switch (pipe) { pipe 737 drivers/gpu/drm/i915/display/icl_dsi.c MISSING_CASE(pipe); pipe 1300 drivers/gpu/drm/i915/display/icl_dsi.c enum pipe *pipe) pipe 1320 drivers/gpu/drm/i915/display/icl_dsi.c *pipe = PIPE_A; pipe 1323 drivers/gpu/drm/i915/display/icl_dsi.c *pipe = PIPE_B; pipe 1326 drivers/gpu/drm/i915/display/icl_dsi.c *pipe = PIPE_C; pipe 290 drivers/gpu/drm/i915/display/intel_atomic.c intel_crtc->pipe, *scaler_id, name, idx); pipe 395 drivers/gpu/drm/i915/display/intel_atomic.c if (WARN_ON(intel_plane->pipe != intel_crtc->pipe)) pipe 244 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (crtc->pipe != plane->pipe || pipe 357 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (crtc->pipe != plane->pipe || pipe 558 drivers/gpu/drm/i915/display/intel_audio.c enum pipe pipe = crtc->pipe; pipe 564 drivers/gpu/drm/i915/display/intel_audio.c port_name(port), pipe_name(pipe)); pipe 570 drivers/gpu/drm/i915/display/intel_audio.c aud_config = IBX_AUD_CFG(pipe); pipe 573 drivers/gpu/drm/i915/display/intel_audio.c aud_config = VLV_AUD_CFG(pipe); pipe 576 drivers/gpu/drm/i915/display/intel_audio.c aud_config = CPT_AUD_CFG(pipe); pipe 605 drivers/gpu/drm/i915/display/intel_audio.c enum pipe pipe = crtc->pipe; pipe 613 drivers/gpu/drm/i915/display/intel_audio.c port_name(port), pipe_name(pipe), drm_eld_size(eld)); pipe 626 drivers/gpu/drm/i915/display/intel_audio.c hdmiw_hdmiedid = IBX_HDMIW_HDMIEDID(pipe); pipe 627 drivers/gpu/drm/i915/display/intel_audio.c aud_config = IBX_AUD_CFG(pipe); pipe 628 drivers/gpu/drm/i915/display/intel_audio.c aud_cntl_st = IBX_AUD_CNTL_ST(pipe); pipe 632 drivers/gpu/drm/i915/display/intel_audio.c hdmiw_hdmiedid = VLV_HDMIW_HDMIEDID(pipe); pipe 633 drivers/gpu/drm/i915/display/intel_audio.c aud_config = VLV_AUD_CFG(pipe); pipe 634 drivers/gpu/drm/i915/display/intel_audio.c aud_cntl_st = VLV_AUD_CNTL_ST(pipe); pipe 637 drivers/gpu/drm/i915/display/intel_audio.c hdmiw_hdmiedid = CPT_HDMIW_HDMIEDID(pipe); pipe 638 drivers/gpu/drm/i915/display/intel_audio.c aud_config = CPT_AUD_CFG(pipe); pipe 639 drivers/gpu/drm/i915/display/intel_audio.c aud_cntl_st = CPT_AUD_CNTL_ST(pipe); pipe 697 drivers/gpu/drm/i915/display/intel_audio.c enum pipe pipe = crtc->pipe; pipe 721 drivers/gpu/drm/i915/display/intel_audio.c dev_priv->av_enc_map[pipe] = encoder; pipe 728 drivers/gpu/drm/i915/display/intel_audio.c pipe = -1; pipe 730 drivers/gpu/drm/i915/display/intel_audio.c (int) port, (int) pipe); pipe 733 drivers/gpu/drm/i915/display/intel_audio.c intel_lpe_audio_notify(dev_priv, pipe, port, connector->eld, pipe 755 drivers/gpu/drm/i915/display/intel_audio.c enum pipe pipe = crtc->pipe; pipe 764 drivers/gpu/drm/i915/display/intel_audio.c dev_priv->av_enc_map[pipe] = NULL; pipe 771 drivers/gpu/drm/i915/display/intel_audio.c pipe = -1; pipe 773 drivers/gpu/drm/i915/display/intel_audio.c (int) port, (int) pipe); pipe 776 drivers/gpu/drm/i915/display/intel_audio.c intel_lpe_audio_notify(dev_priv, pipe, port, NULL, 0, false); pipe 927 drivers/gpu/drm/i915/display/intel_audio.c int port, int pipe) pipe 932 drivers/gpu/drm/i915/display/intel_audio.c if (pipe >= 0) { pipe 933 drivers/gpu/drm/i915/display/intel_audio.c if (WARN_ON(pipe >= ARRAY_SIZE(dev_priv->av_enc_map))) pipe 936 drivers/gpu/drm/i915/display/intel_audio.c encoder = dev_priv->av_enc_map[pipe]; pipe 948 drivers/gpu/drm/i915/display/intel_audio.c if (pipe > 0) pipe 951 drivers/gpu/drm/i915/display/intel_audio.c for_each_pipe(dev_priv, pipe) { pipe 952 drivers/gpu/drm/i915/display/intel_audio.c encoder = dev_priv->av_enc_map[pipe]; pipe 967 drivers/gpu/drm/i915/display/intel_audio.c int pipe, int rate) pipe 983 drivers/gpu/drm/i915/display/intel_audio.c encoder = get_saved_enc(dev_priv, port, pipe); pipe 1004 drivers/gpu/drm/i915/display/intel_audio.c int pipe, bool *enabled, pipe 1014 drivers/gpu/drm/i915/display/intel_audio.c intel_encoder = get_saved_enc(dev_priv, port, pipe); pipe 290 drivers/gpu/drm/i915/display/intel_bw.c bw_state->data_rate[crtc->pipe] = pipe 292 drivers/gpu/drm/i915/display/intel_bw.c bw_state->num_active_planes[crtc->pipe] = pipe 296 drivers/gpu/drm/i915/display/intel_bw.c pipe_name(crtc->pipe), pipe 297 drivers/gpu/drm/i915/display/intel_bw.c bw_state->data_rate[crtc->pipe], pipe 298 drivers/gpu/drm/i915/display/intel_bw.c bw_state->num_active_planes[crtc->pipe]); pipe 305 drivers/gpu/drm/i915/display/intel_bw.c enum pipe pipe; pipe 307 drivers/gpu/drm/i915/display/intel_bw.c for_each_pipe(dev_priv, pipe) pipe 308 drivers/gpu/drm/i915/display/intel_bw.c num_active_planes += bw_state->num_active_planes[pipe]; pipe 317 drivers/gpu/drm/i915/display/intel_bw.c enum pipe pipe; pipe 319 drivers/gpu/drm/i915/display/intel_bw.c for_each_pipe(dev_priv, pipe) pipe 320 drivers/gpu/drm/i915/display/intel_bw.c data_rate += bw_state->data_rate[pipe]; pipe 376 drivers/gpu/drm/i915/display/intel_bw.c bw_state->data_rate[crtc->pipe] = new_data_rate; pipe 377 drivers/gpu/drm/i915/display/intel_bw.c bw_state->num_active_planes[crtc->pipe] = new_active_planes; pipe 380 drivers/gpu/drm/i915/display/intel_bw.c pipe_name(crtc->pipe), pipe 381 drivers/gpu/drm/i915/display/intel_bw.c bw_state->data_rate[crtc->pipe], pipe 382 drivers/gpu/drm/i915/display/intel_bw.c bw_state->num_active_planes[crtc->pipe]); pipe 527 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 614 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 715 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 992 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 1337 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 1387 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe == INVALID_PIPE) pipe 1390 drivers/gpu/drm/i915/display/intel_cdclk.c val |= BXT_CDCLK_CD2X_PIPE(pipe); pipe 1399 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe != INVALID_PIPE) pipe 1400 drivers/gpu/drm/i915/display/intel_cdclk.c intel_wait_for_vblank(dev_priv, pipe); pipe 1623 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 1662 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe == INVALID_PIPE) pipe 1665 drivers/gpu/drm/i915/display/intel_cdclk.c val |= BXT_CDCLK_CD2X_PIPE(pipe); pipe 1668 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe != INVALID_PIPE) pipe 1669 drivers/gpu/drm/i915/display/intel_cdclk.c intel_wait_for_vblank(dev_priv, pipe); pipe 1818 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 2144 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 2154 drivers/gpu/drm/i915/display/intel_cdclk.c dev_priv->display.set_cdclk(dev_priv, cdclk_state, pipe); pipe 2177 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 2179 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe == INVALID_PIPE || old_state->cdclk <= new_state->cdclk) pipe 2180 drivers/gpu/drm/i915/display/intel_cdclk.c intel_set_cdclk(dev_priv, new_state, pipe); pipe 2197 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe) pipe 2199 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe != INVALID_PIPE && old_state->cdclk > new_state->cdclk) pipe 2200 drivers/gpu/drm/i915/display/intel_cdclk.c intel_set_cdclk(dev_priv, new_state, pipe); pipe 2300 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe; pipe 2314 drivers/gpu/drm/i915/display/intel_cdclk.c for_each_pipe(dev_priv, pipe) pipe 2315 drivers/gpu/drm/i915/display/intel_cdclk.c min_cdclk = max(state->min_cdclk[pipe], min_cdclk); pipe 2336 drivers/gpu/drm/i915/display/intel_cdclk.c enum pipe pipe; pipe 2350 drivers/gpu/drm/i915/display/intel_cdclk.c for_each_pipe(dev_priv, pipe) pipe 2351 drivers/gpu/drm/i915/display/intel_cdclk.c min_voltage_level = max(state->min_voltage_level[pipe], pipe 37 drivers/gpu/drm/i915/display/intel_cdclk.h enum pipe pipe); pipe 42 drivers/gpu/drm/i915/display/intel_cdclk.h enum pipe pipe); pipe 142 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 144 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_PREOFF_HI(pipe), preoff[0]); pipe 145 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_PREOFF_ME(pipe), preoff[1]); pipe 146 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_PREOFF_LO(pipe), preoff[2]); pipe 148 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_RY_GY(pipe), coeff[0] << 16 | coeff[1]); pipe 149 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_BY(pipe), coeff[2] << 16); pipe 151 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_RU_GU(pipe), coeff[3] << 16 | coeff[4]); pipe 152 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_BU(pipe), coeff[5] << 16); pipe 154 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_RV_GV(pipe), coeff[6] << 16 | coeff[7]); pipe 155 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_COEFF_BV(pipe), coeff[8] << 16); pipe 158 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_POSTOFF_HI(pipe), postoff[0]); pipe 159 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_POSTOFF_ME(pipe), postoff[1]); pipe 160 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_POSTOFF_LO(pipe), postoff[2]); pipe 170 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 172 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_PREOFF_HI(pipe), preoff[0]); pipe 173 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_PREOFF_ME(pipe), preoff[1]); pipe 174 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_PREOFF_LO(pipe), preoff[2]); pipe 176 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_RY_GY(pipe), coeff[0] << 16 | coeff[1]); pipe 177 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_BY(pipe), coeff[2] << 16); pipe 179 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_RU_GU(pipe), coeff[3] << 16 | coeff[4]); pipe 180 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_BU(pipe), coeff[5] << 16); pipe 182 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_RV_GV(pipe), coeff[6] << 16 | coeff[7]); pipe 183 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_COEFF_BV(pipe), coeff[8] << 16); pipe 185 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_POSTOFF_HI(pipe), postoff[0]); pipe 186 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_POSTOFF_ME(pipe), postoff[1]); pipe 187 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_OUTPUT_POSTOFF_LO(pipe), postoff[2]); pipe 291 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_MODE(crtc->pipe), crtc_state->csc_mode); pipe 317 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPE_CSC_MODE(crtc->pipe), crtc_state->csc_mode); pipe 327 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 350 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_CSC_COEFF01(pipe), pipe 352 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_CSC_COEFF23(pipe), pipe 354 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_CSC_COEFF45(pipe), pipe 356 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_CSC_COEFF67(pipe), pipe 358 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_CSC_COEFF8(pipe), coeffs[8]); pipe 361 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_MODE(pipe), crtc_state->cgm_mode); pipe 393 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 400 drivers/gpu/drm/i915/display/intel_color.c assert_pll_enabled(dev_priv, pipe); pipe 413 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PALETTE(pipe, i), word); pipe 415 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(LGC_PALETTE(pipe, i), word); pipe 429 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 432 drivers/gpu/drm/i915/display/intel_color.c val = I915_READ(PIPECONF(pipe)); pipe 435 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPECONF(pipe), val); pipe 442 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 445 drivers/gpu/drm/i915/display/intel_color.c val = I915_READ(PIPECONF(pipe)); pipe 448 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPECONF(pipe), val); pipe 458 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(GAMMA_MODE(crtc->pipe), crtc_state->gamma_mode); pipe 467 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 479 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(SKL_BOTTOM_COLOR(pipe), val); pipe 481 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(GAMMA_MODE(crtc->pipe), crtc_state->gamma_mode); pipe 495 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 498 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PALETTE(pipe, 2 * i + 0), pipe 500 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PALETTE(pipe, 2 * i + 1), pipe 504 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 0), lut[i].red); pipe 505 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 1), lut[i].green); pipe 506 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PIPEGCMAX(pipe, 2), lut[i].blue); pipe 526 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 529 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PALETTE(pipe, i), ilk_lut_10(&lut[i])); pipe 564 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 571 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_INDEX(pipe), prec_index++); pipe 572 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_10(entry)); pipe 579 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_INDEX(pipe), 0); pipe 591 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 593 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_INDEX(pipe), prec_index | pipe 601 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_10(entry)); pipe 608 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_INDEX(pipe), 0); pipe 614 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 617 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT_GC_MAX(pipe, 0), 1 << 16); pipe 618 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT_GC_MAX(pipe, 1), 1 << 16); pipe 619 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT_GC_MAX(pipe, 2), 1 << 16); pipe 627 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT2_GC_MAX(pipe, 0), 1 << 16); pipe 628 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT2_GC_MAX(pipe, 1), 1 << 16); pipe 629 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_EXT2_GC_MAX(pipe, 2), 1 << 16); pipe 683 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 693 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_INDEX(pipe), 0); pipe 694 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_INDEX(pipe), PRE_CSC_GAMC_AUTO_INCREMENT); pipe 710 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_DATA(pipe), lut[i].green); pipe 715 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_DATA(pipe), 1 << 16); pipe 722 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 731 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_INDEX(pipe), 0); pipe 732 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_INDEX(pipe), PRE_CSC_GAMC_AUTO_INCREMENT); pipe 737 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_DATA(pipe), v); pipe 742 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PRE_CSC_GAMC_DATA(pipe), 1 << 16); pipe 791 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 794 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_GC_MAX(pipe, 0), color->red); pipe 795 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_GC_MAX(pipe, 1), color->green); pipe 796 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_GC_MAX(pipe, 2), color->blue); pipe 806 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 816 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_MULTI_SEG_INDEX(pipe), PAL_PREC_AUTO_INCREMENT); pipe 821 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_MULTI_SEG_DATA(pipe), pipe 823 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_MULTI_SEG_DATA(pipe), pipe 836 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 850 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_INDEX(pipe), PAL_PREC_AUTO_INCREMENT); pipe 853 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_12p4_ldw(entry)); pipe 854 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_12p4_udw(entry)); pipe 871 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_12p4_ldw(entry)); pipe 872 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(PREC_PAL_DATA(pipe), ilk_lut_12p4_udw(entry)); pipe 922 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 925 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_DEGAMMA(pipe, i, 0), pipe 927 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_DEGAMMA(pipe, i, 1), pipe 949 drivers/gpu/drm/i915/display/intel_color.c enum pipe pipe = crtc->pipe; pipe 952 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_GAMMA(pipe, i, 0), pipe 954 drivers/gpu/drm/i915/display/intel_color.c I915_WRITE(CGM_PIPE_GAMMA(pipe, i, 1), pipe 155 drivers/gpu/drm/i915/display/intel_connector.c enum pipe pipe = 0; pipe 158 drivers/gpu/drm/i915/display/intel_connector.c return encoder->get_hw_state(encoder, &pipe); pipe 161 drivers/gpu/drm/i915/display/intel_connector.c enum pipe intel_connector_get_pipe(struct intel_connector *connector) pipe 170 drivers/gpu/drm/i915/display/intel_connector.c return to_intel_crtc(connector->base.state->crtc)->pipe; pipe 26 drivers/gpu/drm/i915/display/intel_connector.h enum pipe intel_connector_get_pipe(struct intel_connector *connector); pipe 74 drivers/gpu/drm/i915/display/intel_crt.c i915_reg_t adpa_reg, enum pipe *pipe) pipe 82 drivers/gpu/drm/i915/display/intel_crt.c *pipe = (val & ADPA_PIPE_SEL_MASK_CPT) >> ADPA_PIPE_SEL_SHIFT_CPT; pipe 84 drivers/gpu/drm/i915/display/intel_crt.c *pipe = (val & ADPA_PIPE_SEL_MASK) >> ADPA_PIPE_SEL_SHIFT; pipe 90 drivers/gpu/drm/i915/display/intel_crt.c enum pipe *pipe) pipe 102 drivers/gpu/drm/i915/display/intel_crt.c ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); pipe 182 drivers/gpu/drm/i915/display/intel_crt.c adpa |= ADPA_PIPE_SEL_CPT(crtc->pipe); pipe 184 drivers/gpu/drm/i915/display/intel_crt.c adpa |= ADPA_PIPE_SEL(crtc->pipe); pipe 187 drivers/gpu/drm/i915/display/intel_crt.c I915_WRITE(BCLRPAT(crtc->pipe), 0); pipe 275 drivers/gpu/drm/i915/display/intel_crt.c enum pipe pipe = crtc->pipe; pipe 279 drivers/gpu/drm/i915/display/intel_crt.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false); pipe 292 drivers/gpu/drm/i915/display/intel_crt.c enum pipe pipe = crtc->pipe; pipe 298 drivers/gpu/drm/i915/display/intel_crt.c intel_wait_for_vblank(dev_priv, pipe); pipe 299 drivers/gpu/drm/i915/display/intel_crt.c intel_wait_for_vblank(dev_priv, pipe); pipe 300 drivers/gpu/drm/i915/display/intel_crt.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 639 drivers/gpu/drm/i915/display/intel_crt.c intel_crt_load_detect(struct intel_crt *crt, u32 pipe) pipe 657 drivers/gpu/drm/i915/display/intel_crt.c bclrpat_reg = BCLRPAT(pipe); pipe 658 drivers/gpu/drm/i915/display/intel_crt.c vtotal_reg = VTOTAL(pipe); pipe 659 drivers/gpu/drm/i915/display/intel_crt.c vblank_reg = VBLANK(pipe); pipe 660 drivers/gpu/drm/i915/display/intel_crt.c vsync_reg = VSYNC(pipe); pipe 661 drivers/gpu/drm/i915/display/intel_crt.c pipeconf_reg = PIPECONF(pipe); pipe 662 drivers/gpu/drm/i915/display/intel_crt.c pipe_dsl_reg = PIPEDSL(pipe); pipe 685 drivers/gpu/drm/i915/display/intel_crt.c intel_wait_for_vblank(dev_priv, pipe); pipe 853 drivers/gpu/drm/i915/display/intel_crt.c to_intel_crtc(connector->state->crtc)->pipe); pipe 11 drivers/gpu/drm/i915/display/intel_crt.h enum pipe; pipe 17 drivers/gpu/drm/i915/display/intel_crt.h i915_reg_t adpa_reg, enum pipe *pipe); pipe 1222 drivers/gpu/drm/i915/display/intel_ddi.c pipe_name(crtc->pipe)); pipe 1769 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe pipe = crtc->pipe; pipe 1804 drivers/gpu/drm/i915/display/intel_ddi.c switch (pipe) { pipe 1882 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe pipe = 0; pipe 1891 drivers/gpu/drm/i915/display/intel_ddi.c if (WARN_ON(!intel_encoder->get_hw_state(intel_encoder, &pipe))) { pipe 1896 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(pipe)); pipe 1901 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(TRANS_DDI_FUNC_CTL(pipe), tmp); pipe 1916 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe pipe = 0; pipe 1925 drivers/gpu/drm/i915/display/intel_ddi.c if (!encoder->get_hw_state(encoder, &pipe)) { pipe 1933 drivers/gpu/drm/i915/display/intel_ddi.c cpu_transcoder = (enum transcoder) pipe; pipe 1976 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe p; pipe 2077 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe *pipe) pipe 2087 drivers/gpu/drm/i915/display/intel_ddi.c *pipe = ffs(pipe_mask) - 1; pipe 3282 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe pipe = crtc->pipe; pipe 3302 drivers/gpu/drm/i915/display/intel_ddi.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 3993 drivers/gpu/drm/i915/display/intel_ddi.c if (IS_HASWELL(dev_priv) && crtc->pipe == PIPE_A && pipe 4283 drivers/gpu/drm/i915/display/intel_ddi.c enum pipe pipe; pipe 4335 drivers/gpu/drm/i915/display/intel_ddi.c for_each_pipe(dev_priv, pipe) pipe 4336 drivers/gpu/drm/i915/display/intel_ddi.c intel_encoder->crtc_mask |= BIT(pipe); pipe 28 drivers/gpu/drm/i915/display/intel_ddi.h bool intel_ddi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe); pipe 493 drivers/gpu/drm/i915/display/intel_display.c skl_wa_827(struct drm_i915_private *dev_priv, int pipe, bool enable) pipe 496 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CLKGATE_DIS_PSL(pipe), pipe 497 drivers/gpu/drm/i915/display/intel_display.c I915_READ(CLKGATE_DIS_PSL(pipe)) | pipe 500 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CLKGATE_DIS_PSL(pipe), pipe 501 drivers/gpu/drm/i915/display/intel_display.c I915_READ(CLKGATE_DIS_PSL(pipe)) & pipe 507 drivers/gpu/drm/i915/display/intel_display.c icl_wa_scalerclkgating(struct drm_i915_private *dev_priv, enum pipe pipe, pipe 511 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CLKGATE_DIS_PSL(pipe), pipe 512 drivers/gpu/drm/i915/display/intel_display.c I915_READ(CLKGATE_DIS_PSL(pipe)) | DPFR_GATING_DIS); pipe 514 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CLKGATE_DIS_PSL(pipe), pipe 515 drivers/gpu/drm/i915/display/intel_display.c I915_READ(CLKGATE_DIS_PSL(pipe)) & ~DPFR_GATING_DIS); pipe 1022 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1024 drivers/gpu/drm/i915/display/intel_display.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 1030 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1032 drivers/gpu/drm/i915/display/intel_display.c i915_reg_t reg = PIPEDSL(pipe); pipe 1051 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1054 drivers/gpu/drm/i915/display/intel_display.c if (wait_for(pipe_scanline_is_moving(dev_priv, pipe) == state, 100)) pipe 1056 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), onoff(state)); pipe 1090 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool state) pipe 1095 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(DPLL(pipe)); pipe 1119 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool state) pipe 1123 drivers/gpu/drm/i915/display/intel_display.c pipe); pipe 1130 drivers/gpu/drm/i915/display/intel_display.c u32 val = I915_READ(FDI_TX_CTL(pipe)); pipe 1141 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool state) pipe 1146 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(FDI_RX_CTL(pipe)); pipe 1156 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1168 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(FDI_TX_CTL(pipe)); pipe 1173 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool state) pipe 1178 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(FDI_RX_CTL(pipe)); pipe 1185 drivers/gpu/drm/i915/display/intel_display.c void assert_panel_unlocked(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 1189 drivers/gpu/drm/i915/display/intel_display.c enum pipe panel_pipe = INVALID_PIPE; pipe 1220 drivers/gpu/drm/i915/display/intel_display.c pp_reg = PP_CONTROL(pipe); pipe 1221 drivers/gpu/drm/i915/display/intel_display.c panel_pipe = pipe; pipe 1237 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(panel_pipe == pipe && locked, pipe 1239 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 1243 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool state) pipe 1247 drivers/gpu/drm/i915/display/intel_display.c pipe); pipe 1268 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), onoff(state), onoff(cur_state)); pipe 1273 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 1276 drivers/gpu/drm/i915/display/intel_display.c cur_state = plane->get_hw_state(plane, &pipe); pipe 1302 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1307 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(PCH_TRANSCONF(pipe)); pipe 1311 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 1315 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, enum port port, pipe 1318 drivers/gpu/drm/i915/display/intel_display.c enum pipe port_pipe; pipe 1323 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(state && port_pipe == pipe, pipe 1325 drivers/gpu/drm/i915/display/intel_display.c port_name(port), pipe_name(pipe)); pipe 1333 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, enum port port, pipe 1336 drivers/gpu/drm/i915/display/intel_display.c enum pipe port_pipe; pipe 1341 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(state && port_pipe == pipe, pipe 1343 drivers/gpu/drm/i915/display/intel_display.c port_name(port), pipe_name(pipe)); pipe 1351 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1353 drivers/gpu/drm/i915/display/intel_display.c enum pipe port_pipe; pipe 1355 drivers/gpu/drm/i915/display/intel_display.c assert_pch_dp_disabled(dev_priv, pipe, PORT_B, PCH_DP_B); pipe 1356 drivers/gpu/drm/i915/display/intel_display.c assert_pch_dp_disabled(dev_priv, pipe, PORT_C, PCH_DP_C); pipe 1357 drivers/gpu/drm/i915/display/intel_display.c assert_pch_dp_disabled(dev_priv, pipe, PORT_D, PCH_DP_D); pipe 1360 drivers/gpu/drm/i915/display/intel_display.c port_pipe == pipe, pipe 1362 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 1365 drivers/gpu/drm/i915/display/intel_display.c port_pipe == pipe, pipe 1367 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 1370 drivers/gpu/drm/i915/display/intel_display.c assert_pch_hdmi_disabled(dev_priv, pipe, PORT_B, PCH_HDMIB); pipe 1371 drivers/gpu/drm/i915/display/intel_display.c assert_pch_hdmi_disabled(dev_priv, pipe, PORT_C, PCH_HDMIC); pipe 1372 drivers/gpu/drm/i915/display/intel_display.c assert_pch_hdmi_disabled(dev_priv, pipe, PORT_D, PCH_HDMID); pipe 1379 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1381 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), pipe_config->dpll_hw_state.dpll); pipe 1382 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 1385 drivers/gpu/drm/i915/display/intel_display.c if (intel_de_wait_for_set(dev_priv, DPLL(pipe), DPLL_LOCK_VLV, 1)) pipe 1386 drivers/gpu/drm/i915/display/intel_display.c DRM_ERROR("DPLL %d failed to lock\n", pipe); pipe 1393 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1395 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, pipe); pipe 1398 drivers/gpu/drm/i915/display/intel_display.c assert_panel_unlocked(dev_priv, pipe); pipe 1403 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL_MD(pipe), pipe_config->dpll_hw_state.dpll_md); pipe 1404 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL_MD(pipe)); pipe 1412 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1413 drivers/gpu/drm/i915/display/intel_display.c enum dpio_channel port = vlv_pipe_to_channel(pipe); pipe 1419 drivers/gpu/drm/i915/display/intel_display.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW14(port)); pipe 1421 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW14(port), tmp); pipe 1431 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), pipe_config->dpll_hw_state.dpll); pipe 1434 drivers/gpu/drm/i915/display/intel_display.c if (intel_de_wait_for_set(dev_priv, DPLL(pipe), DPLL_LOCK_VLV, 1)) pipe 1435 drivers/gpu/drm/i915/display/intel_display.c DRM_ERROR("PLL %d failed to lock\n", pipe); pipe 1442 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1444 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, pipe); pipe 1447 drivers/gpu/drm/i915/display/intel_display.c assert_panel_unlocked(dev_priv, pipe); pipe 1452 drivers/gpu/drm/i915/display/intel_display.c if (pipe != PIPE_A) { pipe 1459 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CBR4_VLV, CBR_DPLLBMD_PIPE(pipe)); pipe 1462 drivers/gpu/drm/i915/display/intel_display.c dev_priv->chv_dpll_md[pipe] = pipe_config->dpll_hw_state.dpll_md; pipe 1470 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL_MD(pipe), pipe_config->dpll_hw_state.dpll_md); pipe 1471 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL_MD(pipe)); pipe 1487 drivers/gpu/drm/i915/display/intel_display.c i915_reg_t reg = DPLL(crtc->pipe); pipe 1491 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, crtc->pipe); pipe 1495 drivers/gpu/drm/i915/display/intel_display.c assert_panel_unlocked(dev_priv, crtc->pipe); pipe 1510 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL_MD(crtc->pipe), pipe 1533 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1540 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, pipe); pipe 1542 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), DPLL_VGA_MODE_DIS); pipe 1543 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 1546 drivers/gpu/drm/i915/display/intel_display.c static void vlv_disable_pll(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 1551 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, pipe); pipe 1555 drivers/gpu/drm/i915/display/intel_display.c if (pipe != PIPE_A) pipe 1558 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), val); pipe 1559 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 1562 drivers/gpu/drm/i915/display/intel_display.c static void chv_disable_pll(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 1564 drivers/gpu/drm/i915/display/intel_display.c enum dpio_channel port = vlv_pipe_to_channel(pipe); pipe 1568 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, pipe); pipe 1572 drivers/gpu/drm/i915/display/intel_display.c if (pipe != PIPE_A) pipe 1575 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), val); pipe 1576 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 1581 drivers/gpu/drm/i915/display/intel_display.c val = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW14(port)); pipe 1583 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW14(port), val); pipe 1624 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1632 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_tx_enabled(dev_priv, pipe); pipe 1633 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_rx_enabled(dev_priv, pipe); pipe 1638 drivers/gpu/drm/i915/display/intel_display.c reg = TRANS_CHICKEN2(pipe); pipe 1644 drivers/gpu/drm/i915/display/intel_display.c reg = PCH_TRANSCONF(pipe); pipe 1646 drivers/gpu/drm/i915/display/intel_display.c pipeconf_val = I915_READ(PIPECONF(pipe)); pipe 1674 drivers/gpu/drm/i915/display/intel_display.c DRM_ERROR("failed to enable transcoder %c\n", pipe_name(pipe)); pipe 1683 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_tx_enabled(dev_priv, (enum pipe) cpu_transcoder); pipe 1707 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 1713 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_tx_disabled(dev_priv, pipe); pipe 1714 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_rx_disabled(dev_priv, pipe); pipe 1717 drivers/gpu/drm/i915/display/intel_display.c assert_pch_ports_disabled(dev_priv, pipe); pipe 1719 drivers/gpu/drm/i915/display/intel_display.c reg = PCH_TRANSCONF(pipe); pipe 1725 drivers/gpu/drm/i915/display/intel_display.c DRM_ERROR("failed to disable transcoder %c\n", pipe_name(pipe)); pipe 1729 drivers/gpu/drm/i915/display/intel_display.c reg = TRANS_CHICKEN2(pipe); pipe 1754 drivers/gpu/drm/i915/display/intel_display.c enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) pipe 1761 drivers/gpu/drm/i915/display/intel_display.c return crtc->pipe; pipe 1798 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1802 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("enabling pipe %c\n", pipe_name(pipe)); pipe 1815 drivers/gpu/drm/i915/display/intel_display.c assert_pll_enabled(dev_priv, pipe); pipe 1822 drivers/gpu/drm/i915/display/intel_display.c (enum pipe) cpu_transcoder); pipe 1856 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 1860 drivers/gpu/drm/i915/display/intel_display.c DRM_DEBUG_KMS("disabling pipe %c\n", pipe_name(pipe)); pipe 3245 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->pipe, PTR_ERR(intel_state->vma)); pipe 3608 drivers/gpu/drm/i915/display/intel_display.c dspcntr |= DISPPLANE_SEL_PIPE(crtc->pipe); pipe 3878 drivers/gpu/drm/i915/display/intel_display.c enum pipe *pipe) pipe 3892 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 3902 drivers/gpu/drm/i915/display/intel_display.c *pipe = plane->pipe; pipe 3904 drivers/gpu/drm/i915/display/intel_display.c *pipe = (val & DISPPLANE_SEL_PIPE_MASK) >> pipe 3917 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_CTRL(intel_crtc->pipe, id), 0); pipe 3918 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_WIN_POS(intel_crtc->pipe, id), 0); pipe 3919 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_WIN_SZ(intel_crtc->pipe, id), 0); pipe 4376 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 4379 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPE_CHICKEN(pipe)); pipe 4394 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_CHICKEN(pipe), tmp); pipe 4415 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPESRC(crtc->pipe), pipe 4440 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 4445 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4456 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4483 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 4488 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_enabled(dev_priv, pipe); pipe 4492 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IMR(pipe); pipe 4501 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4509 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4519 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR); pipe 4520 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR | pipe 4523 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4538 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4544 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4553 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4584 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 4590 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IMR(pipe); pipe 4600 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4611 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_MISC(pipe), pipe 4614 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4629 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4639 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4656 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4667 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4682 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4692 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4717 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 4723 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IMR(pipe); pipe 4733 drivers/gpu/drm/i915/display/intel_display.c I915_READ(FDI_RX_IIR(pipe))); pipe 4738 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4744 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4752 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4762 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_MISC(pipe), pipe 4765 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4775 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4794 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4800 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4810 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_IIR(pipe); pipe 4835 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 4840 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4844 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; pipe 4858 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4872 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 4877 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4882 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4889 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4903 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 4908 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4913 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4916 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; pipe 4924 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR); pipe 4927 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_TX_CTL(pipe); pipe 4933 drivers/gpu/drm/i915/display/intel_display.c reg = FDI_RX_CTL(pipe); pipe 4944 drivers/gpu/drm/i915/display/intel_display.c temp |= (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) << 11; pipe 5108 drivers/gpu/drm/i915/display/intel_display.c enum pipe pch_transcoder) pipe 5156 drivers/gpu/drm/i915/display/intel_display.c switch (crtc->pipe) { pipe 5199 drivers/gpu/drm/i915/display/intel_display.c num_encoders, pipe_name(crtc->pipe)); pipe 5218 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 5221 drivers/gpu/drm/i915/display/intel_display.c assert_pch_transcoder_disabled(dev_priv, pipe); pipe 5228 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FDI_RX_TUSIZE1(pipe), pipe 5229 drivers/gpu/drm/i915/display/intel_display.c I915_READ(PIPE_DATA_M1(pipe)) & TU_SIZE_MASK); pipe 5240 drivers/gpu/drm/i915/display/intel_display.c temp |= TRANS_DPLL_ENABLE(pipe); pipe 5241 drivers/gpu/drm/i915/display/intel_display.c sel = TRANS_DPLLB_SEL(pipe); pipe 5260 drivers/gpu/drm/i915/display/intel_display.c assert_panel_unlocked(dev_priv, pipe); pipe 5261 drivers/gpu/drm/i915/display/intel_display.c ironlake_pch_transcoder_set_timings(crtc_state, pipe); pipe 5270 drivers/gpu/drm/i915/display/intel_display.c u32 bpc = (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) >> 5; pipe 5271 drivers/gpu/drm/i915/display/intel_display.c i915_reg_t reg = TRANS_DP_CTL(pipe); pipe 5313 drivers/gpu/drm/i915/display/intel_display.c static void cpt_verify_modeset(struct drm_device *dev, int pipe) pipe 5316 drivers/gpu/drm/i915/display/intel_display.c i915_reg_t dslreg = PIPEDSL(pipe); pipe 5323 drivers/gpu/drm/i915/display/intel_display.c DRM_ERROR("mode set failed: pipe %c stuck\n", pipe_name(pipe)); pipe 5458 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->pipe, scaler_user, *scaler_id, pipe 5482 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->pipe, scaler_user, src_w, src_h, dst_w, dst_h); pipe 5490 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->pipe, scaler_user, src_w, src_h, dst_w, dst_h, pipe 5615 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 5637 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_CTRL(pipe, id), PS_SCALER_EN | pipe 5639 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(SKL_PS_VPHASE(pipe, id), pipe 5641 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(SKL_PS_HPHASE(pipe, id), pipe 5643 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_WIN_POS(pipe, id), crtc_state->pch_pfit.pos); pipe 5644 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_PS_WIN_SZ(pipe, id), crtc_state->pch_pfit.size); pipe 5652 drivers/gpu/drm/i915/display/intel_display.c int pipe = crtc->pipe; pipe 5660 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_CTL(pipe), PF_ENABLE | PF_FILTER_MED_3x3 | pipe 5661 drivers/gpu/drm/i915/display/intel_display.c PF_PIPE_SEL_IVB(pipe)); pipe 5663 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_CTL(pipe), PF_ENABLE | PF_FILTER_MED_3x3); pipe 5664 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_WIN_POS(pipe), crtc_state->pch_pfit.pos); pipe 5665 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_WIN_SZ(pipe), crtc_state->pch_pfit.size); pipe 5729 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, crtc->pipe); pipe 5765 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 5775 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 5789 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 5796 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false); pipe 5811 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 5934 drivers/gpu/drm/i915/display/intel_display.c skl_wa_827(dev_priv, crtc->pipe, false); pipe 5938 drivers/gpu/drm/i915/display/intel_display.c icl_wa_scalerclkgating(dev_priv, crtc->pipe, false); pipe 5970 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, crtc->pipe, false); pipe 5976 drivers/gpu/drm/i915/display/intel_display.c skl_wa_827(dev_priv, crtc->pipe, true); pipe 5981 drivers/gpu/drm/i915/display/intel_display.c icl_wa_scalerclkgating(dev_priv, crtc->pipe, true); pipe 5994 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, crtc->pipe); pipe 6005 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, crtc->pipe); pipe 6050 drivers/gpu/drm/i915/display/intel_display.c if (crtc->pipe != plane->pipe || pipe 6312 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 6327 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false); pipe 6328 drivers/gpu/drm/i915/display/intel_display.c intel_set_pch_fifo_underrun_reporting(dev_priv, pipe, false); pipe 6356 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_tx_disabled(dev_priv, pipe); pipe 6357 drivers/gpu/drm/i915/display/intel_display.c assert_fdi_rx_disabled(dev_priv, pipe); pipe 6384 drivers/gpu/drm/i915/display/intel_display.c cpt_verify_modeset(dev, intel_crtc->pipe); pipe 6393 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 6394 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 6396 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6397 drivers/gpu/drm/i915/display/intel_display.c intel_set_pch_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6403 drivers/gpu/drm/i915/display/intel_display.c return HAS_IPS(to_i915(crtc->base.dev)) && crtc->pipe == PIPE_A; pipe 6407 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe, bool apply) pipe 6409 drivers/gpu/drm/i915/display/intel_display.c u32 val = I915_READ(CLKGATE_DIS_PSL(pipe)); pipe 6417 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CLKGATE_DIS_PSL(pipe), val); pipe 6423 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 6436 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_MBUS_DBOX_CTL(pipe), val); pipe 6445 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe, hsw_workaround_pipe; pipe 6490 drivers/gpu/drm/i915/display/intel_display.c glk_pipe_scaler_clock_gating_wa(dev_priv, pipe, true); pipe 6536 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 6537 drivers/gpu/drm/i915/display/intel_display.c glk_pipe_scaler_clock_gating_wa(dev_priv, pipe, false); pipe 6553 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 6558 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_CTL(pipe), 0); pipe 6559 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_WIN_POS(pipe), 0); pipe 6560 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PF_WIN_SZ(pipe), 0); pipe 6571 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 6578 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false); pipe 6579 drivers/gpu/drm/i915/display/intel_display.c intel_set_pch_fifo_underrun_reporting(dev_priv, pipe, false); pipe 6596 drivers/gpu/drm/i915/display/intel_display.c ironlake_disable_pch_transcoder(dev_priv, pipe); pipe 6603 drivers/gpu/drm/i915/display/intel_display.c reg = TRANS_DP_CTL(pipe); pipe 6612 drivers/gpu/drm/i915/display/intel_display.c temp &= ~(TRANS_DPLL_ENABLE(pipe) | TRANS_DPLLB_SEL(pipe)); pipe 6619 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6620 drivers/gpu/drm/i915/display/intel_display.c intel_set_pch_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6671 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, crtc->pipe); pipe 6678 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(BCLRPAT(crtc->pipe), 0); pipe 6793 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 6800 drivers/gpu/drm/i915/display/intel_display.c mask = BIT_ULL(POWER_DOMAIN_PIPE(pipe)); pipe 6804 drivers/gpu/drm/i915/display/intel_display.c mask |= BIT_ULL(POWER_DOMAIN_PIPE_PANEL_FITTER(pipe)); pipe 6858 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 6869 drivers/gpu/drm/i915/display/intel_display.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_B) { pipe 6870 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CHV_BLEND(pipe), CHV_BLEND_LEGACY); pipe 6871 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(CHV_CANVAS(pipe), 0); pipe 6878 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6913 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FP0(crtc->pipe), crtc_state->dpll_hw_state.fp0); pipe 6914 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FP1(crtc->pipe), crtc_state->dpll_hw_state.fp1); pipe 6924 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = intel_crtc->pipe; pipe 6942 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 6976 drivers/gpu/drm/i915/display/intel_display.c assert_pipe_disabled(dev_priv, crtc->pipe); pipe 6990 drivers/gpu/drm/i915/display/intel_display.c int pipe = intel_crtc->pipe; pipe 6997 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 7012 drivers/gpu/drm/i915/display/intel_display.c chv_disable_pll(dev_priv, pipe); pipe 7014 drivers/gpu/drm/i915/display/intel_display.c vlv_disable_pll(dev_priv, pipe); pipe 7022 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false); pipe 7029 drivers/gpu/drm/i915/display/intel_display.c i830_enable_pipe(dev_priv, pipe); pipe 7099 drivers/gpu/drm/i915/display/intel_display.c dev_priv->active_crtcs &= ~(1 << intel_crtc->pipe); pipe 7100 drivers/gpu/drm/i915/display/intel_display.c dev_priv->min_cdclk[intel_crtc->pipe] = 0; pipe 7101 drivers/gpu/drm/i915/display/intel_display.c dev_priv->min_voltage_level[intel_crtc->pipe] = 0; pipe 7103 drivers/gpu/drm/i915/display/intel_display.c bw_state->data_rate[intel_crtc->pipe] = 0; pipe 7104 drivers/gpu/drm/i915/display/intel_display.c bw_state->num_active_planes[intel_crtc->pipe] = 0; pipe 7181 drivers/gpu/drm/i915/display/intel_display.c static int ironlake_check_fdi_lanes(struct drm_device *dev, enum pipe pipe, pipe 7190 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe_config->fdi_lanes); pipe 7193 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe_config->fdi_lanes); pipe 7211 drivers/gpu/drm/i915/display/intel_display.c switch (pipe) { pipe 7226 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe_config->fdi_lanes); pipe 7233 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe_config->fdi_lanes); pipe 7282 drivers/gpu/drm/i915/display/intel_display.c ret = ironlake_check_fdi_lanes(dev, intel_crtc->pipe, pipe_config); pipe 7368 drivers/gpu/drm/i915/display/intel_display.c (crtc->pipe == PIPE_A || IS_I915G(dev_priv)); pipe 7590 drivers/gpu/drm/i915/display/intel_display.c static void vlv_pllb_recal_opamp(struct drm_i915_private *dev_priv, enum pipe pipe 7591 drivers/gpu/drm/i915/display/intel_display.c pipe) pipe 7599 drivers/gpu/drm/i915/display/intel_display.c reg_val = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW9(1)); pipe 7602 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW9(1), reg_val); pipe 7604 drivers/gpu/drm/i915/display/intel_display.c reg_val = vlv_dpio_read(dev_priv, pipe, VLV_REF_DW13); pipe 7607 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_REF_DW13, reg_val); pipe 7609 drivers/gpu/drm/i915/display/intel_display.c reg_val = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW9(1)); pipe 7611 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW9(1), reg_val); pipe 7613 drivers/gpu/drm/i915/display/intel_display.c reg_val = vlv_dpio_read(dev_priv, pipe, VLV_REF_DW13); pipe 7616 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_REF_DW13, reg_val); pipe 7624 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 7626 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_TRANS_DATA_M1(pipe), TU_SIZE(m_n->tu) | m_n->gmch_m); pipe 7627 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_TRANS_DATA_N1(pipe), m_n->gmch_n); pipe 7628 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_TRANS_LINK_M1(pipe), m_n->link_m); pipe 7629 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PCH_TRANS_LINK_N1(pipe), m_n->link_n); pipe 7651 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 7672 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_DATA_M_G4X(pipe), TU_SIZE(m_n->tu) | m_n->gmch_m); pipe 7673 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_DATA_N_G4X(pipe), m_n->gmch_n); pipe 7674 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_LINK_M_G4X(pipe), m_n->link_m); pipe 7675 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_LINK_N_G4X(pipe), m_n->link_n); pipe 7709 drivers/gpu/drm/i915/display/intel_display.c if (crtc->pipe != PIPE_A) pipe 7726 drivers/gpu/drm/i915/display/intel_display.c if (crtc->pipe != PIPE_A) pipe 7742 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 7748 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), pipe 7767 drivers/gpu/drm/i915/display/intel_display.c if (pipe == PIPE_B) pipe 7768 drivers/gpu/drm/i915/display/intel_display.c vlv_pllb_recal_opamp(dev_priv, pipe); pipe 7771 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW9_BCAST, 0x0100000f); pipe 7774 drivers/gpu/drm/i915/display/intel_display.c reg_val = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW8(pipe)); pipe 7776 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW8(pipe), reg_val); pipe 7779 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_CMN_DW0, 0x610); pipe 7793 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW3(pipe), mdiv); pipe 7796 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW3(pipe), mdiv); pipe 7802 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW10(pipe), pipe 7805 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW10(pipe), pipe 7810 drivers/gpu/drm/i915/display/intel_display.c if (pipe == PIPE_A) pipe 7811 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW5(pipe), pipe 7814 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW5(pipe), pipe 7818 drivers/gpu/drm/i915/display/intel_display.c if (pipe == PIPE_A) pipe 7819 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW5(pipe), pipe 7822 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW5(pipe), pipe 7826 drivers/gpu/drm/i915/display/intel_display.c coreclk = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW7(pipe)); pipe 7830 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW7(pipe), coreclk); pipe 7832 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW11(pipe), 0x87871000); pipe 7842 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 7843 drivers/gpu/drm/i915/display/intel_display.c enum dpio_channel port = vlv_pipe_to_channel(pipe); pipe 7850 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), pipe 7870 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW13(port), pipe 7877 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW0(port), bestm2); pipe 7880 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW1(port), pipe 7885 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW2(port), bestm2_frac); pipe 7888 drivers/gpu/drm/i915/display/intel_display.c dpio_val = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW3(port)); pipe 7893 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW3(port), dpio_val); pipe 7896 drivers/gpu/drm/i915/display/intel_display.c dpio_val = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW9(port)); pipe 7902 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW9(port), dpio_val); pipe 7927 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW6(port), loopfilter); pipe 7929 drivers/gpu/drm/i915/display/intel_display.c dpio_val = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW8(port)); pipe 7932 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_PLL_DW8(port), dpio_val); pipe 7935 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW14(port), pipe 7936 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW14(port)) | pipe 7952 drivers/gpu/drm/i915/display/intel_display.c int vlv_force_pll_on(struct drm_i915_private *dev_priv, enum pipe pipe, pipe 7955 drivers/gpu/drm/i915/display/intel_display.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 7989 drivers/gpu/drm/i915/display/intel_display.c void vlv_force_pll_off(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 7992 drivers/gpu/drm/i915/display/intel_display.c chv_disable_pll(dev_priv, pipe); pipe 7994 drivers/gpu/drm/i915/display/intel_display.c vlv_disable_pll(dev_priv, pipe); pipe 8124 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 8177 drivers/gpu/drm/i915/display/intel_display.c (pipe == PIPE_B || pipe == PIPE_C)) pipe 8178 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(VTOTAL(pipe), I915_READ(VTOTAL(cpu_transcoder))); pipe 8186 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 8191 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPESRC(pipe), pipe 8248 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPESRC(crtc->pipe)); pipe 8289 drivers/gpu/drm/i915/display/intel_display.c pipeconf |= I915_READ(PIPECONF(crtc->pipe)) & PIPECONF_ENABLE; pipe 8334 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPECONF(crtc->pipe), pipeconf); pipe 8335 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(PIPECONF(crtc->pipe)); pipe 8550 drivers/gpu/drm/i915/display/intel_display.c if (crtc->pipe != PIPE_B) pipe 8553 drivers/gpu/drm/i915/display/intel_display.c if ((tmp & PFIT_PIPE_MASK) != (crtc->pipe << PFIT_PIPE_SHIFT)) pipe 8566 drivers/gpu/drm/i915/display/intel_display.c int pipe = pipe_config->cpu_transcoder; pipe 8576 drivers/gpu/drm/i915/display/intel_display.c mdiv = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW3(pipe)); pipe 8596 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 8603 drivers/gpu/drm/i915/display/intel_display.c if (!plane->get_hw_state(plane, &pipe)) pipe 8606 drivers/gpu/drm/i915/display/intel_display.c WARN_ON(pipe != crtc->pipe); pipe 8630 drivers/gpu/drm/i915/display/intel_display.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_B && pipe 8652 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(PIPESRC(pipe)); pipe 8676 drivers/gpu/drm/i915/display/intel_display.c int pipe = pipe_config->cpu_transcoder; pipe 8677 drivers/gpu/drm/i915/display/intel_display.c enum dpio_channel port = vlv_pipe_to_channel(pipe); pipe 8687 drivers/gpu/drm/i915/display/intel_display.c cmn_dw13 = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW13(port)); pipe 8688 drivers/gpu/drm/i915/display/intel_display.c pll_dw0 = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW0(port)); pipe 8689 drivers/gpu/drm/i915/display/intel_display.c pll_dw1 = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW1(port)); pipe 8690 drivers/gpu/drm/i915/display/intel_display.c pll_dw2 = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW2(port)); pipe 8691 drivers/gpu/drm/i915/display/intel_display.c pll_dw3 = vlv_dpio_read(dev_priv, pipe, CHV_PLL_DW3(port)); pipe 8714 drivers/gpu/drm/i915/display/intel_display.c u32 tmp = I915_READ(PIPEMISC(crtc->pipe)); pipe 8775 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE(crtc->pipe); pipe 8781 drivers/gpu/drm/i915/display/intel_display.c pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe; pipe 8786 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPECONF(crtc->pipe)); pipe 8815 drivers/gpu/drm/i915/display/intel_display.c pipe_config->cgm_mode = I915_READ(CGM_PIPE_MODE(crtc->pipe)); pipe 8830 drivers/gpu/drm/i915/display/intel_display.c if (IS_CHERRYVIEW(dev_priv) && crtc->pipe != PIPE_A) pipe 8831 drivers/gpu/drm/i915/display/intel_display.c tmp = dev_priv->chv_dpll_md[crtc->pipe]; pipe 8833 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(DPLL_MD(crtc->pipe)); pipe 8840 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(DPLL(crtc->pipe)); pipe 8850 drivers/gpu/drm/i915/display/intel_display.c pipe_config->dpll_hw_state.dpll = I915_READ(DPLL(crtc->pipe)); pipe 8852 drivers/gpu/drm/i915/display/intel_display.c pipe_config->dpll_hw_state.fp0 = I915_READ(FP0(crtc->pipe)); pipe 8853 drivers/gpu/drm/i915/display/intel_display.c pipe_config->dpll_hw_state.fp1 = I915_READ(FP1(crtc->pipe)); pipe 9391 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 9427 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPECONF(pipe), val); pipe 9428 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(PIPECONF(pipe)); pipe 9490 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPEMISC(crtc->pipe), val); pipe 9498 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPEMISC(crtc->pipe)); pipe 9682 drivers/gpu/drm/i915/display/intel_display.c pipe_name(crtc->pipe)); pipe 9694 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 9696 drivers/gpu/drm/i915/display/intel_display.c m_n->link_m = I915_READ(PCH_TRANS_LINK_M1(pipe)); pipe 9697 drivers/gpu/drm/i915/display/intel_display.c m_n->link_n = I915_READ(PCH_TRANS_LINK_N1(pipe)); pipe 9698 drivers/gpu/drm/i915/display/intel_display.c m_n->gmch_m = I915_READ(PCH_TRANS_DATA_M1(pipe)) pipe 9700 drivers/gpu/drm/i915/display/intel_display.c m_n->gmch_n = I915_READ(PCH_TRANS_DATA_N1(pipe)); pipe 9701 drivers/gpu/drm/i915/display/intel_display.c m_n->tu = ((I915_READ(PCH_TRANS_DATA_M1(pipe)) pipe 9711 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = crtc->pipe; pipe 9732 drivers/gpu/drm/i915/display/intel_display.c m_n->link_m = I915_READ(PIPE_LINK_M_G4X(pipe)); pipe 9733 drivers/gpu/drm/i915/display/intel_display.c m_n->link_n = I915_READ(PIPE_LINK_N_G4X(pipe)); pipe 9734 drivers/gpu/drm/i915/display/intel_display.c m_n->gmch_m = I915_READ(PIPE_DATA_M_G4X(pipe)) pipe 9736 drivers/gpu/drm/i915/display/intel_display.c m_n->gmch_n = I915_READ(PIPE_DATA_N_G4X(pipe)); pipe 9737 drivers/gpu/drm/i915/display/intel_display.c m_n->tu = ((I915_READ(PIPE_DATA_M_G4X(pipe)) pipe 9772 drivers/gpu/drm/i915/display/intel_display.c ps_ctrl = I915_READ(SKL_PS_CTRL(crtc->pipe, i)); pipe 9776 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pch_pfit.pos = I915_READ(SKL_PS_WIN_POS(crtc->pipe, i)); pipe 9777 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pch_pfit.size = I915_READ(SKL_PS_WIN_SZ(crtc->pipe, i)); pipe 9799 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 9806 drivers/gpu/drm/i915/display/intel_display.c if (!plane->get_hw_state(plane, &pipe)) pipe 9809 drivers/gpu/drm/i915/display/intel_display.c WARN_ON(pipe != crtc->pipe); pipe 9821 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(PLANE_CTL(pipe, plane_id)); pipe 9829 drivers/gpu/drm/i915/display/intel_display.c alpha = I915_READ(PLANE_COLOR_CTL(pipe, plane_id)); pipe 9889 drivers/gpu/drm/i915/display/intel_display.c base = I915_READ(PLANE_SURF(pipe, plane_id)) & 0xfffff000; pipe 9892 drivers/gpu/drm/i915/display/intel_display.c offset = I915_READ(PLANE_OFFSET(pipe, plane_id)); pipe 9894 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(PLANE_SIZE(pipe, plane_id)); pipe 9898 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(PLANE_STRIDE(pipe, plane_id)); pipe 9925 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PF_CTL(crtc->pipe)); pipe 9929 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pch_pfit.pos = I915_READ(PF_WIN_POS(crtc->pipe)); pipe 9930 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pch_pfit.size = I915_READ(PF_WIN_SZ(crtc->pipe)); pipe 9937 drivers/gpu/drm/i915/display/intel_display.c PF_PIPE_SEL_IVB(crtc->pipe)); pipe 9952 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE(crtc->pipe); pipe 9958 drivers/gpu/drm/i915/display/intel_display.c pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe; pipe 9962 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPECONF(crtc->pipe)); pipe 9989 drivers/gpu/drm/i915/display/intel_display.c pipe_config->csc_mode = I915_READ(PIPE_CSC_MODE(crtc->pipe)); pipe 9994 drivers/gpu/drm/i915/display/intel_display.c if (I915_READ(PCH_TRANSCONF(crtc->pipe)) & TRANS_ENABLE) { pipe 10000 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(FDI_RX_CTL(crtc->pipe)); pipe 10011 drivers/gpu/drm/i915/display/intel_display.c pll_id = (enum intel_dpll_id) crtc->pipe; pipe 10014 drivers/gpu/drm/i915/display/intel_display.c if (tmp & TRANS_DPLLB_SEL(crtc->pipe)) pipe 10063 drivers/gpu/drm/i915/display/intel_display.c pipe_name(crtc->pipe)); pipe 10225 drivers/gpu/drm/i915/display/intel_display.c pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe; pipe 10235 drivers/gpu/drm/i915/display/intel_display.c enum pipe trans_pipe; pipe 10269 drivers/gpu/drm/i915/display/intel_display.c if (trans_pipe == crtc->pipe) { pipe 10341 drivers/gpu/drm/i915/display/intel_display.c if ((tmp & BXT_PIPE_SELECT_MASK) != BXT_PIPE_SELECT(crtc->pipe)) pipe 10411 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE(crtc->pipe); pipe 10443 drivers/gpu/drm/i915/display/intel_display.c pipe_config->gamma_mode = I915_READ(GAMMA_MODE(crtc->pipe)); pipe 10445 drivers/gpu/drm/i915/display/intel_display.c pipe_config->csc_mode = I915_READ(PIPE_CSC_MODE(crtc->pipe)); pipe 10448 drivers/gpu/drm/i915/display/intel_display.c u32 tmp = I915_READ(SKL_BOTTOM_COLOR(crtc->pipe)); pipe 10461 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE_PANEL_FITTER(crtc->pipe); pipe 10754 drivers/gpu/drm/i915/display/intel_display.c enum pipe *pipe) pipe 10768 drivers/gpu/drm/i915/display/intel_display.c *pipe = PIPE_A; pipe 10799 drivers/gpu/drm/i915/display/intel_display.c cntl |= MCURSOR_PIPE_SELECT(crtc->pipe); pipe 10879 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = plane->pipe; pipe 10917 drivers/gpu/drm/i915/display/intel_display.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_C && pipe 10933 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = plane->pipe; pipe 10977 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CUR_FBC_CTL(pipe), fbc_ctl); pipe 10978 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CURCNTR(pipe), cntl); pipe 10979 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CURPOS(pipe), pos); pipe 10980 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CURBASE(pipe), base); pipe 10986 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CURPOS(pipe), pos); pipe 10987 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE_FW(CURBASE(pipe), base); pipe 11000 drivers/gpu/drm/i915/display/intel_display.c enum pipe *pipe) pipe 11013 drivers/gpu/drm/i915/display/intel_display.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 11018 drivers/gpu/drm/i915/display/intel_display.c val = I915_READ(CURCNTR(plane->pipe)); pipe 11023 drivers/gpu/drm/i915/display/intel_display.c *pipe = plane->pipe; pipe 11025 drivers/gpu/drm/i915/display/intel_display.c *pipe = (val & MCURSOR_PIPE_SELECT_MASK) >> pipe 11225 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, intel_crtc->pipe); pipe 11289 drivers/gpu/drm/i915/display/intel_display.c int pipe = pipe_config->cpu_transcoder; pipe 11339 drivers/gpu/drm/i915/display/intel_display.c bool is_lvds = (pipe == 1) && (lvds & LVDS_PORT_EN); pipe 11418 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 11420 drivers/gpu/drm/i915/display/intel_display.c if (!encoder->get_hw_state(encoder, &pipe)) pipe 11423 drivers/gpu/drm/i915/display/intel_display.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 11701 drivers/gpu/drm/i915/display/intel_display.c if (plane->pipe != crtc->pipe || !plane_state->linked_plane) pipe 11719 drivers/gpu/drm/i915/display/intel_display.c if (plane->pipe != crtc->pipe || pipe 12167 drivers/gpu/drm/i915/display/intel_display.c if (plane->pipe == crtc->pipe) pipe 12290 drivers/gpu/drm/i915/display/intel_display.c (enum transcoder) to_intel_crtc(crtc)->pipe; pipe 12888 drivers/gpu/drm/i915/display/intel_display.c const enum pipe pipe = crtc->pipe; pipe 12913 drivers/gpu/drm/i915/display/intel_display.c for_each_universal_plane(dev_priv, pipe, plane) { pipe 12926 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), plane + 1, level, pipe 12938 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), plane + 1, pipe 12953 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), plane + 1, pipe 12978 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), level, pipe 12990 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe 13005 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), pipe 13049 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 13080 drivers/gpu/drm/i915/display/intel_display.c active = encoder->get_hw_state(encoder, &pipe); pipe 13083 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 13124 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 13126 drivers/gpu/drm/i915/display/intel_display.c active = encoder->get_hw_state(encoder, &pipe); pipe 13131 drivers/gpu/drm/i915/display/intel_display.c I915_STATE_WARN(active && crtc->pipe != pipe, pipe 13133 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 13357 drivers/gpu/drm/i915/display/intel_display.c enum pipe first_pipe = INVALID_PIPE, enabled_pipe = INVALID_PIPE; pipe 13371 drivers/gpu/drm/i915/display/intel_display.c first_pipe = crtc->pipe; pipe 13395 drivers/gpu/drm/i915/display/intel_display.c enabled_pipe = crtc->pipe; pipe 13479 drivers/gpu/drm/i915/display/intel_display.c state->cdclk.pipe = INVALID_PIPE; pipe 13500 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 13522 drivers/gpu/drm/i915/display/intel_display.c pipe = ilog2(state->active_crtcs); pipe 13523 drivers/gpu/drm/i915/display/intel_display.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 13526 drivers/gpu/drm/i915/display/intel_display.c pipe = INVALID_PIPE; pipe 13528 drivers/gpu/drm/i915/display/intel_display.c pipe = INVALID_PIPE; pipe 13532 drivers/gpu/drm/i915/display/intel_display.c if (pipe != INVALID_PIPE && pipe 13540 drivers/gpu/drm/i915/display/intel_display.c state->cdclk.pipe = pipe; pipe 13547 drivers/gpu/drm/i915/display/intel_display.c state->cdclk.pipe = INVALID_PIPE; pipe 13794 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 13822 drivers/gpu/drm/i915/display/intel_display.c pipe = crtc->pipe; pipe 13851 drivers/gpu/drm/i915/display/intel_display.c intel_wait_for_vblank(dev_priv, pipe); pipe 13941 drivers/gpu/drm/i915/display/intel_display.c put_domains[crtc->pipe] = pipe 13990 drivers/gpu/drm/i915/display/intel_display.c state->cdclk.pipe); pipe 14028 drivers/gpu/drm/i915/display/intel_display.c state->cdclk.pipe); pipe 14572 drivers/gpu/drm/i915/display/intel_display.c intel_set_cpu_fifo_underrun_reporting(dev_priv, crtc->pipe, true); pipe 14575 drivers/gpu/drm/i915/display/intel_display.c enum pipe pch_transcoder = pipe 14840 drivers/gpu/drm/i915/display/intel_display.c intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 14852 drivers/gpu/drm/i915/display/intel_display.c return skl_universal_plane_create(dev_priv, pipe, pipe 14859 drivers/gpu/drm/i915/display/intel_display.c plane->pipe = pipe; pipe 14865 drivers/gpu/drm/i915/display/intel_display.c plane->i9xx_plane = (enum i9xx_plane_id) !pipe; pipe 14867 drivers/gpu/drm/i915/display/intel_display.c plane->i9xx_plane = (enum i9xx_plane_id) pipe; pipe 14869 drivers/gpu/drm/i915/display/intel_display.c plane->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, plane->id); pipe 14904 drivers/gpu/drm/i915/display/intel_display.c possible_crtcs = BIT(pipe); pipe 14911 drivers/gpu/drm/i915/display/intel_display.c "primary %c", pipe_name(pipe)); pipe 14922 drivers/gpu/drm/i915/display/intel_display.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_B) { pipe 14950 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe) pipe 14960 drivers/gpu/drm/i915/display/intel_display.c cursor->pipe = pipe; pipe 14961 drivers/gpu/drm/i915/display/intel_display.c cursor->i9xx_plane = (enum i9xx_plane_id) pipe; pipe 14963 drivers/gpu/drm/i915/display/intel_display.c cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); pipe 14985 drivers/gpu/drm/i915/display/intel_display.c possible_crtcs = BIT(pipe); pipe 14993 drivers/gpu/drm/i915/display/intel_display.c "cursor %c", pipe_name(pipe)); pipe 15021 drivers/gpu/drm/i915/display/intel_display.c crtc->num_scalers = RUNTIME_INFO(dev_priv)->num_scalers[crtc->pipe]; pipe 15102 drivers/gpu/drm/i915/display/intel_display.c static int intel_crtc_init(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 15123 drivers/gpu/drm/i915/display/intel_display.c primary = intel_primary_plane_create(dev_priv, pipe); pipe 15130 drivers/gpu/drm/i915/display/intel_display.c for_each_sprite(dev_priv, pipe, sprite) { pipe 15133 drivers/gpu/drm/i915/display/intel_display.c plane = intel_sprite_plane_create(dev_priv, pipe, sprite); pipe 15141 drivers/gpu/drm/i915/display/intel_display.c cursor = intel_cursor_plane_create(dev_priv, pipe); pipe 15169 drivers/gpu/drm/i915/display/intel_display.c funcs, "pipe %c", pipe_name(pipe)); pipe 15173 drivers/gpu/drm/i915/display/intel_display.c intel_crtc->pipe = pipe; pipe 15178 drivers/gpu/drm/i915/display/intel_display.c BUG_ON(pipe >= ARRAY_SIZE(dev_priv->pipe_to_crtc_mapping) || pipe 15179 drivers/gpu/drm/i915/display/intel_display.c dev_priv->pipe_to_crtc_mapping[pipe] != NULL); pipe 15180 drivers/gpu/drm/i915/display/intel_display.c dev_priv->pipe_to_crtc_mapping[pipe] = intel_crtc; pipe 15194 drivers/gpu/drm/i915/display/intel_display.c WARN_ON(drm_crtc_index(&intel_crtc->base) != intel_crtc->pipe); pipe 15221 drivers/gpu/drm/i915/display/intel_display.c pipe_from_crtc_id->pipe = crtc->pipe; pipe 16131 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 16214 drivers/gpu/drm/i915/display/intel_display.c for_each_pipe(dev_priv, pipe) { pipe 16215 drivers/gpu/drm/i915/display/intel_display.c ret = intel_crtc_init(dev_priv, pipe); pipe 16285 drivers/gpu/drm/i915/display/intel_display.c void i830_enable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 16287 drivers/gpu/drm/i915/display/intel_display.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 16302 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe), clock.vco, clock.dot); pipe 16312 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FP0(pipe), fp); pipe 16313 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(FP1(pipe), fp); pipe 16315 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(HTOTAL(pipe), (640 - 1) | ((800 - 1) << 16)); pipe 16316 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(HBLANK(pipe), (640 - 1) | ((800 - 1) << 16)); pipe 16317 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(HSYNC(pipe), (656 - 1) | ((752 - 1) << 16)); pipe 16318 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(VTOTAL(pipe), (480 - 1) | ((525 - 1) << 16)); pipe 16319 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(VBLANK(pipe), (480 - 1) | ((525 - 1) << 16)); pipe 16320 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(VSYNC(pipe), (490 - 1) | ((492 - 1) << 16)); pipe 16321 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPESRC(pipe), ((640 - 1) << 16) | (480 - 1)); pipe 16328 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), dpll & ~DPLL_VGA_MODE_DIS); pipe 16329 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), dpll); pipe 16332 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 16340 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), dpll); pipe 16344 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), dpll); pipe 16345 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 16349 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPECONF(pipe), PIPECONF_ENABLE | PIPECONF_PROGRESSIVE); pipe 16350 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(PIPECONF(pipe)); pipe 16355 drivers/gpu/drm/i915/display/intel_display.c void i830_disable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 16357 drivers/gpu/drm/i915/display/intel_display.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 16360 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 16368 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPECONF(pipe), 0); pipe 16369 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(PIPECONF(pipe)); pipe 16373 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(DPLL(pipe), DPLL_VGA_MODE_DIS); pipe 16374 drivers/gpu/drm/i915/display/intel_display.c POSTING_READ(DPLL(pipe)); pipe 16389 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 16391 drivers/gpu/drm/i915/display/intel_display.c if (!plane->get_hw_state(plane, &pipe)) pipe 16394 drivers/gpu/drm/i915/display/intel_display.c if (pipe == crtc->pipe) pipe 16400 drivers/gpu/drm/i915/display/intel_display.c plane_crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 16428 drivers/gpu/drm/i915/display/intel_display.c enum pipe pch_transcoder) pipe 16468 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SKL_BOTTOM_COLOR(crtc->pipe), pipe 16502 drivers/gpu/drm/i915/display/intel_display.c if (has_pch_trancoder(dev_priv, crtc->pipe)) pipe 16543 drivers/gpu/drm/i915/display/intel_display.c pipe_name(crtc->pipe)); pipe 16637 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe = PIPE_A; pipe 16640 drivers/gpu/drm/i915/display/intel_display.c visible = plane->get_hw_state(plane, &pipe); pipe 16642 drivers/gpu/drm/i915/display/intel_display.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 16649 drivers/gpu/drm/i915/display/intel_display.c enableddisabled(visible), pipe_name(pipe)); pipe 16663 drivers/gpu/drm/i915/display/intel_display.c enum pipe pipe; pipe 16687 drivers/gpu/drm/i915/display/intel_display.c dev_priv->active_crtcs |= 1 << crtc->pipe; pipe 16715 drivers/gpu/drm/i915/display/intel_display.c pll->state.crtc_mask |= 1 << crtc->pipe; pipe 16724 drivers/gpu/drm/i915/display/intel_display.c pipe = 0; pipe 16726 drivers/gpu/drm/i915/display/intel_display.c if (encoder->get_hw_state(encoder, &pipe)) { pipe 16729 drivers/gpu/drm/i915/display/intel_display.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 16741 drivers/gpu/drm/i915/display/intel_display.c pipe_name(pipe)); pipe 16815 drivers/gpu/drm/i915/display/intel_display.c dev_priv->min_cdclk[crtc->pipe] = min_cdclk; pipe 16816 drivers/gpu/drm/i915/display/intel_display.c dev_priv->min_voltage_level[crtc->pipe] = pipe 17184 drivers/gpu/drm/i915/display/intel_display.c } pipe[I915_MAX_PIPES]; pipe 17238 drivers/gpu/drm/i915/display/intel_display.c error->pipe[i].power_domain_on = pipe 17241 drivers/gpu/drm/i915/display/intel_display.c if (!error->pipe[i].power_domain_on) pipe 17261 drivers/gpu/drm/i915/display/intel_display.c error->pipe[i].source = I915_READ(PIPESRC(i)); pipe 17264 drivers/gpu/drm/i915/display/intel_display.c error->pipe[i].stat = I915_READ(PIPESTAT(i)); pipe 17313 drivers/gpu/drm/i915/display/intel_display.c onoff(error->pipe[i].power_domain_on)); pipe 17314 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " SRC: %08x\n", error->pipe[i].source); pipe 17315 drivers/gpu/drm/i915/display/intel_display.c err_printf(m, " STAT: %08x\n", error->pipe[i].stat); pipe 339 drivers/gpu/drm/i915/display/intel_display.h for_each_if((intel_plane)->pipe == (intel_crtc)->pipe) pipe 426 drivers/gpu/drm/i915/display/intel_display.h void i830_enable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe); pipe 427 drivers/gpu/drm/i915/display/intel_display.h void i830_disable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe); pipe 428 drivers/gpu/drm/i915/display/intel_display.h enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc); pipe 459 drivers/gpu/drm/i915/display/intel_display.h enum pipe pipe); pipe 488 drivers/gpu/drm/i915/display/intel_display.h enum pipe pipe); pipe 490 drivers/gpu/drm/i915/display/intel_display.h int vlv_force_pll_on(struct drm_i915_private *dev_priv, enum pipe pipe, pipe 492 drivers/gpu/drm/i915/display/intel_display.h void vlv_force_pll_off(struct drm_i915_private *dev_priv, enum pipe pipe); pipe 558 drivers/gpu/drm/i915/display/intel_display.h enum pipe pipe); pipe 560 drivers/gpu/drm/i915/display/intel_display.h enum pipe pipe, bool state); pipe 567 drivers/gpu/drm/i915/display/intel_display.h enum pipe pipe, bool state); pipe 570 drivers/gpu/drm/i915/display/intel_display.h void assert_pipe(struct drm_i915_private *dev_priv, enum pipe pipe, bool state); pipe 1170 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe; pipe 1180 drivers/gpu/drm/i915/display/intel_display_power.c for_each_pipe(dev_priv, pipe) { pipe 1181 drivers/gpu/drm/i915/display/intel_display_power.c u32 val = I915_READ(DPLL(pipe)); pipe 1184 drivers/gpu/drm/i915/display/intel_display_power.c if (pipe != PIPE_A) pipe 1187 drivers/gpu/drm/i915/display/intel_display_power.c I915_WRITE(DPLL(pipe), val); pipe 1273 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe; pipe 1275 drivers/gpu/drm/i915/display/intel_display_power.c for_each_pipe(dev_priv, pipe) pipe 1276 drivers/gpu/drm/i915/display/intel_display_power.c assert_pll_disabled(dev_priv, pipe); pipe 1397 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe; pipe 1404 drivers/gpu/drm/i915/display/intel_display_power.c pipe = PIPE_A; pipe 1407 drivers/gpu/drm/i915/display/intel_display_power.c pipe = PIPE_C; pipe 1423 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW28); pipe 1426 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW28, tmp); pipe 1429 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW6_CH1); pipe 1431 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW6_CH1, tmp); pipe 1438 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW30); pipe 1440 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW30, tmp); pipe 1488 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe = phy == DPIO_PHY0 ? PIPE_A : PIPE_C; pipe 1507 drivers/gpu/drm/i915/display/intel_display_power.c val = vlv_dpio_read(dev_priv, pipe, reg); pipe 1611 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe = PIPE_A; pipe 1617 drivers/gpu/drm/i915/display/intel_display_power.c state = vlv_punit_read(dev_priv, PUNIT_REG_DSPSSPM) & DP_SSS_MASK(pipe); pipe 1622 drivers/gpu/drm/i915/display/intel_display_power.c WARN_ON(state != DP_SSS_PWR_ON(pipe) && state != DP_SSS_PWR_GATE(pipe)); pipe 1623 drivers/gpu/drm/i915/display/intel_display_power.c enabled = state == DP_SSS_PWR_ON(pipe); pipe 1629 drivers/gpu/drm/i915/display/intel_display_power.c ctrl = vlv_punit_read(dev_priv, PUNIT_REG_DSPSSPM) & DP_SSC_MASK(pipe); pipe 1641 drivers/gpu/drm/i915/display/intel_display_power.c enum pipe pipe = PIPE_A; pipe 1645 drivers/gpu/drm/i915/display/intel_display_power.c state = enable ? DP_SSS_PWR_ON(pipe) : DP_SSS_PWR_GATE(pipe); pipe 1650 drivers/gpu/drm/i915/display/intel_display_power.c ((vlv_punit_read(dev_priv, PUNIT_REG_DSPSSPM) & DP_SSS_MASK(pipe)) == state) pipe 1656 drivers/gpu/drm/i915/display/intel_display_power.c ctrl &= ~DP_SSC_MASK(pipe); pipe 1657 drivers/gpu/drm/i915/display/intel_display_power.c ctrl |= enable ? DP_SSC_PWR_ON(pipe) : DP_SSC_PWR_GATE(pipe); pipe 4251 drivers/gpu/drm/i915/display/intel_display_power.c pipe_name(crtc->pipe)); pipe 116 drivers/gpu/drm/i915/display/intel_display_power.h #define POWER_DOMAIN_PIPE(pipe) ((pipe) + POWER_DOMAIN_PIPE_A) pipe 117 drivers/gpu/drm/i915/display/intel_display_power.h #define POWER_DOMAIN_PIPE_PANEL_FITTER(pipe) \ pipe 118 drivers/gpu/drm/i915/display/intel_display_power.h ((pipe) + POWER_DOMAIN_PIPE_A_PANEL_FITTER) pipe 171 drivers/gpu/drm/i915/display/intel_display_types.h bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe); pipe 220 drivers/gpu/drm/i915/display/intel_display_types.h int (*setup)(struct intel_connector *connector, enum pipe pipe); pipe 471 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe pipe; pipe 922 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe hsw_workaround_pipe; pipe 992 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe pipe; pipe 1036 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe pipe; pipe 1062 drivers/gpu/drm/i915/display/intel_display_types.h bool (*get_hw_state)(struct intel_plane *plane, enum pipe *pipe); pipe 1198 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe pps_pipe; pipe 1204 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe active_pipe; pipe 1292 drivers/gpu/drm/i915/display/intel_display_types.h enum pipe pipe; pipe 1326 drivers/gpu/drm/i915/display/intel_display_types.h vlv_pipe_to_channel(enum pipe pipe) pipe 1328 drivers/gpu/drm/i915/display/intel_display_types.h switch (pipe) { pipe 1340 drivers/gpu/drm/i915/display/intel_display_types.h intel_get_crtc_for_pipe(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 1342 drivers/gpu/drm/i915/display/intel_display_types.h return dev_priv->pipe_to_crtc_mapping[pipe]; pipe 1508 drivers/gpu/drm/i915/display/intel_display_types.h intel_wait_for_vblank(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 1510 drivers/gpu/drm/i915/display/intel_display_types.h drm_wait_one_vblank(&dev_priv->drm, pipe); pipe 1513 drivers/gpu/drm/i915/display/intel_display_types.h intel_wait_for_vblank_if_active(struct drm_i915_private *dev_priv, int pipe) pipe 1515 drivers/gpu/drm/i915/display/intel_display_types.h const struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 1518 drivers/gpu/drm/i915/display/intel_display_types.h intel_wait_for_vblank(dev_priv, pipe); pipe 166 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe); pipe 728 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe = intel_dp->pps_pipe; pipe 730 drivers/gpu/drm/i915/display/intel_dp.c enum dpio_phy phy = DPIO_PHY(pipe); pipe 731 drivers/gpu/drm/i915/display/intel_dp.c enum dpio_channel ch = vlv_pipe_to_channel(pipe); pipe 736 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port))) pipe 740 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port)); pipe 751 drivers/gpu/drm/i915/display/intel_dp.c DP |= DP_PIPE_SEL_CHV(pipe); pipe 753 drivers/gpu/drm/i915/display/intel_dp.c DP |= DP_PIPE_SEL(pipe); pipe 755 drivers/gpu/drm/i915/display/intel_dp.c pll_enabled = I915_READ(DPLL(pipe)) & DPLL_VCO_ENABLE; pipe 765 drivers/gpu/drm/i915/display/intel_dp.c if (vlv_force_pll_on(dev_priv, pipe, IS_CHERRYVIEW(dev_priv) ? pipe 768 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe)); pipe 789 drivers/gpu/drm/i915/display/intel_dp.c vlv_force_pll_off(dev_priv, pipe); pipe 796 drivers/gpu/drm/i915/display/intel_dp.c static enum pipe vlv_find_free_pps(struct drm_i915_private *dev_priv) pipe 828 drivers/gpu/drm/i915/display/intel_dp.c static enum pipe pipe 833 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe; pipe 846 drivers/gpu/drm/i915/display/intel_dp.c pipe = vlv_find_free_pps(dev_priv); pipe 852 drivers/gpu/drm/i915/display/intel_dp.c if (WARN_ON(pipe == INVALID_PIPE)) pipe 853 drivers/gpu/drm/i915/display/intel_dp.c pipe = PIPE_A; pipe 855 drivers/gpu/drm/i915/display/intel_dp.c vlv_steal_power_sequencer(dev_priv, pipe); pipe 856 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->pps_pipe = pipe; pipe 901 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe); pipe 904 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe) pipe 906 drivers/gpu/drm/i915/display/intel_dp.c return I915_READ(PP_STATUS(pipe)) & PP_ON; pipe 910 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe) pipe 912 drivers/gpu/drm/i915/display/intel_dp.c return I915_READ(PP_CONTROL(pipe)) & EDP_FORCE_VDD; pipe 916 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe) pipe 921 drivers/gpu/drm/i915/display/intel_dp.c static enum pipe pipe 926 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe; pipe 928 drivers/gpu/drm/i915/display/intel_dp.c for (pipe = PIPE_A; pipe <= PIPE_B; pipe++) { pipe 929 drivers/gpu/drm/i915/display/intel_dp.c u32 port_sel = I915_READ(PP_ON_DELAYS(pipe)) & pipe 935 drivers/gpu/drm/i915/display/intel_dp.c if (!pipe_check(dev_priv, pipe)) pipe 938 drivers/gpu/drm/i915/display/intel_dp.c return pipe; pipe 1081 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe = vlv_power_sequencer_pipe(intel_dp); pipe 1085 drivers/gpu/drm/i915/display/intel_dp.c pp_ctrl_reg = PP_CONTROL(pipe); pipe 1086 drivers/gpu/drm/i915/display/intel_dp.c pp_div_reg = PP_DIVISOR(pipe); pipe 2407 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->DP |= DP_PIPE_SEL_IVB(crtc->pipe); pipe 2413 drivers/gpu/drm/i915/display/intel_dp.c trans_dp = I915_READ(TRANS_DP_CTL(crtc->pipe)); pipe 2418 drivers/gpu/drm/i915/display/intel_dp.c I915_WRITE(TRANS_DP_CTL(crtc->pipe), trans_dp); pipe 2433 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->DP |= DP_PIPE_SEL_CHV(crtc->pipe); pipe 2435 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->DP |= DP_PIPE_SEL(crtc->pipe); pipe 2952 drivers/gpu/drm/i915/display/intel_dp.c assert_pipe_disabled(dev_priv, crtc->pipe); pipe 2977 drivers/gpu/drm/i915/display/intel_dp.c intel_wait_for_vblank_if_active(dev_priv, !crtc->pipe); pipe 2992 drivers/gpu/drm/i915/display/intel_dp.c assert_pipe_disabled(dev_priv, crtc->pipe); pipe 3076 drivers/gpu/drm/i915/display/intel_dp.c enum port port, enum pipe *pipe) pipe 3078 drivers/gpu/drm/i915/display/intel_dp.c enum pipe p; pipe 3084 drivers/gpu/drm/i915/display/intel_dp.c *pipe = p; pipe 3092 drivers/gpu/drm/i915/display/intel_dp.c *pipe = PIPE_A; pipe 3099 drivers/gpu/drm/i915/display/intel_dp.c enum pipe *pipe) pipe 3110 drivers/gpu/drm/i915/display/intel_dp.c *pipe = (val & DP_PIPE_SEL_MASK_IVB) >> DP_PIPE_SEL_SHIFT_IVB; pipe 3112 drivers/gpu/drm/i915/display/intel_dp.c ret &= cpt_dp_port_selected(dev_priv, port, pipe); pipe 3114 drivers/gpu/drm/i915/display/intel_dp.c *pipe = (val & DP_PIPE_SEL_MASK_CHV) >> DP_PIPE_SEL_SHIFT_CHV; pipe 3116 drivers/gpu/drm/i915/display/intel_dp.c *pipe = (val & DP_PIPE_SEL_MASK) >> DP_PIPE_SEL_SHIFT; pipe 3122 drivers/gpu/drm/i915/display/intel_dp.c enum pipe *pipe) pipe 3135 drivers/gpu/drm/i915/display/intel_dp.c encoder->port, pipe); pipe 3161 drivers/gpu/drm/i915/display/intel_dp.c u32 trans_dp = I915_READ(TRANS_DP_CTL(crtc->pipe)); pipe 3418 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe = crtc->pipe; pipe 3451 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe)); pipe 3489 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe = intel_dp->pps_pipe; pipe 3490 drivers/gpu/drm/i915/display/intel_dp.c i915_reg_t pp_on_reg = PP_ON_DELAYS(pipe); pipe 3494 drivers/gpu/drm/i915/display/intel_dp.c if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B)) pipe 3509 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port)); pipe 3517 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe) pipe 3527 drivers/gpu/drm/i915/display/intel_dp.c WARN(intel_dp->active_pipe == pipe, pipe 3529 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(port)); pipe 3531 drivers/gpu/drm/i915/display/intel_dp.c if (intel_dp->pps_pipe != pipe) pipe 3535 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(port)); pipe 3554 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->pps_pipe != crtc->pipe) { pipe 3567 drivers/gpu/drm/i915/display/intel_dp.c vlv_steal_power_sequencer(dev_priv, crtc->pipe); pipe 3569 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->active_pipe = crtc->pipe; pipe 3575 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->pps_pipe = crtc->pipe; pipe 4097 drivers/gpu/drm/i915/display/intel_dp.c if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B && port != PORT_A) { pipe 4839 drivers/gpu/drm/i915/display/intel_dp.c intel_set_cpu_fifo_underrun_reporting(dev_priv, crtc->pipe, false); pipe 4848 drivers/gpu/drm/i915/display/intel_dp.c intel_wait_for_vblank(dev_priv, crtc->pipe); pipe 4850 drivers/gpu/drm/i915/display/intel_dp.c intel_set_cpu_fifo_underrun_reporting(dev_priv, crtc->pipe, true); pipe 6200 drivers/gpu/drm/i915/display/intel_dp.c static enum pipe vlv_active_pipe(struct intel_dp *intel_dp) pipe 6204 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe; pipe 6207 drivers/gpu/drm/i915/display/intel_dp.c encoder->port, &pipe)) pipe 6208 drivers/gpu/drm/i915/display/intel_dp.c return pipe; pipe 6839 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe; pipe 6853 drivers/gpu/drm/i915/display/intel_dp.c pipe = to_intel_crtc(crtc)->pipe; pipe 6855 drivers/gpu/drm/i915/display/intel_dp.c frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe); pipe 6882 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe; pipe 6896 drivers/gpu/drm/i915/display/intel_dp.c pipe = to_intel_crtc(crtc)->pipe; pipe 6898 drivers/gpu/drm/i915/display/intel_dp.c frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe); pipe 7008 drivers/gpu/drm/i915/display/intel_dp.c enum pipe pipe = INVALID_PIPE; pipe 7078 drivers/gpu/drm/i915/display/intel_dp.c pipe = vlv_active_pipe(intel_dp); pipe 7080 drivers/gpu/drm/i915/display/intel_dp.c if (pipe != PIPE_A && pipe != PIPE_B) pipe 7081 drivers/gpu/drm/i915/display/intel_dp.c pipe = intel_dp->pps_pipe; pipe 7083 drivers/gpu/drm/i915/display/intel_dp.c if (pipe != PIPE_A && pipe != PIPE_B) pipe 7084 drivers/gpu/drm/i915/display/intel_dp.c pipe = PIPE_A; pipe 7087 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe)); pipe 7092 drivers/gpu/drm/i915/display/intel_dp.c intel_panel_setup_backlight(connector, pipe); pipe 15 drivers/gpu/drm/i915/display/intel_dp.h enum pipe; pipe 40 drivers/gpu/drm/i915/display/intel_dp.h enum pipe *pipe); pipe 229 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c enum pipe pipe) pipe 361 drivers/gpu/drm/i915/display/intel_dp_mst.c enum pipe *pipe) pipe 364 drivers/gpu/drm/i915/display/intel_dp_mst.c *pipe = intel_mst->pipe; pipe 466 drivers/gpu/drm/i915/display/intel_dp_mst.c return &intel_dp->mst_encoders[crtc->pipe]->base.base; pipe 491 drivers/gpu/drm/i915/display/intel_dp_mst.c enum pipe pipe; pipe 492 drivers/gpu/drm/i915/display/intel_dp_mst.c if (!connector->encoder->get_hw_state(connector->encoder, &pipe)) pipe 507 drivers/gpu/drm/i915/display/intel_dp_mst.c enum pipe pipe; pipe 529 drivers/gpu/drm/i915/display/intel_dp_mst.c for_each_pipe(dev_priv, pipe) { pipe 531 drivers/gpu/drm/i915/display/intel_dp_mst.c &intel_dp->mst_encoders[pipe]->base.base; pipe 597 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum pipe pipe) pipe 608 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_mst->pipe = pipe; pipe 613 drivers/gpu/drm/i915/display/intel_dp_mst.c DRM_MODE_ENCODER_DPMST, "DP-MST %c", pipe_name(pipe)); pipe 640 drivers/gpu/drm/i915/display/intel_dp_mst.c enum pipe pipe; pipe 642 drivers/gpu/drm/i915/display/intel_dp_mst.c for_each_pipe(dev_priv, pipe) pipe 643 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp->mst_encoders[pipe] = intel_dp_create_fake_mst_encoder(intel_dig_port, pipe); pipe 648 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = intel_crtc->pipe; pipe 655 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW10(ch)); pipe 659 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW10(ch), val); pipe 662 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW10(ch)); pipe 666 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW10(ch), val); pipe 669 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW9(ch)); pipe 672 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW9(ch), val); pipe 675 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW9(ch)); pipe 678 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW9(ch), val); pipe 683 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, CHV_TX_DW4(ch, i)); pipe 686 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, CHV_TX_DW4(ch, i), val); pipe 691 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, CHV_TX_DW2(ch, i)); pipe 704 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, CHV_TX_DW2(ch, i), val); pipe 714 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, CHV_TX_DW3(ch, i)); pipe 719 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, CHV_TX_DW3(ch, i), val); pipe 723 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW10(ch)); pipe 725 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW10(ch), val); pipe 728 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW10(ch)); pipe 730 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW10(ch), val); pipe 743 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 746 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW0(ch)); pipe 751 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW0(ch), val); pipe 754 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW0(ch)); pipe 759 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW0(ch), val); pipe 762 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW1(ch)); pipe 768 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW1(ch), val); pipe 771 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW1(ch)); pipe 777 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW1(ch), val); pipe 788 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 797 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (ch == DPIO_CH0 && pipe == PIPE_B) pipe 809 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe != PIPE_B) { pipe 810 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW5_CH0); pipe 816 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW5_CH0, val); pipe 818 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW1_CH1); pipe 824 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW1_CH1, val); pipe 828 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW8(ch)); pipe 830 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe != PIPE_B) pipe 834 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW8(ch), val); pipe 837 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW8(ch)); pipe 839 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe != PIPE_B) pipe 843 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW8(ch), val); pipe 851 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW19(ch)); pipe 852 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe != PIPE_B) pipe 856 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW19(ch), val); pipe 869 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 876 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW11(ch)); pipe 878 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW11(ch), val); pipe 881 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW11(ch)); pipe 883 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW11(ch), val); pipe 893 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, CHV_TX_DW14(ch, i), pipe 909 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW11(ch)); pipe 911 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW11(ch), val); pipe 914 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS23_DW11(ch)); pipe 916 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW11(ch), val); pipe 919 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS01_DW12(ch), pipe 927 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS23_DW12(ch), pipe 956 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = to_intel_crtc(old_crtc_state->base.crtc)->pipe; pipe 962 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe != PIPE_B) { pipe 963 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW5_CH0); pipe 965 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW5_CH0, val); pipe 967 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW1_CH1); pipe 969 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW1_CH1, val); pipe 994 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = intel_crtc->pipe; pipe 998 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW5(port), 0x00000000); pipe 999 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW4(port), demph_reg_value); pipe 1000 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW2(port), pipe 1002 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW3(port), 0x0C782040); pipe 1005 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX3_DW4(port), tx3_demph); pipe 1007 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW11(port), 0x00030000); pipe 1008 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW9(port), preemph_reg_value); pipe 1009 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW5(port), DPIO_TX_OCALINIT_EN); pipe 1021 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 1026 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW0(port), pipe 1029 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW1(port), pipe 1036 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW12(port), 0x00750f00); pipe 1037 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW11(port), 0x00001500); pipe 1038 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_TX_DW14(port), 0x40400000); pipe 1051 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 1057 drivers/gpu/drm/i915/display/intel_dpio_phy.c val = vlv_dpio_read(dev_priv, pipe, VLV_PCS01_DW8(port)); pipe 1059 drivers/gpu/drm/i915/display/intel_dpio_phy.c if (pipe) pipe 1064 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW8(port), val); pipe 1067 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW14(port), 0x00760018); pipe 1068 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW23(port), 0x00400888); pipe 1080 drivers/gpu/drm/i915/display/intel_dpio_phy.c enum pipe pipe = crtc->pipe; pipe 1083 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW0(port), 0x00000000); pipe 1084 drivers/gpu/drm/i915/display/intel_dpio_phy.c vlv_dpio_write(dev_priv, pipe, VLV_PCS_DW1(port), 0x00e00060); pipe 308 drivers/gpu/drm/i915/display/intel_dpll_mgr.c pipe_name(crtc->pipe)); pipe 310 drivers/gpu/drm/i915/display/intel_dpll_mgr.c shared_dpll[id].crtc_mask |= 1 << crtc->pipe; pipe 320 drivers/gpu/drm/i915/display/intel_dpll_mgr.c shared_dpll[pll->info->id].crtc_mask &= ~(1 << crtc->pipe); pipe 458 drivers/gpu/drm/i915/display/intel_dpll_mgr.c i = (enum intel_dpll_id) crtc->pipe; pipe 1763 drivers/gpu/drm/i915/display/intel_dpll_mgr.c pipe_name(crtc->pipe)); pipe 149 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c enum pipe unused) pipe 149 drivers/gpu/drm/i915/display/intel_dvo.c enum pipe *pipe) pipe 157 drivers/gpu/drm/i915/display/intel_dvo.c *pipe = (tmp & DVO_PIPE_SEL_MASK) >> DVO_PIPE_SEL_SHIFT; pipe 283 drivers/gpu/drm/i915/display/intel_dvo.c int pipe = crtc->pipe; pipe 294 drivers/gpu/drm/i915/display/intel_dvo.c dvo_val |= DVO_PIPE_SEL(pipe); pipe 446 drivers/gpu/drm/i915/display/intel_dvo.c enum pipe pipe; pipe 483 drivers/gpu/drm/i915/display/intel_dvo.c for_each_pipe(dev_priv, pipe) { pipe 484 drivers/gpu/drm/i915/display/intel_dvo.c dpll[pipe] = I915_READ(DPLL(pipe)); pipe 485 drivers/gpu/drm/i915/display/intel_dvo.c I915_WRITE(DPLL(pipe), dpll[pipe] | DPLL_DVO_2X_MODE); pipe 491 drivers/gpu/drm/i915/display/intel_dvo.c for_each_pipe(dev_priv, pipe) { pipe 492 drivers/gpu/drm/i915/display/intel_dvo.c I915_WRITE(DPLL(pipe), dpll[pipe]); pipe 341 drivers/gpu/drm/i915/display/intel_fbc.c I915_WRITE(CHICKEN_PIPESL_1(params->crtc.pipe), pipe 342 drivers/gpu/drm/i915/display/intel_fbc.c I915_READ(CHICKEN_PIPESL_1(params->crtc.pipe)) | pipe 427 drivers/gpu/drm/i915/display/intel_fbc.c enum pipe pipe = crtc->pipe; pipe 434 drivers/gpu/drm/i915/display/intel_fbc.c fbc->visible_pipes_mask |= (1 << pipe); pipe 436 drivers/gpu/drm/i915/display/intel_fbc.c fbc->visible_pipes_mask &= ~(1 << pipe); pipe 438 drivers/gpu/drm/i915/display/intel_fbc.c return (fbc->visible_pipes_mask & ~(1 << pipe)) != 0; pipe 842 drivers/gpu/drm/i915/display/intel_fbc.c params->crtc.pipe = crtc->pipe; pipe 902 drivers/gpu/drm/i915/display/intel_fbc.c DRM_DEBUG_KMS("Disabling FBC on pipe %c\n", pipe_name(crtc->pipe)); pipe 1115 drivers/gpu/drm/i915/display/intel_fbc.c DRM_DEBUG_KMS("Enabling FBC on pipe %c\n", pipe_name(crtc->pipe)); pipe 1265 drivers/gpu/drm/i915/display/intel_fbc.c dev_priv->fbc.visible_pipes_mask |= (1 << crtc->pipe); pipe 332 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe)); pipe 338 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe)); pipe 357 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe)); pipe 362 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe)); pipe 373 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe), pipe 383 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe), pipe 391 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe), pipe 398 drivers/gpu/drm/i915/display/intel_fbdev.c pipe_name(intel_crtc->pipe), pipe 58 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe; pipe 62 drivers/gpu/drm/i915/display/intel_fifo_underrun.c for_each_pipe(dev_priv, pipe) { pipe 63 drivers/gpu/drm/i915/display/intel_fifo_underrun.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 75 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe; pipe 80 drivers/gpu/drm/i915/display/intel_fifo_underrun.c for_each_pipe(dev_priv, pipe) { pipe 81 drivers/gpu/drm/i915/display/intel_fifo_underrun.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 93 drivers/gpu/drm/i915/display/intel_fifo_underrun.c i915_reg_t reg = PIPESTAT(crtc->pipe); pipe 101 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); pipe 105 drivers/gpu/drm/i915/display/intel_fifo_underrun.c trace_intel_cpu_fifo_underrun(dev_priv, crtc->pipe); pipe 106 drivers/gpu/drm/i915/display/intel_fifo_underrun.c DRM_ERROR("pipe %c underrun\n", pipe_name(crtc->pipe)); pipe 110 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, pipe 114 drivers/gpu/drm/i915/display/intel_fifo_underrun.c i915_reg_t reg = PIPESTAT(pipe); pipe 119 drivers/gpu/drm/i915/display/intel_fifo_underrun.c u32 enable_mask = i915_pipestat_enable_mask(dev_priv, pipe); pipe 125 drivers/gpu/drm/i915/display/intel_fifo_underrun.c DRM_ERROR("pipe %c underrun\n", pipe_name(pipe)); pipe 130 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, bool enable) pipe 133 drivers/gpu/drm/i915/display/intel_fifo_underrun.c u32 bit = (pipe == PIPE_A) ? pipe 145 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe = crtc->pipe; pipe 150 drivers/gpu/drm/i915/display/intel_fifo_underrun.c if ((err_int & ERR_INT_FIFO_UNDERRUN(pipe)) == 0) pipe 153 drivers/gpu/drm/i915/display/intel_fifo_underrun.c I915_WRITE(GEN7_ERR_INT, ERR_INT_FIFO_UNDERRUN(pipe)); pipe 156 drivers/gpu/drm/i915/display/intel_fifo_underrun.c trace_intel_cpu_fifo_underrun(dev_priv, pipe); pipe 157 drivers/gpu/drm/i915/display/intel_fifo_underrun.c DRM_ERROR("fifo underrun on pipe %c\n", pipe_name(pipe)); pipe 161 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, pipe 166 drivers/gpu/drm/i915/display/intel_fifo_underrun.c I915_WRITE(GEN7_ERR_INT, ERR_INT_FIFO_UNDERRUN(pipe)); pipe 176 drivers/gpu/drm/i915/display/intel_fifo_underrun.c I915_READ(GEN7_ERR_INT) & ERR_INT_FIFO_UNDERRUN(pipe)) { pipe 178 drivers/gpu/drm/i915/display/intel_fifo_underrun.c pipe_name(pipe)); pipe 184 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, bool enable) pipe 189 drivers/gpu/drm/i915/display/intel_fifo_underrun.c bdw_enable_pipe_irq(dev_priv, pipe, GEN8_PIPE_FIFO_UNDERRUN); pipe 191 drivers/gpu/drm/i915/display/intel_fifo_underrun.c bdw_disable_pipe_irq(dev_priv, pipe, GEN8_PIPE_FIFO_UNDERRUN); pipe 195 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pch_transcoder, pipe 211 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pch_transcoder = crtc->pipe; pipe 228 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pch_transcoder, pipe 253 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, bool enable) pipe 256 drivers/gpu/drm/i915/display/intel_fifo_underrun.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 265 drivers/gpu/drm/i915/display/intel_fifo_underrun.c i9xx_set_fifo_underrun_reporting(dev, pipe, enable, old); pipe 267 drivers/gpu/drm/i915/display/intel_fifo_underrun.c ironlake_set_fifo_underrun_reporting(dev, pipe, enable); pipe 269 drivers/gpu/drm/i915/display/intel_fifo_underrun.c ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old); pipe 271 drivers/gpu/drm/i915/display/intel_fifo_underrun.c broadwell_set_fifo_underrun_reporting(dev, pipe, enable); pipe 293 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe, bool enable) pipe 299 drivers/gpu/drm/i915/display/intel_fifo_underrun.c ret = __intel_set_cpu_fifo_underrun_reporting(&dev_priv->drm, pipe, pipe 321 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pch_transcoder, pipe 366 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pipe) pipe 368 drivers/gpu/drm/i915/display/intel_fifo_underrun.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 379 drivers/gpu/drm/i915/display/intel_fifo_underrun.c if (intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, false)) { pipe 380 drivers/gpu/drm/i915/display/intel_fifo_underrun.c trace_intel_cpu_fifo_underrun(dev_priv, pipe); pipe 382 drivers/gpu/drm/i915/display/intel_fifo_underrun.c pipe_name(pipe)); pipe 398 drivers/gpu/drm/i915/display/intel_fifo_underrun.c enum pipe pch_transcoder) pipe 16 drivers/gpu/drm/i915/display/intel_fifo_underrun.h enum pipe pipe, bool enable); pipe 18 drivers/gpu/drm/i915/display/intel_fifo_underrun.h enum pipe pch_transcoder, pipe 21 drivers/gpu/drm/i915/display/intel_fifo_underrun.h enum pipe pipe); pipe 23 drivers/gpu/drm/i915/display/intel_fifo_underrun.h enum pipe pch_transcoder); pipe 283 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 297 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); pipe 302 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); pipe 322 drivers/gpu/drm/i915/display/intel_hdmi.c val = I915_READ(TVIDEO_DIP_CTL(crtc->pipe)); pipe 327 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_CTL(crtc->pipe), val); pipe 330 drivers/gpu/drm/i915/display/intel_hdmi.c *data++ = I915_READ(TVIDEO_DIP_DATA(crtc->pipe)); pipe 337 drivers/gpu/drm/i915/display/intel_hdmi.c enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; pipe 338 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = TVIDEO_DIP_CTL(pipe); pipe 360 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 377 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); pipe 382 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0); pipe 402 drivers/gpu/drm/i915/display/intel_hdmi.c val = I915_READ(TVIDEO_DIP_CTL(crtc->pipe)); pipe 407 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TVIDEO_DIP_CTL(crtc->pipe), val); pipe 410 drivers/gpu/drm/i915/display/intel_hdmi.c *data++ = I915_READ(TVIDEO_DIP_DATA(crtc->pipe)); pipe 417 drivers/gpu/drm/i915/display/intel_hdmi.c enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; pipe 418 drivers/gpu/drm/i915/display/intel_hdmi.c u32 val = I915_READ(TVIDEO_DIP_CTL(pipe)); pipe 436 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 450 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(VLV_TVIDEO_DIP_DATA(intel_crtc->pipe), *data); pipe 455 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(VLV_TVIDEO_DIP_DATA(intel_crtc->pipe), 0); pipe 475 drivers/gpu/drm/i915/display/intel_hdmi.c val = I915_READ(VLV_TVIDEO_DIP_CTL(crtc->pipe)); pipe 480 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(VLV_TVIDEO_DIP_CTL(crtc->pipe), val); pipe 483 drivers/gpu/drm/i915/display/intel_hdmi.c *data++ = I915_READ(VLV_TVIDEO_DIP_DATA(crtc->pipe)); pipe 490 drivers/gpu/drm/i915/display/intel_hdmi.c enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; pipe 491 drivers/gpu/drm/i915/display/intel_hdmi.c u32 val = I915_READ(VLV_TVIDEO_DIP_CTL(pipe)); pipe 961 drivers/gpu/drm/i915/display/intel_hdmi.c reg = VLV_TVIDEO_DIP_GCP(crtc->pipe); pipe 963 drivers/gpu/drm/i915/display/intel_hdmi.c reg = TVIDEO_DIP_GCP(crtc->pipe); pipe 986 drivers/gpu/drm/i915/display/intel_hdmi.c reg = VLV_TVIDEO_DIP_GCP(crtc->pipe); pipe 988 drivers/gpu/drm/i915/display/intel_hdmi.c reg = TVIDEO_DIP_GCP(crtc->pipe); pipe 1026 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 1084 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 1133 drivers/gpu/drm/i915/display/intel_hdmi.c i915_reg_t reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe); pipe 1440 drivers/gpu/drm/i915/display/intel_hdmi.c scanline = I915_READ(PIPEDSL(intel_crtc->pipe)); pipe 1747 drivers/gpu/drm/i915/display/intel_hdmi.c hdmi_val |= SDVO_PIPE_SEL_CPT(crtc->pipe); pipe 1749 drivers/gpu/drm/i915/display/intel_hdmi.c hdmi_val |= SDVO_PIPE_SEL_CHV(crtc->pipe); pipe 1751 drivers/gpu/drm/i915/display/intel_hdmi.c hdmi_val |= SDVO_PIPE_SEL(crtc->pipe); pipe 1758 drivers/gpu/drm/i915/display/intel_hdmi.c enum pipe *pipe) pipe 1770 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_sdvo_port_enabled(dev_priv, intel_hdmi->hdmi_reg, pipe); pipe 1851 drivers/gpu/drm/i915/display/intel_hdmi.c pipe_name(crtc->pipe)); pipe 1935 drivers/gpu/drm/i915/display/intel_hdmi.c enum pipe pipe = crtc->pipe; pipe 1955 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TRANS_CHICKEN1(pipe), pipe 1956 drivers/gpu/drm/i915/display/intel_hdmi.c I915_READ(TRANS_CHICKEN1(pipe)) | pipe 1973 drivers/gpu/drm/i915/display/intel_hdmi.c I915_WRITE(TRANS_CHICKEN1(pipe), pipe 1974 drivers/gpu/drm/i915/display/intel_hdmi.c I915_READ(TRANS_CHICKEN1(pipe)) & pipe 2011 drivers/gpu/drm/i915/display/intel_hdmi.c if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B) { pipe 119 drivers/gpu/drm/i915/display/intel_lpe_audio.c pdata->port[0].pipe = -1; pipe 120 drivers/gpu/drm/i915/display/intel_lpe_audio.c pdata->port[1].pipe = -1; pipe 121 drivers/gpu/drm/i915/display/intel_lpe_audio.c pdata->port[2].pipe = -1; pipe 321 drivers/gpu/drm/i915/display/intel_lpe_audio.c enum pipe pipe, enum port port, pipe 341 drivers/gpu/drm/i915/display/intel_lpe_audio.c ppdata->pipe = pipe; pipe 350 drivers/gpu/drm/i915/display/intel_lpe_audio.c ppdata->pipe = -1; pipe 11 drivers/gpu/drm/i915/display/intel_lpe_audio.h enum pipe; pipe 19 drivers/gpu/drm/i915/display/intel_lpe_audio.h enum pipe pipe, enum port port, pipe 84 drivers/gpu/drm/i915/display/intel_lvds.c i915_reg_t lvds_reg, enum pipe *pipe) pipe 92 drivers/gpu/drm/i915/display/intel_lvds.c *pipe = (val & LVDS_PIPE_SEL_MASK_CPT) >> LVDS_PIPE_SEL_SHIFT_CPT; pipe 94 drivers/gpu/drm/i915/display/intel_lvds.c *pipe = (val & LVDS_PIPE_SEL_MASK) >> LVDS_PIPE_SEL_SHIFT; pipe 100 drivers/gpu/drm/i915/display/intel_lvds.c enum pipe *pipe) pipe 112 drivers/gpu/drm/i915/display/intel_lvds.c ret = intel_lvds_port_enabled(dev_priv, lvds_encoder->reg, pipe); pipe 235 drivers/gpu/drm/i915/display/intel_lvds.c int pipe = crtc->pipe; pipe 239 drivers/gpu/drm/i915/display/intel_lvds.c assert_fdi_rx_pll_disabled(dev_priv, pipe); pipe 243 drivers/gpu/drm/i915/display/intel_lvds.c assert_pll_disabled(dev_priv, pipe); pipe 253 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_PIPE_SEL_CPT(pipe); pipe 256 drivers/gpu/drm/i915/display/intel_lvds.c temp |= LVDS_PIPE_SEL(pipe); pipe 400 drivers/gpu/drm/i915/display/intel_lvds.c if (INTEL_GEN(dev_priv) < 4 && intel_crtc->pipe == 0) { pipe 13 drivers/gpu/drm/i915/display/intel_lvds.h enum pipe; pipe 17 drivers/gpu/drm/i915/display/intel_lvds.h i915_reg_t lvds_reg, enum pipe *pipe); pipe 280 drivers/gpu/drm/i915/display/intel_overlay.c enum pipe pipe = overlay->crtc->pipe; pipe 286 drivers/gpu/drm/i915/display/intel_overlay.c INTEL_FRONTBUFFER_OVERLAY(pipe)); pipe 289 drivers/gpu/drm/i915/display/intel_overlay.c INTEL_FRONTBUFFER_OVERLAY(pipe)); pipe 347 drivers/gpu/drm/i915/display/intel_overlay.c INTEL_FRONTBUFFER_OVERLAY(overlay->crtc->pipe)); pipe 749 drivers/gpu/drm/i915/display/intel_overlay.c enum pipe pipe = overlay->crtc->pipe; pipe 779 drivers/gpu/drm/i915/display/intel_overlay.c oconfig |= pipe == 0 ? pipe 433 drivers/gpu/drm/i915/display/intel_panel.c pfit_control |= ((intel_crtc->pipe << PFIT_PIPE_SHIFT) | pipe 570 drivers/gpu/drm/i915/display/intel_panel.c static u32 _vlv_get_backlight(struct drm_i915_private *dev_priv, enum pipe pipe) pipe 572 drivers/gpu/drm/i915/display/intel_panel.c if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B)) pipe 575 drivers/gpu/drm/i915/display/intel_panel.c return I915_READ(VLV_BLC_PWM_CTL(pipe)) & BACKLIGHT_DUTY_CYCLE_MASK; pipe 581 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = intel_connector_get_pipe(connector); pipe 583 drivers/gpu/drm/i915/display/intel_panel.c return _vlv_get_backlight(dev_priv, pipe); pipe 654 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(conn_state->crtc)->pipe; pipe 657 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(VLV_BLC_PWM_CTL(pipe)) & ~BACKLIGHT_DUTY_CYCLE_MASK; pipe 658 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL(pipe), tmp | level); pipe 790 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(old_conn_state->crtc)->pipe; pipe 795 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(VLV_BLC_PWM_CTL2(pipe)); pipe 796 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL2(pipe), tmp & ~BLM_PWM_ENABLE); pipe 1015 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(conn_state->crtc)->pipe; pipe 1032 drivers/gpu/drm/i915/display/intel_panel.c ctl2 = BLM_PIPE(pipe); pipe 1050 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(crtc_state->base.crtc)->pipe; pipe 1053 drivers/gpu/drm/i915/display/intel_panel.c ctl2 = I915_READ(VLV_BLC_PWM_CTL2(pipe)); pipe 1057 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL2(pipe), ctl2); pipe 1061 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL(pipe), ctl); pipe 1069 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL2(pipe), ctl2); pipe 1070 drivers/gpu/drm/i915/display/intel_panel.c POSTING_READ(VLV_BLC_PWM_CTL2(pipe)); pipe 1071 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL2(pipe), ctl2 | BLM_PWM_ENABLE); pipe 1080 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(crtc_state->base.crtc)->pipe; pipe 1095 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(UTIL_PIN_CTL, val | UTIL_PIN_PIPE(pipe) | pipe 1192 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(crtc_state->base.crtc)->pipe; pipe 1197 drivers/gpu/drm/i915/display/intel_panel.c DRM_DEBUG_KMS("pipe %c\n", pipe_name(pipe)); pipe 1568 drivers/gpu/drm/i915/display/intel_panel.c static int lpt_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1623 drivers/gpu/drm/i915/display/intel_panel.c static int pch_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1655 drivers/gpu/drm/i915/display/intel_panel.c static int i9xx_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1694 drivers/gpu/drm/i915/display/intel_panel.c static int i965_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1728 drivers/gpu/drm/i915/display/intel_panel.c static int vlv_setup_backlight(struct intel_connector *connector, enum pipe pipe) pipe 1734 drivers/gpu/drm/i915/display/intel_panel.c if (WARN_ON(pipe != PIPE_A && pipe != PIPE_B)) pipe 1737 drivers/gpu/drm/i915/display/intel_panel.c ctl2 = I915_READ(VLV_BLC_PWM_CTL2(pipe)); pipe 1740 drivers/gpu/drm/i915/display/intel_panel.c ctl = I915_READ(VLV_BLC_PWM_CTL(pipe)); pipe 1751 drivers/gpu/drm/i915/display/intel_panel.c val = _vlv_get_backlight(dev_priv, pipe); pipe 1762 drivers/gpu/drm/i915/display/intel_panel.c bxt_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1802 drivers/gpu/drm/i915/display/intel_panel.c cnp_setup_backlight(struct intel_connector *connector, enum pipe unused) pipe 1840 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe) pipe 1897 drivers/gpu/drm/i915/display/intel_panel.c int intel_panel_setup_backlight(struct drm_connector *connector, enum pipe pipe) pipe 1919 drivers/gpu/drm/i915/display/intel_panel.c ret = panel->backlight.setup(intel_connector, pipe); pipe 37 drivers/gpu/drm/i915/display/intel_panel.h enum pipe pipe); pipe 74 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 92 drivers/gpu/drm/i915/display/intel_pipe_crc.c if (crtc->pipe != pipe) pipe 128 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 135 drivers/gpu/drm/i915/display/intel_pipe_crc.c int ret = i9xx_pipe_crc_auto_source(dev_priv, pipe, source); pipe 178 drivers/gpu/drm/i915/display/intel_pipe_crc.c switch (pipe) { pipe 198 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 203 drivers/gpu/drm/i915/display/intel_pipe_crc.c int ret = i9xx_pipe_crc_auto_source(dev_priv, pipe, source); pipe 238 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe) pipe 242 drivers/gpu/drm/i915/display/intel_pipe_crc.c switch (pipe) { pipe 316 drivers/gpu/drm/i915/display/intel_pipe_crc.c pipe_config->base.active && crtc->pipe == PIPE_A && pipe 337 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 365 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 408 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe, pipe 414 drivers/gpu/drm/i915/display/intel_pipe_crc.c return i9xx_pipe_crc_ctl_reg(dev_priv, pipe, source, val); pipe 416 drivers/gpu/drm/i915/display/intel_pipe_crc.c return vlv_pipe_crc_ctl_reg(dev_priv, pipe, source, val); pipe 420 drivers/gpu/drm/i915/display/intel_pipe_crc.c return ivb_pipe_crc_ctl_reg(dev_priv, pipe, source, val); pipe 422 drivers/gpu/drm/i915/display/intel_pipe_crc.c return skl_pipe_crc_ctl_reg(dev_priv, pipe, source, val); pipe 445 drivers/gpu/drm/i915/display/intel_pipe_crc.c enum pipe pipe; pipe 447 drivers/gpu/drm/i915/display/intel_pipe_crc.c for_each_pipe(dev_priv, pipe) { pipe 448 drivers/gpu/drm/i915/display/intel_pipe_crc.c struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[pipe]; pipe 735 drivers/gpu/drm/i915/display/intel_psr.c dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)->pipe; pipe 876 drivers/gpu/drm/i915/display/intel_psr.c I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0); pipe 1153 drivers/gpu/drm/i915/display/intel_psr.c frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe); pipe 1190 drivers/gpu/drm/i915/display/intel_psr.c frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe); pipe 1530 drivers/gpu/drm/i915/display/intel_sdvo.c sdvox |= SDVO_PIPE_SEL_CPT(crtc->pipe); pipe 1532 drivers/gpu/drm/i915/display/intel_sdvo.c sdvox |= SDVO_PIPE_SEL(crtc->pipe); pipe 1563 drivers/gpu/drm/i915/display/intel_sdvo.c i915_reg_t sdvo_reg, enum pipe *pipe) pipe 1571 drivers/gpu/drm/i915/display/intel_sdvo.c *pipe = (val & SDVO_PIPE_SEL_MASK_CPT) >> SDVO_PIPE_SEL_SHIFT_CPT; pipe 1573 drivers/gpu/drm/i915/display/intel_sdvo.c *pipe = (val & SDVO_PIPE_SEL_MASK_CHV) >> SDVO_PIPE_SEL_SHIFT_CHV; pipe 1575 drivers/gpu/drm/i915/display/intel_sdvo.c *pipe = (val & SDVO_PIPE_SEL_MASK) >> SDVO_PIPE_SEL_SHIFT; pipe 1581 drivers/gpu/drm/i915/display/intel_sdvo.c enum pipe *pipe) pipe 1590 drivers/gpu/drm/i915/display/intel_sdvo.c ret = intel_sdvo_port_enabled(dev_priv, intel_sdvo->sdvo_reg, pipe); pipe 1747 drivers/gpu/drm/i915/display/intel_sdvo.c if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B) { pipe 1799 drivers/gpu/drm/i915/display/intel_sdvo.c intel_wait_for_vblank(dev_priv, intel_crtc->pipe); pipe 16 drivers/gpu/drm/i915/display/intel_sdvo.h enum pipe; pipe 19 drivers/gpu/drm/i915/display/intel_sdvo.h i915_reg_t sdvo_reg, enum pipe *pipe); pipe 152 drivers/gpu/drm/i915/display/intel_sprite.c pipe_name(crtc->pipe)); pipe 207 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = crtc->pipe; pipe 237 drivers/gpu/drm/i915/display/intel_sprite.c pipe_name(pipe), crtc->debug.start_vbl_count, pipe 247 drivers/gpu/drm/i915/display/intel_sprite.c pipe_name(pipe), pipe 364 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 401 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SKL_PS_CTRL(pipe, scaler_id), pipe 403 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SKL_PS_VPHASE(pipe, scaler_id), pipe 405 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SKL_PS_HPHASE(pipe, scaler_id), pipe 407 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SKL_PS_WIN_POS(pipe, scaler_id), (crtc_x << 16) | crtc_y); pipe 408 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SKL_PS_WIN_SZ(pipe, scaler_id), (crtc_w << 16) | crtc_h); pipe 426 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 514 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 0), ROFF(csc[0]) | pipe 516 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 1), BOFF(csc[2])); pipe 517 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 2), ROFF(csc[3]) | pipe 519 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 3), BOFF(csc[5])); pipe 520 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 4), ROFF(csc[6]) | pipe 522 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_COEFF(pipe, plane_id, 5), BOFF(csc[8])); pipe 524 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 0), pipe 527 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 1), 0); pipe 529 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 1), pipe 531 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_PREOFF(pipe, plane_id, 2), pipe 533 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_POSTOFF(pipe, plane_id, 0), 0x0); pipe 534 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_POSTOFF(pipe, plane_id, 1), 0x0); pipe 535 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_INPUT_CSC_POSTOFF(pipe, plane_id, 2), 0x0); pipe 546 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 588 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_STRIDE(pipe, plane_id), stride); pipe 589 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_POS(pipe, plane_id), (crtc_y << 16) | crtc_x); pipe 590 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_SIZE(pipe, plane_id), (src_h << 16) | src_w); pipe 591 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_AUX_DIST(pipe, plane_id), pipe 612 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_CUS_CTL(pipe, plane_id), cus_ctl); pipe 616 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_COLOR_CTL(pipe, plane_id), plane_color_ctl); pipe 623 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_KEYVAL(pipe, plane_id), key->min_value); pipe 624 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_KEYMSK(pipe, plane_id), keymsk); pipe 625 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_KEYMAX(pipe, plane_id), keymax); pipe 627 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_OFFSET(pipe, plane_id), (y << 16) | x); pipe 630 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_AUX_OFFSET(pipe, plane_id), pipe 639 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_CTL(pipe, plane_id), plane_ctl); pipe 640 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_SURF(pipe, plane_id), pipe 680 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 686 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_CUS_CTL(pipe, plane_id), 0); pipe 690 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_CTL(pipe, plane_id), 0); pipe 691 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(PLANE_SURF(pipe, plane_id), 0); pipe 698 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe *pipe) pipe 706 drivers/gpu/drm/i915/display/intel_sprite.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 711 drivers/gpu/drm/i915/display/intel_sprite.c ret = I915_READ(PLANE_CTL(plane->pipe, plane_id)) & PLANE_CTL_ENABLE; pipe 713 drivers/gpu/drm/i915/display/intel_sprite.c *pipe = plane->pipe; pipe 795 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 822 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPCLRC0(pipe, plane_id), pipe 824 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPCLRC1(pipe, plane_id), pipe 910 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 924 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPGAMC(pipe, plane_id, i - 1), pipe 936 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 960 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPSTRIDE(pipe, plane_id), pipe 962 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPPOS(pipe, plane_id), (crtc_y << 16) | crtc_x); pipe 963 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPSIZE(pipe, plane_id), (crtc_h << 16) | crtc_w); pipe 964 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPCONSTALPHA(pipe, plane_id), 0); pipe 966 drivers/gpu/drm/i915/display/intel_sprite.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_B) pipe 970 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPKEYMINVAL(pipe, plane_id), key->min_value); pipe 971 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPKEYMSK(pipe, plane_id), key->channel_mask); pipe 972 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPKEYMAXVAL(pipe, plane_id), key->max_value); pipe 975 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPLINOFF(pipe, plane_id), linear_offset); pipe 976 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPTILEOFF(pipe, plane_id), (y << 16) | x); pipe 983 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPCNTR(pipe, plane_id), sprctl); pipe 984 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPSURF(pipe, plane_id), pipe 998 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1004 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPCNTR(pipe, plane_id), 0); pipe 1005 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPSURF(pipe, plane_id), 0); pipe 1012 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe *pipe) pipe 1020 drivers/gpu/drm/i915/display/intel_sprite.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 1025 drivers/gpu/drm/i915/display/intel_sprite.c ret = I915_READ(SPCNTR(plane->pipe, plane_id)) & SP_ENABLE; pipe 1027 drivers/gpu/drm/i915/display/intel_sprite.c *pipe = plane->pipe; pipe 1123 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1131 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC(pipe, i), pipe 1136 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC16(pipe, 0), gamma[i]); pipe 1137 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC16(pipe, 1), gamma[i]); pipe 1138 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC16(pipe, 2), gamma[i]); pipe 1141 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC17(pipe, 0), gamma[i]); pipe 1142 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC17(pipe, 1), gamma[i]); pipe 1143 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRGAMC17(pipe, 2), gamma[i]); pipe 1153 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1183 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSTRIDE(pipe), plane_state->color_plane[0].stride); pipe 1184 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRPOS(pipe), (crtc_y << 16) | crtc_x); pipe 1185 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSIZE(pipe), (crtc_h << 16) | crtc_w); pipe 1187 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSCALE(pipe), sprscale); pipe 1190 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRKEYVAL(pipe), key->min_value); pipe 1191 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRKEYMSK(pipe), key->channel_mask); pipe 1192 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRKEYMAX(pipe), key->max_value); pipe 1198 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPROFFSET(pipe), (y << 16) | x); pipe 1200 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRLINOFF(pipe), linear_offset); pipe 1201 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRTILEOFF(pipe), (y << 16) | x); pipe 1209 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRCTL(pipe), sprctl); pipe 1210 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSURF(pipe), pipe 1223 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1228 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRCTL(pipe), 0); pipe 1231 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSCALE(pipe), 0); pipe 1232 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(SPRSURF(pipe), 0); pipe 1239 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe *pipe) pipe 1246 drivers/gpu/drm/i915/display/intel_sprite.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 1251 drivers/gpu/drm/i915/display/intel_sprite.c ret = I915_READ(SPRCTL(plane->pipe)) & SPRITE_ENABLE; pipe 1253 drivers/gpu/drm/i915/display/intel_sprite.c *pipe = plane->pipe; pipe 1345 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1358 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSGAMC_G4X(pipe, i - 1), pipe 1377 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1389 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSGAMC_ILK(pipe, i), pipe 1394 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSGAMCMAX_ILK(pipe, 0), gamma[i]); pipe 1395 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSGAMCMAX_ILK(pipe, 1), gamma[i]); pipe 1396 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSGAMCMAX_ILK(pipe, 2), gamma[i]); pipe 1406 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1436 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSTRIDE(pipe), plane_state->color_plane[0].stride); pipe 1437 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSPOS(pipe), (crtc_y << 16) | crtc_x); pipe 1438 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSIZE(pipe), (crtc_h << 16) | crtc_w); pipe 1439 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSCALE(pipe), dvsscale); pipe 1442 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSKEYVAL(pipe), key->min_value); pipe 1443 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSKEYMSK(pipe), key->channel_mask); pipe 1444 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSKEYMAX(pipe), key->max_value); pipe 1447 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSLINOFF(pipe), linear_offset); pipe 1448 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSTILEOFF(pipe), (y << 16) | x); pipe 1455 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSCNTR(pipe), dvscntr); pipe 1456 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSURF(pipe), pipe 1472 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe = plane->pipe; pipe 1477 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSCNTR(pipe), 0); pipe 1479 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSCALE(pipe), 0); pipe 1480 drivers/gpu/drm/i915/display/intel_sprite.c I915_WRITE_FW(DVSSURF(pipe), 0); pipe 1487 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe *pipe) pipe 1494 drivers/gpu/drm/i915/display/intel_sprite.c power_domain = POWER_DOMAIN_PIPE(plane->pipe); pipe 1499 drivers/gpu/drm/i915/display/intel_sprite.c ret = I915_READ(DVSCNTR(plane->pipe)) & DVS_ENABLE; pipe 1501 drivers/gpu/drm/i915/display/intel_sprite.c *pipe = plane->pipe; pipe 1955 drivers/gpu/drm/i915/display/intel_sprite.c to_intel_plane(plane)->pipe); pipe 2346 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id) pipe 2351 drivers/gpu/drm/i915/display/intel_sprite.c return pipe == PIPE_A && plane_id == PLANE_PRIMARY; pipe 2355 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id) pipe 2361 drivers/gpu/drm/i915/display/intel_sprite.c if (IS_GEN(dev_priv, 9) && !IS_GEMINILAKE(dev_priv) && pipe == PIPE_C) pipe 2371 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id, pipe 2374 drivers/gpu/drm/i915/display/intel_sprite.c if (skl_plane_has_planar(dev_priv, pipe, plane_id)) { pipe 2384 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id, pipe 2387 drivers/gpu/drm/i915/display/intel_sprite.c if (skl_plane_has_planar(dev_priv, pipe, plane_id)) { pipe 2397 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id, pipe 2413 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id) pipe 2422 drivers/gpu/drm/i915/display/intel_sprite.c return pipe != PIPE_C; pipe 2424 drivers/gpu/drm/i915/display/intel_sprite.c return pipe != PIPE_C && pipe 2431 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, enum plane_id plane_id) pipe 2446 drivers/gpu/drm/i915/display/intel_sprite.c plane->pipe = pipe; pipe 2448 drivers/gpu/drm/i915/display/intel_sprite.c plane->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, plane_id); pipe 2450 drivers/gpu/drm/i915/display/intel_sprite.c plane->has_fbc = skl_plane_has_fbc(dev_priv, pipe, plane_id); pipe 2466 drivers/gpu/drm/i915/display/intel_sprite.c formats = icl_get_plane_formats(dev_priv, pipe, pipe 2469 drivers/gpu/drm/i915/display/intel_sprite.c formats = glk_get_plane_formats(dev_priv, pipe, pipe 2472 drivers/gpu/drm/i915/display/intel_sprite.c formats = skl_get_plane_formats(dev_priv, pipe, pipe 2475 drivers/gpu/drm/i915/display/intel_sprite.c plane->has_ccs = skl_plane_has_ccs(dev_priv, pipe, plane_id); pipe 2486 drivers/gpu/drm/i915/display/intel_sprite.c possible_crtcs = BIT(pipe); pipe 2493 drivers/gpu/drm/i915/display/intel_sprite.c pipe_name(pipe)); pipe 2534 drivers/gpu/drm/i915/display/intel_sprite.c enum pipe pipe, int sprite) pipe 2546 drivers/gpu/drm/i915/display/intel_sprite.c return skl_universal_plane_create(dev_priv, pipe, pipe 2598 drivers/gpu/drm/i915/display/intel_sprite.c if (IS_CHERRYVIEW(dev_priv) && pipe == PIPE_B) { pipe 2607 drivers/gpu/drm/i915/display/intel_sprite.c plane->pipe = pipe; pipe 2609 drivers/gpu/drm/i915/display/intel_sprite.c plane->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, plane->id); pipe 2611 drivers/gpu/drm/i915/display/intel_sprite.c possible_crtcs = BIT(pipe); pipe 2617 drivers/gpu/drm/i915/display/intel_sprite.c "sprite %c", sprite_name(pipe, sprite)); pipe 24 drivers/gpu/drm/i915/display/intel_sprite.h enum pipe pipe, int plane); pipe 34 drivers/gpu/drm/i915/display/intel_sprite.h enum pipe pipe, enum plane_id plane_id); pipe 907 drivers/gpu/drm/i915/display/intel_tv.c intel_tv_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) pipe 912 drivers/gpu/drm/i915/display/intel_tv.c *pipe = (tmp & TV_ENC_PIPE_SEL_MASK) >> TV_ENC_PIPE_SEL_SHIFT; pipe 927 drivers/gpu/drm/i915/display/intel_tv.c to_intel_crtc(pipe_config->base.crtc)->pipe); pipe 1467 drivers/gpu/drm/i915/display/intel_tv.c tv_ctl |= TV_ENC_PIPE_SEL(intel_crtc->pipe); pipe 1531 drivers/gpu/drm/i915/display/intel_tv.c assert_pipe_disabled(dev_priv, intel_crtc->pipe); pipe 1591 drivers/gpu/drm/i915/display/intel_tv.c tv_ctl |= TV_ENC_PIPE_SEL(intel_crtc->pipe); pipe 1616 drivers/gpu/drm/i915/display/intel_tv.c intel_wait_for_vblank(dev_priv, intel_crtc->pipe); pipe 1646 drivers/gpu/drm/i915/display/intel_tv.c intel_wait_for_vblank(dev_priv, intel_crtc->pipe); pipe 489 drivers/gpu/drm/i915/display/intel_vdsc.c enum pipe pipe = crtc->pipe; pipe 520 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_0(pipe), pps_val); pipe 522 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe), pipe 539 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_1(pipe), pps_val); pipe 541 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_1(pipe), pipe 559 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_2(pipe), pps_val); pipe 561 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_2(pipe), pipe 579 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_3(pipe), pps_val); pipe 581 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_3(pipe), pipe 599 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_4(pipe), pps_val); pipe 601 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_4(pipe), pipe 619 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_5(pipe), pps_val); pipe 621 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_5(pipe), pipe 641 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_6(pipe), pps_val); pipe 643 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_6(pipe), pipe 661 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_7(pipe), pps_val); pipe 663 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_7(pipe), pipe 681 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_8(pipe), pps_val); pipe 683 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_8(pipe), pipe 701 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_9(pipe), pps_val); pipe 703 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_9(pipe), pipe 723 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_10(pipe), pps_val); pipe 725 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_10(pipe), pipe 746 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_PICTURE_PARAMETER_SET_16(pipe), pps_val); pipe 748 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_PICTURE_PARAMETER_SET_16(pipe), pipe 777 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_BUF_THRESH_0(pipe), pipe 779 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_BUF_THRESH_0_UDW(pipe), pipe 781 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_BUF_THRESH_1(pipe), pipe 783 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_BUF_THRESH_1_UDW(pipe), pipe 786 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_BUF_THRESH_0(pipe), pipe 788 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_BUF_THRESH_0_UDW(pipe), pipe 790 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_BUF_THRESH_1(pipe), pipe 792 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_BUF_THRESH_1_UDW(pipe), pipe 846 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_0(pipe), pipe 848 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_0_UDW(pipe), pipe 850 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_1(pipe), pipe 852 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_1_UDW(pipe), pipe 854 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_2(pipe), pipe 856 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_2_UDW(pipe), pipe 858 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_3(pipe), pipe 860 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC0_RC_RANGE_PARAMETERS_3_UDW(pipe), pipe 863 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_0(pipe), pipe 865 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_0_UDW(pipe), pipe 867 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_1(pipe), pipe 869 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_1_UDW(pipe), pipe 871 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_2(pipe), pipe 873 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_2_UDW(pipe), pipe 875 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_3(pipe), pipe 877 drivers/gpu/drm/i915/display/intel_vdsc.c I915_WRITE(ICL_DSC1_RC_RANGE_PARAMETERS_3_UDW(pipe), pipe 907 drivers/gpu/drm/i915/display/intel_vdsc.c enum pipe pipe = crtc->pipe; pipe 927 drivers/gpu/drm/i915/display/intel_vdsc.c dss_ctl1_reg = ICL_PIPE_DSS_CTL1(pipe); pipe 928 drivers/gpu/drm/i915/display/intel_vdsc.c dss_ctl2_reg = ICL_PIPE_DSS_CTL2(pipe); pipe 943 drivers/gpu/drm/i915/display/intel_vdsc.c enum pipe pipe = crtc->pipe; pipe 954 drivers/gpu/drm/i915/display/intel_vdsc.c dss_ctl1_reg = ICL_PIPE_DSS_CTL1(pipe); pipe 955 drivers/gpu/drm/i915/display/intel_vdsc.c dss_ctl2_reg = ICL_PIPE_DSS_CTL2(pipe); pipe 666 drivers/gpu/drm/i915/display/vlv_dsi.c temp |= crtc->pipe ? pipe 752 drivers/gpu/drm/i915/display/vlv_dsi.c int pipe = intel_crtc->pipe; pipe 759 drivers/gpu/drm/i915/display/vlv_dsi.c intel_set_cpu_fifo_underrun_reporting(dev_priv, pipe, true); pipe 956 drivers/gpu/drm/i915/display/vlv_dsi.c enum pipe *pipe) pipe 1014 drivers/gpu/drm/i915/display/vlv_dsi.c *pipe = tmp; pipe 1016 drivers/gpu/drm/i915/display/vlv_dsi.c *pipe = port == PORT_A ? PIPE_A : PIPE_B; pipe 1326 drivers/gpu/drm/i915/display/vlv_dsi.c DRM_DEBUG_KMS("pipe %c\n", pipe_name(intel_crtc->pipe)); pipe 1353 drivers/gpu/drm/i915/display/vlv_dsi.c enum pipe pipe = intel_crtc->pipe; pipe 1358 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= BXT_PIPE_SELECT(pipe); pipe 1576 drivers/gpu/drm/i915/display/vlv_dsi.c enum pipe pipe; pipe 1579 drivers/gpu/drm/i915/display/vlv_dsi.c if (!encoder->get_hw_state(encoder, &pipe)) pipe 1582 drivers/gpu/drm/i915/display/vlv_dsi.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 1585 drivers/gpu/drm/i915/display/vlv_dsi.c power_domain = POWER_DOMAIN_PIPE(pipe); pipe 1193 drivers/gpu/drm/i915/gvt/cmd_parser.c int pipe; pipe 1206 drivers/gpu/drm/i915/gvt/cmd_parser.c int pipe; pipe 1234 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = gen8_plane_code[v].pipe; pipe 1243 drivers/gpu/drm/i915/gvt/cmd_parser.c info->ctrl_reg = DSPCNTR(info->pipe); pipe 1244 drivers/gpu/drm/i915/gvt/cmd_parser.c info->stride_reg = DSPSTRIDE(info->pipe); pipe 1245 drivers/gpu/drm/i915/gvt/cmd_parser.c info->surf_reg = DSPSURF(info->pipe); pipe 1247 drivers/gpu/drm/i915/gvt/cmd_parser.c info->ctrl_reg = SPRCTL(info->pipe); pipe 1248 drivers/gpu/drm/i915/gvt/cmd_parser.c info->stride_reg = SPRSTRIDE(info->pipe); pipe 1249 drivers/gpu/drm/i915/gvt/cmd_parser.c info->surf_reg = SPRSURF(info->pipe); pipe 1271 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_A; pipe 1275 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_B; pipe 1279 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_C; pipe 1284 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_A; pipe 1289 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_B; pipe 1294 drivers/gpu/drm/i915/gvt/cmd_parser.c info->pipe = PIPE_C; pipe 1309 drivers/gpu/drm/i915/gvt/cmd_parser.c info->ctrl_reg = DSPCNTR(info->pipe); pipe 1310 drivers/gpu/drm/i915/gvt/cmd_parser.c info->stride_reg = DSPSTRIDE(info->pipe); pipe 1311 drivers/gpu/drm/i915/gvt/cmd_parser.c info->surf_reg = DSPSURF(info->pipe); pipe 1366 drivers/gpu/drm/i915/gvt/cmd_parser.c vgpu_vreg_t(vgpu, PIPE_FLIPCOUNT_G4X(info->pipe))++; pipe 1371 drivers/gpu/drm/i915/gvt/cmd_parser.c set_bit(info->event, vgpu->irq.flip_done_event[info->pipe]); pipe 41 drivers/gpu/drm/i915/gvt/display.c int pipe = -1; pipe 46 drivers/gpu/drm/i915/gvt/display.c pipe = PIPE_A; pipe 49 drivers/gpu/drm/i915/gvt/display.c pipe = PIPE_B; pipe 52 drivers/gpu/drm/i915/gvt/display.c pipe = PIPE_C; pipe 55 drivers/gpu/drm/i915/gvt/display.c return pipe; pipe 70 drivers/gpu/drm/i915/gvt/display.c int pipe_is_enabled(struct intel_vgpu *vgpu, int pipe) pipe 74 drivers/gpu/drm/i915/gvt/display.c if (WARN_ON(pipe < PIPE_A || pipe >= I915_MAX_PIPES)) pipe 77 drivers/gpu/drm/i915/gvt/display.c if (vgpu_vreg_t(vgpu, PIPECONF(pipe)) & PIPECONF_ENABLE) pipe 81 drivers/gpu/drm/i915/gvt/display.c get_edp_pipe(vgpu) == pipe) pipe 172 drivers/gpu/drm/i915/gvt/display.c int pipe; pipe 337 drivers/gpu/drm/i915/gvt/display.c for_each_pipe(dev_priv, pipe) { pipe 338 drivers/gpu/drm/i915/gvt/display.c vgpu_vreg_t(vgpu, DSPCNTR(pipe)) &= ~DISPLAY_PLANE_ENABLE; pipe 339 drivers/gpu/drm/i915/gvt/display.c vgpu_vreg_t(vgpu, SPRCTL(pipe)) &= ~SPRITE_ENABLE; pipe 340 drivers/gpu/drm/i915/gvt/display.c vgpu_vreg_t(vgpu, CURCNTR(pipe)) &= ~MCURSOR_MODE; pipe 341 drivers/gpu/drm/i915/gvt/display.c vgpu_vreg_t(vgpu, CURCNTR(pipe)) |= MCURSOR_MODE_DISABLE; pipe 404 drivers/gpu/drm/i915/gvt/display.c int pipe, id; pipe 409 drivers/gpu/drm/i915/gvt/display.c for (pipe = 0; pipe < I915_MAX_PIPES; pipe++) { pipe 410 drivers/gpu/drm/i915/gvt/display.c if (pipe_is_enabled(vgpu, pipe)) { pipe 429 drivers/gpu/drm/i915/gvt/display.c static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe) pipe 440 drivers/gpu/drm/i915/gvt/display.c if (pipe < PIPE_A || pipe > PIPE_C) pipe 443 drivers/gpu/drm/i915/gvt/display.c for_each_set_bit(event, irq->flip_done_event[pipe], pipe 445 drivers/gpu/drm/i915/gvt/display.c clear_bit(event, irq->flip_done_event[pipe]); pipe 446 drivers/gpu/drm/i915/gvt/display.c if (!pipe_is_enabled(vgpu, pipe)) pipe 452 drivers/gpu/drm/i915/gvt/display.c if (pipe_is_enabled(vgpu, pipe)) { pipe 453 drivers/gpu/drm/i915/gvt/display.c vgpu_vreg_t(vgpu, PIPE_FRMCOUNT_G4X(pipe))++; pipe 454 drivers/gpu/drm/i915/gvt/display.c intel_vgpu_trigger_virtual_event(vgpu, vblank_event[pipe]); pipe 460 drivers/gpu/drm/i915/gvt/display.c int pipe; pipe 463 drivers/gpu/drm/i915/gvt/display.c for_each_pipe(vgpu->gvt->dev_priv, pipe) pipe 464 drivers/gpu/drm/i915/gvt/display.c emulate_vblank_on_pipe(vgpu, pipe); pipe 207 drivers/gpu/drm/i915/gvt/display.h int pipe_is_enabled(struct intel_vgpu *vgpu, int pipe); pipe 146 drivers/gpu/drm/i915/gvt/fb_decoder.c static u32 intel_vgpu_get_stride(struct intel_vgpu *vgpu, int pipe, pipe 151 drivers/gpu/drm/i915/gvt/fb_decoder.c u32 stride_reg = vgpu_vreg_t(vgpu, DSPSTRIDE(pipe)) & stride_mask; pipe 207 drivers/gpu/drm/i915/gvt/fb_decoder.c int pipe; pipe 209 drivers/gpu/drm/i915/gvt/fb_decoder.c pipe = get_active_pipe(vgpu); pipe 210 drivers/gpu/drm/i915/gvt/fb_decoder.c if (pipe >= I915_MAX_PIPES) pipe 213 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, DSPCNTR(pipe)); pipe 247 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base = vgpu_vreg_t(vgpu, DSPSURF(pipe)) & I915_GTT_PAGE_MASK; pipe 258 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->stride = intel_vgpu_get_stride(vgpu, pipe, plane->tiled, pipe 263 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width = (vgpu_vreg_t(vgpu, PIPESRC(pipe)) & _PIPE_H_SRCSZ_MASK) >> pipe 266 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->height = (vgpu_vreg_t(vgpu, PIPESRC(pipe)) & pipe 270 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, DSPTILEOFF(pipe)); pipe 338 drivers/gpu/drm/i915/gvt/fb_decoder.c int pipe; pipe 340 drivers/gpu/drm/i915/gvt/fb_decoder.c pipe = get_active_pipe(vgpu); pipe 341 drivers/gpu/drm/i915/gvt/fb_decoder.c if (pipe >= I915_MAX_PIPES) pipe 344 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, CURCNTR(pipe)); pipe 370 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base = vgpu_vreg_t(vgpu, CURBASE(pipe)) & I915_GTT_PAGE_MASK; pipe 381 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, CURPOS(pipe)); pipe 417 drivers/gpu/drm/i915/gvt/fb_decoder.c int pipe; pipe 419 drivers/gpu/drm/i915/gvt/fb_decoder.c pipe = get_active_pipe(vgpu); pipe 420 drivers/gpu/drm/i915/gvt/fb_decoder.c if (pipe >= I915_MAX_PIPES) pipe 423 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, SPRCTL(pipe)); pipe 474 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base = vgpu_vreg_t(vgpu, SPRSURF(pipe)) & I915_GTT_PAGE_MASK; pipe 485 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->stride = vgpu_vreg_t(vgpu, SPRSTRIDE(pipe)) & pipe 488 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, SPRSIZE(pipe)); pipe 496 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, SPRPOS(pipe)); pipe 500 drivers/gpu/drm/i915/gvt/fb_decoder.c val = vgpu_vreg_t(vgpu, SPROFFSET(pipe)); pipe 579 drivers/gpu/drm/i915/gvt/handlers.c enum pipe pipe, unsigned int train_pattern) pipe 586 drivers/gpu/drm/i915/gvt/handlers.c fdi_rx_imr = FDI_RX_IMR(pipe); pipe 587 drivers/gpu/drm/i915/gvt/handlers.c fdi_tx_ctl = FDI_TX_CTL(pipe); pipe 588 drivers/gpu/drm/i915/gvt/handlers.c fdi_rx_ctl = FDI_RX_CTL(pipe); pipe 755 drivers/gpu/drm/i915/gvt/handlers.c u32 pipe = DSPSURF_TO_PIPE(offset); pipe 756 drivers/gpu/drm/i915/gvt/handlers.c int event = SKL_FLIP_EVENT(pipe, PLANE_PRIMARY); pipe 759 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, DSPSURFLIVE(pipe)) = vgpu_vreg(vgpu, offset); pipe 761 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, PIPE_FLIPCOUNT_G4X(pipe))++; pipe 763 drivers/gpu/drm/i915/gvt/handlers.c if (vgpu_vreg_t(vgpu, DSPCNTR(pipe)) & PLANE_CTL_ASYNC_FLIP) pipe 766 drivers/gpu/drm/i915/gvt/handlers.c set_bit(event, vgpu->irq.flip_done_event[pipe]); pipe 777 drivers/gpu/drm/i915/gvt/handlers.c u32 pipe = SPRSURF_TO_PIPE(offset); pipe 778 drivers/gpu/drm/i915/gvt/handlers.c int event = SKL_FLIP_EVENT(pipe, PLANE_SPRITE0); pipe 781 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, SPRSURFLIVE(pipe)) = vgpu_vreg(vgpu, offset); pipe 783 drivers/gpu/drm/i915/gvt/handlers.c if (vgpu_vreg_t(vgpu, SPRCTL(pipe)) & PLANE_CTL_ASYNC_FLIP) pipe 786 drivers/gpu/drm/i915/gvt/handlers.c set_bit(event, vgpu->irq.flip_done_event[pipe]); pipe 796 drivers/gpu/drm/i915/gvt/handlers.c enum pipe pipe = REG_50080_TO_PIPE(offset); pipe 798 drivers/gpu/drm/i915/gvt/handlers.c int event = SKL_FLIP_EVENT(pipe, plane); pipe 802 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, DSPSURFLIVE(pipe)) = vgpu_vreg(vgpu, offset); pipe 803 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, PIPE_FLIPCOUNT_G4X(pipe))++; pipe 805 drivers/gpu/drm/i915/gvt/handlers.c vgpu_vreg_t(vgpu, SPRSURFLIVE(pipe)) = vgpu_vreg(vgpu, offset); pipe 811 drivers/gpu/drm/i915/gvt/handlers.c set_bit(event, vgpu->irq.flip_done_event[pipe]); pipe 58 drivers/gpu/drm/i915/gvt/reg.h #define VGT_SPRSTRIDE(pipe) _PIPE(pipe, _SPRA_STRIDE, _PLANE_STRIDE_2_B) pipe 60 drivers/gpu/drm/i915/gvt/reg.h #define _REG_701C0(pipe, plane) (0x701c0 + pipe * 0x1000 + (plane - 1) * 0x100) pipe 61 drivers/gpu/drm/i915/gvt/reg.h #define _REG_701C4(pipe, plane) (0x701c4 + pipe * 0x1000 + (plane - 1) * 0x100) pipe 63 drivers/gpu/drm/i915/gvt/reg.h #define SKL_FLIP_EVENT(pipe, plane) (PRIMARY_A_FLIP_DONE + (plane) * 3 + (pipe)) pipe 379 drivers/gpu/drm/i915/i915_debugfs.c int pipe; pipe 381 drivers/gpu/drm/i915/i915_debugfs.c for_each_pipe(dev_priv, pipe) { pipe 385 drivers/gpu/drm/i915/i915_debugfs.c power_domain = POWER_DOMAIN_PIPE(pipe); pipe 390 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe)); pipe 394 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 395 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(GEN8_DE_PIPE_IMR(pipe))); pipe 397 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 398 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(GEN8_DE_PIPE_IIR(pipe))); pipe 400 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 401 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(GEN8_DE_PIPE_IER(pipe))); pipe 433 drivers/gpu/drm/i915/i915_debugfs.c int i, pipe; pipe 451 drivers/gpu/drm/i915/i915_debugfs.c for_each_pipe(dev_priv, pipe) { pipe 454 drivers/gpu/drm/i915/i915_debugfs.c power_domain = POWER_DOMAIN_PIPE(pipe); pipe 459 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe)); pipe 464 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 465 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(PIPESTAT(pipe))); pipe 538 drivers/gpu/drm/i915/i915_debugfs.c for_each_pipe(dev_priv, pipe) { pipe 542 drivers/gpu/drm/i915/i915_debugfs.c power_domain = POWER_DOMAIN_PIPE(pipe); pipe 547 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe)); pipe 552 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 553 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(PIPESTAT(pipe))); pipe 588 drivers/gpu/drm/i915/i915_debugfs.c for_each_pipe(dev_priv, pipe) pipe 590 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(pipe), pipe 591 drivers/gpu/drm/i915/i915_debugfs.c I915_READ(PIPESTAT(pipe))); pipe 2737 drivers/gpu/drm/i915/i915_debugfs.c crtc->base.base.id, pipe_name(crtc->pipe), pipe 2970 drivers/gpu/drm/i915/i915_debugfs.c enum pipe pipe = crtc->pipe; pipe 2973 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "Pipe %c\n", pipe_name(pipe)); pipe 4268 drivers/gpu/drm/i915/i915_debugfs.c pipe_name(intel_crtc->pipe)); pipe 261 drivers/gpu/drm/i915/i915_drv.h enum pipe pipe); pipe 423 drivers/gpu/drm/i915/i915_drv.h enum pipe pipe; pipe 481 drivers/gpu/drm/i915/i915_drv.h enum pipe pipe; pipe 861 drivers/gpu/drm/i915/i915_drv.h struct g4x_pipe_wm pipe[3]; pipe 869 drivers/gpu/drm/i915/i915_drv.h struct g4x_pipe_wm pipe[2]; pipe 1824 drivers/gpu/drm/i915/i915_drv.h #define INTEL_FRONTBUFFER(pipe, plane_id) ({ \ pipe 1827 drivers/gpu/drm/i915/i915_drv.h BIT((plane_id) + INTEL_FRONTBUFFER_BITS_PER_PIPE * (pipe)); \ pipe 1829 drivers/gpu/drm/i915/i915_drv.h #define INTEL_FRONTBUFFER_OVERLAY(pipe) \ pipe 1830 drivers/gpu/drm/i915/i915_drv.h BIT(INTEL_FRONTBUFFER_BITS_PER_PIPE - 1 + INTEL_FRONTBUFFER_BITS_PER_PIPE * (pipe)) pipe 1831 drivers/gpu/drm/i915/i915_drv.h #define INTEL_FRONTBUFFER_ALL_MASK(pipe) \ pipe 1832 drivers/gpu/drm/i915/i915_drv.h GENMASK(INTEL_FRONTBUFFER_BITS_PER_PIPE * ((pipe) + 1) - 1, \ pipe 1833 drivers/gpu/drm/i915/i915_drv.h INTEL_FRONTBUFFER_BITS_PER_PIPE * (pipe)) pipe 544 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe, pipe 557 drivers/gpu/drm/i915/i915_irq.c new_val = dev_priv->de_irq_mask[pipe]; pipe 561 drivers/gpu/drm/i915/i915_irq.c if (new_val != dev_priv->de_irq_mask[pipe]) { pipe 562 drivers/gpu/drm/i915/i915_irq.c dev_priv->de_irq_mask[pipe] = new_val; pipe 563 drivers/gpu/drm/i915/i915_irq.c I915_WRITE(GEN8_DE_PIPE_IMR(pipe), dev_priv->de_irq_mask[pipe]); pipe 564 drivers/gpu/drm/i915/i915_irq.c POSTING_READ(GEN8_DE_PIPE_IMR(pipe)); pipe 594 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe) pipe 596 drivers/gpu/drm/i915/i915_irq.c u32 status_mask = dev_priv->pipestat_irq_mask[pipe]; pipe 629 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), enable_mask, status_mask); pipe 635 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe, u32 status_mask) pipe 637 drivers/gpu/drm/i915/i915_irq.c i915_reg_t reg = PIPESTAT(pipe); pipe 642 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), status_mask); pipe 647 drivers/gpu/drm/i915/i915_irq.c if ((dev_priv->pipestat_irq_mask[pipe] & status_mask) == status_mask) pipe 650 drivers/gpu/drm/i915/i915_irq.c dev_priv->pipestat_irq_mask[pipe] |= status_mask; pipe 651 drivers/gpu/drm/i915/i915_irq.c enable_mask = i915_pipestat_enable_mask(dev_priv, pipe); pipe 658 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe, u32 status_mask) pipe 660 drivers/gpu/drm/i915/i915_irq.c i915_reg_t reg = PIPESTAT(pipe); pipe 665 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), status_mask); pipe 670 drivers/gpu/drm/i915/i915_irq.c if ((dev_priv->pipestat_irq_mask[pipe] & status_mask) == 0) pipe 673 drivers/gpu/drm/i915/i915_irq.c dev_priv->pipestat_irq_mask[pipe] &= ~status_mask; pipe 674 drivers/gpu/drm/i915/i915_irq.c enable_mask = i915_pipestat_enable_mask(dev_priv, pipe); pipe 765 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 796 drivers/gpu/drm/i915/i915_irq.c high_frame = PIPEFRAME(pipe); pipe 797 drivers/gpu/drm/i915/i915_irq.c low_frame = PIPEFRAMEPIXEL(pipe); pipe 829 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 831 drivers/gpu/drm/i915/i915_irq.c return I915_READ(PIPE_FRMCOUNT_G4X(pipe)); pipe 866 drivers/gpu/drm/i915/i915_irq.c scan_prev_time = I915_READ_FW(PIPE_FRMTMSTMP(crtc->pipe)); pipe 874 drivers/gpu/drm/i915/i915_irq.c scan_post_time = I915_READ_FW(PIPE_FRMTMSTMP(crtc->pipe)); pipe 892 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = crtc->pipe; pipe 909 drivers/gpu/drm/i915/i915_irq.c position = I915_READ_FW(PIPEDSL(pipe)) & DSL_LINEMASK_GEN2; pipe 911 drivers/gpu/drm/i915/i915_irq.c position = I915_READ_FW(PIPEDSL(pipe)) & DSL_LINEMASK_GEN3; pipe 930 drivers/gpu/drm/i915/i915_irq.c temp = I915_READ_FW(PIPEDSL(pipe)) & DSL_LINEMASK_GEN3; pipe 945 drivers/gpu/drm/i915/i915_irq.c bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 952 drivers/gpu/drm/i915/i915_irq.c pipe); pipe 962 drivers/gpu/drm/i915/i915_irq.c "pipe %c\n", pipe_name(pipe)); pipe 1001 drivers/gpu/drm/i915/i915_irq.c position = (I915_READ_FW(PIPEFRAMEPIXEL(pipe)) & PIPE_PIXEL_MASK) >> PIPE_PIXEL_SHIFT; pipe 1572 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe, pipe 1577 drivers/gpu/drm/i915/i915_irq.c struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[pipe]; pipe 1578 drivers/gpu/drm/i915/i915_irq.c struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 1607 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe, pipe 1615 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe) pipe 1617 drivers/gpu/drm/i915/i915_irq.c display_pipe_crc_irq_handler(dev_priv, pipe, pipe 1618 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_1_IVB(pipe)), pipe 1623 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe) pipe 1625 drivers/gpu/drm/i915/i915_irq.c display_pipe_crc_irq_handler(dev_priv, pipe, pipe 1626 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_1_IVB(pipe)), pipe 1627 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_2_IVB(pipe)), pipe 1628 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_3_IVB(pipe)), pipe 1629 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_4_IVB(pipe)), pipe 1630 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_5_IVB(pipe))); pipe 1634 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe) pipe 1639 drivers/gpu/drm/i915/i915_irq.c res1 = I915_READ(PIPE_CRC_RES_RES1_I915(pipe)); pipe 1644 drivers/gpu/drm/i915/i915_irq.c res2 = I915_READ(PIPE_CRC_RES_RES2_G4X(pipe)); pipe 1648 drivers/gpu/drm/i915/i915_irq.c display_pipe_crc_irq_handler(dev_priv, pipe, pipe 1649 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_RED(pipe)), pipe 1650 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_GREEN(pipe)), pipe 1651 drivers/gpu/drm/i915/i915_irq.c I915_READ(PIPE_CRC_RES_BLUE(pipe)), pipe 1705 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 1707 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1708 drivers/gpu/drm/i915/i915_irq.c I915_WRITE(PIPESTAT(pipe), pipe 1712 drivers/gpu/drm/i915/i915_irq.c dev_priv->pipestat_irq_mask[pipe] = 0; pipe 1719 drivers/gpu/drm/i915/i915_irq.c int pipe; pipe 1728 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1743 drivers/gpu/drm/i915/i915_irq.c switch (pipe) { pipe 1755 drivers/gpu/drm/i915/i915_irq.c status_mask |= dev_priv->pipestat_irq_mask[pipe]; pipe 1760 drivers/gpu/drm/i915/i915_irq.c reg = PIPESTAT(pipe); pipe 1761 drivers/gpu/drm/i915/i915_irq.c pipe_stats[pipe] = I915_READ(reg) & status_mask; pipe 1762 drivers/gpu/drm/i915/i915_irq.c enable_mask = i915_pipestat_enable_mask(dev_priv, pipe); pipe 1773 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe]) { pipe 1774 drivers/gpu/drm/i915/i915_irq.c I915_WRITE(reg, pipe_stats[pipe]); pipe 1784 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 1786 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1787 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_VBLANK_INTERRUPT_STATUS) pipe 1788 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 1790 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_CRC_DONE_INTERRUPT_STATUS) pipe 1791 drivers/gpu/drm/i915/i915_irq.c i9xx_pipe_crc_irq_handler(dev_priv, pipe); pipe 1793 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_FIFO_UNDERRUN_STATUS) pipe 1794 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 1802 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 1804 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1805 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_VBLANK_INTERRUPT_STATUS) pipe 1806 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 1808 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_LEGACY_BLC_EVENT_STATUS) pipe 1811 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_CRC_DONE_INTERRUPT_STATUS) pipe 1812 drivers/gpu/drm/i915/i915_irq.c i9xx_pipe_crc_irq_handler(dev_priv, pipe); pipe 1814 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_FIFO_UNDERRUN_STATUS) pipe 1815 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 1826 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 1828 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1829 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_START_VBLANK_INTERRUPT_STATUS) pipe 1830 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 1832 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_LEGACY_BLC_EVENT_STATUS) pipe 1835 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_CRC_DONE_INTERRUPT_STATUS) pipe 1836 drivers/gpu/drm/i915/i915_irq.c i9xx_pipe_crc_irq_handler(dev_priv, pipe); pipe 1838 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_FIFO_UNDERRUN_STATUS) pipe 1839 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 1852 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 1854 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 1855 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_START_VBLANK_INTERRUPT_STATUS) pipe 1856 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 1858 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_CRC_DONE_INTERRUPT_STATUS) pipe 1859 drivers/gpu/drm/i915/i915_irq.c i9xx_pipe_crc_irq_handler(dev_priv, pipe); pipe 1861 drivers/gpu/drm/i915/i915_irq.c if (pipe_stats[pipe] & PIPE_FIFO_UNDERRUN_STATUS) pipe 1862 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 2139 drivers/gpu/drm/i915/i915_irq.c int pipe; pipe 2167 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 2169 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), pipe 2170 drivers/gpu/drm/i915/i915_irq.c I915_READ(FDI_RX_IIR(pipe))); pipe 2188 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 2193 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 2194 drivers/gpu/drm/i915/i915_irq.c if (err_int & ERR_INT_FIFO_UNDERRUN(pipe)) pipe 2195 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 2197 drivers/gpu/drm/i915/i915_irq.c if (err_int & ERR_INT_PIPE_CRC_DONE(pipe)) { pipe 2199 drivers/gpu/drm/i915/i915_irq.c ivb_pipe_crc_irq_handler(dev_priv, pipe); pipe 2201 drivers/gpu/drm/i915/i915_irq.c hsw_pipe_crc_irq_handler(dev_priv, pipe); pipe 2211 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 2216 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 2217 drivers/gpu/drm/i915/i915_irq.c if (serr_int & SERR_INT_TRANS_FIFO_UNDERRUN(pipe)) pipe 2218 drivers/gpu/drm/i915/i915_irq.c intel_pch_fifo_underrun_irq_handler(dev_priv, pipe); pipe 2225 drivers/gpu/drm/i915/i915_irq.c int pipe; pipe 2250 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 2252 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), pipe 2253 drivers/gpu/drm/i915/i915_irq.c I915_READ(FDI_RX_IIR(pipe))); pipe 2397 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 2412 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 2413 drivers/gpu/drm/i915/i915_irq.c if (de_iir & DE_PIPE_VBLANK(pipe)) pipe 2414 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 2416 drivers/gpu/drm/i915/i915_irq.c if (de_iir & DE_PIPE_FIFO_UNDERRUN(pipe)) pipe 2417 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 2419 drivers/gpu/drm/i915/i915_irq.c if (de_iir & DE_PIPE_CRC_DONE(pipe)) pipe 2420 drivers/gpu/drm/i915/i915_irq.c i9xx_pipe_crc_irq_handler(dev_priv, pipe); pipe 2443 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 2465 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 2466 drivers/gpu/drm/i915/i915_irq.c if (de_iir & (DE_PIPE_VBLANK_IVB(pipe))) pipe 2467 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 2674 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 2740 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 2743 drivers/gpu/drm/i915/i915_irq.c if (!(master_ctl & GEN8_DE_PIPE_IRQ(pipe))) pipe 2746 drivers/gpu/drm/i915/i915_irq.c iir = I915_READ(GEN8_DE_PIPE_IIR(pipe)); pipe 2753 drivers/gpu/drm/i915/i915_irq.c I915_WRITE(GEN8_DE_PIPE_IIR(pipe), iir); pipe 2756 drivers/gpu/drm/i915/i915_irq.c drm_handle_vblank(&dev_priv->drm, pipe); pipe 2759 drivers/gpu/drm/i915/i915_irq.c hsw_pipe_crc_irq_handler(dev_priv, pipe); pipe 2762 drivers/gpu/drm/i915/i915_irq.c intel_cpu_fifo_underrun_irq_handler(dev_priv, pipe); pipe 2767 drivers/gpu/drm/i915/i915_irq.c pipe_name(pipe), pipe 2945 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 2949 drivers/gpu/drm/i915/i915_irq.c i915_enable_pipestat(dev_priv, pipe, PIPE_VBLANK_INTERRUPT_STATUS); pipe 2968 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 2972 drivers/gpu/drm/i915/i915_irq.c i915_enable_pipestat(dev_priv, pipe, pipe 2982 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 2985 drivers/gpu/drm/i915/i915_irq.c DE_PIPE_VBLANK_IVB(pipe) : DE_PIPE_VBLANK(pipe); pipe 3003 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 3007 drivers/gpu/drm/i915/i915_irq.c bdw_enable_pipe_irq(dev_priv, pipe, GEN8_PIPE_VBLANK); pipe 3025 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 3029 drivers/gpu/drm/i915/i915_irq.c i915_disable_pipestat(dev_priv, pipe, PIPE_VBLANK_INTERRUPT_STATUS); pipe 3046 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 3050 drivers/gpu/drm/i915/i915_irq.c i915_disable_pipestat(dev_priv, pipe, pipe 3058 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 3061 drivers/gpu/drm/i915/i915_irq.c DE_PIPE_VBLANK_IVB(pipe) : DE_PIPE_VBLANK(pipe); pipe 3071 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe = to_intel_crtc(crtc)->pipe; pipe 3075 drivers/gpu/drm/i915/i915_irq.c bdw_disable_pipe_irq(dev_priv, pipe, GEN8_PIPE_VBLANK); pipe 3188 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 3193 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 3194 drivers/gpu/drm/i915/i915_irq.c i915_enable_pipestat(dev_priv, pipe, pipestat_mask); pipe 3249 drivers/gpu/drm/i915/i915_irq.c int pipe; pipe 3258 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 3260 drivers/gpu/drm/i915/i915_irq.c POWER_DOMAIN_PIPE(pipe))) pipe 3261 drivers/gpu/drm/i915/i915_irq.c GEN8_IRQ_RESET_NDX(uncore, DE_PIPE, pipe); pipe 3274 drivers/gpu/drm/i915/i915_irq.c int pipe; pipe 3285 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) pipe 3287 drivers/gpu/drm/i915/i915_irq.c POWER_DOMAIN_PIPE(pipe))) pipe 3288 drivers/gpu/drm/i915/i915_irq.c GEN8_IRQ_RESET_NDX(uncore, DE_PIPE, pipe); pipe 3306 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 3315 drivers/gpu/drm/i915/i915_irq.c for_each_pipe_masked(dev_priv, pipe, pipe_mask) pipe 3316 drivers/gpu/drm/i915/i915_irq.c GEN8_IRQ_INIT_NDX(uncore, DE_PIPE, pipe, pipe 3317 drivers/gpu/drm/i915/i915_irq.c dev_priv->de_irq_mask[pipe], pipe 3318 drivers/gpu/drm/i915/i915_irq.c ~dev_priv->de_irq_mask[pipe] | extra_ier); pipe 3327 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 3336 drivers/gpu/drm/i915/i915_irq.c for_each_pipe_masked(dev_priv, pipe, pipe_mask) pipe 3337 drivers/gpu/drm/i915/i915_irq.c GEN8_IRQ_RESET_NDX(uncore, DE_PIPE, pipe); pipe 3767 drivers/gpu/drm/i915/i915_irq.c enum pipe pipe; pipe 3800 drivers/gpu/drm/i915/i915_irq.c for_each_pipe(dev_priv, pipe) { pipe 3801 drivers/gpu/drm/i915/i915_irq.c dev_priv->de_irq_mask[pipe] = ~de_pipe_masked; pipe 3804 drivers/gpu/drm/i915/i915_irq.c POWER_DOMAIN_PIPE(pipe))) pipe 3805 drivers/gpu/drm/i915/i915_irq.c GEN8_IRQ_INIT_NDX(uncore, DE_PIPE, pipe, pipe 3806 drivers/gpu/drm/i915/i915_irq.c dev_priv->de_irq_mask[pipe], pipe 34 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe); pipe 36 drivers/gpu/drm/i915/i915_irq.h i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, pipe 40 drivers/gpu/drm/i915/i915_irq.h i915_disable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe, pipe 63 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe, pipe 67 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe, u32 bits) pipe 69 drivers/gpu/drm/i915/i915_irq.h bdw_update_pipe_irq(dev_priv, pipe, bits, bits); pipe 72 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe, u32 bits) pipe 74 drivers/gpu/drm/i915/i915_irq.h bdw_update_pipe_irq(dev_priv, pipe, bits, 0); pipe 116 drivers/gpu/drm/i915/i915_irq.h bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 228 drivers/gpu/drm/i915/i915_reg.h #define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b) pipe 234 drivers/gpu/drm/i915/i915_reg.h #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) pipe 242 drivers/gpu/drm/i915/i915_reg.h #define _MMIO_PIPE3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c)) pipe 243 drivers/gpu/drm/i915/i915_reg.h #define _MMIO_PORT3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c)) pipe 251 drivers/gpu/drm/i915/i915_reg.h #define _MMIO_PIPE2(pipe, reg) _MMIO(INTEL_INFO(dev_priv)->pipe_offsets[pipe] - \ pipe 258 drivers/gpu/drm/i915/i915_reg.h #define _CURSOR2(pipe, reg) _MMIO(INTEL_INFO(dev_priv)->cursor_offsets[(pipe)] - \ pipe 1054 drivers/gpu/drm/i915/i915_reg.h #define GEN7_PIPE_DE_LOAD_SL(pipe) _MMIO_PIPE(pipe, _GEN7_PIPEA_DE_LOAD_SL, _GEN7_PIPEB_DE_LOAD_SL) pipe 1132 drivers/gpu/drm/i915/i915_reg.h #define _DP_SSC(val, pipe) ((val) << (2 * (pipe))) pipe 1133 drivers/gpu/drm/i915/i915_reg.h #define DP_SSC_MASK(pipe) _DP_SSC(0x3, (pipe)) pipe 1134 drivers/gpu/drm/i915/i915_reg.h #define DP_SSC_PWR_ON(pipe) _DP_SSC(0x0, (pipe)) pipe 1135 drivers/gpu/drm/i915/i915_reg.h #define DP_SSC_CLK_GATE(pipe) _DP_SSC(0x1, (pipe)) pipe 1136 drivers/gpu/drm/i915/i915_reg.h #define DP_SSC_RESET(pipe) _DP_SSC(0x2, (pipe)) pipe 1137 drivers/gpu/drm/i915/i915_reg.h #define DP_SSC_PWR_GATE(pipe) _DP_SSC(0x3, (pipe)) pipe 1138 drivers/gpu/drm/i915/i915_reg.h #define _DP_SSS(val, pipe) ((val) << (2 * (pipe) + 16)) pipe 1139 drivers/gpu/drm/i915/i915_reg.h #define DP_SSS_MASK(pipe) _DP_SSS(0x3, (pipe)) pipe 1140 drivers/gpu/drm/i915/i915_reg.h #define DP_SSS_PWR_ON(pipe) _DP_SSS(0x0, (pipe)) pipe 1141 drivers/gpu/drm/i915/i915_reg.h #define DP_SSS_CLK_GATE(pipe) _DP_SSS(0x1, (pipe)) pipe 1142 drivers/gpu/drm/i915/i915_reg.h #define DP_SSS_RESET(pipe) _DP_SSS(0x2, (pipe)) pipe 1143 drivers/gpu/drm/i915/i915_reg.h #define DP_SSS_PWR_GATE(pipe) _DP_SSS(0x3, (pipe)) pipe 1272 drivers/gpu/drm/i915/i915_reg.h #define DPIO_PHY(pipe) ((pipe) >> 1) pipe 2594 drivers/gpu/drm/i915/i915_reg.h #define ERR_INT_PIPE_CRC_DONE(pipe) (1 << (2 + (pipe) * 3)) pipe 2596 drivers/gpu/drm/i915/i915_reg.h #define ERR_INT_FIFO_UNDERRUN(pipe) (1 << ((pipe) * 3)) pipe 2777 drivers/gpu/drm/i915/i915_reg.h #define PIPE_MBUS_DBOX_CTL(pipe) _MMIO_PIPE(pipe, _PIPEA_MBUS_DBOX_CTL, \ pipe 3257 drivers/gpu/drm/i915/i915_reg.h #define DPLL(pipe) _MMIO_PIPE3((pipe), _DPLL_A, _DPLL_B, _CHV_DPLL_C) pipe 3356 drivers/gpu/drm/i915/i915_reg.h #define DPLL_MD(pipe) _MMIO_PIPE3((pipe), _DPLL_A_MD, _DPLL_B_MD, _CHV_DPLL_C_MD) pipe 3401 drivers/gpu/drm/i915/i915_reg.h #define FP0(pipe) _MMIO_PIPE(pipe, _FPA0, _FPB0) pipe 3402 drivers/gpu/drm/i915/i915_reg.h #define FP1(pipe) _MMIO_PIPE(pipe, _FPA1, _FPB1) pipe 3567 drivers/gpu/drm/i915/i915_reg.h #define PALETTE(pipe, i) _MMIO(DISPLAY_MMIO_BASE(dev_priv) + \ pipe 3568 drivers/gpu/drm/i915/i915_reg.h _PICK((pipe), _PALETTE_A, \ pipe 4037 drivers/gpu/drm/i915/i915_reg.h #define CLKGATE_DIS_PSL(pipe) \ pipe 4038 drivers/gpu/drm/i915/i915_reg.h _MMIO_PIPE(pipe, _CLKGATE_DIS_PSL_A, _CLKGATE_DIS_PSL_B) pipe 4130 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_CTL(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_CTL_A) pipe 4131 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_1_IVB(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_1_A_IVB) pipe 4132 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_2_IVB(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_2_A_IVB) pipe 4133 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_3_IVB(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_3_A_IVB) pipe 4134 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_4_IVB(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_4_A_IVB) pipe 4135 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_5_IVB(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_5_A_IVB) pipe 4137 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_RED(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_RED_A) pipe 4138 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_GREEN(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_GREEN_A) pipe 4139 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_BLUE(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_BLUE_A) pipe 4140 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_RES1_I915(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_RES1_A_I915) pipe 4141 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CRC_RES_RES2_G4X(pipe) _MMIO_TRANS2(pipe, _PIPE_CRC_RES_RES2_A_G4X) pipe 4349 drivers/gpu/drm/i915/i915_reg.h #define ADPA_PIPE_SEL(pipe) ((pipe) << 30) pipe 4352 drivers/gpu/drm/i915/i915_reg.h #define ADPA_PIPE_SEL_CPT(pipe) ((pipe) << 29) pipe 4513 drivers/gpu/drm/i915/i915_reg.h #define SDVO_PIPE_SEL(pipe) ((pipe) << 30) pipe 4555 drivers/gpu/drm/i915/i915_reg.h #define SDVO_PIPE_SEL_CPT(pipe) ((pipe) << 29) pipe 4560 drivers/gpu/drm/i915/i915_reg.h #define SDVO_PIPE_SEL_CHV(pipe) ((pipe) << 24) pipe 4573 drivers/gpu/drm/i915/i915_reg.h #define DVO_PIPE_SEL(pipe) ((pipe) << 30) pipe 4612 drivers/gpu/drm/i915/i915_reg.h #define LVDS_PIPE_SEL(pipe) ((pipe) << 30) pipe 4615 drivers/gpu/drm/i915/i915_reg.h #define LVDS_PIPE_SEL_CPT(pipe) ((pipe) << 29) pipe 4811 drivers/gpu/drm/i915/i915_reg.h #define VLV_BLC_PWM_CTL2(pipe) _MMIO_PIPE(pipe, _VLV_BLC_PWM_CTL2_A, \ pipe 4816 drivers/gpu/drm/i915/i915_reg.h #define VLV_BLC_PWM_CTL(pipe) _MMIO_PIPE(pipe, _VLV_BLC_PWM_CTL_A, \ pipe 4821 drivers/gpu/drm/i915/i915_reg.h #define VLV_BLC_HIST_CTL(pipe) _MMIO_PIPE(pipe, _VLV_BLC_HIST_CTL_A, \ pipe 4837 drivers/gpu/drm/i915/i915_reg.h #define BLM_PIPE(pipe) ((pipe) << 29) pipe 4925 drivers/gpu/drm/i915/i915_reg.h # define TV_ENC_PIPE_SEL(pipe) ((pipe) << 30) pipe 5410 drivers/gpu/drm/i915/i915_reg.h #define DP_PIPE_SEL(pipe) ((pipe) << 30) pipe 5413 drivers/gpu/drm/i915/i915_reg.h #define DP_PIPE_SEL_IVB(pipe) ((pipe) << 29) pipe 5416 drivers/gpu/drm/i915/i915_reg.h #define DP_PIPE_SEL_CHV(pipe) ((pipe) << 16) pipe 5616 drivers/gpu/drm/i915/i915_reg.h #define PIPE_DATA_M_G4X(pipe) _MMIO_PIPE(pipe, _PIPEA_DATA_M_G4X, _PIPEB_DATA_M_G4X) pipe 5617 drivers/gpu/drm/i915/i915_reg.h #define PIPE_DATA_N_G4X(pipe) _MMIO_PIPE(pipe, _PIPEA_DATA_N_G4X, _PIPEB_DATA_N_G4X) pipe 5618 drivers/gpu/drm/i915/i915_reg.h #define PIPE_LINK_M_G4X(pipe) _MMIO_PIPE(pipe, _PIPEA_LINK_M_G4X, _PIPEB_LINK_M_G4X) pipe 5619 drivers/gpu/drm/i915/i915_reg.h #define PIPE_LINK_N_G4X(pipe) _MMIO_PIPE(pipe, _PIPEA_LINK_N_G4X, _PIPEB_LINK_N_G4X) pipe 5746 drivers/gpu/drm/i915/i915_reg.h #define PIPECONF(pipe) _MMIO_PIPE2(pipe, _PIPEACONF) pipe 5747 drivers/gpu/drm/i915/i915_reg.h #define PIPEDSL(pipe) _MMIO_PIPE2(pipe, _PIPEADSL) pipe 5748 drivers/gpu/drm/i915/i915_reg.h #define PIPEFRAME(pipe) _MMIO_PIPE2(pipe, _PIPEAFRAMEHIGH) pipe 5749 drivers/gpu/drm/i915/i915_reg.h #define PIPEFRAMEPIXEL(pipe) _MMIO_PIPE2(pipe, _PIPEAFRAMEPIXEL) pipe 5750 drivers/gpu/drm/i915/i915_reg.h #define PIPESTAT(pipe) _MMIO_PIPE2(pipe, _PIPEASTAT) pipe 5754 drivers/gpu/drm/i915/i915_reg.h #define PIPEGCMAX(pipe, i) _MMIO_PIPE2(pipe, _PIPEAGCMAX + (i) * 4) pipe 5770 drivers/gpu/drm/i915/i915_reg.h #define PIPEMISC(pipe) _MMIO_PIPE2(pipe, _PIPE_MISC_A) pipe 5776 drivers/gpu/drm/i915/i915_reg.h #define SKL_BOTTOM_COLOR(pipe) _MMIO_PIPE2(pipe, _SKL_BOTTOM_COLOR_A) pipe 5995 drivers/gpu/drm/i915/i915_reg.h #define VLV_DDL(pipe) _MMIO(VLV_DISPLAY_BASE + 0x70050 + 4 * (pipe)) pipe 6008 drivers/gpu/drm/i915/i915_reg.h #define CBR_DPLLBMD_PIPE(pipe) (1 << (7 + (pipe) * 11)) /* pipes B and C */ pipe 6062 drivers/gpu/drm/i915/i915_reg.h #define _CUR_WM_0(pipe) _PIPE(pipe, _CUR_WM_A_0, _CUR_WM_B_0) pipe 6063 drivers/gpu/drm/i915/i915_reg.h #define CUR_WM(pipe, level) _MMIO(_CUR_WM_0(pipe) + ((4) * (level))) pipe 6064 drivers/gpu/drm/i915/i915_reg.h #define CUR_WM_TRANS(pipe) _MMIO_PIPE(pipe, _CUR_WM_TRANS_A_0, _CUR_WM_TRANS_B_0) pipe 6066 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_WM_1(pipe) _PIPE(pipe, _PLANE_WM_1_A_0, _PLANE_WM_1_B_0) pipe 6067 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_WM_2(pipe) _PIPE(pipe, _PLANE_WM_2_A_0, _PLANE_WM_2_B_0) pipe 6068 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_WM_BASE(pipe, plane) \ pipe 6069 drivers/gpu/drm/i915/i915_reg.h _PLANE(plane, _PLANE_WM_1(pipe), _PLANE_WM_2(pipe)) pipe 6070 drivers/gpu/drm/i915/i915_reg.h #define PLANE_WM(pipe, plane, level) \ pipe 6071 drivers/gpu/drm/i915/i915_reg.h _MMIO(_PLANE_WM_BASE(pipe, plane) + ((4) * (level))) pipe 6072 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_WM_TRANS_1(pipe) \ pipe 6073 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_WM_TRANS_1_A_0, _PLANE_WM_TRANS_1_B_0) pipe 6074 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_WM_TRANS_2(pipe) \ pipe 6075 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_WM_TRANS_2_A_0, _PLANE_WM_TRANS_2_B_0) pipe 6076 drivers/gpu/drm/i915/i915_reg.h #define PLANE_WM_TRANS(pipe, plane) \ pipe 6077 drivers/gpu/drm/i915/i915_reg.h _MMIO(_PLANE(plane, _PLANE_WM_TRANS_1(pipe), _PLANE_WM_TRANS_2(pipe))) pipe 6154 drivers/gpu/drm/i915/i915_reg.h #define PIPE_FRMCOUNT_G4X(pipe) _MMIO_PIPE2(pipe, _PIPEA_FRMCOUNT_G4X) pipe 6155 drivers/gpu/drm/i915/i915_reg.h #define PIPE_FLIPCOUNT_G4X(pipe) _MMIO_PIPE2(pipe, _PIPEA_FLIPCOUNT_G4X) pipe 6182 drivers/gpu/drm/i915/i915_reg.h #define MCURSOR_PIPE_SELECT(pipe) ((pipe) << 28) pipe 6205 drivers/gpu/drm/i915/i915_reg.h #define CURCNTR(pipe) _CURSOR2(pipe, _CURACNTR) pipe 6206 drivers/gpu/drm/i915/i915_reg.h #define CURBASE(pipe) _CURSOR2(pipe, _CURABASE) pipe 6207 drivers/gpu/drm/i915/i915_reg.h #define CURPOS(pipe) _CURSOR2(pipe, _CURAPOS) pipe 6208 drivers/gpu/drm/i915/i915_reg.h #define CUR_FBC_CTL(pipe) _CURSOR2(pipe, _CUR_FBC_CTL_A) pipe 6209 drivers/gpu/drm/i915/i915_reg.h #define CURSURFLIVE(pipe) _CURSOR2(pipe, _CURASURFLIVE) pipe 6242 drivers/gpu/drm/i915/i915_reg.h #define DISPPLANE_SEL_PIPE(pipe) ((pipe) << DISPPLANE_SEL_PIPE_SHIFT) pipe 6288 drivers/gpu/drm/i915/i915_reg.h #define CHV_BLEND(pipe) _MMIO_TRANS2(pipe, _CHV_BLEND_A) pipe 6289 drivers/gpu/drm/i915/i915_reg.h #define CHV_CANVAS(pipe) _MMIO_TRANS2(pipe, _CHV_CANVAS_A) pipe 6405 drivers/gpu/drm/i915/i915_reg.h #define DVSCNTR(pipe) _MMIO_PIPE(pipe, _DVSACNTR, _DVSBCNTR) pipe 6406 drivers/gpu/drm/i915/i915_reg.h #define DVSLINOFF(pipe) _MMIO_PIPE(pipe, _DVSALINOFF, _DVSBLINOFF) pipe 6407 drivers/gpu/drm/i915/i915_reg.h #define DVSSTRIDE(pipe) _MMIO_PIPE(pipe, _DVSASTRIDE, _DVSBSTRIDE) pipe 6408 drivers/gpu/drm/i915/i915_reg.h #define DVSPOS(pipe) _MMIO_PIPE(pipe, _DVSAPOS, _DVSBPOS) pipe 6409 drivers/gpu/drm/i915/i915_reg.h #define DVSSURF(pipe) _MMIO_PIPE(pipe, _DVSASURF, _DVSBSURF) pipe 6410 drivers/gpu/drm/i915/i915_reg.h #define DVSKEYMAX(pipe) _MMIO_PIPE(pipe, _DVSAKEYMAXVAL, _DVSBKEYMAXVAL) pipe 6411 drivers/gpu/drm/i915/i915_reg.h #define DVSSIZE(pipe) _MMIO_PIPE(pipe, _DVSASIZE, _DVSBSIZE) pipe 6412 drivers/gpu/drm/i915/i915_reg.h #define DVSSCALE(pipe) _MMIO_PIPE(pipe, _DVSASCALE, _DVSBSCALE) pipe 6413 drivers/gpu/drm/i915/i915_reg.h #define DVSTILEOFF(pipe) _MMIO_PIPE(pipe, _DVSATILEOFF, _DVSBTILEOFF) pipe 6414 drivers/gpu/drm/i915/i915_reg.h #define DVSKEYVAL(pipe) _MMIO_PIPE(pipe, _DVSAKEYVAL, _DVSBKEYVAL) pipe 6415 drivers/gpu/drm/i915/i915_reg.h #define DVSKEYMSK(pipe) _MMIO_PIPE(pipe, _DVSAKEYMSK, _DVSBKEYMSK) pipe 6416 drivers/gpu/drm/i915/i915_reg.h #define DVSSURFLIVE(pipe) _MMIO_PIPE(pipe, _DVSASURFLIVE, _DVSBSURFLIVE) pipe 6417 drivers/gpu/drm/i915/i915_reg.h #define DVSGAMC_G4X(pipe, i) _MMIO(_PIPE(pipe, _DVSAGAMC_G4X, _DVSBGAMC_G4X) + (5 - (i)) * 4) /* 6 x u0.8 */ pipe 6418 drivers/gpu/drm/i915/i915_reg.h #define DVSGAMC_ILK(pipe, i) _MMIO(_PIPE(pipe, _DVSAGAMC_ILK, _DVSBGAMC_ILK) + (i) * 4) /* 16 x u0.10 */ pipe 6419 drivers/gpu/drm/i915/i915_reg.h #define DVSGAMCMAX_ILK(pipe, i) _MMIO(_PIPE(pipe, _DVSAGAMCMAX_ILK, _DVSBGAMCMAX_ILK) + (i) * 4) /* 3 x u1.10 */ pipe 6487 drivers/gpu/drm/i915/i915_reg.h #define SPRCTL(pipe) _MMIO_PIPE(pipe, _SPRA_CTL, _SPRB_CTL) pipe 6488 drivers/gpu/drm/i915/i915_reg.h #define SPRLINOFF(pipe) _MMIO_PIPE(pipe, _SPRA_LINOFF, _SPRB_LINOFF) pipe 6489 drivers/gpu/drm/i915/i915_reg.h #define SPRSTRIDE(pipe) _MMIO_PIPE(pipe, _SPRA_STRIDE, _SPRB_STRIDE) pipe 6490 drivers/gpu/drm/i915/i915_reg.h #define SPRPOS(pipe) _MMIO_PIPE(pipe, _SPRA_POS, _SPRB_POS) pipe 6491 drivers/gpu/drm/i915/i915_reg.h #define SPRSIZE(pipe) _MMIO_PIPE(pipe, _SPRA_SIZE, _SPRB_SIZE) pipe 6492 drivers/gpu/drm/i915/i915_reg.h #define SPRKEYVAL(pipe) _MMIO_PIPE(pipe, _SPRA_KEYVAL, _SPRB_KEYVAL) pipe 6493 drivers/gpu/drm/i915/i915_reg.h #define SPRKEYMSK(pipe) _MMIO_PIPE(pipe, _SPRA_KEYMSK, _SPRB_KEYMSK) pipe 6494 drivers/gpu/drm/i915/i915_reg.h #define SPRSURF(pipe) _MMIO_PIPE(pipe, _SPRA_SURF, _SPRB_SURF) pipe 6495 drivers/gpu/drm/i915/i915_reg.h #define SPRKEYMAX(pipe) _MMIO_PIPE(pipe, _SPRA_KEYMAX, _SPRB_KEYMAX) pipe 6496 drivers/gpu/drm/i915/i915_reg.h #define SPRTILEOFF(pipe) _MMIO_PIPE(pipe, _SPRA_TILEOFF, _SPRB_TILEOFF) pipe 6497 drivers/gpu/drm/i915/i915_reg.h #define SPROFFSET(pipe) _MMIO_PIPE(pipe, _SPRA_OFFSET, _SPRB_OFFSET) pipe 6498 drivers/gpu/drm/i915/i915_reg.h #define SPRSCALE(pipe) _MMIO_PIPE(pipe, _SPRA_SCALE, _SPRB_SCALE) pipe 6499 drivers/gpu/drm/i915/i915_reg.h #define SPRGAMC(pipe, i) _MMIO(_PIPE(pipe, _SPRA_GAMC, _SPRB_GAMC) + (i) * 4) /* 16 x u0.10 */ pipe 6500 drivers/gpu/drm/i915/i915_reg.h #define SPRGAMC16(pipe, i) _MMIO(_PIPE(pipe, _SPRA_GAMC16, _SPRB_GAMC16) + (i) * 4) /* 3 x u1.10 */ pipe 6501 drivers/gpu/drm/i915/i915_reg.h #define SPRGAMC17(pipe, i) _MMIO(_PIPE(pipe, _SPRA_GAMC17, _SPRB_GAMC17) + (i) * 4) /* 3 x u2.10 */ pipe 6502 drivers/gpu/drm/i915/i915_reg.h #define SPRSURFLIVE(pipe) _MMIO_PIPE(pipe, _SPRA_SURFLIVE, _SPRB_SURFLIVE) pipe 6561 drivers/gpu/drm/i915/i915_reg.h #define _VLV_SPR(pipe, plane_id, reg_a, reg_b) \ pipe 6562 drivers/gpu/drm/i915/i915_reg.h _PIPE((pipe) * 2 + (plane_id) - PLANE_SPRITE0, (reg_a), (reg_b)) pipe 6563 drivers/gpu/drm/i915/i915_reg.h #define _MMIO_VLV_SPR(pipe, plane_id, reg_a, reg_b) \ pipe 6564 drivers/gpu/drm/i915/i915_reg.h _MMIO(_VLV_SPR((pipe), (plane_id), (reg_a), (reg_b))) pipe 6566 drivers/gpu/drm/i915/i915_reg.h #define SPCNTR(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACNTR, _SPBCNTR) pipe 6567 drivers/gpu/drm/i915/i915_reg.h #define SPLINOFF(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPALINOFF, _SPBLINOFF) pipe 6568 drivers/gpu/drm/i915/i915_reg.h #define SPSTRIDE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASTRIDE, _SPBSTRIDE) pipe 6569 drivers/gpu/drm/i915/i915_reg.h #define SPPOS(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAPOS, _SPBPOS) pipe 6570 drivers/gpu/drm/i915/i915_reg.h #define SPSIZE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASIZE, _SPBSIZE) pipe 6571 drivers/gpu/drm/i915/i915_reg.h #define SPKEYMINVAL(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAKEYMINVAL, _SPBKEYMINVAL) pipe 6572 drivers/gpu/drm/i915/i915_reg.h #define SPKEYMSK(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAKEYMSK, _SPBKEYMSK) pipe 6573 drivers/gpu/drm/i915/i915_reg.h #define SPSURF(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASURF, _SPBSURF) pipe 6574 drivers/gpu/drm/i915/i915_reg.h #define SPKEYMAXVAL(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAKEYMAXVAL, _SPBKEYMAXVAL) pipe 6575 drivers/gpu/drm/i915/i915_reg.h #define SPTILEOFF(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPATILEOFF, _SPBTILEOFF) pipe 6576 drivers/gpu/drm/i915/i915_reg.h #define SPCONSTALPHA(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACONSTALPHA, _SPBCONSTALPHA) pipe 6577 drivers/gpu/drm/i915/i915_reg.h #define SPCLRC0(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACLRC0, _SPBCLRC0) pipe 6578 drivers/gpu/drm/i915/i915_reg.h #define SPCLRC1(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACLRC1, _SPBCLRC1) pipe 6579 drivers/gpu/drm/i915/i915_reg.h #define SPGAMC(pipe, plane_id, i) _MMIO(_VLV_SPR((pipe), (plane_id), _SPAGAMC, _SPBGAMC) + (5 - (i)) * 4) /* 6 x u0.10 */ pipe 6749 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_RY_GY_1(pipe) \ pipe 6750 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_RY_GY_1_A, \ pipe 6752 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_RY_GY_2(pipe) \ pipe 6753 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_RY_GY_2_A, \ pipe 6756 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_COEFF(pipe, plane, index) \ pipe 6757 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_RY_GY_1(pipe) + (index) * 4, \ pipe 6758 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_RY_GY_2(pipe) + (index) * 4) pipe 6766 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_PREOFF_HI_1(pipe) \ pipe 6767 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_PREOFF_HI_1_A, \ pipe 6769 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_PREOFF_HI_2(pipe) \ pipe 6770 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_PREOFF_HI_2_A, \ pipe 6772 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_PREOFF(pipe, plane, index) \ pipe 6773 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_PREOFF_HI_1(pipe) + (index) * 4, \ pipe 6774 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_PREOFF_HI_2(pipe) + (index) * 4) pipe 6782 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_POSTOFF_HI_1(pipe) \ pipe 6783 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_POSTOFF_HI_1_A, \ pipe 6785 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_INPUT_CSC_POSTOFF_HI_2(pipe) \ pipe 6786 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_INPUT_CSC_POSTOFF_HI_2_A, \ pipe 6788 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_POSTOFF(pipe, plane, index) \ pipe 6789 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_POSTOFF_HI_1(pipe) + (index) * 4, \ pipe 6790 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_POSTOFF_HI_2(pipe) + (index) * 4) pipe 6795 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_CTL_1(pipe) _PIPE(pipe, _PLANE_CTL_1_A, _PLANE_CTL_1_B) pipe 6796 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_CTL_2(pipe) _PIPE(pipe, _PLANE_CTL_2_A, _PLANE_CTL_2_B) pipe 6797 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_CTL_3(pipe) _PIPE(pipe, _PLANE_CTL_3_A, _PLANE_CTL_3_B) pipe 6798 drivers/gpu/drm/i915/i915_reg.h #define PLANE_CTL(pipe, plane) \ pipe 6799 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_CTL_1(pipe), _PLANE_CTL_2(pipe)) pipe 6804 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_STRIDE_1(pipe) \ pipe 6805 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_STRIDE_1_A, _PLANE_STRIDE_1_B) pipe 6806 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_STRIDE_2(pipe) \ pipe 6807 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_STRIDE_2_A, _PLANE_STRIDE_2_B) pipe 6808 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_STRIDE_3(pipe) \ pipe 6809 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_STRIDE_3_A, _PLANE_STRIDE_3_B) pipe 6810 drivers/gpu/drm/i915/i915_reg.h #define PLANE_STRIDE(pipe, plane) \ pipe 6811 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_STRIDE_1(pipe), _PLANE_STRIDE_2(pipe)) pipe 6816 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_POS_1(pipe) _PIPE(pipe, _PLANE_POS_1_A, _PLANE_POS_1_B) pipe 6817 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_POS_2(pipe) _PIPE(pipe, _PLANE_POS_2_A, _PLANE_POS_2_B) pipe 6818 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_POS_3(pipe) _PIPE(pipe, _PLANE_POS_3_A, _PLANE_POS_3_B) pipe 6819 drivers/gpu/drm/i915/i915_reg.h #define PLANE_POS(pipe, plane) \ pipe 6820 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_POS_1(pipe), _PLANE_POS_2(pipe)) pipe 6825 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SIZE_1(pipe) _PIPE(pipe, _PLANE_SIZE_1_A, _PLANE_SIZE_1_B) pipe 6826 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SIZE_2(pipe) _PIPE(pipe, _PLANE_SIZE_2_A, _PLANE_SIZE_2_B) pipe 6827 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SIZE_3(pipe) _PIPE(pipe, _PLANE_SIZE_3_A, _PLANE_SIZE_3_B) pipe 6828 drivers/gpu/drm/i915/i915_reg.h #define PLANE_SIZE(pipe, plane) \ pipe 6829 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_SIZE_1(pipe), _PLANE_SIZE_2(pipe)) pipe 6834 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SURF_1(pipe) _PIPE(pipe, _PLANE_SURF_1_A, _PLANE_SURF_1_B) pipe 6835 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SURF_2(pipe) _PIPE(pipe, _PLANE_SURF_2_A, _PLANE_SURF_2_B) pipe 6836 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_SURF_3(pipe) _PIPE(pipe, _PLANE_SURF_3_A, _PLANE_SURF_3_B) pipe 6837 drivers/gpu/drm/i915/i915_reg.h #define PLANE_SURF(pipe, plane) \ pipe 6838 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_SURF_1(pipe), _PLANE_SURF_2(pipe)) pipe 6842 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_OFFSET_1(pipe) _PIPE(pipe, _PLANE_OFFSET_1_A, _PLANE_OFFSET_1_B) pipe 6843 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_OFFSET_2(pipe) _PIPE(pipe, _PLANE_OFFSET_2_A, _PLANE_OFFSET_2_B) pipe 6844 drivers/gpu/drm/i915/i915_reg.h #define PLANE_OFFSET(pipe, plane) \ pipe 6845 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_OFFSET_1(pipe), _PLANE_OFFSET_2(pipe)) pipe 6849 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYVAL_1(pipe) _PIPE(pipe, _PLANE_KEYVAL_1_A, _PLANE_KEYVAL_1_B) pipe 6850 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYVAL_2(pipe) _PIPE(pipe, _PLANE_KEYVAL_2_A, _PLANE_KEYVAL_2_B) pipe 6851 drivers/gpu/drm/i915/i915_reg.h #define PLANE_KEYVAL(pipe, plane) \ pipe 6852 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_KEYVAL_1(pipe), _PLANE_KEYVAL_2(pipe)) pipe 6856 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYMSK_1(pipe) _PIPE(pipe, _PLANE_KEYMSK_1_A, _PLANE_KEYMSK_1_B) pipe 6857 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYMSK_2(pipe) _PIPE(pipe, _PLANE_KEYMSK_2_A, _PLANE_KEYMSK_2_B) pipe 6858 drivers/gpu/drm/i915/i915_reg.h #define PLANE_KEYMSK(pipe, plane) \ pipe 6859 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_KEYMSK_1(pipe), _PLANE_KEYMSK_2(pipe)) pipe 6863 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYMAX_1(pipe) _PIPE(pipe, _PLANE_KEYMAX_1_A, _PLANE_KEYMAX_1_B) pipe 6864 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_KEYMAX_2(pipe) _PIPE(pipe, _PLANE_KEYMAX_2_A, _PLANE_KEYMAX_2_B) pipe 6865 drivers/gpu/drm/i915/i915_reg.h #define PLANE_KEYMAX(pipe, plane) \ pipe 6866 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_KEYMAX_1(pipe), _PLANE_KEYMAX_2(pipe)) pipe 6872 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_BUF_CFG_1(pipe) \ pipe 6873 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_BUF_CFG_1_A, _PLANE_BUF_CFG_1_B) pipe 6874 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_BUF_CFG_2(pipe) \ pipe 6875 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_BUF_CFG_2_A, _PLANE_BUF_CFG_2_B) pipe 6876 drivers/gpu/drm/i915/i915_reg.h #define PLANE_BUF_CFG(pipe, plane) \ pipe 6877 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_BUF_CFG_1(pipe), _PLANE_BUF_CFG_2(pipe)) pipe 6881 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_NV12_BUF_CFG_1(pipe) \ pipe 6882 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_NV12_BUF_CFG_1_A, _PLANE_NV12_BUF_CFG_1_B) pipe 6883 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_NV12_BUF_CFG_2(pipe) \ pipe 6884 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_NV12_BUF_CFG_2_A, _PLANE_NV12_BUF_CFG_2_B) pipe 6885 drivers/gpu/drm/i915/i915_reg.h #define PLANE_NV12_BUF_CFG(pipe, plane) \ pipe 6886 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_NV12_BUF_CFG_1(pipe), _PLANE_NV12_BUF_CFG_2(pipe)) pipe 6890 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_AUX_DIST_1(pipe) \ pipe 6891 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_AUX_DIST_1_A, _PLANE_AUX_DIST_1_B) pipe 6892 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_AUX_DIST_2(pipe) \ pipe 6893 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_AUX_DIST_2_A, _PLANE_AUX_DIST_2_B) pipe 6894 drivers/gpu/drm/i915/i915_reg.h #define PLANE_AUX_DIST(pipe, plane) \ pipe 6895 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_AUX_DIST_1(pipe), _PLANE_AUX_DIST_2(pipe)) pipe 6899 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_AUX_OFFSET_1(pipe) \ pipe 6900 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_AUX_OFFSET_1_A, _PLANE_AUX_OFFSET_1_B) pipe 6901 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_AUX_OFFSET_2(pipe) \ pipe 6902 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_AUX_OFFSET_2_A, _PLANE_AUX_OFFSET_2_B) pipe 6903 drivers/gpu/drm/i915/i915_reg.h #define PLANE_AUX_OFFSET(pipe, plane) \ pipe 6904 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_AUX_OFFSET_1(pipe), _PLANE_AUX_OFFSET_2(pipe)) pipe 6908 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_CUS_CTL_1(pipe) \ pipe 6909 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_CUS_CTL_1_A, _PLANE_CUS_CTL_1_B) pipe 6910 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_CUS_CTL_2(pipe) \ pipe 6911 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_CUS_CTL_2_A, _PLANE_CUS_CTL_2_B) pipe 6912 drivers/gpu/drm/i915/i915_reg.h #define PLANE_CUS_CTL(pipe, plane) \ pipe 6913 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_CUS_CTL_1(pipe), _PLANE_CUS_CTL_2(pipe)) pipe 6918 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_COLOR_CTL_1(pipe) \ pipe 6919 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_COLOR_CTL_1_A, _PLANE_COLOR_CTL_1_B) pipe 6920 drivers/gpu/drm/i915/i915_reg.h #define _PLANE_COLOR_CTL_2(pipe) \ pipe 6921 drivers/gpu/drm/i915/i915_reg.h _PIPE(pipe, _PLANE_COLOR_CTL_2_A, _PLANE_COLOR_CTL_2_B) pipe 6922 drivers/gpu/drm/i915/i915_reg.h #define PLANE_COLOR_CTL(pipe, plane) \ pipe 6923 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_COLOR_CTL_1(pipe), _PLANE_COLOR_CTL_2(pipe)) pipe 6928 drivers/gpu/drm/i915/i915_reg.h #define CUR_BUF_CFG(pipe) _MMIO_PIPE(pipe, _CUR_BUF_CFG_A, _CUR_BUF_CFG_B) pipe 7026 drivers/gpu/drm/i915/i915_reg.h #define PF_PIPE_SEL_IVB(pipe) ((pipe) << 29) pipe 7041 drivers/gpu/drm/i915/i915_reg.h #define PF_CTL(pipe) _MMIO_PIPE(pipe, _PFA_CTL_1, _PFB_CTL_1) pipe 7042 drivers/gpu/drm/i915/i915_reg.h #define PF_WIN_SZ(pipe) _MMIO_PIPE(pipe, _PFA_WIN_SZ, _PFB_WIN_SZ) pipe 7043 drivers/gpu/drm/i915/i915_reg.h #define PF_WIN_POS(pipe) _MMIO_PIPE(pipe, _PFA_WIN_POS, _PFB_WIN_POS) pipe 7044 drivers/gpu/drm/i915/i915_reg.h #define PF_VSCALE(pipe) _MMIO_PIPE(pipe, _PFA_VSCALE, _PFB_VSCALE) pipe 7045 drivers/gpu/drm/i915/i915_reg.h #define PF_HSCALE(pipe) _MMIO_PIPE(pipe, _PFA_HSCALE, _PFB_HSCALE) pipe 7055 drivers/gpu/drm/i915/i915_reg.h #define PS_CTL(pipe) _MMIO_PIPE(pipe, _PSA_CTL, _PSB_CTL) pipe 7056 drivers/gpu/drm/i915/i915_reg.h #define PS_WIN_SZ(pipe) _MMIO_PIPE(pipe, _PSA_WIN_SZ, _PSB_WIN_SZ) pipe 7057 drivers/gpu/drm/i915/i915_reg.h #define PS_WIN_POS(pipe) _MMIO_PIPE(pipe, _PSA_WIN_POS, _PSB_WIN_POS) pipe 7155 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_CTRL(pipe, id) _MMIO_PIPE(pipe, \ pipe 7158 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_PWR_GATE(pipe, id) _MMIO_PIPE(pipe, \ pipe 7161 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_WIN_POS(pipe, id) _MMIO_PIPE(pipe, \ pipe 7164 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_WIN_SZ(pipe, id) _MMIO_PIPE(pipe, \ pipe 7167 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_VSCALE(pipe, id) _MMIO_PIPE(pipe, \ pipe 7170 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_HSCALE(pipe, id) _MMIO_PIPE(pipe, \ pipe 7173 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_VPHASE(pipe, id) _MMIO_PIPE(pipe, \ pipe 7176 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_HPHASE(pipe, id) _MMIO_PIPE(pipe, \ pipe 7179 drivers/gpu/drm/i915/i915_reg.h #define SKL_PS_ECC_STAT(pipe, id) _MMIO_PIPE(pipe, \ pipe 7186 drivers/gpu/drm/i915/i915_reg.h #define LGC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _LGC_PALETTE_A, _LGC_PALETTE_B) + (i) * 4) pipe 7191 drivers/gpu/drm/i915/i915_reg.h #define PREC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _PREC_PALETTE_A, _PREC_PALETTE_B) + (i) * 4) pipe 7195 drivers/gpu/drm/i915/i915_reg.h #define PREC_PIPEGCMAX(pipe, i) _MMIO(_PIPE(pipe, _PIPEAGCMAX, _PIPEBGCMAX) + (i) * 4) pipe 7199 drivers/gpu/drm/i915/i915_reg.h #define GAMMA_MODE(pipe) _MMIO_PIPE(pipe, _GAMMA_MODE_A, _GAMMA_MODE_B) pipe 7253 drivers/gpu/drm/i915/i915_reg.h #define DE_PIPE_VBLANK(pipe) (1 << (7 + 8 * (pipe))) pipe 7259 drivers/gpu/drm/i915/i915_reg.h #define DE_PIPE_CRC_DONE(pipe) (1 << (2 + 8 * (pipe))) pipe 7261 drivers/gpu/drm/i915/i915_reg.h #define DE_PIPE_FIFO_UNDERRUN(pipe) (1 << (8 * (pipe))) pipe 7280 drivers/gpu/drm/i915/i915_reg.h #define DE_PIPE_VBLANK_IVB(pipe) (1 << ((pipe) * 5)) pipe 7304 drivers/gpu/drm/i915/i915_reg.h #define GEN8_DE_PIPE_IRQ(pipe) (1 << (16 + (pipe))) pipe 7325 drivers/gpu/drm/i915/i915_reg.h #define GEN8_DE_PIPE_ISR(pipe) _MMIO(0x44400 + (0x10 * (pipe))) pipe 7326 drivers/gpu/drm/i915/i915_reg.h #define GEN8_DE_PIPE_IMR(pipe) _MMIO(0x44404 + (0x10 * (pipe))) pipe 7327 drivers/gpu/drm/i915/i915_reg.h #define GEN8_DE_PIPE_IIR(pipe) _MMIO(0x44408 + (0x10 * (pipe))) pipe 7328 drivers/gpu/drm/i915/i915_reg.h #define GEN8_DE_PIPE_IER(pipe) _MMIO(0x4440c + (0x10 * (pipe))) pipe 7565 drivers/gpu/drm/i915/i915_reg.h #define CHICKEN_PIPESL_1(pipe) _MMIO_PIPE(pipe, _CHICKEN_PIPESL_1_A, _CHICKEN_PIPESL_1_B) pipe 7738 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CHICKEN(pipe) _MMIO_PIPE(pipe, _PIPEA_CHICKEN,\ pipe 7868 drivers/gpu/drm/i915/i915_reg.h #define SERR_INT_TRANS_FIFO_UNDERRUN(pipe) (1 << ((pipe) * 3)) pipe 7962 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7965 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_0_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7968 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7971 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_0_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7990 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7993 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_1_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7996 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 7999 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_1_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8015 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8018 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_2_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8021 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8024 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_2_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8040 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_3(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8043 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_RANGE_PARAMETERS_3_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8046 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_3(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8049 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_RANGE_PARAMETERS_3_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 8123 drivers/gpu/drm/i915/i915_reg.h #define TRANS_DPLLB_SEL(pipe) (1 << ((pipe) * 4)) pipe 8124 drivers/gpu/drm/i915/i915_reg.h #define TRANS_DPLLA_SEL(pipe) 0 pipe 8125 drivers/gpu/drm/i915/i915_reg.h #define TRANS_DPLL_ENABLE(pipe) (1 << ((pipe) * 4 + 3)) pipe 8170 drivers/gpu/drm/i915/i915_reg.h #define TVIDEO_DIP_CTL(pipe) _MMIO_PIPE(pipe, _VIDEO_DIP_CTL_A, _VIDEO_DIP_CTL_B) pipe 8171 drivers/gpu/drm/i915/i915_reg.h #define TVIDEO_DIP_DATA(pipe) _MMIO_PIPE(pipe, _VIDEO_DIP_DATA_A, _VIDEO_DIP_DATA_B) pipe 8172 drivers/gpu/drm/i915/i915_reg.h #define TVIDEO_DIP_GCP(pipe) _MMIO_PIPE(pipe, _VIDEO_DIP_GCP_A, _VIDEO_DIP_GCP_B) pipe 8187 drivers/gpu/drm/i915/i915_reg.h #define VLV_TVIDEO_DIP_CTL(pipe) \ pipe 8188 drivers/gpu/drm/i915/i915_reg.h _MMIO_PIPE3((pipe), _VLV_VIDEO_DIP_CTL_A, \ pipe 8190 drivers/gpu/drm/i915/i915_reg.h #define VLV_TVIDEO_DIP_DATA(pipe) \ pipe 8191 drivers/gpu/drm/i915/i915_reg.h _MMIO_PIPE3((pipe), _VLV_VIDEO_DIP_DATA_A, \ pipe 8193 drivers/gpu/drm/i915/i915_reg.h #define VLV_TVIDEO_DIP_GCP(pipe) \ pipe 8194 drivers/gpu/drm/i915/i915_reg.h _MMIO_PIPE3((pipe), _VLV_VIDEO_DIP_GDCP_PAYLOAD_A, \ pipe 8263 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_HTOTAL(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_HTOTAL_A, _PCH_TRANS_HTOTAL_B) pipe 8264 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_HBLANK(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_HBLANK_A, _PCH_TRANS_HBLANK_B) pipe 8265 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_HSYNC(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_HSYNC_A, _PCH_TRANS_HSYNC_B) pipe 8266 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_VTOTAL(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_VTOTAL_A, _PCH_TRANS_VTOTAL_B) pipe 8267 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_VBLANK(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_VBLANK_A, _PCH_TRANS_VBLANK_B) pipe 8268 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_VSYNC(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_VSYNC_A, _PCH_TRANS_VSYNC_B) pipe 8269 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_VSYNCSHIFT(pipe) _MMIO_PIPE(pipe, _PCH_TRANS_VSYNCSHIFT_A, _PCH_TRANS_VSYNCSHIFT_B) pipe 8280 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_DATA_M1(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_DATA_M1, _PCH_TRANSB_DATA_M1) pipe 8281 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_DATA_N1(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_DATA_N1, _PCH_TRANSB_DATA_N1) pipe 8282 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_DATA_M2(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_DATA_M2, _PCH_TRANSB_DATA_M2) pipe 8283 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_DATA_N2(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_DATA_N2, _PCH_TRANSB_DATA_N2) pipe 8284 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_LINK_M1(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_LINK_M1, _PCH_TRANSB_LINK_M1) pipe 8285 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_LINK_N1(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_LINK_N1, _PCH_TRANSB_LINK_N1) pipe 8286 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_LINK_M2(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_LINK_M2, _PCH_TRANSB_LINK_M2) pipe 8287 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANS_LINK_N2(pipe) _MMIO_PIPE(pipe, _PCH_TRANSA_LINK_N2, _PCH_TRANSB_LINK_N2) pipe 8291 drivers/gpu/drm/i915/i915_reg.h #define PCH_TRANSCONF(pipe) _MMIO_PIPE(pipe, _PCH_TRANSACONF, _PCH_TRANSBCONF) pipe 8313 drivers/gpu/drm/i915/i915_reg.h #define TRANS_CHICKEN1(pipe) _MMIO_PIPE(pipe, _TRANSA_CHICKEN1, _TRANSB_CHICKEN1) pipe 8318 drivers/gpu/drm/i915/i915_reg.h #define TRANS_CHICKEN2(pipe) _MMIO_PIPE(pipe, _TRANSA_CHICKEN2, _TRANSB_CHICKEN2) pipe 8328 drivers/gpu/drm/i915/i915_reg.h #define FDI_PHASE_SYNC_OVR(pipe) (1 << (FDIA_PHASE_SYNC_SHIFT_OVR - ((pipe) * 2))) pipe 8329 drivers/gpu/drm/i915/i915_reg.h #define FDI_PHASE_SYNC_EN(pipe) (1 << (FDIA_PHASE_SYNC_SHIFT_EN - ((pipe) * 2))) pipe 8344 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_CHICKEN(pipe) _MMIO_PIPE(pipe, _FDI_RXA_CHICKEN, _FDI_RXB_CHICKEN) pipe 8357 drivers/gpu/drm/i915/i915_reg.h #define FDI_TX_CTL(pipe) _MMIO_PIPE(pipe, _FDI_TXA_CTL, _FDI_TXB_CTL) pipe 8407 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_CTL(pipe) _MMIO_PIPE(pipe, _FDI_RXA_CTL, _FDI_RXB_CTL) pipe 8443 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_MISC(pipe) _MMIO_PIPE(pipe, _FDI_RXA_MISC, _FDI_RXB_MISC) pipe 8449 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_TUSIZE1(pipe) _MMIO_PIPE(pipe, _FDI_RXA_TUSIZE1, _FDI_RXB_TUSIZE1) pipe 8450 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_TUSIZE2(pipe) _MMIO_PIPE(pipe, _FDI_RXA_TUSIZE2, _FDI_RXB_TUSIZE2) pipe 8469 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_IIR(pipe) _MMIO_PIPE(pipe, _FDI_RXA_IIR, _FDI_RXB_IIR) pipe 8470 drivers/gpu/drm/i915/i915_reg.h #define FDI_RX_IMR(pipe) _MMIO_PIPE(pipe, _FDI_RXA_IMR, _FDI_RXB_IMR) pipe 8512 drivers/gpu/drm/i915/i915_reg.h #define TRANS_DP_CTL(pipe) _MMIO_PIPE(pipe, _TRANS_DP_CTL_A, _TRANS_DP_CTL_B) pipe 9004 drivers/gpu/drm/i915/i915_reg.h #define IBX_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _IBX_HDMIW_HDMIEDID_A, \ pipe 9008 drivers/gpu/drm/i915/i915_reg.h #define IBX_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CNTL_ST_A, \ pipe 9019 drivers/gpu/drm/i915/i915_reg.h #define CPT_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _CPT_HDMIW_HDMIEDID_A, _CPT_HDMIW_HDMIEDID_B) pipe 9022 drivers/gpu/drm/i915/i915_reg.h #define CPT_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CNTL_ST_A, _CPT_AUD_CNTL_ST_B) pipe 9027 drivers/gpu/drm/i915/i915_reg.h #define VLV_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _VLV_HDMIW_HDMIEDID_A, _VLV_HDMIW_HDMIEDID_B) pipe 9030 drivers/gpu/drm/i915/i915_reg.h #define VLV_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CNTL_ST_A, _VLV_AUD_CNTL_ST_B) pipe 9041 drivers/gpu/drm/i915/i915_reg.h #define IBX_AUD_CFG(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CONFIG_A, _IBX_AUD_CONFIG_B) pipe 9044 drivers/gpu/drm/i915/i915_reg.h #define CPT_AUD_CFG(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CONFIG_A, _CPT_AUD_CONFIG_B) pipe 9047 drivers/gpu/drm/i915/i915_reg.h #define VLV_AUD_CFG(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CONFIG_A, _VLV_AUD_CONFIG_B) pipe 9661 drivers/gpu/drm/i915/i915_reg.h #define BXT_CDCLK_CD2X_PIPE(pipe) ((pipe) << 20) pipe 10093 drivers/gpu/drm/i915/i915_reg.h #define PIPE_WM_LINETIME(pipe) _MMIO_PIPE(pipe, _PIPE_WM_LINETIME_A, _PIPE_WM_LINETIME_B) pipe 10154 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_RY_GY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RY_GY, _PIPE_B_CSC_COEFF_RY_GY) pipe 10155 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_BY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_BY, _PIPE_B_CSC_COEFF_BY) pipe 10156 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_RU_GU(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RU_GU, _PIPE_B_CSC_COEFF_RU_GU) pipe 10157 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_BU(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_BU, _PIPE_B_CSC_COEFF_BU) pipe 10158 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_RV_GV(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RV_GV, _PIPE_B_CSC_COEFF_RV_GV) pipe 10159 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_COEFF_BV(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_BV, _PIPE_B_CSC_COEFF_BV) pipe 10160 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_MODE(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_MODE, _PIPE_B_CSC_MODE) pipe 10161 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_PREOFF_HI(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_HI, _PIPE_B_CSC_PREOFF_HI) pipe 10162 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_PREOFF_ME(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_ME, _PIPE_B_CSC_PREOFF_ME) pipe 10163 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_PREOFF_LO(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_LO, _PIPE_B_CSC_PREOFF_LO) pipe 10164 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_POSTOFF_HI(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_HI, _PIPE_B_CSC_POSTOFF_HI) pipe 10165 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_POSTOFF_ME(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_ME, _PIPE_B_CSC_POSTOFF_ME) pipe 10166 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_POSTOFF_LO(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_LO, _PIPE_B_CSC_POSTOFF_LO) pipe 10195 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_RY_GY(pipe) _MMIO_PIPE(pipe,\ pipe 10198 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_BY(pipe) _MMIO_PIPE(pipe, \ pipe 10201 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_RU_GU(pipe) _MMIO_PIPE(pipe, \ pipe 10204 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_BU(pipe) _MMIO_PIPE(pipe, \ pipe 10207 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_RV_GV(pipe) _MMIO_PIPE(pipe, \ pipe 10210 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_COEFF_BV(pipe) _MMIO_PIPE(pipe, \ pipe 10213 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_PREOFF_HI(pipe) _MMIO_PIPE(pipe, \ pipe 10216 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_PREOFF_ME(pipe) _MMIO_PIPE(pipe, \ pipe 10219 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_PREOFF_LO(pipe) _MMIO_PIPE(pipe, \ pipe 10222 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_POSTOFF_HI(pipe) _MMIO_PIPE(pipe, \ pipe 10225 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_POSTOFF_ME(pipe) _MMIO_PIPE(pipe, \ pipe 10228 drivers/gpu/drm/i915/i915_reg.h #define PIPE_CSC_OUTPUT_POSTOFF_LO(pipe) _MMIO_PIPE(pipe, \ pipe 10254 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_INDEX(pipe) _MMIO_PIPE(pipe, _PAL_PREC_INDEX_A, _PAL_PREC_INDEX_B) pipe 10255 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_DATA(pipe) _MMIO_PIPE(pipe, _PAL_PREC_DATA_A, _PAL_PREC_DATA_B) pipe 10256 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_GC_MAX(pipe, i) _MMIO(_PIPE(pipe, _PAL_PREC_GC_MAX_A, _PAL_PREC_GC_MAX_B) + (i) * 4) pipe 10257 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_EXT_GC_MAX(pipe, i) _MMIO(_PIPE(pipe, _PAL_PREC_EXT_GC_MAX_A, _PAL_PREC_EXT_GC_MAX_B) + (i) * 4) pipe 10258 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_EXT2_GC_MAX(pipe, i) _MMIO(_PIPE(pipe, _PAL_PREC_EXT2_GC_MAX_A, _PAL_PREC_EXT2_GC_MAX_B) + (i) * 4) pipe 10268 drivers/gpu/drm/i915/i915_reg.h #define PRE_CSC_GAMC_INDEX(pipe) _MMIO_PIPE(pipe, _PRE_CSC_GAMC_INDEX_A, _PRE_CSC_GAMC_INDEX_B) pipe 10269 drivers/gpu/drm/i915/i915_reg.h #define PRE_CSC_GAMC_DATA(pipe) _MMIO_PIPE(pipe, _PRE_CSC_GAMC_DATA_A, _PRE_CSC_GAMC_DATA_B) pipe 10280 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_MULTI_SEG_INDEX(pipe) _MMIO_PIPE(pipe, \ pipe 10283 drivers/gpu/drm/i915/i915_reg.h #define PREC_PAL_MULTI_SEG_DATA(pipe) _MMIO_PIPE(pipe, \ pipe 10309 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_CSC_COEFF01(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF01, _CGM_PIPE_B_CSC_COEFF01) pipe 10310 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_CSC_COEFF23(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF23, _CGM_PIPE_B_CSC_COEFF23) pipe 10311 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_CSC_COEFF45(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF45, _CGM_PIPE_B_CSC_COEFF45) pipe 10312 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_CSC_COEFF67(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF67, _CGM_PIPE_B_CSC_COEFF67) pipe 10313 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_CSC_COEFF8(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF8, _CGM_PIPE_B_CSC_COEFF8) pipe 10314 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_DEGAMMA(pipe, i, w) _MMIO(_PIPE(pipe, _CGM_PIPE_A_DEGAMMA, _CGM_PIPE_B_DEGAMMA) + (i) * 8 + (w) * 4) pipe 10315 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_GAMMA(pipe, i, w) _MMIO(_PIPE(pipe, _CGM_PIPE_A_GAMMA, _CGM_PIPE_B_GAMMA) + (i) * 8 + (w) * 4) pipe 10316 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_MODE(pipe) _MMIO_PIPE(pipe, _CGM_PIPE_A_MODE, _CGM_PIPE_B_MODE) pipe 10360 drivers/gpu/drm/i915/i915_reg.h #define PIPE_FRMTMSTMP(pipe) \ pipe 10361 drivers/gpu/drm/i915/i915_reg.h _MMIO_PIPE2(pipe, _PIPE_FRMTMSTMP_A) pipe 10510 drivers/gpu/drm/i915/i915_reg.h #define ICL_PIPE_DSS_CTL1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 10519 drivers/gpu/drm/i915/i915_reg.h #define ICL_PIPE_DSS_CTL2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11147 drivers/gpu/drm/i915/i915_reg.h #define BXT_PIPE_SELECT(pipe) ((pipe) << 7) pipe 11244 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11247 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11265 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11268 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11279 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11282 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11294 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_3(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11297 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_3(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11309 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_4(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11312 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_4(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11324 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_5(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11327 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_5(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11339 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_6(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11342 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_6(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11356 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_7(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11359 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_7(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11371 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_8(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11374 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_8(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11386 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_9(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11389 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_9(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11401 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_10(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11404 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_10(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11418 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_11(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11421 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_11(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11431 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_12(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11434 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_12(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11444 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_13(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11447 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_13(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11457 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_14(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11460 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_14(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11470 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_15(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11473 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_15(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11483 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_PICTURE_PARAMETER_SET_16(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11486 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_PICTURE_PARAMETER_SET_16(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11506 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_BUF_THRESH_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11509 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_BUF_THRESH_0_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11512 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_BUF_THRESH_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11515 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_BUF_THRESH_0_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11531 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_BUF_THRESH_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11534 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC0_RC_BUF_THRESH_1_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11537 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_BUF_THRESH_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 11540 drivers/gpu/drm/i915/i915_reg.h #define ICL_DSC1_RC_BUF_THRESH_1_UDW(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ pipe 30 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 36 drivers/gpu/drm/i915/i915_trace.h __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__); pipe 37 drivers/gpu/drm/i915/i915_trace.h __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__); pipe 39 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 43 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), pipe 56 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 63 drivers/gpu/drm/i915/i915_trace.h __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__); pipe 64 drivers/gpu/drm/i915/i915_trace.h __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__); pipe 66 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 70 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), pipe 81 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 88 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 95 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, __entry->scanline, pipe 101 drivers/gpu/drm/i915/i915_trace.h TP_PROTO(struct drm_i915_private *dev_priv, enum pipe pipe), pipe 102 drivers/gpu/drm/i915/i915_trace.h TP_ARGS(dev_priv, pipe), pipe 105 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 111 drivers/gpu/drm/i915/i915_trace.h struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 112 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = pipe; pipe 118 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), pipe 123 drivers/gpu/drm/i915/i915_trace.h TP_PROTO(struct drm_i915_private *dev_priv, enum pipe pch_transcoder), pipe 127 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 133 drivers/gpu/drm/i915/i915_trace.h enum pipe pipe = pch_transcoder; pipe 134 drivers/gpu/drm/i915/i915_trace.h struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 135 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = pipe; pipe 141 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), pipe 159 drivers/gpu/drm/i915/i915_trace.h __entry->frame[crtc->pipe] = intel_crtc_get_vblank_counter(crtc); pipe 160 drivers/gpu/drm/i915/i915_trace.h __entry->scanline[crtc->pipe] = intel_get_crtc_scanline(crtc); pipe 178 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 196 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 199 drivers/gpu/drm/i915/i915_trace.h __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; pipe 200 drivers/gpu/drm/i915/i915_trace.h __entry->sprite = wm->pipe[crtc->pipe].plane[PLANE_SPRITE0]; pipe 201 drivers/gpu/drm/i915/i915_trace.h __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; pipe 214 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, __entry->scanline, pipe 226 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 240 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 245 drivers/gpu/drm/i915/i915_trace.h __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; pipe 246 drivers/gpu/drm/i915/i915_trace.h __entry->sprite0 = wm->pipe[crtc->pipe].plane[PLANE_SPRITE0]; pipe 247 drivers/gpu/drm/i915/i915_trace.h __entry->sprite1 = wm->pipe[crtc->pipe].plane[PLANE_SPRITE1]; pipe 248 drivers/gpu/drm/i915/i915_trace.h __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; pipe 254 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, pipe 265 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 274 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 283 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, pipe 295 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 305 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 313 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __get_str(name), pipe 324 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 332 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 338 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __get_str(name), pipe 349 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 357 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 365 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, pipe 374 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 382 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 390 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, pipe 399 drivers/gpu/drm/i915/i915_trace.h __field(enum pipe, pipe) pipe 405 drivers/gpu/drm/i915/i915_trace.h __entry->pipe = crtc->pipe; pipe 411 drivers/gpu/drm/i915/i915_trace.h pipe_name(__entry->pipe), __entry->frame, pipe 863 drivers/gpu/drm/i915/intel_device_info.c enum pipe pipe; pipe 866 drivers/gpu/drm/i915/intel_device_info.c for_each_pipe(dev_priv, pipe) pipe 867 drivers/gpu/drm/i915/intel_device_info.c runtime->num_scalers[pipe] = 2; pipe 877 drivers/gpu/drm/i915/intel_device_info.c for_each_pipe(dev_priv, pipe) pipe 878 drivers/gpu/drm/i915/intel_device_info.c runtime->num_sprites[pipe] = 6; pipe 880 drivers/gpu/drm/i915/intel_device_info.c for_each_pipe(dev_priv, pipe) pipe 881 drivers/gpu/drm/i915/intel_device_info.c runtime->num_sprites[pipe] = 3; pipe 896 drivers/gpu/drm/i915/intel_device_info.c for_each_pipe(dev_priv, pipe) pipe 897 drivers/gpu/drm/i915/intel_device_info.c runtime->num_sprites[pipe] = 2; pipe 899 drivers/gpu/drm/i915/intel_device_info.c for_each_pipe(dev_priv, pipe) pipe 900 drivers/gpu/drm/i915/intel_device_info.c runtime->num_sprites[pipe] = 1; pipe 498 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 501 drivers/gpu/drm/i915/intel_pm.c switch (pipe) { pipe 522 drivers/gpu/drm/i915/intel_pm.c MISSING_CASE(pipe); pipe 952 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 954 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) pipe 955 drivers/gpu/drm/i915/intel_pm.c trace_g4x_wm(intel_get_crtc_for_pipe(dev_priv, pipe), wm); pipe 959 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_CURSOR], CURSORB) | pipe 960 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_PRIMARY], PLANEB) | pipe 961 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_PRIMARY], PLANEA)); pipe 966 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_SPRITE0], SPRITEB) | pipe 967 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_CURSOR], CURSORA) | pipe 968 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_SPRITE0], SPRITEA)); pipe 984 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 986 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 987 drivers/gpu/drm/i915/intel_pm.c trace_vlv_wm(intel_get_crtc_for_pipe(dev_priv, pipe), wm); pipe 989 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(VLV_DDL(pipe), pipe 990 drivers/gpu/drm/i915/intel_pm.c (wm->ddl[pipe].plane[PLANE_CURSOR] << DDL_CURSOR_SHIFT) | pipe 991 drivers/gpu/drm/i915/intel_pm.c (wm->ddl[pipe].plane[PLANE_SPRITE1] << DDL_SPRITE_SHIFT(1)) | pipe 992 drivers/gpu/drm/i915/intel_pm.c (wm->ddl[pipe].plane[PLANE_SPRITE0] << DDL_SPRITE_SHIFT(0)) | pipe 993 drivers/gpu/drm/i915/intel_pm.c (wm->ddl[pipe].plane[PLANE_PRIMARY] << DDL_PLANE_SHIFT)); pipe 1009 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_CURSOR], CURSORB) | pipe 1010 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_B].plane[PLANE_PRIMARY], PLANEB) | pipe 1011 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_A].plane[PLANE_PRIMARY], PLANEA)); pipe 1013 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_A].plane[PLANE_SPRITE1], SPRITEB) | pipe 1014 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_CURSOR], CURSORA) | pipe 1015 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_A].plane[PLANE_SPRITE0], SPRITEA)); pipe 1021 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_B].plane[PLANE_SPRITE1], SPRITED) | pipe 1022 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_B].plane[PLANE_SPRITE0], SPRITEC)); pipe 1024 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_C].plane[PLANE_SPRITE1], SPRITEF) | pipe 1025 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_C].plane[PLANE_SPRITE0], SPRITEE)); pipe 1027 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_C].plane[PLANE_PRIMARY], PLANEC) | pipe 1028 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_C].plane[PLANE_CURSOR], CURSORC)); pipe 1031 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_C].plane[PLANE_SPRITE1] >> 8, SPRITEF_HI) | pipe 1032 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_C].plane[PLANE_SPRITE0] >> 8, SPRITEE_HI) | pipe 1033 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_C].plane[PLANE_PRIMARY] >> 8, PLANEC_HI) | pipe 1034 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_SPRITE1] >> 8, SPRITED_HI) | pipe 1035 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_SPRITE0] >> 8, SPRITEC_HI) | pipe 1036 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_PRIMARY] >> 8, PLANEB_HI) | pipe 1037 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_SPRITE1] >> 8, SPRITEB_HI) | pipe 1038 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_SPRITE0] >> 8, SPRITEA_HI) | pipe 1039 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_PRIMARY] >> 8, PLANEA_HI)); pipe 1042 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_B].plane[PLANE_SPRITE1], SPRITED) | pipe 1043 drivers/gpu/drm/i915/intel_pm.c FW_WM_VLV(wm->pipe[PIPE_B].plane[PLANE_SPRITE0], SPRITEC)); pipe 1046 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_SPRITE1] >> 8, SPRITED_HI) | pipe 1047 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_SPRITE0] >> 8, SPRITEC_HI) | pipe 1048 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_B].plane[PLANE_PRIMARY] >> 8, PLANEB_HI) | pipe 1049 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_SPRITE1] >> 8, SPRITEB_HI) | pipe 1050 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_SPRITE0] >> 8, SPRITEA_HI) | pipe 1051 drivers/gpu/drm/i915/intel_pm.c FW_WM(wm->pipe[PIPE_A].plane[PLANE_PRIMARY] >> 8, PLANEA_HI)); pipe 1531 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 1533 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe] = wm_state->wm; pipe 1916 drivers/gpu/drm/i915/intel_pm.c wm_state->cxsr = crtc->pipe != PIPE_C && num_active_planes == 1; pipe 1990 drivers/gpu/drm/i915/intel_pm.c switch (crtc->pipe) { pipe 2135 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 2137 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe] = wm_state->wm[wm->level]; pipe 2141 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_PRIMARY] = DDL_PRECISION_HIGH | 2; pipe 2142 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_SPRITE0] = DDL_PRECISION_HIGH | 2; pipe 2143 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_SPRITE1] = DDL_PRECISION_HIGH | 2; pipe 2144 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_CURSOR] = DDL_PRECISION_HIGH | 2; pipe 3410 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = intel_crtc->pipe; pipe 3417 drivers/gpu/drm/i915/intel_pm.c results->wm_linetime[pipe] = intel_crtc->wm.active.ilk.linetime; pipe 3419 drivers/gpu/drm/i915/intel_pm.c results->wm_pipe[pipe] = pipe 3456 drivers/gpu/drm/i915/intel_pm.c #define WM_DIRTY_PIPE(pipe) (1 << (pipe)) pipe 3457 drivers/gpu/drm/i915/intel_pm.c #define WM_DIRTY_LINETIME(pipe) (1 << (8 + (pipe))) pipe 3468 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 3471 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 3472 drivers/gpu/drm/i915/intel_pm.c if (old->wm_linetime[pipe] != new->wm_linetime[pipe]) { pipe 3473 drivers/gpu/drm/i915/intel_pm.c dirty |= WM_DIRTY_LINETIME(pipe); pipe 3478 drivers/gpu/drm/i915/intel_pm.c if (old->wm_pipe[pipe] != new->wm_pipe[pipe]) { pipe 3479 drivers/gpu/drm/i915/intel_pm.c dirty |= WM_DIRTY_PIPE(pipe); pipe 3755 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 3783 drivers/gpu/drm/i915/intel_pm.c pipe = ffs(state->active_crtcs) - 1; pipe 3784 drivers/gpu/drm/i915/intel_pm.c crtc = intel_get_crtc_for_pipe(dev_priv, pipe); pipe 3871 drivers/gpu/drm/i915/intel_pm.c enum pipe for_pipe = to_intel_crtc(for_crtc)->pipe; pipe 3915 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 3924 drivers/gpu/drm/i915/intel_pm.c if (pipe < for_pipe) pipe 3926 drivers/gpu/drm/i915/intel_pm.c else if (pipe == for_pipe) pipe 3986 drivers/gpu/drm/i915/intel_pm.c const enum pipe pipe, pipe 3996 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(CUR_BUF_CFG(pipe)); pipe 4001 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_CTL(pipe, plane_id)); pipe 4010 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_BUF_CFG(pipe, plane_id)); pipe 4013 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_BUF_CFG(pipe, plane_id)); pipe 4014 drivers/gpu/drm/i915/intel_pm.c val2 = I915_READ(PLANE_NV12_BUF_CFG(pipe, plane_id)); pipe 4030 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 4034 drivers/gpu/drm/i915/intel_pm.c power_domain = POWER_DOMAIN_PIPE(pipe); pipe 4040 drivers/gpu/drm/i915/intel_pm.c skl_ddb_get_hw_plane_state(dev_priv, pipe, pipe 5153 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = plane->pipe; pipe 5162 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, PLANE_WM(pipe, plane_id, level), pipe 5165 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, PLANE_WM_TRANS(pipe, plane_id), pipe 5170 drivers/gpu/drm/i915/intel_pm.c PLANE_BUF_CFG(pipe, plane_id), ddb_y); pipe 5178 drivers/gpu/drm/i915/intel_pm.c PLANE_BUF_CFG(pipe, plane_id), ddb_y); pipe 5180 drivers/gpu/drm/i915/intel_pm.c PLANE_NV12_BUF_CFG(pipe, plane_id), ddb_uv); pipe 5189 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = plane->pipe; pipe 5196 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, CUR_WM(pipe, level), pipe 5199 drivers/gpu/drm/i915/intel_pm.c skl_write_wm_level(dev_priv, CUR_WM_TRANS(pipe), &wm->trans_wm); pipe 5201 drivers/gpu/drm/i915/intel_pm.c skl_ddb_entry_write(dev_priv, CUR_BUF_CFG(pipe), ddb); pipe 5654 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 5659 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(PIPE_WM_LINETIME(pipe), pipe_wm->linetime); pipe 5772 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 5784 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_WM(pipe, plane_id, level)); pipe 5786 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(CUR_WM(pipe, level)); pipe 5792 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(PLANE_WM_TRANS(pipe, plane_id)); pipe 5794 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(CUR_WM_TRANS(pipe)); pipe 5802 drivers/gpu/drm/i915/intel_pm.c out->linetime = I915_READ(PIPE_WM_LINETIME(pipe)); pipe 5835 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 5842 drivers/gpu/drm/i915/intel_pm.c hw->wm_pipe[pipe] = I915_READ(wm0_pipe_reg[pipe]); pipe 5844 drivers/gpu/drm/i915/intel_pm.c hw->wm_linetime[pipe] = I915_READ(PIPE_WM_LINETIME(pipe)); pipe 5851 drivers/gpu/drm/i915/intel_pm.c u32 tmp = hw->wm_pipe[pipe]; pipe 5863 drivers/gpu/drm/i915/intel_pm.c active->linetime = hw->wm_linetime[pipe]; pipe 5891 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORB); pipe 5892 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] = _FW_WM(tmp, PLANEB); pipe 5893 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] = _FW_WM(tmp, PLANEA); pipe 5899 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM(tmp, SPRITEB); pipe 5900 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORA); pipe 5901 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] = _FW_WM(tmp, SPRITEA); pipe 5913 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 5916 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 5917 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(VLV_DDL(pipe)); pipe 5919 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_PRIMARY] = pipe 5921 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_CURSOR] = pipe 5923 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_SPRITE0] = pipe 5925 drivers/gpu/drm/i915/intel_pm.c wm->ddl[pipe].plane[PLANE_SPRITE1] = pipe 5931 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORB); pipe 5932 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEB); pipe 5933 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEA); pipe 5936 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITEB); pipe 5937 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORA); pipe 5938 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEA); pipe 5945 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITED); pipe 5946 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEC); pipe 5949 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITEF); pipe 5950 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEE); pipe 5953 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEC); pipe 5954 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORC); pipe 5958 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEF_HI) << 8; pipe 5959 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEE_HI) << 8; pipe 5960 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEC_HI) << 8; pipe 5961 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITED_HI) << 8; pipe 5962 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEC_HI) << 8; pipe 5963 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEB_HI) << 8; pipe 5964 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEB_HI) << 8; pipe 5965 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEA_HI) << 8; pipe 5966 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEA_HI) << 8; pipe 5969 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITED); pipe 5970 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEC); pipe 5974 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITED_HI) << 8; pipe 5975 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEC_HI) << 8; pipe 5976 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEB_HI) << 8; pipe 5977 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEB_HI) << 8; pipe 5978 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEA_HI) << 8; pipe 5979 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEA_HI) << 8; pipe 6000 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 6013 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[plane_id]; pipe 6056 drivers/gpu/drm/i915/intel_pm.c pipe_name(pipe), pipe 6057 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_PRIMARY], pipe 6058 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_CURSOR], pipe 6059 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_SPRITE0]); pipe 6079 drivers/gpu/drm/i915/intel_pm.c intel_get_crtc_for_pipe(dev_priv, plane->pipe); pipe 6177 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe = crtc->pipe; pipe 6195 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[plane_id]; pipe 6212 drivers/gpu/drm/i915/intel_pm.c pipe_name(pipe), pipe 6213 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_PRIMARY], pipe 6214 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_CURSOR], pipe 6215 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_SPRITE0], pipe 6216 drivers/gpu/drm/i915/intel_pm.c wm->pipe[pipe].plane[PLANE_SPRITE1]); pipe 6232 drivers/gpu/drm/i915/intel_pm.c intel_get_crtc_for_pipe(dev_priv, plane->pipe); pipe 8894 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 8896 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 8897 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(DSPCNTR(pipe), pipe 8898 drivers/gpu/drm/i915/intel_pm.c I915_READ(DSPCNTR(pipe)) | pipe 8901 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(DSPSURF(pipe), I915_READ(DSPSURF(pipe))); pipe 8902 drivers/gpu/drm/i915/intel_pm.c POSTING_READ(DSPSURF(pipe)); pipe 8979 drivers/gpu/drm/i915/intel_pm.c int pipe; pipe 8995 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 8996 drivers/gpu/drm/i915/intel_pm.c val = I915_READ(TRANS_CHICKEN2(pipe)); pipe 9004 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(TRANS_CHICKEN2(pipe), val); pipe 9007 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 9008 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(TRANS_CHICKEN1(pipe), pipe 9301 drivers/gpu/drm/i915/intel_pm.c enum pipe pipe; pipe 9311 drivers/gpu/drm/i915/intel_pm.c for_each_pipe(dev_priv, pipe) { pipe 9312 drivers/gpu/drm/i915/intel_pm.c I915_WRITE(CHICKEN_PIPESL_1(pipe), pipe 9313 drivers/gpu/drm/i915/intel_pm.c I915_READ(CHICKEN_PIPESL_1(pipe)) | pipe 233 drivers/gpu/drm/i915/intel_sideband.c u32 vlv_dpio_read(struct drm_i915_private *i915, enum pipe pipe, int reg) pipe 235 drivers/gpu/drm/i915/intel_sideband.c int port = i915->dpio_phy_iosf_port[DPIO_PHY(pipe)]; pipe 245 drivers/gpu/drm/i915/intel_sideband.c pipe_name(pipe), reg, val); pipe 251 drivers/gpu/drm/i915/intel_sideband.c enum pipe pipe, int reg, u32 val) pipe 253 drivers/gpu/drm/i915/intel_sideband.c int port = i915->dpio_phy_iosf_port[DPIO_PHY(pipe)]; pipe 10 drivers/gpu/drm/i915/intel_sideband.h enum pipe; pipe 78 drivers/gpu/drm/i915/intel_sideband.h u32 vlv_dpio_read(struct drm_i915_private *i915, enum pipe pipe, int reg); pipe 80 drivers/gpu/drm/i915/intel_sideband.h enum pipe pipe, int reg, u32 val); pipe 16 drivers/gpu/drm/lima/lima_bcast.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 21 drivers/gpu/drm/lima/lima_bcast.c struct lima_ip *pp = pipe->processor[i]; pipe 21 drivers/gpu/drm/lima/lima_ctx.c err = lima_sched_context_init(dev->pipe + i, ctx->context + i, &ctx->guilty); pipe 34 drivers/gpu/drm/lima/lima_ctx.c lima_sched_context_fini(dev->pipe + i, ctx->context + i); pipe 45 drivers/gpu/drm/lima/lima_ctx.c lima_sched_context_fini(ctx->dev->pipe + i, ctx->context + i); pipe 213 drivers/gpu/drm/lima/lima_device.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_gp; pipe 216 drivers/gpu/drm/lima/lima_device.c err = lima_sched_pipe_init(pipe, "gp"); pipe 220 drivers/gpu/drm/lima/lima_device.c pipe->l2_cache[pipe->num_l2_cache++] = dev->ip + lima_ip_l2_cache0; pipe 221 drivers/gpu/drm/lima/lima_device.c pipe->mmu[pipe->num_mmu++] = dev->ip + lima_ip_gpmmu; pipe 222 drivers/gpu/drm/lima/lima_device.c pipe->processor[pipe->num_processor++] = dev->ip + lima_ip_gp; pipe 226 drivers/gpu/drm/lima/lima_device.c lima_sched_pipe_fini(pipe); pipe 235 drivers/gpu/drm/lima/lima_device.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_gp; pipe 238 drivers/gpu/drm/lima/lima_device.c lima_sched_pipe_fini(pipe); pipe 243 drivers/gpu/drm/lima/lima_device.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 246 drivers/gpu/drm/lima/lima_device.c err = lima_sched_pipe_init(pipe, "pp"); pipe 261 drivers/gpu/drm/lima/lima_device.c pipe->mmu[pipe->num_mmu++] = ppmmu; pipe 262 drivers/gpu/drm/lima/lima_device.c pipe->processor[pipe->num_processor++] = pp; pipe 263 drivers/gpu/drm/lima/lima_device.c if (!pipe->l2_cache[i >> 2]) pipe 264 drivers/gpu/drm/lima/lima_device.c pipe->l2_cache[pipe->num_l2_cache++] = l2_cache; pipe 269 drivers/gpu/drm/lima/lima_device.c pipe->bcast_processor = dev->ip + lima_ip_pp_bcast; pipe 270 drivers/gpu/drm/lima/lima_device.c pipe->bcast_mmu = dev->ip + lima_ip_ppmmu_bcast; pipe 275 drivers/gpu/drm/lima/lima_device.c lima_sched_pipe_fini(pipe); pipe 284 drivers/gpu/drm/lima/lima_device.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 287 drivers/gpu/drm/lima/lima_device.c lima_sched_pipe_fini(pipe); pipe 89 drivers/gpu/drm/lima/lima_device.h struct lima_sched_pipe pipe[lima_pipe_num]; pipe 17 drivers/gpu/drm/lima/lima_dlbu.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 22 drivers/gpu/drm/lima/lima_dlbu.c struct lima_ip *pp = pipe->processor[i]; pipe 47 drivers/gpu/drm/lima/lima_drv.c args->value = ldev->pipe[lima_pipe_pp].num_processor; pipe 94 drivers/gpu/drm/lima/lima_drv.c struct lima_sched_pipe *pipe; pipe 101 drivers/gpu/drm/lima/lima_drv.c if (args->pipe >= lima_pipe_num || args->nr_bos == 0) pipe 107 drivers/gpu/drm/lima/lima_drv.c pipe = ldev->pipe + args->pipe; pipe 108 drivers/gpu/drm/lima/lima_drv.c if (args->frame_size != pipe->frame_size) pipe 121 drivers/gpu/drm/lima/lima_drv.c task = kmem_cache_zalloc(pipe->task_slab, GFP_KERNEL); pipe 133 drivers/gpu/drm/lima/lima_drv.c err = pipe->task_validate(pipe, task); pipe 143 drivers/gpu/drm/lima/lima_drv.c submit.pipe = args->pipe; pipe 159 drivers/gpu/drm/lima/lima_drv.c kmem_cache_free(pipe->task_slab, task); pipe 26 drivers/gpu/drm/lima/lima_drv.h int pipe; pipe 276 drivers/gpu/drm/lima/lima_gem.c submit->task, submit->ctx->context + submit->pipe, pipe 295 drivers/gpu/drm/lima/lima_gem.c submit->ctx->context + submit->pipe, submit->task); pipe 22 drivers/gpu/drm/lima/lima_gp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_gp; pipe 38 drivers/gpu/drm/lima/lima_gp.c pipe->error = true; pipe 51 drivers/gpu/drm/lima/lima_gp.c lima_sched_pipe_task_done(pipe); pipe 91 drivers/gpu/drm/lima/lima_gp.c static int lima_gp_task_validate(struct lima_sched_pipe *pipe, pipe 96 drivers/gpu/drm/lima/lima_gp.c (void)pipe; pipe 115 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_task_run(struct lima_sched_pipe *pipe, pipe 118 drivers/gpu/drm/lima/lima_gp.c struct lima_ip *ip = pipe->processor[0]; pipe 167 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_task_fini(struct lima_sched_pipe *pipe) pipe 169 drivers/gpu/drm/lima/lima_gp.c lima_gp_soft_reset_async(pipe->processor[0]); pipe 172 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_task_error(struct lima_sched_pipe *pipe) pipe 174 drivers/gpu/drm/lima/lima_gp.c struct lima_ip *ip = pipe->processor[0]; pipe 182 drivers/gpu/drm/lima/lima_gp.c static void lima_gp_task_mmu_error(struct lima_sched_pipe *pipe) pipe 184 drivers/gpu/drm/lima/lima_gp.c lima_sched_pipe_task_done(pipe); pipe 253 drivers/gpu/drm/lima/lima_gp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_gp; pipe 265 drivers/gpu/drm/lima/lima_gp.c pipe->frame_size = frame_size; pipe 266 drivers/gpu/drm/lima/lima_gp.c pipe->task_slab = lima_gp_task_slab; pipe 268 drivers/gpu/drm/lima/lima_gp.c pipe->task_validate = lima_gp_task_validate; pipe 269 drivers/gpu/drm/lima/lima_gp.c pipe->task_run = lima_gp_task_run; pipe 270 drivers/gpu/drm/lima/lima_gp.c pipe->task_fini = lima_gp_task_fini; pipe 271 drivers/gpu/drm/lima/lima_gp.c pipe->task_error = lima_gp_task_error; pipe 272 drivers/gpu/drm/lima/lima_gp.c pipe->task_mmu_error = lima_gp_task_mmu_error; pipe 35 drivers/gpu/drm/lima/lima_mmu.c struct lima_sched_pipe *pipe; pipe 57 drivers/gpu/drm/lima/lima_mmu.c pipe = dev->pipe + (ip->id == lima_ip_gpmmu ? lima_pipe_gp : lima_pipe_pp); pipe 58 drivers/gpu/drm/lima/lima_mmu.c lima_sched_pipe_mmu_error(pipe); pipe 24 drivers/gpu/drm/lima/lima_pp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 32 drivers/gpu/drm/lima/lima_pp.c pipe->error = true; pipe 45 drivers/gpu/drm/lima/lima_pp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 54 drivers/gpu/drm/lima/lima_pp.c if (atomic_dec_and_test(&pipe->task)) pipe 55 drivers/gpu/drm/lima/lima_pp.c lima_sched_pipe_task_done(pipe); pipe 66 drivers/gpu/drm/lima/lima_pp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 70 drivers/gpu/drm/lima/lima_pp.c if (!pipe->current_task) pipe 73 drivers/gpu/drm/lima/lima_pp.c frame = pipe->current_task->frame; pipe 76 drivers/gpu/drm/lima/lima_pp.c struct lima_ip *ip = pipe->processor[i]; pipe 79 drivers/gpu/drm/lima/lima_pp.c if (pipe->done & (1 << i)) pipe 96 drivers/gpu/drm/lima/lima_pp.c pipe->done |= (1 << i); pipe 97 drivers/gpu/drm/lima/lima_pp.c if (atomic_dec_and_test(&pipe->task)) pipe 98 drivers/gpu/drm/lima/lima_pp.c lima_sched_pipe_task_done(pipe); pipe 146 drivers/gpu/drm/lima/lima_pp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 147 drivers/gpu/drm/lima/lima_pp.c struct drm_lima_m450_pp_frame *frame = pipe->current_task->frame; pipe 150 drivers/gpu/drm/lima/lima_pp.c err |= lima_pp_soft_reset_async_wait_one(pipe->processor[i]); pipe 278 drivers/gpu/drm/lima/lima_pp.c static int lima_pp_task_validate(struct lima_sched_pipe *pipe, pipe 283 drivers/gpu/drm/lima/lima_pp.c if (pipe->bcast_processor) { pipe 296 drivers/gpu/drm/lima/lima_pp.c if (num_pp == 0 || num_pp > pipe->num_processor) pipe 302 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_task_run(struct lima_sched_pipe *pipe, pipe 305 drivers/gpu/drm/lima/lima_pp.c if (pipe->bcast_processor) { pipe 307 drivers/gpu/drm/lima/lima_pp.c struct lima_device *dev = pipe->bcast_processor->dev; pipe 308 drivers/gpu/drm/lima/lima_pp.c struct lima_ip *ip = pipe->bcast_processor; pipe 311 drivers/gpu/drm/lima/lima_pp.c pipe->done = 0; pipe 312 drivers/gpu/drm/lima/lima_pp.c atomic_set(&pipe->task, frame->num_pp); pipe 329 drivers/gpu/drm/lima/lima_pp.c struct lima_ip *ip = pipe->processor[i]; pipe 341 drivers/gpu/drm/lima/lima_pp.c atomic_set(&pipe->task, frame->num_pp); pipe 344 drivers/gpu/drm/lima/lima_pp.c struct lima_ip *ip = pipe->processor[i]; pipe 360 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_task_fini(struct lima_sched_pipe *pipe) pipe 362 drivers/gpu/drm/lima/lima_pp.c if (pipe->bcast_processor) pipe 363 drivers/gpu/drm/lima/lima_pp.c lima_pp_soft_reset_async(pipe->bcast_processor); pipe 367 drivers/gpu/drm/lima/lima_pp.c for (i = 0; i < pipe->num_processor; i++) pipe 368 drivers/gpu/drm/lima/lima_pp.c lima_pp_soft_reset_async(pipe->processor[i]); pipe 372 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_task_error(struct lima_sched_pipe *pipe) pipe 376 drivers/gpu/drm/lima/lima_pp.c for (i = 0; i < pipe->num_processor; i++) { pipe 377 drivers/gpu/drm/lima/lima_pp.c struct lima_ip *ip = pipe->processor[i]; pipe 386 drivers/gpu/drm/lima/lima_pp.c static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe) pipe 388 drivers/gpu/drm/lima/lima_pp.c if (atomic_dec_and_test(&pipe->task)) pipe 389 drivers/gpu/drm/lima/lima_pp.c lima_sched_pipe_task_done(pipe); pipe 398 drivers/gpu/drm/lima/lima_pp.c struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; pipe 415 drivers/gpu/drm/lima/lima_pp.c pipe->frame_size = frame_size; pipe 416 drivers/gpu/drm/lima/lima_pp.c pipe->task_slab = lima_pp_task_slab; pipe 418 drivers/gpu/drm/lima/lima_pp.c pipe->task_validate = lima_pp_task_validate; pipe 419 drivers/gpu/drm/lima/lima_pp.c pipe->task_run = lima_pp_task_run; pipe 420 drivers/gpu/drm/lima/lima_pp.c pipe->task_fini = lima_pp_task_fini; pipe 421 drivers/gpu/drm/lima/lima_pp.c pipe->task_error = lima_pp_task_error; pipe 422 drivers/gpu/drm/lima/lima_pp.c pipe->task_mmu_error = lima_pp_task_mmu_error; pipe 17 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_pipe *pipe; pipe 59 drivers/gpu/drm/lima/lima_sched.c return f->pipe->base.name; pipe 83 drivers/gpu/drm/lima/lima_sched.c static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) pipe 91 drivers/gpu/drm/lima/lima_sched.c fence->pipe = pipe; pipe 92 drivers/gpu/drm/lima/lima_sched.c dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, pipe 93 drivers/gpu/drm/lima/lima_sched.c pipe->fence_context, ++pipe->fence_seqno); pipe 158 drivers/gpu/drm/lima/lima_sched.c int lima_sched_context_init(struct lima_sched_pipe *pipe, pipe 162 drivers/gpu/drm/lima/lima_sched.c struct drm_sched_rq *rq = pipe->base.sched_rq + DRM_SCHED_PRIORITY_NORMAL; pipe 167 drivers/gpu/drm/lima/lima_sched.c void lima_sched_context_fini(struct lima_sched_pipe *pipe, pipe 196 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); pipe 206 drivers/gpu/drm/lima/lima_sched.c fence = lima_fence_create(pipe); pipe 216 drivers/gpu/drm/lima/lima_sched.c pipe->current_task = task; pipe 233 drivers/gpu/drm/lima/lima_sched.c for (i = 0; i < pipe->num_l2_cache; i++) pipe 234 drivers/gpu/drm/lima/lima_sched.c lima_l2_cache_flush(pipe->l2_cache[i]); pipe 236 drivers/gpu/drm/lima/lima_sched.c if (task->vm != pipe->current_vm) { pipe 238 drivers/gpu/drm/lima/lima_sched.c last_vm = pipe->current_vm; pipe 239 drivers/gpu/drm/lima/lima_sched.c pipe->current_vm = task->vm; pipe 242 drivers/gpu/drm/lima/lima_sched.c if (pipe->bcast_mmu) pipe 243 drivers/gpu/drm/lima/lima_sched.c lima_mmu_switch_vm(pipe->bcast_mmu, vm); pipe 245 drivers/gpu/drm/lima/lima_sched.c for (i = 0; i < pipe->num_mmu; i++) pipe 246 drivers/gpu/drm/lima/lima_sched.c lima_mmu_switch_vm(pipe->mmu[i], vm); pipe 252 drivers/gpu/drm/lima/lima_sched.c pipe->error = false; pipe 253 drivers/gpu/drm/lima/lima_sched.c pipe->task_run(pipe, task); pipe 258 drivers/gpu/drm/lima/lima_sched.c static void lima_sched_handle_error_task(struct lima_sched_pipe *pipe, pipe 261 drivers/gpu/drm/lima/lima_sched.c drm_sched_stop(&pipe->base, &task->base); pipe 266 drivers/gpu/drm/lima/lima_sched.c pipe->task_error(pipe); pipe 268 drivers/gpu/drm/lima/lima_sched.c if (pipe->bcast_mmu) pipe 269 drivers/gpu/drm/lima/lima_sched.c lima_mmu_page_fault_resume(pipe->bcast_mmu); pipe 273 drivers/gpu/drm/lima/lima_sched.c for (i = 0; i < pipe->num_mmu; i++) pipe 274 drivers/gpu/drm/lima/lima_sched.c lima_mmu_page_fault_resume(pipe->mmu[i]); pipe 277 drivers/gpu/drm/lima/lima_sched.c if (pipe->current_vm) pipe 278 drivers/gpu/drm/lima/lima_sched.c lima_vm_put(pipe->current_vm); pipe 280 drivers/gpu/drm/lima/lima_sched.c pipe->current_vm = NULL; pipe 281 drivers/gpu/drm/lima/lima_sched.c pipe->current_task = NULL; pipe 283 drivers/gpu/drm/lima/lima_sched.c drm_sched_resubmit_jobs(&pipe->base); pipe 284 drivers/gpu/drm/lima/lima_sched.c drm_sched_start(&pipe->base, true); pipe 289 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); pipe 294 drivers/gpu/drm/lima/lima_sched.c lima_sched_handle_error_task(pipe, task); pipe 300 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); pipe 311 drivers/gpu/drm/lima/lima_sched.c kmem_cache_free(pipe->task_slab, task); pipe 323 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_pipe *pipe = pipe 325 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_task *task = pipe->current_task; pipe 327 drivers/gpu/drm/lima/lima_sched.c lima_sched_handle_error_task(pipe, task); pipe 330 drivers/gpu/drm/lima/lima_sched.c int lima_sched_pipe_init(struct lima_sched_pipe *pipe, const char *name) pipe 335 drivers/gpu/drm/lima/lima_sched.c pipe->fence_context = dma_fence_context_alloc(1); pipe 336 drivers/gpu/drm/lima/lima_sched.c spin_lock_init(&pipe->fence_lock); pipe 338 drivers/gpu/drm/lima/lima_sched.c INIT_WORK(&pipe->error_work, lima_sched_error_work); pipe 340 drivers/gpu/drm/lima/lima_sched.c return drm_sched_init(&pipe->base, &lima_sched_ops, 1, 0, pipe 344 drivers/gpu/drm/lima/lima_sched.c void lima_sched_pipe_fini(struct lima_sched_pipe *pipe) pipe 346 drivers/gpu/drm/lima/lima_sched.c drm_sched_fini(&pipe->base); pipe 349 drivers/gpu/drm/lima/lima_sched.c void lima_sched_pipe_task_done(struct lima_sched_pipe *pipe) pipe 351 drivers/gpu/drm/lima/lima_sched.c if (pipe->error) pipe 352 drivers/gpu/drm/lima/lima_sched.c schedule_work(&pipe->error_work); pipe 354 drivers/gpu/drm/lima/lima_sched.c struct lima_sched_task *task = pipe->current_task; pipe 356 drivers/gpu/drm/lima/lima_sched.c pipe->task_fini(pipe); pipe 66 drivers/gpu/drm/lima/lima_sched.h int (*task_validate)(struct lima_sched_pipe *pipe, struct lima_sched_task *task); pipe 67 drivers/gpu/drm/lima/lima_sched.h void (*task_run)(struct lima_sched_pipe *pipe, struct lima_sched_task *task); pipe 68 drivers/gpu/drm/lima/lima_sched.h void (*task_fini)(struct lima_sched_pipe *pipe); pipe 69 drivers/gpu/drm/lima/lima_sched.h void (*task_error)(struct lima_sched_pipe *pipe); pipe 70 drivers/gpu/drm/lima/lima_sched.h void (*task_mmu_error)(struct lima_sched_pipe *pipe); pipe 81 drivers/gpu/drm/lima/lima_sched.h int lima_sched_context_init(struct lima_sched_pipe *pipe, pipe 84 drivers/gpu/drm/lima/lima_sched.h void lima_sched_context_fini(struct lima_sched_pipe *pipe, pipe 89 drivers/gpu/drm/lima/lima_sched.h int lima_sched_pipe_init(struct lima_sched_pipe *pipe, const char *name); pipe 90 drivers/gpu/drm/lima/lima_sched.h void lima_sched_pipe_fini(struct lima_sched_pipe *pipe); pipe 91 drivers/gpu/drm/lima/lima_sched.h void lima_sched_pipe_task_done(struct lima_sched_pipe *pipe); pipe 93 drivers/gpu/drm/lima/lima_sched.h static inline void lima_sched_pipe_mmu_error(struct lima_sched_pipe *pipe) pipe 95 drivers/gpu/drm/lima/lima_sched.h pipe->error = true; pipe 96 drivers/gpu/drm/lima/lima_sched.h pipe->task_mmu_error(pipe); pipe 125 drivers/gpu/drm/mcde/mcde_display.c drm_crtc_handle_vblank(&mcde->pipe.crtc); pipe 150 drivers/gpu/drm/mcde/mcde_display.c static int mcde_display_check(struct drm_simple_display_pipe *pipe, pipe 155 drivers/gpu/drm/mcde/mcde_display.c struct drm_framebuffer *old_fb = pipe->plane.state->fb; pipe 812 drivers/gpu/drm/mcde/mcde_display.c static void mcde_display_enable(struct drm_simple_display_pipe *pipe, pipe 816 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 817 drivers/gpu/drm/mcde/mcde_display.c struct drm_plane *plane = &pipe->plane; pipe 944 drivers/gpu/drm/mcde/mcde_display.c static void mcde_display_disable(struct drm_simple_display_pipe *pipe) pipe 946 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 1006 drivers/gpu/drm/mcde/mcde_display.c static void mcde_display_update(struct drm_simple_display_pipe *pipe, pipe 1009 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 1013 drivers/gpu/drm/mcde/mcde_display.c struct drm_plane *plane = &pipe->plane; pipe 1064 drivers/gpu/drm/mcde/mcde_display.c static int mcde_display_enable_vblank(struct drm_simple_display_pipe *pipe) pipe 1066 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 1083 drivers/gpu/drm/mcde/mcde_display.c static void mcde_display_disable_vblank(struct drm_simple_display_pipe *pipe) pipe 1085 drivers/gpu/drm/mcde/mcde_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 1132 drivers/gpu/drm/mcde/mcde_display.c ret = drm_simple_display_pipe_init(drm, &mcde->pipe, pipe 18 drivers/gpu/drm/mcde/mcde_drm.h struct drm_simple_display_pipe pipe; pipe 209 drivers/gpu/drm/mcde/mcde_drv.c ret = drm_simple_display_pipe_attach_bridge(&mcde->pipe, pipe 435 drivers/gpu/drm/mediatek/mtk_drm_crtc.c state->base.event->pipe = drm_crtc_index(crtc); pipe 499 drivers/gpu/drm/mediatek/mtk_drm_crtc.c unsigned int pipe) pipe 545 drivers/gpu/drm/mediatek/mtk_drm_crtc.c int pipe = priv->num_pipes; pipe 561 drivers/gpu/drm/mediatek/mtk_drm_crtc.c pipe, comp_id); pipe 578 drivers/gpu/drm/mediatek/mtk_drm_crtc.c mtk_crtc->mutex = mtk_disp_mutex_get(priv->mutex_dev, pipe); pipe 614 drivers/gpu/drm/mediatek/mtk_drm_crtc.c BIT(pipe), type); pipe 619 drivers/gpu/drm/mediatek/mtk_drm_crtc.c ret = mtk_drm_crtc_init(drm_dev, mtk_crtc, pipe); pipe 201 drivers/gpu/drm/mga/mga_drv.h extern int mga_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 202 drivers/gpu/drm/mga/mga_drv.h extern void mga_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 203 drivers/gpu/drm/mga/mga_drv.h extern u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 36 drivers/gpu/drm/mga/mga_irq.c u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 41 drivers/gpu/drm/mga/mga_irq.c if (pipe != 0) pipe 89 drivers/gpu/drm/mga/mga_irq.c int mga_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 93 drivers/gpu/drm/mga/mga_irq.c if (pipe != 0) { pipe 95 drivers/gpu/drm/mga/mga_irq.c pipe); pipe 104 drivers/gpu/drm/mga/mga_irq.c void mga_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 106 drivers/gpu/drm/mga/mga_irq.c if (pipe != 0) { pipe 108 drivers/gpu/drm/mga/mga_irq.c pipe); pipe 226 drivers/gpu/drm/mga/mga_state.c unsigned int pipe = sarea_priv->warp_pipe; pipe 244 drivers/gpu/drm/mga/mga_state.c MGA_WIADDR, (dev_priv->warp_pipe_phys[pipe] | pipe 253 drivers/gpu/drm/mga/mga_state.c unsigned int pipe = sarea_priv->warp_pipe; pipe 264 drivers/gpu/drm/mga/mga_state.c if (pipe & MGA_T2) { pipe 321 drivers/gpu/drm/mga/mga_state.c MGA_WIADDR2, (dev_priv->warp_pipe_phys[pipe] | pipe 88 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c enum dpu_sspp pipe; pipe 185 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c plane->base.id, pdpu->pipe - SSPP_VIG0, pipe 250 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c trace_dpu_perf_set_qos_luts(pdpu->pipe - SSPP_VIG0, pipe 256 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->pipe - SSPP_VIG0, pipe 301 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c trace_dpu_perf_set_danger_luts(pdpu->pipe - SSPP_VIG0, pipe 309 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->pipe - SSPP_VIG0, pipe 353 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->pipe - SSPP_VIG0, pipe 1445 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c return plane ? to_dpu_plane(plane)->pipe : SSPP_NONE; pipe 1455 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c uint32_t pipe, enum drm_plane_type type, pipe 1470 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c DPU_ERROR("[%u]failed to allocate local plane struct\n", pipe); pipe 1477 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->pipe = pipe; pipe 1488 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->pipe_hw = dpu_hw_sspp_init(pipe, kms->mmio, kms->catalog, pipe 1491 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c DPU_ERROR("[%u]SSPP init failed\n", pipe); pipe 1495 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c DPU_ERROR("[%u]SSPP init returned invalid cfg\n", pipe); pipe 1503 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c DPU_ERROR("[%u]invalid sblk\n", pipe); pipe 1553 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pipe, plane->base.id, master_plane_id); pipe 111 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h uint32_t pipe, enum drm_plane_type type, pipe 61 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h static inline uint32_t pipe2flush(enum mdp4_pipe pipe) pipe 63 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h switch (pipe) { pipe 102 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h enum mdp4_pipe pipe, enum mdp_mixer_stage_id stage) pipe 104 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h switch (pipe) { pipe 167 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h static inline uint32_t mdp4_pipe_caps(enum mdp4_pipe pipe) pipe 169 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h switch (pipe) { pipe 19 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c enum mdp4_pipe pipe; pipe 143 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c enum mdp4_pipe pipe = mdp4_plane->pipe; pipe 145 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_A(pipe), pipe 149 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_B(pipe), pipe 153 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP0_BASE(pipe), pipe 155 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP1_BASE(pipe), pipe 157 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP2_BASE(pipe), pipe 159 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP3_BASE(pipe), pipe 164 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c enum mdp4_pipe pipe, struct csc_cfg *csc) pipe 169 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_MV(pipe, i), pipe 174 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_PRE_BV(pipe, i), pipe 177 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_POST_BV(pipe, i), pipe 182 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_PRE_LV(pipe, i), pipe 185 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_CSC_POST_LV(pipe, i), pipe 202 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c enum mdp4_pipe pipe = mdp4_plane->pipe; pipe 281 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_SIZE(pipe), pipe 285 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_XY(pipe), pipe 289 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_DST_SIZE(pipe), pipe 293 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_DST_XY(pipe), pipe 299 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_FORMAT(pipe), pipe 312 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_UNPACK(pipe), pipe 323 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write_csc_config(mdp4_kms, pipe, csc); pipe 326 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_OP_MODE(pipe), op_mode); pipe 327 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_PHASEX_STEP(pipe), phasex_step); pipe 328 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_PHASEY_STEP(pipe), phasey_step); pipe 331 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_write(mdp4_kms, REG_MDP4_PIPE_SSTILE_FRAME_SIZE(pipe), pipe 347 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c return mdp4_plane->pipe; pipe 367 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c mdp4_plane->pipe = pipe_id; pipe 286 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static u32 mdp_ctl_blend_mask(enum mdp5_pipe pipe, pipe 289 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c switch (pipe) { pipe 306 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static u32 mdp_ctl_blend_ext_mask(enum mdp5_pipe pipe, pipe 309 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (stage < STAGE6 && (pipe != SSPP_CURSOR0 && pipe != SSPP_CURSOR1)) pipe 312 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c switch (pipe) { pipe 438 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 mdp_ctl_flush_mask_pipe(enum mdp5_pipe pipe) pipe 440 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c switch (pipe) { pipe 67 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h u32 mdp_ctl_flush_mask_pipe(enum mdp5_pipe pipe); pipe 598 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c static bool mdp5_get_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 608 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c crtc = priv->crtcs[pipe]; pipe 610 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c DRM_ERROR("Invalid crtc %d\n", pipe); pipe 616 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c DRM_ERROR("no encoder found for crtc %d\n", pipe); pipe 658 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c static u32 mdp5_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 664 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (pipe >= priv->num_crtcs) pipe 667 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c crtc = priv->crtcs[pipe]; pipe 194 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h static inline const char *pipe2name(enum mdp5_pipe pipe) pipe 205 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h return names[pipe]; pipe 208 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h static inline int pipe2nclients(enum mdp5_pipe pipe) pipe 210 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h switch (pipe) { pipe 74 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c if (cur->pipe > r_cur->pipe) pipe 102 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c (*hwpipe)->pipe, blkcfg); pipe 140 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); pipe 151 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c struct mdp5_hw_pipe *mdp5_pipe_init(enum mdp5_pipe pipe, pipe 160 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c hwpipe->name = pipe2name(pipe); pipe 161 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c hwpipe->pipe = pipe; pipe 164 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c hwpipe->flush_mask = mdp_ctl_flush_mask_pipe(pipe); pipe 18 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.h enum mdp5_pipe pipe; pipe 42 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.h struct mdp5_hw_pipe *mdp5_pipe_init(enum mdp5_pipe pipe, pipe 535 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c enum mdp5_pipe pipe, pipe 540 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_A(pipe), pipe 544 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_B(pipe), pipe 548 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC0_ADDR(pipe), pipe 550 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC1_ADDR(pipe), pipe 552 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe), pipe 554 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC3_ADDR(pipe), pipe 559 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c static void csc_disable(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe) pipe 561 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c uint32_t value = mdp5_read(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe)) & pipe 564 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe), value); pipe 568 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c static void csc_enable(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe, pipe 582 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe), mode); pipe 585 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_0(pipe), pipe 588 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_1(pipe), pipe 591 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_2(pipe), pipe 594 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_3(pipe), pipe 597 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_4(pipe), pipe 604 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_PRE_CLAMP(pipe, i), pipe 608 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_POST_CLAMP(pipe, i), pipe 612 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_PRE_BIAS(pipe, i), pipe 615 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_POST_BIAS(pipe, i), pipe 744 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c static void mdp5_write_pixel_ext(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe, pipe 784 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SW_PIX_EXT_LR(pipe, i), lr); pipe 785 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SW_PIX_EXT_TB(pipe, i), tb); pipe 786 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS(pipe, i), req); pipe 829 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c enum mdp5_pipe pipe = hwpipe->pipe; pipe 834 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_IMG_SIZE(pipe), pipe 838 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_SIZE(pipe), pipe 842 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_XY(pipe), pipe 846 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_OUT_SIZE(pipe), pipe 850 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_OUT_XY(pipe), pipe 854 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_FORMAT(pipe), pipe 866 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_UNPACK(pipe), pipe 872 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_OP_MODE(pipe), pipe 879 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_ADDR_SW_STATUS(pipe), 0); pipe 882 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write_pixel_ext(mdp5_kms, pipe, format, pipe 887 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_PHASE_STEP_X(pipe), pipe 889 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_PHASE_STEP_Y(pipe), pipe 891 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CR_PHASE_STEP_X(pipe), pipe 893 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CR_PHASE_STEP_Y(pipe), pipe 895 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_DECIMATION(pipe), pipe 898 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CONFIG(pipe), pipe 904 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c csc_enable(mdp5_kms, pipe, pipe 907 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c csc_disable(mdp5_kms, pipe); pipe 910 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c set_scanout_locked(mdp5_kms, pipe, fb); pipe 920 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c enum mdp5_pipe pipe = hwpipe->pipe; pipe 940 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (WARN_ON(nplanes > pipe2nclients(pipe))) pipe 1036 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c return pstate->hwpipe->pipe; pipe 1046 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c return pstate->r_hwpipe->pipe; pipe 39 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c static inline u32 pipe2client(enum mdp5_pipe pipe, int plane) pipe 43 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c if (WARN_ON(plane >= pipe2nclients(pipe))) pipe 58 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c return mdp5_cfg->smp.clients[pipe] + plane; pipe 97 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe, int nblks) pipe 105 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm0[pipe] = val * 1; pipe 106 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm1[pipe] = val * 2; pipe 107 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm2[pipe] = val * 3; pipe 167 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe, uint32_t blkcfg) pipe 173 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for (i = 0; i < pipe2nclients(pipe); i++) { pipe 174 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 cid = pipe2client(pipe, i); pipe 180 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c DBG("%s[%d]: request %d SMP blocks", pipe2name(pipe), i, n); pipe 191 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c state->assigned |= (1 << pipe); pipe 198 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe) pipe 203 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for (i = 0; i < pipe2nclients(pipe); i++) { pipe 204 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 cid = pipe2client(pipe, i); pipe 214 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c state->released |= (1 << pipe); pipe 279 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe = hwpipe->pipe; pipe 281 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_0(pipe), pipe 282 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm0[pipe]); pipe 283 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_1(pipe), pipe 284 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm1[pipe]); pipe 285 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_2(pipe), pipe 286 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c smp->pipe_reqprio_fifo_wm2[pipe]); pipe 292 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe; pipe 294 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for_each_set_bit(pipe, &state->assigned, sizeof(state->assigned) * 8) { pipe 297 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for (i = 0; i < pipe2nclients(pipe); i++) { pipe 298 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 cid = pipe2client(pipe, i); pipe 304 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c pipe2name(pipe), i, nblks); pipe 307 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c set_fifo_thresholds(smp, pipe, nblks); pipe 318 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe; pipe 320 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for_each_set_bit(pipe, &state->released, sizeof(state->released) * 8) { pipe 321 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c DBG("release %s", pipe2name(pipe)); pipe 322 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c set_fifo_thresholds(smp, pipe, 0); pipe 353 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c enum mdp5_pipe pipe = hwpipe->pipe; pipe 354 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c for (j = 0; j < pipe2nclients(pipe); j++) { pipe 355 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 cid = pipe2client(pipe, j); pipe 360 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c pipe2name(pipe), j, inuse, pipe 80 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h enum mdp5_pipe pipe, uint32_t blkcfg); pipe 82 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h enum mdp5_pipe pipe); pipe 671 drivers/gpu/drm/msm/msm_drv.c static int msm_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 677 drivers/gpu/drm/msm/msm_drv.c DBG("dev=%p, crtc=%u", dev, pipe); pipe 678 drivers/gpu/drm/msm/msm_drv.c return vblank_ctrl_queue_work(priv, pipe, true); pipe 681 drivers/gpu/drm/msm/msm_drv.c static void msm_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 687 drivers/gpu/drm/msm/msm_drv.c DBG("dev=%p, crtc=%u", dev, pipe); pipe 688 drivers/gpu/drm/msm/msm_drv.c vblank_ctrl_queue_work(priv, pipe, false); pipe 705 drivers/gpu/drm/msm/msm_drv.c if (args->pipe != MSM_PIPE_3D0) pipe 48 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_crtc *crtc = &mxsfb->pipe.crtc; pipe 91 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_crtc *crtc = &mxsfb->pipe.crtc; pipe 192 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_framebuffer *fb = mxsfb->pipe.plane.state->fb; pipe 207 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_display_mode *m = &mxsfb->pipe.crtc.state->adjusted_mode; pipe 305 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_simple_display_pipe *pipe = &mxsfb->pipe; pipe 306 drivers/gpu/drm/mxsfb/mxsfb_crtc.c struct drm_crtc *crtc = &pipe->crtc; pipe 73 drivers/gpu/drm/mxsfb/mxsfb_drv.c drm_pipe_to_mxsfb_drm_private(struct drm_simple_display_pipe *pipe) pipe 75 drivers/gpu/drm/mxsfb/mxsfb_drv.c return container_of(pipe, struct mxsfb_drm_private, pipe); pipe 100 drivers/gpu/drm/mxsfb/mxsfb_drv.c static void mxsfb_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 104 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct mxsfb_drm_private *mxsfb = drm_pipe_to_mxsfb_drm_private(pipe); pipe 105 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct drm_device *drm = pipe->plane.dev; pipe 113 drivers/gpu/drm/mxsfb/mxsfb_drv.c static void mxsfb_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 115 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct mxsfb_drm_private *mxsfb = drm_pipe_to_mxsfb_drm_private(pipe); pipe 116 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct drm_device *drm = pipe->plane.dev; pipe 117 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct drm_crtc *crtc = &pipe->crtc; pipe 134 drivers/gpu/drm/mxsfb/mxsfb_drv.c static void mxsfb_pipe_update(struct drm_simple_display_pipe *pipe, pipe 137 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct mxsfb_drm_private *mxsfb = drm_pipe_to_mxsfb_drm_private(pipe); pipe 142 drivers/gpu/drm/mxsfb/mxsfb_drv.c static int mxsfb_pipe_enable_vblank(struct drm_simple_display_pipe *pipe) pipe 144 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct mxsfb_drm_private *mxsfb = drm_pipe_to_mxsfb_drm_private(pipe); pipe 155 drivers/gpu/drm/mxsfb/mxsfb_drv.c static void mxsfb_pipe_disable_vblank(struct drm_simple_display_pipe *pipe) pipe 157 drivers/gpu/drm/mxsfb/mxsfb_drv.c struct mxsfb_drm_private *mxsfb = drm_pipe_to_mxsfb_drm_private(pipe); pipe 227 drivers/gpu/drm/mxsfb/mxsfb_drv.c ret = drm_simple_display_pipe_init(drm, &mxsfb->pipe, &mxsfb_funcs, pipe 293 drivers/gpu/drm/mxsfb/mxsfb_drv.c mxsfb_pipe_disable_vblank(&mxsfb->pipe); pipe 307 drivers/gpu/drm/mxsfb/mxsfb_drv.c drm_crtc_handle_vblank(&mxsfb->pipe.crtc); pipe 29 drivers/gpu/drm/mxsfb/mxsfb_drv.h struct drm_simple_display_pipe pipe; pipe 57 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_vblank_enable(struct drm_device *dev, unsigned int pipe) pipe 62 drivers/gpu/drm/nouveau/nouveau_display.c crtc = drm_crtc_from_index(dev, pipe); pipe 73 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_vblank_disable(struct drm_device *dev, unsigned int pipe) pipe 78 drivers/gpu/drm/nouveau/nouveau_display.c crtc = drm_crtc_from_index(dev, pipe); pipe 139 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 147 drivers/gpu/drm/nouveau/nouveau_display.c if (nouveau_crtc(crtc)->index == pipe) { pipe 435 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c struct pipe_state *pipe = &chan->pipe_state; pipe 448 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(device, pipe->pipe_0x0200, 0x0200); pipe 457 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(device, pipe->pipe_0x4400, 0x4400); pipe 483 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(device, pipe->pipe_0x0200, 0x0200); pipe 495 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(device, pipe->pipe_0x4400, 0x4400); pipe 563 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c struct pipe_state *pipe = &chan->pipe_state; pipe 566 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x4400, 0x4400); pipe 567 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x0200, 0x0200); pipe 568 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x6400, 0x6400); pipe 569 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x6800, 0x6800); pipe 570 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x6c00, 0x6c00); pipe 571 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x7000, 0x7000); pipe 572 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x7400, 0x7400); pipe 573 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x7800, 0x7800); pipe 574 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x0040, 0x0040); pipe 575 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_SAVE(gr, pipe->pipe_0x0000, 0x0000); pipe 582 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c struct pipe_state *pipe = &chan->pipe_state; pipe 611 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x0200, 0x0200); pipe 617 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x6400, 0x6400); pipe 618 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x6800, 0x6800); pipe 619 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x6c00, 0x6c00); pipe 620 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x7000, 0x7000); pipe 621 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x7400, 0x7400); pipe 622 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x7800, 0x7800); pipe 623 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x4400, 0x4400); pipe 624 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x0000, 0x0000); pipe 625 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c PIPE_RESTORE(gr, pipe->pipe_0x0040, 0x0040); pipe 35 drivers/gpu/drm/omapdrm/omap_crtc.c struct omap_drm_pipeline *pipe; pipe 130 drivers/gpu/drm/omapdrm/omap_crtc.c if (omap_crtc->pipe->output->type == OMAP_DISPLAY_TYPE_HDMI) { pipe 365 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_display_mode *mode = &omap_crtc->pipe->crtc->mode; pipe 366 drivers/gpu/drm/omapdrm/omap_crtc.c struct omap_dss_device *dssdev = omap_crtc->pipe->output->next; pipe 504 drivers/gpu/drm/omapdrm/omap_crtc.c if (omap_crtc->pipe->output->next == NULL || pipe 505 drivers/gpu/drm/omapdrm/omap_crtc.c omap_crtc->pipe->output->next->type != OMAP_DISPLAY_TYPE_DSI) { pipe 557 drivers/gpu/drm/omapdrm/omap_crtc.c struct omap_dss_device *display = omap_crtc->pipe->output->next; pipe 780 drivers/gpu/drm/omapdrm/omap_crtc.c struct omap_drm_pipeline *pipe, pipe 789 drivers/gpu/drm/omapdrm/omap_crtc.c channel = pipe->output->dispc_channel; pipe 801 drivers/gpu/drm/omapdrm/omap_crtc.c omap_crtc->pipe = pipe; pipe 822 drivers/gpu/drm/omapdrm/omap_crtc.c __func__, pipe->output->name); pipe 28 drivers/gpu/drm/omapdrm/omap_crtc.h struct omap_drm_pipeline *pipe, pipe 134 drivers/gpu/drm/omapdrm/omap_drv.c struct omap_drm_pipeline *pipe = &priv->pipes[i]; pipe 136 drivers/gpu/drm/omapdrm/omap_drv.c if (pipe->output->panel) pipe 137 drivers/gpu/drm/omapdrm/omap_drv.c drm_panel_detach(pipe->output->panel); pipe 139 drivers/gpu/drm/omapdrm/omap_drv.c omapdss_device_disconnect(NULL, pipe->output); pipe 141 drivers/gpu/drm/omapdrm/omap_drv.c omapdss_device_put(pipe->output); pipe 142 drivers/gpu/drm/omapdrm/omap_drv.c pipe->output = NULL; pipe 165 drivers/gpu/drm/omapdrm/omap_drv.c struct omap_drm_pipeline *pipe; pipe 167 drivers/gpu/drm/omapdrm/omap_drv.c pipe = &priv->pipes[priv->num_pipes++]; pipe 168 drivers/gpu/drm/omapdrm/omap_drv.c pipe->output = omapdss_device_get(output); pipe 290 drivers/gpu/drm/omapdrm/omap_drv.c struct omap_drm_pipeline *pipe = &priv->pipes[i]; pipe 293 drivers/gpu/drm/omapdrm/omap_drv.c pipe->encoder = omap_encoder_init(dev, pipe->output); pipe 294 drivers/gpu/drm/omapdrm/omap_drv.c if (!pipe->encoder) pipe 297 drivers/gpu/drm/omapdrm/omap_drv.c if (pipe->output->bridge) { pipe 298 drivers/gpu/drm/omapdrm/omap_drv.c ret = drm_bridge_attach(pipe->encoder, pipe 299 drivers/gpu/drm/omapdrm/omap_drv.c pipe->output->bridge, NULL); pipe 304 drivers/gpu/drm/omapdrm/omap_drv.c id = omap_display_id(pipe->output); pipe 305 drivers/gpu/drm/omapdrm/omap_drv.c pipe->alias_id = id >= 0 ? id : i; pipe 317 drivers/gpu/drm/omapdrm/omap_drv.c struct omap_drm_pipeline *pipe = &priv->pipes[i]; pipe 318 drivers/gpu/drm/omapdrm/omap_drv.c enum omap_channel channel = pipe->output->dispc_channel; pipe 323 drivers/gpu/drm/omapdrm/omap_drv.c priv->channels[channel] = pipe; pipe 328 drivers/gpu/drm/omapdrm/omap_drv.c struct omap_drm_pipeline *pipe = &priv->pipes[i]; pipe 329 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_encoder *encoder = pipe->encoder; pipe 332 drivers/gpu/drm/omapdrm/omap_drv.c if (!pipe->output->bridge) { pipe 333 drivers/gpu/drm/omapdrm/omap_drv.c pipe->connector = omap_connector_init(dev, pipe->output, pipe 335 drivers/gpu/drm/omapdrm/omap_drv.c if (!pipe->connector) pipe 338 drivers/gpu/drm/omapdrm/omap_drv.c drm_connector_attach_encoder(pipe->connector, encoder); pipe 340 drivers/gpu/drm/omapdrm/omap_drv.c if (pipe->output->panel) { pipe 341 drivers/gpu/drm/omapdrm/omap_drv.c ret = drm_panel_attach(pipe->output->panel, pipe 342 drivers/gpu/drm/omapdrm/omap_drv.c pipe->connector); pipe 348 drivers/gpu/drm/omapdrm/omap_drv.c crtc = omap_crtc_init(dev, pipe, priv->planes[i]); pipe 353 drivers/gpu/drm/omapdrm/omap_drv.c pipe->crtc = crtc; pipe 39 drivers/gpu/drm/pl111/pl111_display.c drm_crtc_handle_vblank(&priv->pipe.crtc); pipe 85 drivers/gpu/drm/pl111/pl111_display.c static int pl111_display_check(struct drm_simple_display_pipe *pipe, pipe 90 drivers/gpu/drm/pl111/pl111_display.c struct drm_framebuffer *old_fb = pipe->plane.state->fb; pipe 119 drivers/gpu/drm/pl111/pl111_display.c static void pl111_display_enable(struct drm_simple_display_pipe *pipe, pipe 123 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 124 drivers/gpu/drm/pl111/pl111_display.c struct drm_plane *plane = &pipe->plane; pipe 357 drivers/gpu/drm/pl111/pl111_display.c void pl111_display_disable(struct drm_simple_display_pipe *pipe) pipe 359 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 389 drivers/gpu/drm/pl111/pl111_display.c static void pl111_display_update(struct drm_simple_display_pipe *pipe, pipe 392 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 396 drivers/gpu/drm/pl111/pl111_display.c struct drm_plane *plane = &pipe->plane; pipe 418 drivers/gpu/drm/pl111/pl111_display.c static int pl111_display_enable_vblank(struct drm_simple_display_pipe *pipe) pipe 420 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 429 drivers/gpu/drm/pl111/pl111_display.c static void pl111_display_disable_vblank(struct drm_simple_display_pipe *pipe) pipe 431 drivers/gpu/drm/pl111/pl111_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 587 drivers/gpu/drm/pl111/pl111_display.c ret = drm_simple_display_pipe_init(drm, &priv->pipe, pipe 65 drivers/gpu/drm/pl111/pl111_drm.h struct drm_simple_display_pipe pipe; pipe 178 drivers/gpu/drm/pl111/pl111_drv.c ret = drm_simple_display_pipe_attach_bridge(&priv->pipe, pipe 167 drivers/gpu/drm/r128/r128_drv.h extern int r128_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 168 drivers/gpu/drm/r128/r128_drv.h extern void r128_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 169 drivers/gpu/drm/r128/r128_drv.h extern u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 40 drivers/gpu/drm/r128/r128_irq.c u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 44 drivers/gpu/drm/r128/r128_irq.c if (pipe != 0) pipe 68 drivers/gpu/drm/r128/r128_irq.c int r128_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 72 drivers/gpu/drm/r128/r128_irq.c if (pipe != 0) { pipe 73 drivers/gpu/drm/r128/r128_irq.c DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); pipe 81 drivers/gpu/drm/r128/r128_irq.c void r128_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 83 drivers/gpu/drm/r128/r128_irq.c if (pipe != 0) pipe 84 drivers/gpu/drm/r128/r128_irq.c DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); pipe 1855 drivers/gpu/drm/radeon/cik.c u32 me, u32 pipe, u32 queue, u32 vmid) pipe 1857 drivers/gpu/drm/radeon/cik.c u32 srbm_gfx_cntl = (PIPEID(pipe & 0x3) | pipe 3520 drivers/gpu/drm/radeon/cik.c ref_and_mask = CP2 << ring->pipe; pipe 3523 drivers/gpu/drm/radeon/cik.c ref_and_mask = CP6 << ring->pipe; pipe 4162 drivers/gpu/drm/radeon/cik.c cik_srbm_select(rdev, ring->me, ring->pipe, ring->queue, 0); pipe 4181 drivers/gpu/drm/radeon/cik.c cik_srbm_select(rdev, ring->me, ring->pipe, ring->queue, 0); pipe 4203 drivers/gpu/drm/radeon/cik.c cik_srbm_select(rdev, ring->me, ring->pipe, ring->queue, 0); pipe 4548 drivers/gpu/drm/radeon/cik.c int pipe = (i < 4) ? i : (i - 4); pipe 4550 drivers/gpu/drm/radeon/cik.c cik_srbm_select(rdev, me, pipe, 0, 0); pipe 4620 drivers/gpu/drm/radeon/cik.c rdev->ring[idx].pipe, pipe 7084 drivers/gpu/drm/radeon/cik.c switch (ring->pipe) { pipe 7098 drivers/gpu/drm/radeon/cik.c DRM_DEBUG("si_irq_set: sw int cp1 invalid pipe %d\n", ring->pipe); pipe 7102 drivers/gpu/drm/radeon/cik.c switch (ring->pipe) { pipe 7116 drivers/gpu/drm/radeon/cik.c DRM_DEBUG("si_irq_set: sw int cp1 invalid pipe %d\n", ring->pipe); pipe 7127 drivers/gpu/drm/radeon/cik.c switch (ring->pipe) { pipe 7141 drivers/gpu/drm/radeon/cik.c DRM_DEBUG("si_irq_set: sw int cp2 invalid pipe %d\n", ring->pipe); pipe 7145 drivers/gpu/drm/radeon/cik.c switch (ring->pipe) { pipe 7159 drivers/gpu/drm/radeon/cik.c DRM_DEBUG("si_irq_set: sw int cp2 invalid pipe %d\n", ring->pipe); pipe 7955 drivers/gpu/drm/radeon/cik.c if ((cp1_ring->me == me_id) & (cp1_ring->pipe == pipe_id)) pipe 7957 drivers/gpu/drm/radeon/cik.c if ((cp2_ring->me == me_id) & (cp2_ring->pipe == pipe_id)) pipe 8430 drivers/gpu/drm/radeon/cik.c ring->pipe = 0; /* first pipe */ pipe 8442 drivers/gpu/drm/radeon/cik.c ring->pipe = 0; /* first pipe */ pipe 1745 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp, pipe; pipe 1762 drivers/gpu/drm/radeon/cypress_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; pipe 1765 drivers/gpu/drm/radeon/cypress_dpm.c (!(rdev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pipe 1772 drivers/gpu/drm/radeon/cypress_dpm.c pipe = 0; pipe 1774 drivers/gpu/drm/radeon/cypress_dpm.c pipe = i; pipe 1777 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); pipe 857 drivers/gpu/drm/radeon/radeon.h u32 pipe; pipe 1812 drivers/gpu/drm/radeon/radeon_display.c int radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 1830 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 0) { pipe 1837 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 1) { pipe 1844 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 2) { pipe 1851 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 3) { pipe 1858 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 4) { pipe 1865 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 5) { pipe 1873 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 0) { pipe 1878 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 1) { pipe 1885 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 0) { pipe 1899 drivers/gpu/drm/radeon/radeon_display.c if (pipe == 1) { pipe 1951 drivers/gpu/drm/radeon/radeon_display.c vbl_start -= rdev->mode_info.crtcs[pipe]->lb_vblank_lead_lines; pipe 123 drivers/gpu/drm/radeon/radeon_drv.c u32 radeon_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe); pipe 124 drivers/gpu/drm/radeon/radeon_drv.c int radeon_enable_vblank_kms(struct drm_device *dev, unsigned int pipe); pipe 125 drivers/gpu/drm/radeon/radeon_drv.c void radeon_disable_vblank_kms(struct drm_device *dev, unsigned int pipe); pipe 609 drivers/gpu/drm/radeon/radeon_drv.c radeon_get_crtc_scanout_position(struct drm_device *dev, unsigned int pipe, pipe 614 drivers/gpu/drm/radeon/radeon_drv.c return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, pipe 754 drivers/gpu/drm/radeon/radeon_kms.c u32 radeon_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe) pipe 760 drivers/gpu/drm/radeon/radeon_kms.c if (pipe >= rdev->num_crtc) { pipe 761 drivers/gpu/drm/radeon/radeon_kms.c DRM_ERROR("Invalid crtc %u\n", pipe); pipe 773 drivers/gpu/drm/radeon/radeon_kms.c if (rdev->mode_info.crtcs[pipe]) { pipe 778 drivers/gpu/drm/radeon/radeon_kms.c count = radeon_get_vblank_counter(rdev, pipe); pipe 784 drivers/gpu/drm/radeon/radeon_kms.c dev, pipe, GET_DISTANCE_TO_VBLANKSTART, pipe 786 drivers/gpu/drm/radeon/radeon_kms.c &rdev->mode_info.crtcs[pipe]->base.hwmode); pipe 787 drivers/gpu/drm/radeon/radeon_kms.c } while (count != radeon_get_vblank_counter(rdev, pipe)); pipe 795 drivers/gpu/drm/radeon/radeon_kms.c pipe, vpos); pipe 807 drivers/gpu/drm/radeon/radeon_kms.c count = radeon_get_vblank_counter(rdev, pipe); pipe 879 drivers/gpu/drm/radeon/radeon_mode.h extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 3684 drivers/gpu/drm/radeon/si_dpm.c u32 tmp, pipe; pipe 3701 drivers/gpu/drm/radeon/si_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; pipe 3704 drivers/gpu/drm/radeon/si_dpm.c (!(rdev->pm.dpm.new_active_crtcs & (1 << pipe)))) { pipe 3711 drivers/gpu/drm/radeon/si_dpm.c pipe = 0; pipe 3713 drivers/gpu/drm/radeon/si_dpm.c pipe = i; pipe 3716 drivers/gpu/drm/radeon/si_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); pipe 426 drivers/gpu/drm/shmobile/shmob_drm_crtc.c event->pipe = 0; pipe 249 drivers/gpu/drm/sti/sti_crtc.c unsigned int pipe; pipe 251 drivers/gpu/drm/sti/sti_crtc.c pipe = drm_crtc_index(crtc); pipe 252 drivers/gpu/drm/sti/sti_crtc.c compo = container_of(nb, struct sti_compositor, vtg_vblank_nb[pipe]); pipe 253 drivers/gpu/drm/sti/sti_crtc.c mixer = compo->mixer[pipe]; pipe 282 drivers/gpu/drm/sti/sti_crtc.c int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 286 drivers/gpu/drm/sti/sti_crtc.c struct notifier_block *vtg_vblank_nb = &compo->vtg_vblank_nb[pipe]; pipe 287 drivers/gpu/drm/sti/sti_crtc.c struct drm_crtc *crtc = &compo->mixer[pipe]->drm_crtc; pipe 288 drivers/gpu/drm/sti/sti_crtc.c struct sti_vtg *vtg = compo->vtg[pipe]; pipe 300 drivers/gpu/drm/sti/sti_crtc.c void sti_crtc_disable_vblank(struct drm_device *drm_dev, unsigned int pipe) pipe 304 drivers/gpu/drm/sti/sti_crtc.c struct notifier_block *vtg_vblank_nb = &compo->vtg_vblank_nb[pipe]; pipe 305 drivers/gpu/drm/sti/sti_crtc.c struct sti_vtg *vtg = compo->vtg[pipe]; pipe 18 drivers/gpu/drm/sti/sti_crtc.h int sti_crtc_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 19 drivers/gpu/drm/sti/sti_crtc.h void sti_crtc_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 671 drivers/gpu/drm/stm/ltdc.c bool ltdc_crtc_scanoutpos(struct drm_device *ddev, unsigned int pipe, pipe 42 drivers/gpu/drm/stm/ltdc.h bool ltdc_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, pipe 388 drivers/gpu/drm/sun4i/sun4i_backend.c unsigned int pipe = p_state->pipe; pipe 391 drivers/gpu/drm/sun4i/sun4i_backend.c layer, priority, pipe); pipe 395 drivers/gpu/drm/sun4i/sun4i_backend.c SUN4I_BACKEND_ATTCTL_REG0_LAY_PIPESEL(p_state->pipe) | pipe 608 drivers/gpu/drm/sun4i/sun4i_backend.c s_state->pipe = current_pipe; pipe 23 drivers/gpu/drm/sun4i/sun4i_layer.h unsigned int pipe; pipe 26 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON_GINT0_VBLANK_ENABLE(pipe) BIT(31 - (pipe)) pipe 29 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON_GINT0_VBLANK_INT(pipe) BIT(15 - (pipe)) pipe 60 drivers/gpu/drm/sun4i/sun8i_mixer.h #define SUN8I_MIXER_BLEND_PIPE_CTL_EN(pipe) BIT(8 + pipe) pipe 61 drivers/gpu/drm/sun4i/sun8i_mixer.h #define SUN8I_MIXER_BLEND_PIPE_CTL_FC_EN(pipe) BIT(pipe) pipe 1097 drivers/gpu/drm/tegra/dc.c if (wgrp->dc == dc->pipe) { pipe 1988 drivers/gpu/drm/tegra/dc.c if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) pipe 2370 drivers/gpu/drm/tegra/dc.c dc->pipe = value; pipe 2378 drivers/gpu/drm/tegra/dc.c unsigned int pipe = (unsigned long)(void *)data; pipe 2380 drivers/gpu/drm/tegra/dc.c return dc->pipe == pipe; pipe 2390 drivers/gpu/drm/tegra/dc.c if (dc->soc->coupled_pm && dc->pipe == 1) { pipe 2463 drivers/gpu/drm/tegra/dc.c if (dc->pipe == 0) pipe 78 drivers/gpu/drm/tegra/dc.h int pipe; pipe 486 drivers/gpu/drm/tegra/dsi.c static void tegra_dsi_configure(struct tegra_dsi *dsi, unsigned int pipe, pipe 517 drivers/gpu/drm/tegra/dsi.c DSI_CONTROL_SOURCE(pipe); pipe 620 drivers/gpu/drm/tegra/dsi.c tegra_dsi_configure(dsi->slave, pipe, mode); pipe 928 drivers/gpu/drm/tegra/dsi.c tegra_dsi_configure(dsi, dc->pipe, mode); pipe 1244 drivers/gpu/drm/tegra/hdmi.c if (dc->pipe) pipe 219 drivers/gpu/drm/tegra/hub.c if (tegra_shared_plane_get_owner(plane, dc) == dc->pipe) { pipe 224 drivers/gpu/drm/tegra/hub.c dc->pipe, plane->index); pipe 243 drivers/gpu/drm/tegra/hub.c if (new && (owner != OWNER_MASK && owner != new->pipe)) { pipe 255 drivers/gpu/drm/tegra/hub.c old->pipe, owner); pipe 260 drivers/gpu/drm/tegra/hub.c value |= OWNER(new->pipe); pipe 1049 drivers/gpu/drm/tegra/sor.c SOR_STATE_ASY_OWNER(dc->pipe + 1); pipe 1097 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state1 + dc->pipe); pipe 1104 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state2 + dc->pipe); pipe 1111 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state3 + dc->pipe); pipe 1118 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state4 + dc->pipe); pipe 1121 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, 0x001, sor->soc->regs->head_state5 + dc->pipe); pipe 2586 drivers/gpu/drm/tegra/sor.c value = SOR_INPUT_CONTROL_HDMI_SRC_SELECT(dc->pipe); pipe 2741 drivers/gpu/drm/tegra/sor.c value |= SOR_STATE_ASY_OWNER(1 + dc->pipe); pipe 2749 drivers/gpu/drm/tegra/sor.c value = tegra_sor_readl(sor, sor->soc->regs->head_state0 + dc->pipe); pipe 2752 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state0 + dc->pipe); pipe 2755 drivers/gpu/drm/tegra/sor.c value = tegra_sor_readl(sor, sor->soc->regs->head_state0 + dc->pipe); pipe 2758 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, value, sor->soc->regs->head_state0 + dc->pipe); pipe 86 drivers/gpu/drm/tiny/gm12u320.c struct drm_simple_display_pipe pipe; pipe 589 drivers/gpu/drm/tiny/gm12u320.c static void gm12u320_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 593 drivers/gpu/drm/tiny/gm12u320.c struct gm12u320_device *gm12u320 = pipe->crtc.dev->dev_private; pipe 601 drivers/gpu/drm/tiny/gm12u320.c static void gm12u320_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 603 drivers/gpu/drm/tiny/gm12u320.c struct gm12u320_device *gm12u320 = pipe->crtc.dev->dev_private; pipe 609 drivers/gpu/drm/tiny/gm12u320.c static void gm12u320_pipe_update(struct drm_simple_display_pipe *pipe, pipe 612 drivers/gpu/drm/tiny/gm12u320.c struct drm_plane_state *state = pipe->plane.state; pipe 613 drivers/gpu/drm/tiny/gm12u320.c struct drm_crtc *crtc = &pipe->crtc; pipe 617 drivers/gpu/drm/tiny/gm12u320.c gm12u320_fb_mark_dirty(pipe->plane.state->fb, &rect); pipe 725 drivers/gpu/drm/tiny/gm12u320.c &gm12u320->pipe, pipe 46 drivers/gpu/drm/tiny/hx8357d.c static void yx240qv29_enable(struct drm_simple_display_pipe *pipe, pipe 50 drivers/gpu/drm/tiny/hx8357d.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 55 drivers/gpu/drm/tiny/hx8357d.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 164 drivers/gpu/drm/tiny/ili9225.c static void ili9225_pipe_update(struct drm_simple_display_pipe *pipe, pipe 167 drivers/gpu/drm/tiny/ili9225.c struct drm_plane_state *state = pipe->plane.state; pipe 168 drivers/gpu/drm/tiny/ili9225.c struct drm_crtc *crtc = &pipe->crtc; pipe 182 drivers/gpu/drm/tiny/ili9225.c static void ili9225_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 186 drivers/gpu/drm/tiny/ili9225.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 188 drivers/gpu/drm/tiny/ili9225.c struct device *dev = pipe->crtc.dev->dev; pipe 199 drivers/gpu/drm/tiny/ili9225.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 292 drivers/gpu/drm/tiny/ili9225.c static void ili9225_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 294 drivers/gpu/drm/tiny/ili9225.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 52 drivers/gpu/drm/tiny/ili9341.c static void yx240qv29_enable(struct drm_simple_display_pipe *pipe, pipe 56 drivers/gpu/drm/tiny/ili9341.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 61 drivers/gpu/drm/tiny/ili9341.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 50 drivers/gpu/drm/tiny/mi0283qt.c static void mi0283qt_enable(struct drm_simple_display_pipe *pipe, pipe 54 drivers/gpu/drm/tiny/mi0283qt.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 59 drivers/gpu/drm/tiny/mi0283qt.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 64 drivers/gpu/drm/tiny/repaper.c struct drm_simple_display_pipe pipe; pipe 653 drivers/gpu/drm/tiny/repaper.c static void repaper_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 657 drivers/gpu/drm/tiny/repaper.c struct repaper_epd *epd = drm_to_epd(pipe->crtc.dev); pipe 663 drivers/gpu/drm/tiny/repaper.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 794 drivers/gpu/drm/tiny/repaper.c static void repaper_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 796 drivers/gpu/drm/tiny/repaper.c struct repaper_epd *epd = drm_to_epd(pipe->crtc.dev); pipe 855 drivers/gpu/drm/tiny/repaper.c static void repaper_pipe_update(struct drm_simple_display_pipe *pipe, pipe 858 drivers/gpu/drm/tiny/repaper.c struct drm_plane_state *state = pipe->plane.state; pipe 859 drivers/gpu/drm/tiny/repaper.c struct drm_crtc *crtc = &pipe->crtc; pipe 1161 drivers/gpu/drm/tiny/repaper.c ret = drm_simple_display_pipe_init(drm, &epd->pipe, &repaper_pipe_funcs, pipe 158 drivers/gpu/drm/tiny/st7586.c static void st7586_pipe_update(struct drm_simple_display_pipe *pipe, pipe 161 drivers/gpu/drm/tiny/st7586.c struct drm_plane_state *state = pipe->plane.state; pipe 162 drivers/gpu/drm/tiny/st7586.c struct drm_crtc *crtc = &pipe->crtc; pipe 176 drivers/gpu/drm/tiny/st7586.c static void st7586_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 180 drivers/gpu/drm/tiny/st7586.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 192 drivers/gpu/drm/tiny/st7586.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 256 drivers/gpu/drm/tiny/st7586.c static void st7586_pipe_disable(struct drm_simple_display_pipe *pipe) pipe 258 drivers/gpu/drm/tiny/st7586.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 41 drivers/gpu/drm/tiny/st7735r.c static void jd_t18003_t01_pipe_enable(struct drm_simple_display_pipe *pipe, pipe 45 drivers/gpu/drm/tiny/st7735r.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); pipe 50 drivers/gpu/drm/tiny/st7735r.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 53 drivers/gpu/drm/tve200/tve200_display.c drm_crtc_handle_vblank(&priv->pipe.crtc); pipe 70 drivers/gpu/drm/tve200/tve200_display.c static int tve200_display_check(struct drm_simple_display_pipe *pipe, pipe 75 drivers/gpu/drm/tve200/tve200_display.c struct drm_framebuffer *old_fb = pipe->plane.state->fb; pipe 120 drivers/gpu/drm/tve200/tve200_display.c static void tve200_display_enable(struct drm_simple_display_pipe *pipe, pipe 124 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 125 drivers/gpu/drm/tve200/tve200_display.c struct drm_plane *plane = &pipe->plane; pipe 225 drivers/gpu/drm/tve200/tve200_display.c static void tve200_display_disable(struct drm_simple_display_pipe *pipe) pipe 227 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 239 drivers/gpu/drm/tve200/tve200_display.c static void tve200_display_update(struct drm_simple_display_pipe *pipe, pipe 242 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 246 drivers/gpu/drm/tve200/tve200_display.c struct drm_plane *plane = &pipe->plane; pipe 276 drivers/gpu/drm/tve200/tve200_display.c static int tve200_display_enable_vblank(struct drm_simple_display_pipe *pipe) pipe 278 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 286 drivers/gpu/drm/tve200/tve200_display.c static void tve200_display_disable_vblank(struct drm_simple_display_pipe *pipe) pipe 288 drivers/gpu/drm/tve200/tve200_display.c struct drm_crtc *crtc = &pipe->crtc; pipe 329 drivers/gpu/drm/tve200/tve200_display.c ret = drm_simple_display_pipe_init(drm, &priv->pipe, pipe 110 drivers/gpu/drm/tve200/tve200_drm.h struct drm_simple_display_pipe pipe; pipe 105 drivers/gpu/drm/tve200/tve200_drv.c ret = drm_simple_display_pipe_attach_bridge(&priv->pipe, pipe 524 drivers/gpu/drm/vc4/vc4_crtc.c crtc->state->event->pipe = drm_crtc_index(crtc); pipe 206 drivers/gpu/drm/via/via_drv.h extern u32 via_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 207 drivers/gpu/drm/via/via_drv.h extern int via_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 208 drivers/gpu/drm/via/via_drv.h extern void via_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 93 drivers/gpu/drm/via/via_irq.c u32 via_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 97 drivers/gpu/drm/via/via_irq.c if (pipe != 0) pipe 169 drivers/gpu/drm/via/via_irq.c int via_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 174 drivers/gpu/drm/via/via_irq.c if (pipe != 0) { pipe 175 drivers/gpu/drm/via/via_irq.c DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); pipe 188 drivers/gpu/drm/via/via_irq.c void via_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 199 drivers/gpu/drm/via/via_irq.c if (pipe != 0) pipe 200 drivers/gpu/drm/via/via_irq.c DRM_ERROR("%s: bad crtc %u\n", __func__, pipe); pipe 59 drivers/gpu/drm/vkms/vkms_crtc.c unsigned int pipe = drm_crtc_index(crtc); pipe 60 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 80 drivers/gpu/drm/vkms/vkms_crtc.c bool vkms_get_vblank_timestamp(struct drm_device *dev, unsigned int pipe, pipe 86 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; pipe 114 drivers/gpu/drm/vkms/vkms_drv.h bool vkms_get_vblank_timestamp(struct drm_device *dev, unsigned int pipe, pipe 1088 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h u32 vmw_get_vblank_counter(struct drm_device *dev, unsigned int pipe); pipe 1089 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h int vmw_enable_vblank(struct drm_device *dev, unsigned int pipe); pipe 1090 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h void vmw_disable_vblank(struct drm_device *dev, unsigned int pipe); pipe 1994 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c u32 vmw_get_vblank_counter(struct drm_device *dev, unsigned int pipe) pipe 2002 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c int vmw_enable_vblank(struct drm_device *dev, unsigned int pipe) pipe 2010 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c void vmw_disable_vblank(struct drm_device *dev, unsigned int pipe) pipe 112 drivers/gpu/drm/xen/xen_drm_front.h struct drm_simple_display_pipe pipe; pipe 31 drivers/gpu/drm/xen/xen_drm_front_kms.c to_xen_drm_pipeline(struct drm_simple_display_pipe *pipe) pipe 33 drivers/gpu/drm/xen/xen_drm_front_kms.c return container_of(pipe, struct xen_drm_front_drm_pipeline, pipe); pipe 100 drivers/gpu/drm/xen/xen_drm_front_kms.c struct drm_crtc *crtc = &pipeline->pipe.crtc; pipe 111 drivers/gpu/drm/xen/xen_drm_front_kms.c static void display_enable(struct drm_simple_display_pipe *pipe, pipe 116 drivers/gpu/drm/xen/xen_drm_front_kms.c to_xen_drm_pipeline(pipe); pipe 117 drivers/gpu/drm/xen/xen_drm_front_kms.c struct drm_crtc *crtc = &pipe->crtc; pipe 121 drivers/gpu/drm/xen/xen_drm_front_kms.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) pipe 137 drivers/gpu/drm/xen/xen_drm_front_kms.c static void display_disable(struct drm_simple_display_pipe *pipe) pipe 140 drivers/gpu/drm/xen/xen_drm_front_kms.c to_xen_drm_pipeline(pipe); pipe 143 drivers/gpu/drm/xen/xen_drm_front_kms.c if (drm_dev_enter(pipe->crtc.dev, &idx)) { pipe 183 drivers/gpu/drm/xen/xen_drm_front_kms.c static bool display_send_page_flip(struct drm_simple_display_pipe *pipe, pipe 188 drivers/gpu/drm/xen/xen_drm_front_kms.c &pipe->plane); pipe 200 drivers/gpu/drm/xen/xen_drm_front_kms.c to_xen_drm_pipeline(pipe); pipe 230 drivers/gpu/drm/xen/xen_drm_front_kms.c static void display_update(struct drm_simple_display_pipe *pipe, pipe 234 drivers/gpu/drm/xen/xen_drm_front_kms.c to_xen_drm_pipeline(pipe); pipe 235 drivers/gpu/drm/xen/xen_drm_front_kms.c struct drm_crtc *crtc = &pipe->crtc; pipe 253 drivers/gpu/drm/xen/xen_drm_front_kms.c if (!drm_dev_enter(pipe->crtc.dev, &idx)) { pipe 266 drivers/gpu/drm/xen/xen_drm_front_kms.c if (!display_send_page_flip(pipe, old_plane_state)) pipe 277 drivers/gpu/drm/xen/xen_drm_front_kms.c pipe.crtc); pipe 318 drivers/gpu/drm/xen/xen_drm_front_kms.c return drm_simple_display_pipe_init(dev, &pipeline->pipe, pipe 109 drivers/hid/hid-elo.c unsigned int pipe; pipe 113 drivers/hid/hid-elo.c pipe = usb_sndctrlpipe(dev, 0); pipe 116 drivers/hid/hid-elo.c pipe = usb_rcvctrlpipe(dev, 0); pipe 121 drivers/hid/hid-elo.c return usb_control_msg(dev, pipe, command, pipe 260 drivers/hid/hid-u2fzero.c ep = usb_pipe_endpoint(udev, usbhid->urbin->pipe); pipe 268 drivers/hid/hid-u2fzero.c pipe_in = (usbhid->urbin->pipe & ~(3 << 30)) | (PIPE_INTERRUPT << 30); pipe 125 drivers/hid/usbhid/hid-core.c rc = usb_clear_halt(hid_to_usb_dev(hid), usbhid->urbin->pipe); pipe 379 drivers/hid/usbhid/hid-core.c usbhid->urbctrl->pipe = usb_sndctrlpipe(hid_to_usb_dev(hid), 0); pipe 389 drivers/hid/usbhid/hid-core.c usbhid->urbctrl->pipe = usb_rcvctrlpipe(hid_to_usb_dev(hid), 0); pipe 391 drivers/hid/usbhid/hid-core.c usbhid->urbctrl->pipe, 0); pipe 957 drivers/hid/usbhid/hid-core.c ret = usb_interrupt_msg(dev, usbhid->urbout->pipe, pipe 1095 drivers/hid/usbhid/hid-core.c int pipe; pipe 1136 drivers/hid/usbhid/hid-core.c pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); pipe 1137 drivers/hid/usbhid/hid-core.c usb_fill_int_urb(usbhid->urbin, dev, pipe, usbhid->inbuf, insize, pipe 1146 drivers/hid/usbhid/hid-core.c pipe = usb_sndintpipe(dev, endpoint->bEndpointAddress); pipe 1147 drivers/hid/usbhid/hid-core.c usb_fill_int_urb(usbhid->urbout, dev, pipe, usbhid->outbuf, 0, pipe 269 drivers/hid/usbhid/usbkbd.c int i, pipe, maxp; pipe 281 drivers/hid/usbhid/usbkbd.c pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); pipe 282 drivers/hid/usbhid/usbkbd.c maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 335 drivers/hid/usbhid/usbkbd.c usb_fill_int_urb(kbd->irq, dev, pipe, pipe 113 drivers/hid/usbhid/usbmouse.c int pipe, maxp; pipe 125 drivers/hid/usbhid/usbmouse.c pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); pipe 126 drivers/hid/usbhid/usbmouse.c maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 180 drivers/hid/usbhid/usbmouse.c usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, pipe 362 drivers/i2c/busses/i2c-viperboard.c int pipe; pipe 384 drivers/i2c/busses/i2c-viperboard.c pipe = usb_sndctrlpipe(vb->usb_dev, 0); pipe 385 drivers/i2c/busses/i2c-viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, pipe 630 drivers/input/misc/ati_remote2.c int i, pipe, maxp; pipe 641 drivers/input/misc/ati_remote2.c pipe = usb_rcvintpipe(udev, ar2->ep[i]->bEndpointAddress); pipe 642 drivers/input/misc/ati_remote2.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 645 drivers/input/misc/ati_remote2.c usb_fill_int_urb(ar2->urb[i], udev, pipe, ar2->buf[i], maxp, pipe 696 drivers/input/misc/cm109.c int ret, pipe, i; pipe 748 drivers/input/misc/cm109.c pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); pipe 749 drivers/input/misc/cm109.c ret = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 755 drivers/input/misc/cm109.c usb_fill_int_urb(dev->urb_irq, udev, pipe, dev->irq_data, pipe 307 drivers/input/misc/powermate.c int pipe, maxp; pipe 376 drivers/input/misc/powermate.c pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); pipe 377 drivers/input/misc/powermate.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 385 drivers/input/misc/powermate.c usb_fill_int_urb(pm->irq, udev, pipe, pm->data, pipe 860 drivers/input/misc/yealink.c int ret, pipe, i; pipe 907 drivers/input/misc/yealink.c pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); pipe 908 drivers/input/misc/yealink.c ret = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 914 drivers/input/misc/yealink.c usb_fill_int_urb(yld->urb_irq, udev, pipe, yld->irq_data, pipe 121 drivers/input/tablet/acecad.c int pipe, maxp; pipe 132 drivers/input/tablet/acecad.c pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); pipe 133 drivers/input/tablet/acecad.c maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 208 drivers/input/tablet/acecad.c usb_fill_int_urb(acecad->irq, dev, pipe, pipe 271 drivers/input/tablet/pegasus_notetaker.c int pipe; pipe 298 drivers/input/tablet/pegasus_notetaker.c pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress); pipe 299 drivers/input/tablet/pegasus_notetaker.c pegasus->data_len = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 314 drivers/input/tablet/pegasus_notetaker.c usb_fill_int_urb(pegasus->irq, dev, pipe, pipe 59 drivers/isdn/hardware/mISDN/hfcsusb.c hw->ctrl_urb->pipe = hw->ctrl_out_pipe; pipe 430 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->fifos[HFCUSB_PCM_RX].pipe) { pipe 549 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->fifos[HFCUSB_PCM_RX].pipe) pipe 938 drivers/isdn/hardware/mISDN/hfcsusb.c fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, pipe 944 drivers/isdn/hardware/mISDN/hfcsusb.c usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, pipe 1061 drivers/isdn/hardware/mISDN/hfcsusb.c fill_isoc_urb(urb, fifo->hw->dev, fifo->pipe, pipe 1223 drivers/isdn/hardware/mISDN/hfcsusb.c fill_isoc_urb(urb, fifo->hw->dev, fifo->pipe, pipe 1407 drivers/isdn/hardware/mISDN/hfcsusb.c fifo->hw->dev, fifo->pipe, pipe 1508 drivers/isdn/hardware/mISDN/hfcsusb.c usb_fill_int_urb(fifo->urb, fifo->hw->dev, fifo->pipe, pipe 1757 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->fifos[HFCUSB_PCM_RX].pipe) pipe 1854 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->fifos[HFCUSB_PCM_RX].pipe) pipe 2043 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = usb_rcvintpipe(dev, pipe 2050 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = usb_rcvbulkpipe(dev, pipe 2053 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = usb_sndbulkpipe(dev, pipe 2060 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = usb_rcvisocpipe(dev, pipe 2063 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = usb_sndisocpipe(dev, pipe 2069 drivers/isdn/hardware/mISDN/hfcsusb.c f->pipe = 0; pipe 2072 drivers/isdn/hardware/mISDN/hfcsusb.c if (f->pipe) { pipe 252 drivers/isdn/hardware/mISDN/hfcsusb.h int pipe; /* address of endpoint */ pipe 126 drivers/media/dvb-core/dvb_frontend.c struct media_pipeline pipe; pipe 2804 drivers/media/dvb-core/dvb_frontend.c &fepriv->pipe); pipe 408 drivers/media/mc/mc-entity.c struct media_pipeline *pipe) pipe 411 drivers/media/mc/mc-entity.c struct media_graph *graph = &pipe->graph; pipe 416 drivers/media/mc/mc-entity.c if (!pipe->streaming_count++) { pipe 417 drivers/media/mc/mc-entity.c ret = media_graph_walk_init(&pipe->graph, mdev); pipe 422 drivers/media/mc/mc-entity.c media_graph_walk_start(&pipe->graph, entity); pipe 430 drivers/media/mc/mc-entity.c if (entity->pipe && entity->pipe != pipe) { pipe 438 drivers/media/mc/mc-entity.c entity->pipe = pipe; pipe 513 drivers/media/mc/mc-entity.c entity_err->pipe = NULL; pipe 525 drivers/media/mc/mc-entity.c if (!--pipe->streaming_count) pipe 533 drivers/media/mc/mc-entity.c struct media_pipeline *pipe) pipe 539 drivers/media/mc/mc-entity.c ret = __media_pipeline_start(entity, pipe); pipe 547 drivers/media/mc/mc-entity.c struct media_graph *graph = &entity->pipe->graph; pipe 548 drivers/media/mc/mc-entity.c struct media_pipeline *pipe = entity->pipe; pipe 554 drivers/media/mc/mc-entity.c if (WARN_ON(!pipe)) pipe 564 drivers/media/mc/mc-entity.c entity->pipe = NULL; pipe 568 drivers/media/mc/mc-entity.c if (!--pipe->streaming_count) pipe 1003 drivers/media/pci/intel/ipu3/ipu3-cio2.c r = media_pipeline_start(&q->vdev.entity, &q->pipe); pipe 328 drivers/media/pci/intel/ipu3/ipu3-cio2.h struct media_pipeline pipe; pipe 180 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(cap->ve.pipe); pipe 774 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(fimc->vid_cap.ve.pipe); pipe 981 drivers/media/platform/exynos4-is/fimc-capture.c sensor = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR); pipe 1079 drivers/media/platform/exynos4-is/fimc-capture.c sd = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR); pipe 1111 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_pipeline *p = to_fimc_pipeline(vc->ve.pipe); pipe 1197 drivers/media/platform/exynos4-is/fimc-capture.c ret = media_pipeline_start(entity, &vc->ve.pipe->mp); pipe 1201 drivers/media/platform/exynos4-is/fimc-capture.c sd = __fimc_md_get_subdev(vc->ve.pipe, IDX_SENSOR); pipe 1842 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = v4l2_get_subdev_hostdata(sd); pipe 1847 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = NULL; pipe 1870 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.ve.pipe = NULL; pipe 493 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = media_pipeline_start(me, &ve->pipe->mp); pipe 649 drivers/media/platform/exynos4-is/fimc-isp-video.c ve->pipe = NULL; pipe 392 drivers/media/platform/exynos4-is/fimc-isp.c isp->video_capture.ve.pipe = v4l2_get_subdev_hostdata(sd); pipe 397 drivers/media/platform/exynos4-is/fimc-isp.c isp->video_capture.ve.pipe = NULL; pipe 821 drivers/media/platform/exynos4-is/fimc-lite.c ret = media_pipeline_start(entity, &fimc->ve.pipe->mp); pipe 1298 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = v4l2_get_subdev_hostdata(sd); pipe 1303 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = NULL; pipe 1324 drivers/media/platform/exynos4-is/fimc-lite.c fimc->ve.pipe = NULL; pipe 757 drivers/media/platform/exynos4-is/media-dev.c dev->vid_cap.ve.pipe = NULL; pipe 765 drivers/media/platform/exynos4-is/media-dev.c dev->ve.pipe = NULL; pipe 1117 drivers/media/platform/exynos4-is/media-dev.c p = to_fimc_pipeline(ve->pipe); pipe 1126 drivers/media/platform/exynos4-is/media-dev.c ret = __fimc_pipeline_open(ve->pipe, entity, true); pipe 1128 drivers/media/platform/exynos4-is/media-dev.c ret = __fimc_pipeline_close(ve->pipe); pipe 531 drivers/media/platform/omap3isp/isp.c struct isp_pipeline *pipe; pipe 546 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity); pipe 547 drivers/media/platform/omap3isp/isp.c if (pipe != NULL) pipe 548 drivers/media/platform/omap3isp/isp.c pipe->error = true; pipe 552 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity); pipe 553 drivers/media/platform/omap3isp/isp.c if (pipe != NULL) pipe 554 drivers/media/platform/omap3isp/isp.c pipe->error = true; pipe 558 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity); pipe 559 drivers/media/platform/omap3isp/isp.c if (pipe != NULL) pipe 560 drivers/media/platform/omap3isp/isp.c pipe->error = true; pipe 564 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity); pipe 565 drivers/media/platform/omap3isp/isp.c if (pipe != NULL) pipe 566 drivers/media/platform/omap3isp/isp.c pipe->error = true; pipe 573 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(&isp->isp_res.subdev.entity); pipe 574 drivers/media/platform/omap3isp/isp.c if (pipe != NULL) pipe 575 drivers/media/platform/omap3isp/isp.c pipe->error = true; pipe 672 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_enable(struct isp_pipeline *pipe, pipe 675 drivers/media/platform/omap3isp/isp.c struct isp_device *isp = pipe->output->isp; pipe 687 drivers/media/platform/omap3isp/isp.c if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed)) pipe 690 drivers/media/platform/omap3isp/isp.c spin_lock_irqsave(&pipe->lock, flags); pipe 691 drivers/media/platform/omap3isp/isp.c pipe->state &= ~(ISP_PIPELINE_IDLE_INPUT | ISP_PIPELINE_IDLE_OUTPUT); pipe 692 drivers/media/platform/omap3isp/isp.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 694 drivers/media/platform/omap3isp/isp.c pipe->do_propagation = false; pipe 696 drivers/media/platform/omap3isp/isp.c entity = &pipe->output->video.entity; pipe 720 drivers/media/platform/omap3isp/isp.c pipe->do_propagation = true; pipe 776 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_disable(struct isp_pipeline *pipe) pipe 778 drivers/media/platform/omap3isp/isp.c struct isp_device *isp = pipe->output->isp; pipe 789 drivers/media/platform/omap3isp/isp.c entity = &pipe->output->video.entity; pipe 861 drivers/media/platform/omap3isp/isp.c int omap3isp_pipeline_set_stream(struct isp_pipeline *pipe, pipe 867 drivers/media/platform/omap3isp/isp.c ret = isp_pipeline_disable(pipe); pipe 869 drivers/media/platform/omap3isp/isp.c ret = isp_pipeline_enable(pipe, state); pipe 872 drivers/media/platform/omap3isp/isp.c pipe->stream_state = state; pipe 886 drivers/media/platform/omap3isp/isp.c void omap3isp_pipeline_cancel_stream(struct isp_pipeline *pipe) pipe 888 drivers/media/platform/omap3isp/isp.c if (pipe->input) pipe 889 drivers/media/platform/omap3isp/isp.c omap3isp_video_cancel_stream(pipe->input); pipe 890 drivers/media/platform/omap3isp/isp.c if (pipe->output) pipe 891 drivers/media/platform/omap3isp/isp.c omap3isp_video_cancel_stream(pipe->output); pipe 900 drivers/media/platform/omap3isp/isp.c static void isp_pipeline_resume(struct isp_pipeline *pipe) pipe 902 drivers/media/platform/omap3isp/isp.c int singleshot = pipe->stream_state == ISP_PIPELINE_STREAM_SINGLESHOT; pipe 904 drivers/media/platform/omap3isp/isp.c omap3isp_video_resume(pipe->output, !singleshot); pipe 906 drivers/media/platform/omap3isp/isp.c omap3isp_video_resume(pipe->input, 0); pipe 907 drivers/media/platform/omap3isp/isp.c isp_pipeline_enable(pipe, pipe->stream_state); pipe 916 drivers/media/platform/omap3isp/isp.c static void isp_pipeline_suspend(struct isp_pipeline *pipe) pipe 918 drivers/media/platform/omap3isp/isp.c isp_pipeline_disable(pipe); pipe 932 drivers/media/platform/omap3isp/isp.c struct isp_pipeline *pipe; pipe 935 drivers/media/platform/omap3isp/isp.c if (!me->pipe) pipe 937 drivers/media/platform/omap3isp/isp.c pipe = to_isp_pipeline(me); pipe 938 drivers/media/platform/omap3isp/isp.c if (pipe->stream_state == ISP_PIPELINE_STREAM_STOPPED) pipe 940 drivers/media/platform/omap3isp/isp.c pad = media_entity_remote_pad(&pipe->output->pad); pipe 1188 drivers/media/platform/omap3isp/isp.c struct isp_pipeline *pipe = to_isp_pipeline(me); pipe 1190 drivers/media/platform/omap3isp/isp.c if (pipe->stream_state == ISP_PIPELINE_STREAM_STOPPED || pipe 1191 drivers/media/platform/omap3isp/isp.c (pipe->stream_state == ISP_PIPELINE_STREAM_SINGLESHOT && pipe 1192 drivers/media/platform/omap3isp/isp.c !isp_pipeline_ready(pipe))) pipe 1212 drivers/media/platform/omap3isp/isp.c struct isp_video *video = pipe->output; pipe 243 drivers/media/platform/omap3isp/isp.h int omap3isp_pipeline_set_stream(struct isp_pipeline *pipe, pipe 245 drivers/media/platform/omap3isp/isp.h void omap3isp_pipeline_cancel_stream(struct isp_pipeline *pipe); pipe 805 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); pipe 809 drivers/media/platform/omap3isp/ispccdc.c unsigned long l3_ick = pipe->l3_ick; pipe 853 drivers/media/platform/omap3isp/ispccdc.c if (pipe->input) pipe 854 drivers/media/platform/omap3isp/ispccdc.c div = DIV_ROUND_UP(l3_ick, pipe->max_rate); pipe 855 drivers/media/platform/omap3isp/ispccdc.c else if (pipe->external_rate) pipe 856 drivers/media/platform/omap3isp/ispccdc.c div = l3_ick / pipe->external_rate; pipe 938 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); pipe 941 drivers/media/platform/omap3isp/ispccdc.c if (pipe == NULL) pipe 949 drivers/media/platform/omap3isp/ispccdc.c rate = pipe->l3_ick / 2 * 9 / 10; pipe 951 drivers/media/platform/omap3isp/ispccdc.c rate = pipe->l3_ick / 2; pipe 1458 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); pipe 1463 drivers/media/platform/omap3isp/ispccdc.c atomic_inc(&pipe->frame_number); pipe 1467 drivers/media/platform/omap3isp/ispccdc.c event.u.frame_sync.frame_sequence = atomic_read(&pipe->frame_number); pipe 1482 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = pipe 1486 drivers/media/platform/omap3isp/ispccdc.c pipe->error = true; pipe 1536 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); pipe 1554 drivers/media/platform/omap3isp/ispccdc.c pipe->field = field; pipe 1580 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity); pipe 1606 drivers/media/platform/omap3isp/ispccdc.c omap3isp_pipeline_cancel_stream(pipe); pipe 1617 drivers/media/platform/omap3isp/ispccdc.c pipe->state |= ISP_PIPELINE_IDLE_OUTPUT; pipe 1620 drivers/media/platform/omap3isp/ispccdc.c isp_pipeline_ready(pipe)) pipe 1621 drivers/media/platform/omap3isp/ispccdc.c omap3isp_pipeline_set_stream(pipe, pipe 1642 drivers/media/platform/omap3isp/ispccdc.c struct isp_pipeline *pipe = pipe 1645 drivers/media/platform/omap3isp/ispccdc.c atomic_inc(&pipe->frame_number); pipe 350 drivers/media/platform/omap3isp/ispccp2.c struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity); pipe 362 drivers/media/platform/omap3isp/ispccp2.c buscfg = v4l2_subdev_to_bus_cfg(pipe->external); pipe 386 drivers/media/platform/omap3isp/ispccp2.c struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity); pipe 389 drivers/media/platform/omap3isp/ispccp2.c unsigned long l3_ick = pipe->l3_ick; pipe 400 drivers/media/platform/omap3isp/ispccp2.c vpclk_div = max_t(unsigned int, DIV_ROUND_UP(l3_ick, pipe->max_rate), pipe 407 drivers/media/platform/omap3isp/ispccp2.c timeperframe = &pipe->max_timeperframe; pipe 538 drivers/media/platform/omap3isp/ispccp2.c struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity); pipe 545 drivers/media/platform/omap3isp/ispccp2.c pipe->state |= ISP_PIPELINE_IDLE_INPUT; pipe 548 drivers/media/platform/omap3isp/ispccp2.c if (isp_pipeline_ready(pipe)) pipe 549 drivers/media/platform/omap3isp/ispccp2.c omap3isp_pipeline_set_stream(pipe, pipe 562 drivers/media/platform/omap3isp/ispccp2.c struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity); pipe 585 drivers/media/platform/omap3isp/ispccp2.c pipe->error = true; pipe 591 drivers/media/platform/omap3isp/ispccp2.c pipe->error = true; pipe 548 drivers/media/platform/omap3isp/ispcsi2.c struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity); pipe 566 drivers/media/platform/omap3isp/ispcsi2.c buscfg = v4l2_subdev_to_bus_cfg(pipe->external); pipe 572 drivers/media/platform/omap3isp/ispcsi2.c clamp_t(unsigned int, pipe->l3_ick / pipe->external_rate - 1, pipe 575 drivers/media/platform/omap3isp/ispcsi2.c __func__, pipe->l3_ick, pipe->external_rate, pipe 737 drivers/media/platform/omap3isp/ispcsi2.c struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity); pipe 755 drivers/media/platform/omap3isp/ispcsi2.c pipe->error = true; pipe 775 drivers/media/platform/omap3isp/ispcsi2.c pipe->error = true; pipe 164 drivers/media/platform/omap3isp/ispcsiphy.c struct isp_pipeline *pipe = to_isp_pipeline(phy->entity); pipe 165 drivers/media/platform/omap3isp/ispcsiphy.c struct isp_bus_cfg *buscfg = v4l2_subdev_to_bus_cfg(pipe->external); pipe 211 drivers/media/platform/omap3isp/ispcsiphy.c csi2_ddrclk_khz = pipe->external_rate / 1000 pipe 212 drivers/media/platform/omap3isp/ispcsiphy.c / (2 * hweight32(used_lanes)) * pipe->external_width; pipe 307 drivers/media/platform/omap3isp/ispcsiphy.c struct isp_pipeline *pipe = to_isp_pipeline(phy->entity); pipe 309 drivers/media/platform/omap3isp/ispcsiphy.c v4l2_subdev_to_bus_cfg(pipe->external); pipe 1164 drivers/media/platform/omap3isp/isppreview.c struct isp_pipeline *pipe = to_isp_pipeline(&prev->subdev.entity); pipe 1167 drivers/media/platform/omap3isp/isppreview.c unsigned long l3_ick = pipe->l3_ick; pipe 1186 drivers/media/platform/omap3isp/isppreview.c cycles_per_request = div_u64((u64)l3_ick / 2 * 256 + pipe->max_rate - 1, pipe 1187 drivers/media/platform/omap3isp/isppreview.c pipe->max_rate); pipe 1195 drivers/media/platform/omap3isp/isppreview.c timeperframe = &pipe->max_timeperframe; pipe 1476 drivers/media/platform/omap3isp/isppreview.c struct isp_pipeline *pipe = to_isp_pipeline(&prev->subdev.entity); pipe 1486 drivers/media/platform/omap3isp/isppreview.c pipe->state |= ISP_PIPELINE_IDLE_OUTPUT; pipe 1493 drivers/media/platform/omap3isp/isppreview.c pipe->state |= ISP_PIPELINE_IDLE_INPUT; pipe 1498 drivers/media/platform/omap3isp/isppreview.c if (isp_pipeline_ready(pipe)) pipe 1499 drivers/media/platform/omap3isp/isppreview.c omap3isp_pipeline_set_stream(pipe, pipe 500 drivers/media/platform/omap3isp/ispresizer.c struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity); pipe 502 drivers/media/platform/omap3isp/ispresizer.c unsigned long limit = min(pipe->l3_ick, 200000000UL); pipe 541 drivers/media/platform/omap3isp/ispresizer.c struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity); pipe 543 drivers/media/platform/omap3isp/ispresizer.c unsigned long l3_ick = pipe->l3_ick; pipe 575 drivers/media/platform/omap3isp/ispresizer.c cycles_per_request = div_u64((u64)l3_ick / 2 * 256 + pipe->max_rate - 1, pipe 576 drivers/media/platform/omap3isp/ispresizer.c pipe->max_rate); pipe 584 drivers/media/platform/omap3isp/ispresizer.c timeperframe = &pipe->max_timeperframe; pipe 1014 drivers/media/platform/omap3isp/ispresizer.c struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity); pipe 1030 drivers/media/platform/omap3isp/ispresizer.c pipe->state |= ISP_PIPELINE_IDLE_OUTPUT; pipe 1036 drivers/media/platform/omap3isp/ispresizer.c pipe->state |= ISP_PIPELINE_IDLE_INPUT; pipe 1040 drivers/media/platform/omap3isp/ispresizer.c if (isp_pipeline_ready(pipe)) pipe 1041 drivers/media/platform/omap3isp/ispresizer.c omap3isp_pipeline_set_stream(pipe, pipe 1545 drivers/media/platform/omap3isp/ispresizer.c struct isp_pipeline *pipe = to_isp_pipeline(&sd->entity); pipe 1547 drivers/media/platform/omap3isp/ispresizer.c omap3isp_resizer_max_rate(res, &pipe->max_rate); pipe 857 drivers/media/platform/omap3isp/ispstat.c struct isp_pipeline *pipe; pipe 917 drivers/media/platform/omap3isp/ispstat.c pipe = to_isp_pipeline(&stat->subdev.entity); pipe 918 drivers/media/platform/omap3isp/ispstat.c stat->frame_number = atomic_read(&pipe->frame_number); pipe 223 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe) pipe 243 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_set(&pipe->ent_enum, entity); pipe 264 drivers/media/platform/omap3isp/ispvideo.c pipe->input = far_end; pipe 265 drivers/media/platform/omap3isp/ispvideo.c pipe->output = video; pipe 270 drivers/media/platform/omap3isp/ispvideo.c pipe->input = video; pipe 271 drivers/media/platform/omap3isp/ispvideo.c pipe->output = far_end; pipe 393 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity); pipe 418 drivers/media/platform/omap3isp/ispvideo.c spin_lock_irqsave(&pipe->lock, flags); pipe 419 drivers/media/platform/omap3isp/ispvideo.c pipe->state |= state; pipe 423 drivers/media/platform/omap3isp/ispvideo.c start = isp_pipeline_ready(pipe); pipe 425 drivers/media/platform/omap3isp/ispvideo.c pipe->state |= ISP_PIPELINE_STREAM; pipe 426 drivers/media/platform/omap3isp/ispvideo.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 429 drivers/media/platform/omap3isp/ispvideo.c omap3isp_pipeline_set_stream(pipe, pipe 463 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity); pipe 471 drivers/media/platform/omap3isp/ispvideo.c if (pipe->input) pipe 474 drivers/media/platform/omap3isp/ispvideo.c ret = omap3isp_pipeline_set_stream(pipe, pipe 516 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity); pipe 540 drivers/media/platform/omap3isp/ispvideo.c if (video == pipe->output && !pipe->do_propagation) pipe 542 drivers/media/platform/omap3isp/ispvideo.c atomic_inc_return(&pipe->frame_number); pipe 544 drivers/media/platform/omap3isp/ispvideo.c buf->vb.sequence = atomic_read(&pipe->frame_number); pipe 546 drivers/media/platform/omap3isp/ispvideo.c if (pipe->field != V4L2_FIELD_NONE) pipe 549 drivers/media/platform/omap3isp/ispvideo.c buf->vb.field = pipe->field; pipe 552 drivers/media/platform/omap3isp/ispvideo.c if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->error) { pipe 554 drivers/media/platform/omap3isp/ispvideo.c pipe->error = false; pipe 575 drivers/media/platform/omap3isp/ispvideo.c spin_lock_irqsave(&pipe->lock, flags); pipe 576 drivers/media/platform/omap3isp/ispvideo.c pipe->state &= ~state; pipe 577 drivers/media/platform/omap3isp/ispvideo.c if (video->pipe.stream_state == ISP_PIPELINE_STREAM_CONTINUOUS) pipe 579 drivers/media/platform/omap3isp/ispvideo.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 583 drivers/media/platform/omap3isp/ispvideo.c if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input != NULL) { pipe 584 drivers/media/platform/omap3isp/ispvideo.c spin_lock(&pipe->lock); pipe 585 drivers/media/platform/omap3isp/ispvideo.c pipe->state &= ~ISP_PIPELINE_STREAM; pipe 586 drivers/media/platform/omap3isp/ispvideo.c spin_unlock(&pipe->lock); pipe 957 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe) pipe 976 drivers/media/platform/omap3isp/ispvideo.c if (pipe->input != NULL) pipe 981 drivers/media/platform/omap3isp/ispvideo.c if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) pipe 1002 drivers/media/platform/omap3isp/ispvideo.c pipe->external = media_entity_to_v4l2_subdev(source); pipe 1013 drivers/media/platform/omap3isp/ispvideo.c pipe->external_width = pipe 1023 drivers/media/platform/omap3isp/ispvideo.c ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, &video->video, pipe 1027 drivers/media/platform/omap3isp/ispvideo.c pipe->external->name); pipe 1031 drivers/media/platform/omap3isp/ispvideo.c pipe->external_rate = ctrl.value64; pipe 1033 drivers/media/platform/omap3isp/ispvideo.c if (media_entity_enum_test(&pipe->ent_enum, pipe 1041 drivers/media/platform/omap3isp/ispvideo.c if (pipe->external_rate > rate) pipe 1085 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe; pipe 1097 drivers/media/platform/omap3isp/ispvideo.c pipe = video->video.entity.pipe pipe 1098 drivers/media/platform/omap3isp/ispvideo.c ? to_isp_pipeline(&video->video.entity) : &video->pipe; pipe 1100 drivers/media/platform/omap3isp/ispvideo.c ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev); pipe 1105 drivers/media/platform/omap3isp/ispvideo.c pipe->l3_ick = clk_get_rate(video->isp->clock[ISP_CLK_L3_ICK]); pipe 1106 drivers/media/platform/omap3isp/ispvideo.c pipe->max_rate = pipe->l3_ick; pipe 1108 drivers/media/platform/omap3isp/ispvideo.c ret = media_pipeline_start(&video->video.entity, &pipe->pipe); pipe 1122 drivers/media/platform/omap3isp/ispvideo.c ret = isp_video_get_graph_data(video, pipe); pipe 1131 drivers/media/platform/omap3isp/ispvideo.c ret = isp_video_check_external_subdevs(video, pipe); pipe 1135 drivers/media/platform/omap3isp/ispvideo.c pipe->error = false; pipe 1137 drivers/media/platform/omap3isp/ispvideo.c spin_lock_irqsave(&pipe->lock, flags); pipe 1138 drivers/media/platform/omap3isp/ispvideo.c pipe->state &= ~ISP_PIPELINE_STREAM; pipe 1139 drivers/media/platform/omap3isp/ispvideo.c pipe->state |= state; pipe 1140 drivers/media/platform/omap3isp/ispvideo.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 1147 drivers/media/platform/omap3isp/ispvideo.c pipe->max_timeperframe = vfh->timeperframe; pipe 1151 drivers/media/platform/omap3isp/ispvideo.c atomic_set(&pipe->frame_number, -1); pipe 1152 drivers/media/platform/omap3isp/ispvideo.c pipe->field = vfh->format.fmt.pix.field; pipe 1178 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_cleanup(&pipe->ent_enum); pipe 1191 drivers/media/platform/omap3isp/ispvideo.c struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity); pipe 1217 drivers/media/platform/omap3isp/ispvideo.c spin_lock_irqsave(&pipe->lock, flags); pipe 1218 drivers/media/platform/omap3isp/ispvideo.c pipe->state &= ~state; pipe 1219 drivers/media/platform/omap3isp/ispvideo.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 1222 drivers/media/platform/omap3isp/ispvideo.c omap3isp_pipeline_set_stream(pipe, ISP_PIPELINE_STREAM_STOPPED); pipe 1234 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_cleanup(&pipe->ent_enum); pipe 1444 drivers/media/platform/omap3isp/ispvideo.c spin_lock_init(&video->pipe.lock); pipe 1466 drivers/media/platform/omap3isp/ispvideo.c video->pipe.stream_state = ISP_PIPELINE_STREAM_STOPPED; pipe 83 drivers/media/platform/omap3isp/ispvideo.h struct media_pipeline pipe; pipe 103 drivers/media/platform/omap3isp/ispvideo.h container_of((__e)->pipe, struct isp_pipeline, pipe) pipe 105 drivers/media/platform/omap3isp/ispvideo.h static inline int isp_pipeline_ready(struct isp_pipeline *pipe) pipe 107 drivers/media/platform/omap3isp/ispvideo.h return pipe->state == (ISP_PIPELINE_STREAM_INPUT | pipe 166 drivers/media/platform/omap3isp/ispvideo.h struct isp_pipeline pipe; pipe 439 drivers/media/platform/qcom/camss/camss-video.c ret = media_pipeline_start(&vdev->entity, &video->pipe); pipe 45 drivers/media/platform/qcom/camss/camss-video.h struct media_pipeline pipe; pipe 1105 drivers/media/platform/rcar-vin/rcar-dma.c struct media_pipeline *pipe; pipe 1142 drivers/media/platform/rcar-vin/rcar-dma.c pipe = sd->entity.pipe ? sd->entity.pipe : &vin->vdev.pipe; pipe 1143 drivers/media/platform/rcar-vin/rcar-dma.c ret = __media_pipeline_start(&vin->vdev.entity, pipe); pipe 269 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c ret = media_pipeline_start(&csi->vdev.entity, &csi->vdev.pipe); pipe 144 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c ret = media_pipeline_start(&video->vdev.entity, &video->vdev.pipe); pipe 243 drivers/media/platform/vimc/vimc-capture.c ret = media_pipeline_start(entity, &vcap->stream.pipe); pipe 34 drivers/media/platform/vimc/vimc-streamer.h struct media_pipeline pipe; pipe 285 drivers/media/platform/vsp1/vsp1_brx.c struct vsp1_pipeline *pipe, pipe 308 drivers/media/platform/vsp1/vsp1_brx.c flags = pipe->output ? pipe->output->format.flags : 0; pipe 173 drivers/media/platform/vsp1/vsp1_clu.c struct vsp1_pipeline *pipe, pipe 191 drivers/media/platform/vsp1/vsp1_clu.c struct vsp1_pipeline *pipe, pipe 33 drivers/media/platform/vsp1/vsp1_drm.c static void vsp1_du_pipeline_frame_end(struct vsp1_pipeline *pipe, pipe 36 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); pipe 64 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe, pipe 116 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe, pipe 190 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURCE, pipe 191 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx, brx_input); pipe 198 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, pipe 205 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, BRX_NAME(pipe->brx), format.pad); pipe 211 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, pipe 218 drivers/media/platform/vsp1/vsp1_drm.c BRX_NAME(pipe->brx), sel.pad); pipe 225 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe); pipe 226 drivers/media/platform/vsp1/vsp1_drm.c static void vsp1_du_pipeline_configure(struct vsp1_pipeline *pipe); pipe 229 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe) pipe 231 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); pipe 244 drivers/media/platform/vsp1/vsp1_drm.c if (pipe->num_inputs > 2) pipe 246 drivers/media/platform/vsp1/vsp1_drm.c else if (pipe->brx && !drm_pipe->force_brx_release) pipe 247 drivers/media/platform/vsp1/vsp1_drm.c brx = pipe->brx; pipe 248 drivers/media/platform/vsp1/vsp1_drm.c else if (!vsp1->bru->entity.pipe) pipe 254 drivers/media/platform/vsp1/vsp1_drm.c if (brx != pipe->brx) { pipe 258 drivers/media/platform/vsp1/vsp1_drm.c if (pipe->brx) { pipe 260 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, pipe 261 drivers/media/platform/vsp1/vsp1_drm.c BRX_NAME(pipe->brx)); pipe 277 drivers/media/platform/vsp1/vsp1_drm.c released_brx = pipe->brx; pipe 279 drivers/media/platform/vsp1/vsp1_drm.c list_del(&pipe->brx->list_pipe); pipe 280 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->sink = NULL; pipe 281 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->pipe = NULL; pipe 282 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx = NULL; pipe 289 drivers/media/platform/vsp1/vsp1_drm.c if (brx->pipe) { pipe 293 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, BRX_NAME(brx)); pipe 295 drivers/media/platform/vsp1/vsp1_drm.c owner_pipe = to_vsp1_drm_pipeline(brx->pipe); pipe 298 drivers/media/platform/vsp1/vsp1_drm.c vsp1_du_pipeline_setup_inputs(vsp1, &owner_pipe->pipe); pipe 299 drivers/media/platform/vsp1/vsp1_drm.c vsp1_du_pipeline_configure(&owner_pipe->pipe); pipe 307 drivers/media/platform/vsp1/vsp1_drm.c owner_pipe->pipe.lif->index); pipe 316 drivers/media/platform/vsp1/vsp1_drm.c if (released_brx && !released_brx->pipe) pipe 318 drivers/media/platform/vsp1/vsp1_drm.c &pipe->entities); pipe 322 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, BRX_NAME(brx)); pipe 324 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx = brx; pipe 325 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->pipe = pipe; pipe 326 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->sink = &pipe->output->entity; pipe 327 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->sink_pad = 0; pipe 329 drivers/media/platform/vsp1/vsp1_drm.c list_add_tail(&pipe->brx->list_pipe, &pipe->entities); pipe 368 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe) pipe 370 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); pipe 379 drivers/media/platform/vsp1/vsp1_drm.c pipe->num_inputs = 0; pipe 385 drivers/media/platform/vsp1/vsp1_drm.c if (!pipe->inputs[i]) pipe 389 drivers/media/platform/vsp1/vsp1_drm.c for (j = pipe->num_inputs++; j > 0; --j) { pipe 403 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_pipeline_setup_brx(vsp1, pipe); pipe 406 drivers/media/platform/vsp1/vsp1_drm.c BRX_NAME(pipe->brx)); pipe 410 drivers/media/platform/vsp1/vsp1_drm.c brx = to_brx(&pipe->brx->subdev); pipe 413 drivers/media/platform/vsp1/vsp1_drm.c for (i = 0; i < pipe->brx->source_pad; ++i) { pipe 421 drivers/media/platform/vsp1/vsp1_drm.c if (!rpf->entity.pipe) { pipe 422 drivers/media/platform/vsp1/vsp1_drm.c rpf->entity.pipe = pipe; pipe 423 drivers/media/platform/vsp1/vsp1_drm.c list_add_tail(&rpf->entity.list_pipe, &pipe->entities); pipe 428 drivers/media/platform/vsp1/vsp1_drm.c rpf->entity.sink = pipe->brx; pipe 432 drivers/media/platform/vsp1/vsp1_drm.c __func__, rpf->entity.index, BRX_NAME(pipe->brx), i); pipe 438 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_pipeline_setup_rpf(vsp1, pipe, rpf, uif, i); pipe 451 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_insert_uif(vsp1, pipe, uif, pipe 452 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx, pipe->brx->source_pad, pipe 453 drivers/media/platform/vsp1/vsp1_drm.c &pipe->output->entity, 0); pipe 456 drivers/media/platform/vsp1/vsp1_drm.c __func__, BRX_NAME(pipe->brx)); pipe 466 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->uif->pipe = NULL; pipe 467 drivers/media/platform/vsp1/vsp1_drm.c } else if (!drm_pipe->uif->pipe) { pipe 468 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->uif->pipe = pipe; pipe 469 drivers/media/platform/vsp1/vsp1_drm.c list_add_tail(&drm_pipe->uif->list_pipe, &pipe->entities); pipe 477 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe) pipe 479 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); pipe 490 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, set_fmt, NULL, pipe 497 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); pipe 500 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, get_fmt, NULL, pipe 507 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); pipe 510 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&pipe->lif->subdev, pad, set_fmt, NULL, pipe 517 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->lif->index); pipe 527 drivers/media/platform/vsp1/vsp1_drm.c pipe->lif->index); pipe 535 drivers/media/platform/vsp1/vsp1_drm.c static void vsp1_du_pipeline_configure(struct vsp1_pipeline *pipe) pipe 537 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); pipe 546 drivers/media/platform/vsp1/vsp1_drm.c if (pipe->output->writeback) pipe 549 drivers/media/platform/vsp1/vsp1_drm.c dl = vsp1_dl_list_get(pipe->output->dlm); pipe 552 drivers/media/platform/vsp1/vsp1_drm.c list_for_each_entry_safe(entity, next, &pipe->entities, list_pipe) { pipe 554 drivers/media/platform/vsp1/vsp1_drm.c if (!entity->pipe) { pipe 564 drivers/media/platform/vsp1/vsp1_drm.c vsp1_entity_route_setup(entity, pipe, dlb); pipe 565 drivers/media/platform/vsp1/vsp1_drm.c vsp1_entity_configure_stream(entity, pipe, dl, dlb); pipe 566 drivers/media/platform/vsp1/vsp1_drm.c vsp1_entity_configure_frame(entity, pipe, dl, dlb); pipe 567 drivers/media/platform/vsp1/vsp1_drm.c vsp1_entity_configure_partition(entity, pipe, dl, dlb); pipe 644 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe; pipe 652 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe = &vsp1->drm->pipe[pipe_index]; pipe 653 drivers/media/platform/vsp1/vsp1_drm.c pipe = &drm_pipe->pipe; pipe 660 drivers/media/platform/vsp1/vsp1_drm.c brx = to_brx(&pipe->brx->subdev); pipe 666 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_pipeline_stop(pipe); pipe 670 drivers/media/platform/vsp1/vsp1_drm.c for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) { pipe 671 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_rwpf *rpf = pipe->inputs[i]; pipe 680 drivers/media/platform/vsp1/vsp1_drm.c WARN_ON(!rpf->entity.pipe); pipe 681 drivers/media/platform/vsp1/vsp1_drm.c rpf->entity.pipe = NULL; pipe 683 drivers/media/platform/vsp1/vsp1_drm.c pipe->inputs[i] = NULL; pipe 689 drivers/media/platform/vsp1/vsp1_drm.c pipe->num_inputs = 0; pipe 692 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, pipe 693 drivers/media/platform/vsp1/vsp1_drm.c BRX_NAME(pipe->brx)); pipe 695 drivers/media/platform/vsp1/vsp1_drm.c list_del(&pipe->brx->list_pipe); pipe 696 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx->pipe = NULL; pipe 697 drivers/media/platform/vsp1/vsp1_drm.c pipe->brx = NULL; pipe 701 drivers/media/platform/vsp1/vsp1_drm.c vsp1_dlm_reset(pipe->output->dlm); pipe 711 drivers/media/platform/vsp1/vsp1_drm.c pipe->interlaced = cfg->interlaced; pipe 715 drivers/media/platform/vsp1/vsp1_drm.c pipe->interlaced ? "i" : ""); pipe 720 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_pipeline_setup_inputs(vsp1, pipe); pipe 724 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_pipeline_setup_output(vsp1, pipe); pipe 745 drivers/media/platform/vsp1/vsp1_drm.c vsp1_du_pipeline_configure(pipe); pipe 754 drivers/media/platform/vsp1/vsp1_drm.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 755 drivers/media/platform/vsp1/vsp1_drm.c vsp1_pipeline_run(pipe); pipe 756 drivers/media/platform/vsp1/vsp1_drm.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 809 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; pipe 827 drivers/media/platform/vsp1/vsp1_drm.c rpf->entity.pipe = NULL; pipe 828 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->pipe.inputs[rpf_index] = NULL; pipe 859 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->pipe.inputs[rpf_index] = rpf; pipe 875 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index]; pipe 876 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe = &drm_pipe->pipe; pipe 886 drivers/media/platform/vsp1/vsp1_drm.c ret = vsp1_du_pipeline_set_rwpf_format(vsp1, pipe->output, pipe 892 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->mem.addr[0] = wb_cfg->mem[0]; pipe 893 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->mem.addr[1] = wb_cfg->mem[1]; pipe 894 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->mem.addr[2] = wb_cfg->mem[2]; pipe 895 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->writeback = true; pipe 898 drivers/media/platform/vsp1/vsp1_drm.c vsp1_du_pipeline_setup_inputs(vsp1, pipe); pipe 899 drivers/media/platform/vsp1/vsp1_drm.c vsp1_du_pipeline_configure(pipe); pipe 945 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[i]; pipe 946 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_pipeline *pipe = &drm_pipe->pipe; pipe 950 drivers/media/platform/vsp1/vsp1_drm.c vsp1_pipeline_init(pipe); pipe 952 drivers/media/platform/vsp1/vsp1_drm.c pipe->frame_end = vsp1_du_pipeline_frame_end; pipe 958 drivers/media/platform/vsp1/vsp1_drm.c pipe->output = vsp1->wpf[i]; pipe 959 drivers/media/platform/vsp1/vsp1_drm.c pipe->lif = &vsp1->lif[i]->entity; pipe 961 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->entity.pipe = pipe; pipe 962 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->entity.sink = pipe->lif; pipe 963 drivers/media/platform/vsp1/vsp1_drm.c pipe->output->entity.sink_pad = 0; pipe 964 drivers/media/platform/vsp1/vsp1_drm.c list_add_tail(&pipe->output->entity.list_pipe, &pipe->entities); pipe 966 drivers/media/platform/vsp1/vsp1_drm.c pipe->lif->pipe = pipe; pipe 967 drivers/media/platform/vsp1/vsp1_drm.c list_add_tail(&pipe->lif->list_pipe, &pipe->entities); pipe 33 drivers/media/platform/vsp1/vsp1_drm.h struct vsp1_pipeline pipe; pipe 57 drivers/media/platform/vsp1/vsp1_drm.h struct vsp1_drm_pipeline pipe[VSP1_MAX_LIF]; pipe 68 drivers/media/platform/vsp1/vsp1_drm.h to_vsp1_drm_pipeline(struct vsp1_pipeline *pipe) pipe 70 drivers/media/platform/vsp1/vsp1_drm.h return container_of(pipe, struct vsp1_drm_pipeline, pipe); pipe 63 drivers/media/platform/vsp1/vsp1_drv.c vsp1_pipeline_frame_end(wpf->entity.pipe); pipe 24 drivers/media/platform/vsp1/vsp1_entity.c struct vsp1_pipeline *pipe, pipe 38 drivers/media/platform/vsp1/vsp1_entity.c smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) pipe 51 drivers/media/platform/vsp1/vsp1_entity.c smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) pipe 73 drivers/media/platform/vsp1/vsp1_entity.c struct vsp1_pipeline *pipe, pipe 78 drivers/media/platform/vsp1/vsp1_entity.c entity->ops->configure_stream(entity, pipe, dl, dlb); pipe 82 drivers/media/platform/vsp1/vsp1_entity.c struct vsp1_pipeline *pipe, pipe 87 drivers/media/platform/vsp1/vsp1_entity.c entity->ops->configure_frame(entity, pipe, dl, dlb); pipe 91 drivers/media/platform/vsp1/vsp1_entity.c struct vsp1_pipeline *pipe, pipe 96 drivers/media/platform/vsp1/vsp1_entity.c entity->ops->configure_partition(entity, pipe, dl, dlb); pipe 105 drivers/media/platform/vsp1/vsp1_entity.h struct vsp1_pipeline *pipe; pipe 155 drivers/media/platform/vsp1/vsp1_entity.h struct vsp1_pipeline *pipe, pipe 159 drivers/media/platform/vsp1/vsp1_entity.h struct vsp1_pipeline *pipe, pipe 164 drivers/media/platform/vsp1/vsp1_entity.h struct vsp1_pipeline *pipe, pipe 169 drivers/media/platform/vsp1/vsp1_entity.h struct vsp1_pipeline *pipe, pipe 133 drivers/media/platform/vsp1/vsp1_hgo.c struct vsp1_pipeline *pipe, pipe 129 drivers/media/platform/vsp1/vsp1_hgt.c struct vsp1_pipeline *pipe, pipe 60 drivers/media/platform/vsp1/vsp1_histo.c struct vsp1_pipeline *pipe = histo->entity.pipe; pipe 68 drivers/media/platform/vsp1/vsp1_histo.c buf->buf.sequence = pipe->sequence; pipe 131 drivers/media/platform/vsp1/vsp1_hsit.c struct vsp1_pipeline *pipe, pipe 86 drivers/media/platform/vsp1/vsp1_lif.c struct vsp1_pipeline *pipe, pipe 149 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_pipeline *pipe, pipe 159 drivers/media/platform/vsp1/vsp1_lut.c struct vsp1_pipeline *pipe, pipe 244 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_reset(struct vsp1_pipeline *pipe) pipe 249 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->brx) { pipe 250 drivers/media/platform/vsp1/vsp1_pipe.c struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); pipe 256 drivers/media/platform/vsp1/vsp1_pipe.c for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) pipe 257 drivers/media/platform/vsp1/vsp1_pipe.c pipe->inputs[i] = NULL; pipe 259 drivers/media/platform/vsp1/vsp1_pipe.c pipe->output = NULL; pipe 261 drivers/media/platform/vsp1/vsp1_pipe.c list_for_each_entry(entity, &pipe->entities, list_pipe) pipe 262 drivers/media/platform/vsp1/vsp1_pipe.c entity->pipe = NULL; pipe 264 drivers/media/platform/vsp1/vsp1_pipe.c INIT_LIST_HEAD(&pipe->entities); pipe 265 drivers/media/platform/vsp1/vsp1_pipe.c pipe->state = VSP1_PIPELINE_STOPPED; pipe 266 drivers/media/platform/vsp1/vsp1_pipe.c pipe->buffers_ready = 0; pipe 267 drivers/media/platform/vsp1/vsp1_pipe.c pipe->num_inputs = 0; pipe 268 drivers/media/platform/vsp1/vsp1_pipe.c pipe->brx = NULL; pipe 269 drivers/media/platform/vsp1/vsp1_pipe.c pipe->hgo = NULL; pipe 270 drivers/media/platform/vsp1/vsp1_pipe.c pipe->hgt = NULL; pipe 271 drivers/media/platform/vsp1/vsp1_pipe.c pipe->lif = NULL; pipe 272 drivers/media/platform/vsp1/vsp1_pipe.c pipe->uds = NULL; pipe 275 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_init(struct vsp1_pipeline *pipe) pipe 277 drivers/media/platform/vsp1/vsp1_pipe.c mutex_init(&pipe->lock); pipe 278 drivers/media/platform/vsp1/vsp1_pipe.c spin_lock_init(&pipe->irqlock); pipe 279 drivers/media/platform/vsp1/vsp1_pipe.c init_waitqueue_head(&pipe->wq); pipe 280 drivers/media/platform/vsp1/vsp1_pipe.c kref_init(&pipe->kref); pipe 282 drivers/media/platform/vsp1/vsp1_pipe.c INIT_LIST_HEAD(&pipe->entities); pipe 283 drivers/media/platform/vsp1/vsp1_pipe.c pipe->state = VSP1_PIPELINE_STOPPED; pipe 287 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_run(struct vsp1_pipeline *pipe) pipe 289 drivers/media/platform/vsp1/vsp1_pipe.c struct vsp1_device *vsp1 = pipe->output->entity.vsp1; pipe 291 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->state == VSP1_PIPELINE_STOPPED) { pipe 292 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_write(vsp1, VI6_CMD(pipe->output->entity.index), pipe 294 drivers/media/platform/vsp1/vsp1_pipe.c pipe->state = VSP1_PIPELINE_RUNNING; pipe 297 drivers/media/platform/vsp1/vsp1_pipe.c pipe->buffers_ready = 0; pipe 300 drivers/media/platform/vsp1/vsp1_pipe.c bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe) pipe 305 drivers/media/platform/vsp1/vsp1_pipe.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 306 drivers/media/platform/vsp1/vsp1_pipe.c stopped = pipe->state == VSP1_PIPELINE_STOPPED; pipe 307 drivers/media/platform/vsp1/vsp1_pipe.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 312 drivers/media/platform/vsp1/vsp1_pipe.c int vsp1_pipeline_stop(struct vsp1_pipeline *pipe) pipe 314 drivers/media/platform/vsp1/vsp1_pipe.c struct vsp1_device *vsp1 = pipe->output->entity.vsp1; pipe 319 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->lif) { pipe 324 drivers/media/platform/vsp1/vsp1_pipe.c ret = vsp1_reset_wpf(vsp1, pipe->output->entity.index); pipe 326 drivers/media/platform/vsp1/vsp1_pipe.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 327 drivers/media/platform/vsp1/vsp1_pipe.c pipe->state = VSP1_PIPELINE_STOPPED; pipe 328 drivers/media/platform/vsp1/vsp1_pipe.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 332 drivers/media/platform/vsp1/vsp1_pipe.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 333 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->state == VSP1_PIPELINE_RUNNING) pipe 334 drivers/media/platform/vsp1/vsp1_pipe.c pipe->state = VSP1_PIPELINE_STOPPING; pipe 335 drivers/media/platform/vsp1/vsp1_pipe.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 337 drivers/media/platform/vsp1/vsp1_pipe.c ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe), pipe 342 drivers/media/platform/vsp1/vsp1_pipe.c list_for_each_entry(entity, &pipe->entities, list_pipe) { pipe 348 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgo) pipe 353 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgt) pipe 358 drivers/media/platform/vsp1/vsp1_pipe.c v4l2_subdev_call(&pipe->output->entity.subdev, video, s_stream, 0); pipe 363 drivers/media/platform/vsp1/vsp1_pipe.c bool vsp1_pipeline_ready(struct vsp1_pipeline *pipe) pipe 367 drivers/media/platform/vsp1/vsp1_pipe.c mask = ((1 << pipe->num_inputs) - 1) << 1; pipe 368 drivers/media/platform/vsp1/vsp1_pipe.c if (!pipe->lif) pipe 371 drivers/media/platform/vsp1/vsp1_pipe.c return pipe->buffers_ready == mask; pipe 374 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_frame_end(struct vsp1_pipeline *pipe) pipe 378 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe == NULL) pipe 386 drivers/media/platform/vsp1/vsp1_pipe.c flags = vsp1_dlm_irq_frame_end(pipe->output->dlm); pipe 388 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgo) pipe 389 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_hgo_frame_end(pipe->hgo); pipe 391 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgt) pipe 392 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_hgt_frame_end(pipe->hgt); pipe 398 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->frame_end) pipe 399 drivers/media/platform/vsp1/vsp1_pipe.c pipe->frame_end(pipe, flags); pipe 401 drivers/media/platform/vsp1/vsp1_pipe.c pipe->sequence++; pipe 412 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_propagate_alpha(struct vsp1_pipeline *pipe, pipe 415 drivers/media/platform/vsp1/vsp1_pipe.c if (!pipe->uds) pipe 422 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->uds_input->type == VSP1_ENTITY_BRU || pipe 423 drivers/media/platform/vsp1/vsp1_pipe.c pipe->uds_input->type == VSP1_ENTITY_BRS) pipe 426 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_uds_set_alpha(pipe->uds, dlb, alpha); pipe 437 drivers/media/platform/vsp1/vsp1_pipe.c void vsp1_pipeline_propagate_partition(struct vsp1_pipeline *pipe, pipe 444 drivers/media/platform/vsp1/vsp1_pipe.c list_for_each_entry_reverse(entity, &pipe->entities, list_pipe) { pipe 446 drivers/media/platform/vsp1/vsp1_pipe.c entity->ops->partition(entity, pipe, partition, index, pipe 113 drivers/media/platform/vsp1/vsp1_pipe.h struct media_pipeline pipe; pipe 119 drivers/media/platform/vsp1/vsp1_pipe.h void (*frame_end)(struct vsp1_pipeline *pipe, unsigned int completion); pipe 153 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_reset(struct vsp1_pipeline *pipe); pipe 154 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_init(struct vsp1_pipeline *pipe); pipe 156 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_run(struct vsp1_pipeline *pipe); pipe 157 drivers/media/platform/vsp1/vsp1_pipe.h bool vsp1_pipeline_stopped(struct vsp1_pipeline *pipe); pipe 158 drivers/media/platform/vsp1/vsp1_pipe.h int vsp1_pipeline_stop(struct vsp1_pipeline *pipe); pipe 159 drivers/media/platform/vsp1/vsp1_pipe.h bool vsp1_pipeline_ready(struct vsp1_pipeline *pipe); pipe 161 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_frame_end(struct vsp1_pipeline *pipe); pipe 163 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_propagate_alpha(struct vsp1_pipeline *pipe, pipe 167 drivers/media/platform/vsp1/vsp1_pipe.h void vsp1_pipeline_propagate_partition(struct vsp1_pipeline *pipe, pipe 59 drivers/media/platform/vsp1/vsp1_rpf.c struct vsp1_pipeline *pipe, pipe 85 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->interlaced) pipe 113 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->brx) { pipe 116 drivers/media/platform/vsp1/vsp1_rpf.c compose = vsp1_entity_get_pad_selection(pipe->brx, pipe 117 drivers/media/platform/vsp1/vsp1_rpf.c pipe->brx->config, pipe 124 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->interlaced) pipe 227 drivers/media/platform/vsp1/vsp1_rpf.c struct vsp1_pipeline *pipe, pipe 238 drivers/media/platform/vsp1/vsp1_rpf.c vsp1_pipeline_propagate_alpha(pipe, dlb, rpf->alpha); pipe 242 drivers/media/platform/vsp1/vsp1_rpf.c struct vsp1_pipeline *pipe, pipe 273 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->partitions > 1) { pipe 274 drivers/media/platform/vsp1/vsp1_rpf.c crop.width = pipe->partition->rpf.width; pipe 275 drivers/media/platform/vsp1/vsp1_rpf.c crop.left += pipe->partition->rpf.left; pipe 278 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->interlaced) { pipe 315 drivers/media/platform/vsp1/vsp1_rpf.c if (pipe->interlaced) { pipe 325 drivers/media/platform/vsp1/vsp1_rpf.c struct vsp1_pipeline *pipe, pipe 271 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_pipeline *pipe, pipe 305 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_pipeline *pipe) pipe 328 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_pipeline *pipe, pipe 259 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_pipeline *pipe, pipe 307 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_pipeline *pipe, pipe 312 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_partition *partition = pipe->partition; pipe 333 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_pipeline *pipe) pipe 369 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_pipeline *pipe, pipe 194 drivers/media/platform/vsp1/vsp1_uif.c struct vsp1_pipeline *pipe, pipe 186 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_calculate_partition(struct vsp1_pipeline *pipe, pipe 199 drivers/media/platform/vsp1/vsp1_video.c format = vsp1_entity_get_pad_format(&pipe->output->entity, pipe 200 drivers/media/platform/vsp1/vsp1_video.c pipe->output->entity.config, pipe 204 drivers/media/platform/vsp1/vsp1_video.c if (pipe->partitions <= 1) { pipe 208 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_propagate_partition(pipe, partition, index, pipe 233 drivers/media/platform/vsp1/vsp1_video.c unsigned int partitions = pipe->partitions - 1; pipe 249 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_propagate_partition(pipe, partition, index, &window); pipe 252 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_pipeline_setup_partitions(struct vsp1_pipeline *pipe) pipe 254 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_device *vsp1 = pipe->output->entity.vsp1; pipe 264 drivers/media/platform/vsp1/vsp1_video.c format = vsp1_entity_get_pad_format(&pipe->output->entity, pipe 265 drivers/media/platform/vsp1/vsp1_video.c pipe->output->entity.config, pipe 274 drivers/media/platform/vsp1/vsp1_video.c list_for_each_entry(entity, &pipe->entities, list_pipe) { pipe 280 drivers/media/platform/vsp1/vsp1_video.c entity_max = entity->ops->max_width(entity, pipe); pipe 286 drivers/media/platform/vsp1/vsp1_video.c pipe->partitions = DIV_ROUND_UP(format->width, div_size); pipe 287 drivers/media/platform/vsp1/vsp1_video.c pipe->part_table = kcalloc(pipe->partitions, sizeof(*pipe->part_table), pipe 289 drivers/media/platform/vsp1/vsp1_video.c if (!pipe->part_table) pipe 292 drivers/media/platform/vsp1/vsp1_video.c for (i = 0; i < pipe->partitions; ++i) pipe 293 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_calculate_partition(pipe, &pipe->part_table[i], pipe 315 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; pipe 339 drivers/media/platform/vsp1/vsp1_video.c done->buf.sequence = pipe->sequence; pipe 349 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_frame_end(struct vsp1_pipeline *pipe, pipe 360 drivers/media/platform/vsp1/vsp1_video.c pipe->buffers_ready |= 1 << video->pipe_index; pipe 363 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_pipeline_run_partition(struct vsp1_pipeline *pipe, pipe 370 drivers/media/platform/vsp1/vsp1_video.c pipe->partition = &pipe->part_table[partition]; pipe 372 drivers/media/platform/vsp1/vsp1_video.c list_for_each_entry(entity, &pipe->entities, list_pipe) pipe 373 drivers/media/platform/vsp1/vsp1_video.c vsp1_entity_configure_partition(entity, pipe, dl, dlb); pipe 376 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_pipeline_run(struct vsp1_pipeline *pipe) pipe 378 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_device *vsp1 = pipe->output->entity.vsp1; pipe 384 drivers/media/platform/vsp1/vsp1_video.c dl = vsp1_dl_list_get(pipe->output->dlm); pipe 392 drivers/media/platform/vsp1/vsp1_video.c if (!pipe->configured) pipe 393 drivers/media/platform/vsp1/vsp1_video.c vsp1_dl_list_add_body(dl, pipe->stream_config); pipe 397 drivers/media/platform/vsp1/vsp1_video.c list_for_each_entry(entity, &pipe->entities, list_pipe) pipe 398 drivers/media/platform/vsp1/vsp1_video.c vsp1_entity_configure_frame(entity, pipe, dl, dlb); pipe 401 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run_partition(pipe, dl, 0); pipe 404 drivers/media/platform/vsp1/vsp1_video.c for (partition = 1; partition < pipe->partitions; ++partition) { pipe 407 drivers/media/platform/vsp1/vsp1_video.c dl_next = vsp1_dl_list_get(pipe->output->dlm); pipe 419 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run_partition(pipe, dl_next, partition); pipe 425 drivers/media/platform/vsp1/vsp1_video.c pipe->configured = true; pipe 427 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_run(pipe); pipe 430 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_pipeline_frame_end(struct vsp1_pipeline *pipe, pipe 433 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_device *vsp1 = pipe->output->entity.vsp1; pipe 441 drivers/media/platform/vsp1/vsp1_video.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 445 drivers/media/platform/vsp1/vsp1_video.c if (!pipe->inputs[i]) pipe 448 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_frame_end(pipe, pipe->inputs[i]); pipe 451 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_frame_end(pipe, pipe->output); pipe 453 drivers/media/platform/vsp1/vsp1_video.c state = pipe->state; pipe 454 drivers/media/platform/vsp1/vsp1_video.c pipe->state = VSP1_PIPELINE_STOPPED; pipe 461 drivers/media/platform/vsp1/vsp1_video.c wake_up(&pipe->wq); pipe 462 drivers/media/platform/vsp1/vsp1_video.c else if (vsp1_pipeline_ready(pipe)) pipe 463 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run(pipe); pipe 465 drivers/media/platform/vsp1/vsp1_video.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 468 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_pipeline_build_branch(struct vsp1_pipeline *pipe, pipe 534 drivers/media/platform/vsp1/vsp1_video.c if (pipe->uds) { pipe 539 drivers/media/platform/vsp1/vsp1_video.c pipe->uds = entity; pipe 540 drivers/media/platform/vsp1/vsp1_video.c pipe->uds_input = brx ? &brx->entity : &input->entity; pipe 558 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_pipeline_build(struct vsp1_pipeline *pipe, pipe 584 drivers/media/platform/vsp1/vsp1_video.c list_add_tail(&e->list_pipe, &pipe->entities); pipe 585 drivers/media/platform/vsp1/vsp1_video.c e->pipe = pipe; pipe 590 drivers/media/platform/vsp1/vsp1_video.c pipe->inputs[rwpf->entity.index] = rwpf; pipe 591 drivers/media/platform/vsp1/vsp1_video.c rwpf->video->pipe_index = ++pipe->num_inputs; pipe 596 drivers/media/platform/vsp1/vsp1_video.c pipe->output = rwpf; pipe 601 drivers/media/platform/vsp1/vsp1_video.c pipe->lif = e; pipe 606 drivers/media/platform/vsp1/vsp1_video.c pipe->brx = e; pipe 610 drivers/media/platform/vsp1/vsp1_video.c pipe->hgo = e; pipe 614 drivers/media/platform/vsp1/vsp1_video.c pipe->hgt = e; pipe 625 drivers/media/platform/vsp1/vsp1_video.c if (pipe->num_inputs == 0 || !pipe->output) pipe 633 drivers/media/platform/vsp1/vsp1_video.c if (!pipe->inputs[i]) pipe 636 drivers/media/platform/vsp1/vsp1_video.c ret = vsp1_video_pipeline_build_branch(pipe, pipe->inputs[i], pipe 637 drivers/media/platform/vsp1/vsp1_video.c pipe->output); pipe 645 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_pipeline_init(struct vsp1_pipeline *pipe, pipe 648 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_init(pipe); pipe 650 drivers/media/platform/vsp1/vsp1_video.c pipe->frame_end = vsp1_video_pipeline_frame_end; pipe 652 drivers/media/platform/vsp1/vsp1_video.c return vsp1_video_pipeline_build(pipe, video); pipe 657 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe; pipe 666 drivers/media/platform/vsp1/vsp1_video.c if (!video->rwpf->entity.pipe) { pipe 667 drivers/media/platform/vsp1/vsp1_video.c pipe = kzalloc(sizeof(*pipe), GFP_KERNEL); pipe 668 drivers/media/platform/vsp1/vsp1_video.c if (!pipe) pipe 671 drivers/media/platform/vsp1/vsp1_video.c ret = vsp1_video_pipeline_init(pipe, video); pipe 673 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_reset(pipe); pipe 674 drivers/media/platform/vsp1/vsp1_video.c kfree(pipe); pipe 678 drivers/media/platform/vsp1/vsp1_video.c pipe = video->rwpf->entity.pipe; pipe 679 drivers/media/platform/vsp1/vsp1_video.c kref_get(&pipe->kref); pipe 682 drivers/media/platform/vsp1/vsp1_video.c return pipe; pipe 687 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = container_of(kref, typeof(*pipe), kref); pipe 689 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_reset(pipe); pipe 690 drivers/media/platform/vsp1/vsp1_video.c kfree(pipe); pipe 693 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_pipeline_put(struct vsp1_pipeline *pipe) pipe 695 drivers/media/platform/vsp1/vsp1_video.c struct media_device *mdev = &pipe->output->entity.vsp1->media_dev; pipe 698 drivers/media/platform/vsp1/vsp1_video.c kref_put(&pipe->kref, vsp1_video_pipeline_release); pipe 761 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; pipe 774 drivers/media/platform/vsp1/vsp1_video.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 777 drivers/media/platform/vsp1/vsp1_video.c pipe->buffers_ready |= 1 << video->pipe_index; pipe 780 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_ready(pipe)) pipe 781 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run(pipe); pipe 783 drivers/media/platform/vsp1/vsp1_video.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 786 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_setup_pipeline(struct vsp1_pipeline *pipe) pipe 792 drivers/media/platform/vsp1/vsp1_video.c ret = vsp1_video_pipeline_setup_partitions(pipe); pipe 796 drivers/media/platform/vsp1/vsp1_video.c if (pipe->uds) { pipe 797 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_uds *uds = to_uds(&pipe->uds->subdev); pipe 806 drivers/media/platform/vsp1/vsp1_video.c if (pipe->uds_input->type == VSP1_ENTITY_BRU || pipe 807 drivers/media/platform/vsp1/vsp1_video.c pipe->uds_input->type == VSP1_ENTITY_BRS) { pipe 811 drivers/media/platform/vsp1/vsp1_video.c to_rwpf(&pipe->uds_input->subdev); pipe 822 drivers/media/platform/vsp1/vsp1_video.c pipe->stream_config = vsp1_dlm_dl_body_get(pipe->output->dlm); pipe 823 drivers/media/platform/vsp1/vsp1_video.c if (!pipe->stream_config) pipe 826 drivers/media/platform/vsp1/vsp1_video.c list_for_each_entry(entity, &pipe->entities, list_pipe) { pipe 827 drivers/media/platform/vsp1/vsp1_video.c vsp1_entity_route_setup(entity, pipe, pipe->stream_config); pipe 828 drivers/media/platform/vsp1/vsp1_video.c vsp1_entity_configure_stream(entity, pipe, NULL, pipe 829 drivers/media/platform/vsp1/vsp1_video.c pipe->stream_config); pipe 848 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_cleanup_pipeline(struct vsp1_pipeline *pipe) pipe 850 drivers/media/platform/vsp1/vsp1_video.c lockdep_assert_held(&pipe->lock); pipe 853 drivers/media/platform/vsp1/vsp1_video.c vsp1_dl_body_put(pipe->stream_config); pipe 854 drivers/media/platform/vsp1/vsp1_video.c pipe->stream_config = NULL; pipe 855 drivers/media/platform/vsp1/vsp1_video.c pipe->configured = false; pipe 858 drivers/media/platform/vsp1/vsp1_video.c kfree(pipe->part_table); pipe 859 drivers/media/platform/vsp1/vsp1_video.c pipe->part_table = NULL; pipe 865 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; pipe 870 drivers/media/platform/vsp1/vsp1_video.c mutex_lock(&pipe->lock); pipe 871 drivers/media/platform/vsp1/vsp1_video.c if (pipe->stream_count == pipe->num_inputs) { pipe 872 drivers/media/platform/vsp1/vsp1_video.c ret = vsp1_video_setup_pipeline(pipe); pipe 875 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_cleanup_pipeline(pipe); pipe 876 drivers/media/platform/vsp1/vsp1_video.c mutex_unlock(&pipe->lock); pipe 883 drivers/media/platform/vsp1/vsp1_video.c pipe->stream_count++; pipe 884 drivers/media/platform/vsp1/vsp1_video.c mutex_unlock(&pipe->lock); pipe 896 drivers/media/platform/vsp1/vsp1_video.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 897 drivers/media/platform/vsp1/vsp1_video.c if (vsp1_pipeline_ready(pipe)) pipe 898 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run(pipe); pipe 899 drivers/media/platform/vsp1/vsp1_video.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 907 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; pipe 916 drivers/media/platform/vsp1/vsp1_video.c pipe->buffers_ready &= ~(1 << video->pipe_index); pipe 919 drivers/media/platform/vsp1/vsp1_video.c mutex_lock(&pipe->lock); pipe 920 drivers/media/platform/vsp1/vsp1_video.c if (--pipe->stream_count == pipe->num_inputs) { pipe 922 drivers/media/platform/vsp1/vsp1_video.c ret = vsp1_pipeline_stop(pipe); pipe 926 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_cleanup_pipeline(pipe); pipe 928 drivers/media/platform/vsp1/vsp1_video.c mutex_unlock(&pipe->lock); pipe 932 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_put(pipe); pipe 1032 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe; pipe 1045 drivers/media/platform/vsp1/vsp1_video.c pipe = vsp1_video_pipeline_get(video); pipe 1046 drivers/media/platform/vsp1/vsp1_video.c if (IS_ERR(pipe)) { pipe 1048 drivers/media/platform/vsp1/vsp1_video.c return PTR_ERR(pipe); pipe 1051 drivers/media/platform/vsp1/vsp1_video.c ret = __media_pipeline_start(&video->video.entity, &pipe->pipe); pipe 1077 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_put(pipe); pipe 1176 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe; pipe 1181 drivers/media/platform/vsp1/vsp1_video.c pipe = wpf->entity.pipe; pipe 1182 drivers/media/platform/vsp1/vsp1_video.c if (pipe == NULL) pipe 1185 drivers/media/platform/vsp1/vsp1_video.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 1186 drivers/media/platform/vsp1/vsp1_video.c if (pipe->state == VSP1_PIPELINE_RUNNING) pipe 1187 drivers/media/platform/vsp1/vsp1_video.c pipe->state = VSP1_PIPELINE_STOPPING; pipe 1188 drivers/media/platform/vsp1/vsp1_video.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 1193 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe; pipe 1198 drivers/media/platform/vsp1/vsp1_video.c pipe = wpf->entity.pipe; pipe 1199 drivers/media/platform/vsp1/vsp1_video.c if (pipe == NULL) pipe 1202 drivers/media/platform/vsp1/vsp1_video.c ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe), pipe 1218 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe; pipe 1223 drivers/media/platform/vsp1/vsp1_video.c pipe = wpf->entity.pipe; pipe 1224 drivers/media/platform/vsp1/vsp1_video.c if (pipe == NULL) pipe 1231 drivers/media/platform/vsp1/vsp1_video.c pipe->configured = false; pipe 1233 drivers/media/platform/vsp1/vsp1_video.c spin_lock_irqsave(&pipe->irqlock, flags); pipe 1234 drivers/media/platform/vsp1/vsp1_video.c if (vsp1_pipeline_ready(pipe)) pipe 1235 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_pipeline_run(pipe); pipe 1236 drivers/media/platform/vsp1/vsp1_video.c spin_unlock_irqrestore(&pipe->irqlock, flags); pipe 257 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_pipeline *pipe, pipe 279 drivers/media/platform/vsp1/vsp1_wpf.c if (!pipe->lif || wpf->writeback) { pipe 325 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_rwpf *input = pipe->inputs[i]; pipe 330 drivers/media/platform/vsp1/vsp1_wpf.c srcrpf |= (!pipe->brx && pipe->num_inputs == 1) pipe 335 drivers/media/platform/vsp1/vsp1_wpf.c if (pipe->brx) pipe 336 drivers/media/platform/vsp1/vsp1_wpf.c srcrpf |= pipe->brx->type == VSP1_ENTITY_BRU pipe 366 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_pipeline *pipe, pipe 392 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_pipeline *pipe, pipe 420 drivers/media/platform/vsp1/vsp1_wpf.c if (pipe->partitions > 1) { pipe 421 drivers/media/platform/vsp1/vsp1_wpf.c width = pipe->partition->wpf.width; pipe 422 drivers/media/platform/vsp1/vsp1_wpf.c left = pipe->partition->wpf.left; pipe 436 drivers/media/platform/vsp1/vsp1_wpf.c if (pipe->lif && !wpf->writeback) pipe 534 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_pipeline *pipe) pipe 542 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_pipeline *pipe, pipe 97 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_pipeline_start_stop(struct xvip_pipeline *pipe, bool start) pipe 99 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_dma *dma = pipe->output; pipe 151 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_pipeline_set_stream(struct xvip_pipeline *pipe, bool on) pipe 155 drivers/media/platform/xilinx/xilinx-dma.c mutex_lock(&pipe->lock); pipe 158 drivers/media/platform/xilinx/xilinx-dma.c if (pipe->stream_count == pipe->num_dmas - 1) { pipe 159 drivers/media/platform/xilinx/xilinx-dma.c ret = xvip_pipeline_start_stop(pipe, true); pipe 163 drivers/media/platform/xilinx/xilinx-dma.c pipe->stream_count++; pipe 165 drivers/media/platform/xilinx/xilinx-dma.c if (--pipe->stream_count == 0) pipe 166 drivers/media/platform/xilinx/xilinx-dma.c xvip_pipeline_start_stop(pipe, false); pipe 170 drivers/media/platform/xilinx/xilinx-dma.c mutex_unlock(&pipe->lock); pipe 174 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_pipeline_validate(struct xvip_pipeline *pipe, pipe 204 drivers/media/platform/xilinx/xilinx-dma.c pipe->output = dma; pipe 219 drivers/media/platform/xilinx/xilinx-dma.c pipe->num_dmas = num_inputs + num_outputs; pipe 224 drivers/media/platform/xilinx/xilinx-dma.c static void __xvip_pipeline_cleanup(struct xvip_pipeline *pipe) pipe 226 drivers/media/platform/xilinx/xilinx-dma.c pipe->num_dmas = 0; pipe 227 drivers/media/platform/xilinx/xilinx-dma.c pipe->output = NULL; pipe 236 drivers/media/platform/xilinx/xilinx-dma.c static void xvip_pipeline_cleanup(struct xvip_pipeline *pipe) pipe 238 drivers/media/platform/xilinx/xilinx-dma.c mutex_lock(&pipe->lock); pipe 241 drivers/media/platform/xilinx/xilinx-dma.c if (--pipe->use_count == 0) pipe 242 drivers/media/platform/xilinx/xilinx-dma.c __xvip_pipeline_cleanup(pipe); pipe 244 drivers/media/platform/xilinx/xilinx-dma.c mutex_unlock(&pipe->lock); pipe 257 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_pipeline_prepare(struct xvip_pipeline *pipe, pipe 262 drivers/media/platform/xilinx/xilinx-dma.c mutex_lock(&pipe->lock); pipe 265 drivers/media/platform/xilinx/xilinx-dma.c if (pipe->use_count == 0) { pipe 266 drivers/media/platform/xilinx/xilinx-dma.c ret = xvip_pipeline_validate(pipe, dma); pipe 268 drivers/media/platform/xilinx/xilinx-dma.c __xvip_pipeline_cleanup(pipe); pipe 273 drivers/media/platform/xilinx/xilinx-dma.c pipe->use_count++; pipe 277 drivers/media/platform/xilinx/xilinx-dma.c mutex_unlock(&pipe->lock); pipe 394 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_pipeline *pipe; pipe 406 drivers/media/platform/xilinx/xilinx-dma.c pipe = dma->video.entity.pipe pipe 407 drivers/media/platform/xilinx/xilinx-dma.c ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe; pipe 409 drivers/media/platform/xilinx/xilinx-dma.c ret = media_pipeline_start(&dma->video.entity, &pipe->pipe); pipe 420 drivers/media/platform/xilinx/xilinx-dma.c ret = xvip_pipeline_prepare(pipe, dma); pipe 430 drivers/media/platform/xilinx/xilinx-dma.c xvip_pipeline_set_stream(pipe, true); pipe 452 drivers/media/platform/xilinx/xilinx-dma.c struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity); pipe 456 drivers/media/platform/xilinx/xilinx-dma.c xvip_pipeline_set_stream(pipe, false); pipe 462 drivers/media/platform/xilinx/xilinx-dma.c xvip_pipeline_cleanup(pipe); pipe 659 drivers/media/platform/xilinx/xilinx-dma.c mutex_init(&dma->pipe.lock); pipe 761 drivers/media/platform/xilinx/xilinx-dma.c mutex_destroy(&dma->pipe.lock); pipe 38 drivers/media/platform/xilinx/xilinx-dma.h struct media_pipeline pipe; pipe 50 drivers/media/platform/xilinx/xilinx-dma.h return container_of(e->pipe, struct xvip_pipeline, pipe); pipe 79 drivers/media/platform/xilinx/xilinx-dma.h struct xvip_pipeline pipe; pipe 770 drivers/media/rc/ati_remote.c int pipe, maxp; pipe 775 drivers/media/rc/ati_remote.c pipe = usb_rcvintpipe(udev, ati_remote->endpoint_in->bEndpointAddress); pipe 776 drivers/media/rc/ati_remote.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 779 drivers/media/rc/ati_remote.c usb_fill_int_urb(ati_remote->irq_urb, udev, pipe, ati_remote->inbuf, pipe 786 drivers/media/rc/ati_remote.c pipe = usb_sndintpipe(udev, ati_remote->endpoint_out->bEndpointAddress); pipe 787 drivers/media/rc/ati_remote.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 790 drivers/media/rc/ati_remote.c usb_fill_int_urb(ati_remote->out_urb, udev, pipe, ati_remote->outbuf, pipe 553 drivers/media/rc/imon.c unsigned int pipe; pipe 561 drivers/media/rc/imon.c pipe = usb_sndintpipe(ictx->usbdev_intf0, pipe 565 drivers/media/rc/imon.c usb_fill_int_urb(ictx->tx_urb, ictx->usbdev_intf0, pipe, pipe 585 drivers/media/rc/imon.c pipe = usb_sndctrlpipe(ictx->usbdev_intf0, 0); pipe 589 drivers/media/rc/imon.c pipe, (unsigned char *)control_req, pipe 1666 drivers/media/rc/mceusb.c int pipe, maxp, i, res; pipe 1719 drivers/media/rc/mceusb.c pipe = usb_rcvintpipe(dev, ep_in->bEndpointAddress); pipe 1721 drivers/media/rc/mceusb.c pipe = usb_rcvbulkpipe(dev, ep_in->bEndpointAddress); pipe 1722 drivers/media/rc/mceusb.c maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 1728 drivers/media/rc/mceusb.c ir->pipe_in = pipe; pipe 1778 drivers/media/rc/mceusb.c usb_fill_int_urb(ir->urb_in, dev, pipe, ir->buf_in, maxp, pipe 1781 drivers/media/rc/mceusb.c usb_fill_bulk_urb(ir->urb_in, dev, pipe, ir->buf_in, maxp, pipe 474 drivers/media/rc/redrat3.c int len, ret, pipe; pipe 481 drivers/media/rc/redrat3.c pipe = usb_rcvctrlpipe(rr3->udev, 0); pipe 482 drivers/media/rc/redrat3.c ret = usb_control_msg(rr3->udev, pipe, RR3_GET_IR_PARAM, pipe 756 drivers/media/rc/redrat3.c int lencheck, cur_sample_len, pipe; pipe 827 drivers/media/rc/redrat3.c pipe = usb_sndbulkpipe(rr3->udev, rr3->ep_out->bEndpointAddress); pipe 828 drivers/media/rc/redrat3.c ret = usb_bulk_msg(rr3->udev, pipe, irdata, pipe 833 drivers/media/rc/redrat3.c pipe = usb_rcvctrlpipe(rr3->udev, 0); pipe 834 drivers/media/rc/redrat3.c ret = usb_control_msg(rr3->udev, pipe, RR3_TX_SEND_SIGNAL, pipe 986 drivers/media/rc/redrat3.c int pipe, i; pipe 1050 drivers/media/rc/redrat3.c pipe = usb_rcvbulkpipe(udev, ep_narrow->bEndpointAddress); pipe 1051 drivers/media/rc/redrat3.c usb_fill_bulk_urb(rr3->narrow_urb, udev, pipe, rr3->bulk_in_buf, pipe 1057 drivers/media/rc/redrat3.c pipe = usb_rcvbulkpipe(udev, ep_wide->bEndpointAddress); pipe 1058 drivers/media/rc/redrat3.c usb_fill_bulk_urb(rr3->wide_urb, udev, pipe, rr3->bulk_in_buf, pipe 330 drivers/media/rc/streamzap.c int pipe, maxp; pipe 365 drivers/media/rc/streamzap.c pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); pipe 366 drivers/media/rc/streamzap.c maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); pipe 418 drivers/media/rc/streamzap.c usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, pipe 251 drivers/media/rc/ttusbir.c urb->pipe = usb_rcvisocpipe(tt->udev, tt->iso_in_endp); pipe 170 drivers/media/rc/xbox_remote.c int pipe, maxp; pipe 173 drivers/media/rc/xbox_remote.c pipe = usb_rcvintpipe(udev, endpoint_in->bEndpointAddress); pipe 174 drivers/media/rc/xbox_remote.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 177 drivers/media/rc/xbox_remote.c usb_fill_int_urb(xbox_remote->irq_urb, udev, pipe, xbox_remote->inbuf, pipe 164 drivers/media/usb/airspy/airspy.c unsigned int pipe; pipe 170 drivers/media/usb/airspy/airspy.c pipe = usb_sndctrlpipe(s->udev, 0); pipe 181 drivers/media/usb/airspy/airspy.c pipe = usb_rcvctrlpipe(s->udev, 0); pipe 194 drivers/media/usb/airspy/airspy.c ret = usb_control_msg(s->udev, pipe, request, requesttype, value, pipe 289 drivers/media/usb/au0828/au0828-core.c struct media_pipeline *pipe) pipe 378 drivers/media/usb/au0828/au0828-core.c dev->active_link_user_pipe = pipe; pipe 413 drivers/media/usb/au0828/au0828-core.c ret = __media_pipeline_start(entity, pipe); pipe 111 drivers/media/usb/au0828/au0828-dvb.c int ptype = usb_pipetype(purb->pipe); pipe 201 drivers/media/usb/au0828/au0828-video.c int sb_size, pipe; pipe 250 drivers/media/usb/au0828/au0828-video.c pipe = usb_rcvisocpipe(dev->usbdev, pipe 253 drivers/media/usb/au0828/au0828-video.c usb_fill_int_urb(urb, dev->usbdev, pipe, pipe 114 drivers/media/usb/b2c2/flexcop-usb.c int nWaitTime, pipe, ret; pipe 126 drivers/media/usb/b2c2/flexcop-usb.c pipe = B2C2_USB_CTRL_PIPE_IN; pipe 132 drivers/media/usb/b2c2/flexcop-usb.c pipe = B2C2_USB_CTRL_PIPE_OUT; pipe 137 drivers/media/usb/b2c2/flexcop-usb.c pipe = B2C2_USB_CTRL_PIPE_OUT; pipe 151 drivers/media/usb/b2c2/flexcop-usb.c ret = usb_control_msg(fc_usb->udev, pipe, pipe 237 drivers/media/usb/b2c2/flexcop-usb.c int nWaitTime, pipe, ret; pipe 251 drivers/media/usb/b2c2/flexcop-usb.c pipe = B2C2_USB_CTRL_PIPE_OUT; pipe 257 drivers/media/usb/b2c2/flexcop-usb.c pipe = B2C2_USB_CTRL_PIPE_IN; pipe 278 drivers/media/usb/b2c2/flexcop-usb.c ret = usb_control_msg(fc_usb->udev, pipe, pipe 468 drivers/media/usb/b2c2/flexcop-usb.c urb->pipe = B2C2_USB_DATA_PIPE; pipe 689 drivers/media/usb/cpia2/cpia2_usb.c urb->pipe = usb_rcvisocpipe(cam->dev, 1 /*ISOC endpoint*/); pipe 293 drivers/media/usb/cx231xx/cx231xx-audio.c urb->pipe = usb_rcvisocpipe(dev->udev, pipe 354 drivers/media/usb/cx231xx/cx231xx-audio.c urb->pipe = usb_rcvbulkpipe(dev->udev, pipe 225 drivers/media/usb/cx231xx/cx231xx-core.c static int __usb_control_msg(struct cx231xx *dev, unsigned int pipe, pipe 234 drivers/media/usb/cx231xx/cx231xx-core.c pipe, pipe 253 drivers/media/usb/cx231xx/cx231xx-core.c rc = usb_control_msg(dev->udev, pipe, request, requesttype, value, pipe 287 drivers/media/usb/cx231xx/cx231xx-core.c int pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 315 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, req, pipe 325 drivers/media/usb/cx231xx/cx231xx-core.c int pipe = 0; pipe 336 drivers/media/usb/cx231xx/cx231xx-core.c pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 338 drivers/media/usb/cx231xx/cx231xx-core.c pipe = usb_sndctrlpipe(dev->udev, 0); pipe 361 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, ven_req->bRequest, pipe 371 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, pipe 382 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, ven_req->bRequest, pipe 387 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, ven_req->bRequest, pipe 405 drivers/media/usb/cx231xx/cx231xx-core.c int pipe = usb_sndctrlpipe(dev->udev, 0); pipe 437 drivers/media/usb/cx231xx/cx231xx-core.c pipe, pipe 447 drivers/media/usb/cx231xx/cx231xx-core.c ret = __usb_control_msg(dev, pipe, req, pipe 993 drivers/media/usb/cx231xx/cx231xx-core.c int sb_size, pipe; pipe 1076 drivers/media/usb/cx231xx/cx231xx-core.c pipe = pipe 1079 drivers/media/usb/cx231xx/cx231xx-core.c usb_fill_int_urb(urb, dev->udev, pipe, pipe 1128 drivers/media/usb/cx231xx/cx231xx-core.c int sb_size, pipe; pipe 1212 drivers/media/usb/cx231xx/cx231xx-core.c pipe = usb_rcvbulkpipe(dev->udev, pipe 1214 drivers/media/usb/cx231xx/cx231xx-core.c usb_fill_bulk_urb(urb, dev->udev, pipe, pipe 1220 drivers/media/usb/cx231xx/cx231xx-core.c rc = usb_clear_halt(dev->udev, dev->video_mode.bulk_ctl.urb[0]->pipe); pipe 380 drivers/media/usb/cx231xx/cx231xx-vbi.c int sb_size, pipe; pipe 451 drivers/media/usb/cx231xx/cx231xx-vbi.c pipe = usb_rcvbulkpipe(dev->udev, dev->vbi_mode.end_point_addr); pipe 452 drivers/media/usb/cx231xx/cx231xx-vbi.c usb_fill_bulk_urb(urb, dev->udev, pipe, pipe 15 drivers/media/usb/dvb-usb-v2/ce6230.c unsigned int pipe; pipe 53 drivers/media/usb/dvb-usb-v2/ce6230.c pipe = usb_sndctrlpipe(d->udev, 0); pipe 56 drivers/media/usb/dvb-usb-v2/ce6230.c pipe = usb_rcvctrlpipe(d->udev, 0); pipe 61 drivers/media/usb/dvb-usb-v2/ce6230.c ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, pipe 17 drivers/media/usb/dvb-usb-v2/ec168.c unsigned int pipe; pipe 65 drivers/media/usb/dvb-usb-v2/ec168.c pipe = usb_sndctrlpipe(d->udev, 0); pipe 68 drivers/media/usb/dvb-usb-v2/ec168.c pipe = usb_rcvctrlpipe(d->udev, 0); pipe 73 drivers/media/usb/dvb-usb-v2/ec168.c ret = usb_control_msg(d->udev, pipe, request, requesttype, req->value, pipe 391 drivers/media/usb/dvb-usb-v2/lmedm04.c ep = usb_pipe_endpoint(d->udev, lme_int->lme_urb->pipe); pipe 394 drivers/media/usb/dvb-usb-v2/lmedm04.c lme_int->lme_urb->pipe = usb_rcvbulkpipe(d->udev, 0xa), pipe 21 drivers/media/usb/dvb-usb-v2/rtl28xxu.c unsigned int pipe; pipe 36 drivers/media/usb/dvb-usb-v2/rtl28xxu.c pipe = usb_sndctrlpipe(d->udev, 0); pipe 40 drivers/media/usb/dvb-usb-v2/rtl28xxu.c pipe = usb_rcvctrlpipe(d->udev, 0); pipe 43 drivers/media/usb/dvb-usb-v2/rtl28xxu.c ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, pipe 22 drivers/media/usb/dvb-usb-v2/usb_urb.c int ptype = usb_pipetype(urb->pipe); pipe 186 drivers/media/usb/dvb-usb-v2/usb_urb.c urb->pipe = usb_rcvisocpipe(stream->udev, pipe 840 drivers/media/usb/dvb-usb/cxusb-analog.c surb->pipe = usb_rcvisocpipe(dvbdev->udev, 2); pipe 813 drivers/media/usb/dvb-usb/dib0700_core.c unsigned int pipe = 0; pipe 844 drivers/media/usb/dvb-usb/dib0700_core.c pipe = usb_rcvbulkpipe(d->udev, rc_ep); pipe 845 drivers/media/usb/dvb-usb/dib0700_core.c usb_fill_bulk_urb(purb, d->udev, pipe, pipe 851 drivers/media/usb/dvb-usb/dib0700_core.c pipe = usb_rcvintpipe(d->udev, rc_ep); pipe 852 drivers/media/usb/dvb-usb/dib0700_core.c usb_fill_int_urb(purb, d->udev, pipe, pipe 859 drivers/media/usb/dvb-usb/dib0700_core.c if (!pipe) { pipe 94 drivers/media/usb/dvb-usb/dw2102.c unsigned int pipe = (flags == DW210X_READ_MSG) ? pipe 105 drivers/media/usb/dvb-usb/dw2102.c ret = usb_control_msg(dev, pipe, request, request_type | USB_TYPE_VENDOR, pipe 55 drivers/media/usb/dvb-usb/opera1.c unsigned int pipe = (flags == OPERA_READ_MSG) ? pipe 65 drivers/media/usb/dvb-usb/opera1.c ret = usb_control_msg(dev, pipe, request, pipe 18 drivers/media/usb/dvb-usb/usb-urb.c int ptype = usb_pipetype(urb->pipe); pipe 194 drivers/media/usb/dvb-usb/usb-urb.c urb->pipe = usb_rcvisocpipe(stream->udev,stream->props.endpoint); pipe 882 drivers/media/usb/em28xx/em28xx-audio.c urb->pipe = usb_rcvisocpipe(udev, EM28XX_EP_AUDIO); pipe 81 drivers/media/usb/em28xx/em28xx-core.c int pipe = usb_rcvctrlpipe(udev, 0); pipe 90 drivers/media/usb/em28xx/em28xx-core.c ret = usb_control_msg(udev, pipe, req, pipe 95 drivers/media/usb/em28xx/em28xx-core.c pipe, pipe 110 drivers/media/usb/em28xx/em28xx-core.c pipe, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, pipe 149 drivers/media/usb/em28xx/em28xx-core.c int pipe = usb_sndctrlpipe(udev, 0); pipe 159 drivers/media/usb/em28xx/em28xx-core.c ret = usb_control_msg(udev, pipe, req, pipe 166 drivers/media/usb/em28xx/em28xx-core.c pipe, pipe 175 drivers/media/usb/em28xx/em28xx-core.c pipe, pipe 891 drivers/media/usb/em28xx/em28xx-core.c int sb_size, pipe; pipe 973 drivers/media/usb/em28xx/em28xx-core.c pipe = usb_rcvbulkpipe(udev, pipe 977 drivers/media/usb/em28xx/em28xx-core.c usb_fill_bulk_urb(urb, udev, pipe, usb_bufs->buf[i], pipe 980 drivers/media/usb/em28xx/em28xx-core.c pipe = usb_rcvisocpipe(udev, pipe 984 drivers/media/usb/em28xx/em28xx-core.c usb_fill_int_urb(urb, udev, pipe, usb_bufs->buf[i], pipe 1040 drivers/media/usb/em28xx/em28xx-core.c rc = usb_clear_halt(udev, usb_bufs->urb[0]->pipe); pipe 160 drivers/media/usb/em28xx/em28xx-dvb.c xfer_bulk = usb_pipebulk(urb->pipe); pipe 804 drivers/media/usb/em28xx/em28xx-video.c xfer_bulk = usb_pipebulk(urb->pipe); pipe 882 drivers/media/usb/go7007/go7007-usb.c int transferred, pipe; pipe 888 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 2); pipe 890 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 3); pipe 892 drivers/media/usb/go7007/go7007-usb.c return usb_bulk_msg(usb->usbdev, pipe, data, len, pipe 100 drivers/media/usb/gspca/benq.c urb->pipe = usb_rcvisocpipe(gspca_dev->dev, pipe 400 drivers/media/usb/gspca/cpia1.c unsigned int pipe; pipe 406 drivers/media/usb/gspca/cpia1.c pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); pipe 409 drivers/media/usb/gspca/cpia1.c pipe = usb_sndctrlpipe(gspca_dev->dev, 0); pipe 418 drivers/media/usb/gspca/cpia1.c ret = usb_control_msg(gspca_dev->dev, pipe, pipe 109 drivers/media/usb/gspca/finepix.c urb->pipe, pipe 196 drivers/media/usb/gspca/finepix.c gspca_dev->urb[0]->pipe, pipe 213 drivers/media/usb/gspca/finepix.c usb_clear_halt(gspca_dev->dev, gspca_dev->urb[0]->pipe); pipe 713 drivers/media/usb/gspca/gspca.c urb->pipe = usb_rcvisocpipe(gspca_dev->dev, pipe 725 drivers/media/usb/gspca/gspca.c urb->pipe = usb_rcvbulkpipe(gspca_dev->dev, pipe 837 drivers/media/usb/gspca/gspca.c gspca_dev->urb[0]->pipe); pipe 336 drivers/media/usb/gspca/jeilinj.c gspca_dev->urb[0]->pipe, pipe 221 drivers/media/usb/gspca/konica.c urb->pipe = usb_rcvisocpipe(gspca_dev->dev, pipe 40 drivers/media/usb/gspca/stv0680.c unsigned int pipe = 0; pipe 45 drivers/media/usb/gspca/stv0680.c pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); pipe 49 drivers/media/usb/gspca/stv0680.c pipe = usb_sndctrlpipe(gspca_dev->dev, 0); pipe 53 drivers/media/usb/gspca/stv0680.c pipe = usb_rcvctrlpipe(gspca_dev->dev, 0); pipe 57 drivers/media/usb/gspca/stv0680.c pipe = usb_sndctrlpipe(gspca_dev->dev, 0); pipe 61 drivers/media/usb/gspca/stv0680.c ret = usb_control_msg(gspca_dev->dev, pipe, pipe 1416 drivers/media/usb/gspca/xirlink_cit.c usb_clear_halt(gspca_dev->dev, gspca_dev->urb[0]->pipe); pipe 1422 drivers/media/usb/gspca/xirlink_cit.c usb_clear_halt(gspca_dev->dev, gspca_dev->urb[0]->pipe); pipe 186 drivers/media/usb/hackrf/hackrf.c unsigned int pipe; pipe 195 drivers/media/usb/hackrf/hackrf.c pipe = usb_sndctrlpipe(dev->udev, 0); pipe 203 drivers/media/usb/hackrf/hackrf.c pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 216 drivers/media/usb/hackrf/hackrf.c ret = usb_control_msg(dev->udev, pipe, request, requesttype, value, pipe 669 drivers/media/usb/hackrf/hackrf.c unsigned int pipe; pipe 673 drivers/media/usb/hackrf/hackrf.c pipe = usb_rcvbulkpipe(dev->udev, 0x81); pipe 676 drivers/media/usb/hackrf/hackrf.c pipe = usb_sndbulkpipe(dev->udev, 0x02); pipe 691 drivers/media/usb/hackrf/hackrf.c pipe, pipe 504 drivers/media/usb/msi2500/msi2500.c urb->pipe = usb_rcvisocpipe(dev->udev, 0x81); pipe 1411 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int pipe; pipe 1437 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndctrlpipe(hdw->usb_dev, 0); pipe 1470 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret += usb_control_msg(hdw->usb_dev, pipe, 0xa0, 0x40, address, pipe 1505 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int pipe, fw_len, fw_done, bcnt, icnt; pipe 1586 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndbulkpipe(hdw->usb_dev, PVR2_FIRMWARE_ENDPOINT); pipe 1608 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt, pipe 3397 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int pipe; pipe 3435 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_rcvctrlpipe(hdw->usb_dev, 0); pipe 3438 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_control_msg(hdw->usb_dev,pipe, pipe 3961 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int pipe; pipe 3980 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pipe = usb_sndctrlpipe(hdw->usb_dev, 0); pipe 3981 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = usb_control_msg(hdw->usb_dev,pipe,0xa0,0x40,0xe600,0,da,1,HZ); pipe 453 drivers/media/usb/pwc/pwc-if.c urb->pipe = usb_rcvisocpipe(udev, pdev->vendpoint); pipe 259 drivers/media/usb/s2255/s2255drv.c struct s2255_pipeinfo pipe; pipe 891 drivers/media/usb/s2255/s2255drv.c int pipe; pipe 895 drivers/media/usb/s2255/s2255drv.c pipe = usb_sndbulkpipe(udev, S2255_CONFIG_EP); pipe 896 drivers/media/usb/s2255/s2255drv.c retval = usb_bulk_msg(udev, pipe, pbuf, size, &done, 500); pipe 1973 drivers/media/usb/s2255/s2255drv.c struct s2255_pipeinfo *pipe = &dev->pipe; pipe 1975 drivers/media/usb/s2255/s2255drv.c memset(pipe, 0, sizeof(*pipe)); pipe 1976 drivers/media/usb/s2255/s2255drv.c pipe->dev = dev; pipe 1977 drivers/media/usb/s2255/s2255drv.c pipe->cur_transfer_size = S2255_USB_XFER_SIZE; pipe 1978 drivers/media/usb/s2255/s2255drv.c pipe->max_transfer_size = S2255_USB_XFER_SIZE; pipe 1980 drivers/media/usb/s2255/s2255drv.c pipe->transfer_buffer = kzalloc(pipe->max_transfer_size, pipe 1982 drivers/media/usb/s2255/s2255drv.c if (pipe->transfer_buffer == NULL) { pipe 2031 drivers/media/usb/s2255/s2255drv.c kfree(dev->pipe.transfer_buffer); pipe 2040 drivers/media/usb/s2255/s2255drv.c int pipe; pipe 2071 drivers/media/usb/s2255/s2255drv.c pipe = usb_rcvbulkpipe(dev->udev, dev->read_endpoint); pipe 2074 drivers/media/usb/s2255/s2255drv.c pipe, pipe 2090 drivers/media/usb/s2255/s2255drv.c int pipe; pipe 2092 drivers/media/usb/s2255/s2255drv.c struct s2255_pipeinfo *pipe_info = &dev->pipe; pipe 2093 drivers/media/usb/s2255/s2255drv.c pipe = usb_rcvbulkpipe(dev->udev, dev->read_endpoint); pipe 2102 drivers/media/usb/s2255/s2255drv.c pipe, pipe 2171 drivers/media/usb/s2255/s2255drv.c struct s2255_pipeinfo *pipe = &dev->pipe; pipe 2173 drivers/media/usb/s2255/s2255drv.c pipe->state = 0; pipe 2174 drivers/media/usb/s2255/s2255drv.c if (pipe->stream_urb) { pipe 2176 drivers/media/usb/s2255/s2255drv.c usb_kill_urb(pipe->stream_urb); pipe 2177 drivers/media/usb/s2255/s2255drv.c usb_free_urb(pipe->stream_urb); pipe 2178 drivers/media/usb/s2255/s2255drv.c pipe->stream_urb = NULL; pipe 58 drivers/media/usb/stk1160/stk1160-core.c int pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 66 drivers/media/usb/stk1160/stk1160-core.c ret = usb_control_msg(dev->udev, pipe, 0x00, pipe 84 drivers/media/usb/stk1160/stk1160-core.c int pipe = usb_sndctrlpipe(dev->udev, 0); pipe 86 drivers/media/usb/stk1160/stk1160-core.c ret = usb_control_msg(dev->udev, pipe, 0x01, pipe 475 drivers/media/usb/stk1160/stk1160-video.c urb->pipe = usb_rcvisocpipe(dev->udev, STK1160_EP_VIDEO); pipe 467 drivers/media/usb/stkwebcam/stk-webcam.c urb->pipe = usb_rcvisocpipe(udev, dev->isoc_ep); pipe 25 drivers/media/usb/tm6000/tm6000-core.c unsigned int pipe; pipe 38 drivers/media/usb/tm6000/tm6000-core.c pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 40 drivers/media/usb/tm6000/tm6000-core.c pipe = usb_sndctrlpipe(dev->udev, 0); pipe 45 drivers/media/usb/tm6000/tm6000-core.c printk(KERN_DEBUG "(dev %p, pipe %08x): ", dev->udev, pipe); pipe 60 drivers/media/usb/tm6000/tm6000-core.c ret = usb_control_msg(dev->udev, pipe, req, req_type, value, index, pipe 108 drivers/media/usb/tm6000/tm6000-dvb.c unsigned int pipe, size; pipe 122 drivers/media/usb/tm6000/tm6000-dvb.c pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress pipe 125 drivers/media/usb/tm6000/tm6000-dvb.c size = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe)); pipe 135 drivers/media/usb/tm6000/tm6000-dvb.c usb_fill_bulk_urb(dvb->bulk_urb, dev->udev, pipe, pipe 140 drivers/media/usb/tm6000/tm6000-dvb.c ret = usb_clear_halt(dev->udev, pipe); pipe 326 drivers/media/usb/tm6000/tm6000-input.c int pipe, size; pipe 339 drivers/media/usb/tm6000/tm6000-input.c pipe = usb_rcvintpipe(dev->udev, pipe 343 drivers/media/usb/tm6000/tm6000-input.c size = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe)); pipe 353 drivers/media/usb/tm6000/tm6000-input.c usb_fill_int_urb(ir->int_urb, dev->udev, pipe, pipe 552 drivers/media/usb/tm6000/tm6000-video.c int i, j, sb_size, pipe, size, max_packets; pipe 568 drivers/media/usb/tm6000/tm6000-video.c pipe = usb_rcvisocpipe(dev->udev, pipe 572 drivers/media/usb/tm6000/tm6000-video.c size = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe)); pipe 626 drivers/media/usb/tm6000/tm6000-video.c usb_fill_bulk_urb(urb, dev->udev, pipe, pipe 848 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c urb->pipe = ttusb->isoc_in_pipe; pipe 854 drivers/media/usb/ttusb-dec/ttusb_dec.c urb->pipe = dec->in_pipe; pipe 198 drivers/media/usb/usbtv/usbtv-audio.c unsigned int pipe; pipe 228 drivers/media/usb/usbtv/usbtv-audio.c pipe = usb_rcvbulkpipe(chip->udev, USBTV_AUDIO_ENDP); pipe 235 drivers/media/usb/usbtv/usbtv-audio.c usb_fill_bulk_urb(chip->snd_bulk_urb, chip->udev, pipe, pipe 242 drivers/media/usb/usbtv/usbtv-audio.c usb_clear_halt(chip->udev, pipe); pipe 50 drivers/media/usb/usbtv/usbtv-core.c int pipe = usb_rcvctrlpipe(usbtv->udev, 0); pipe 57 drivers/media/usb/usbtv/usbtv-core.c ret = usb_control_msg(usbtv->udev, pipe, USBTV_REQUEST_REG, pipe 507 drivers/media/usb/usbtv/usbtv-video.c ip->pipe = usb_rcvisocpipe(usbtv->udev, USBTV_VIDEO_ENDP); pipe 2300 drivers/media/usb/usbvision/usbvision-core.c urb->pipe = usb_rcvisocpipe(dev, usbvision->video_endp); pipe 255 drivers/media/usb/uvc/uvc_status.c unsigned int pipe; pipe 273 drivers/media/usb/uvc/uvc_status.c pipe = usb_rcvintpipe(dev->udev, ep->desc.bEndpointAddress); pipe 283 drivers/media/usb/uvc/uvc_status.c usb_fill_int_urb(dev->int_urb, dev->udev, pipe, pipe 33 drivers/media/usb/uvc/uvc_video.c unsigned int pipe; pipe 35 drivers/media/usb/uvc/uvc_video.c pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) pipe 39 drivers/media/usb/uvc/uvc_video.c return usb_control_msg(dev->udev, pipe, query, type, cs << 8, pipe 1729 drivers/media/usb/uvc/uvc_video.c urb->pipe = usb_rcvisocpipe(stream->dev->udev, pipe 1763 drivers/media/usb/uvc/uvc_video.c unsigned int npackets, pipe; pipe 1778 drivers/media/usb/uvc/uvc_video.c pipe = usb_rcvbulkpipe(stream->dev->udev, pipe 1781 drivers/media/usb/uvc/uvc_video.c pipe = usb_sndbulkpipe(stream->dev->udev, pipe 1794 drivers/media/usb/uvc/uvc_video.c usb_fill_bulk_urb(urb, stream->dev->udev, pipe, uvc_urb->buffer, pipe 2123 drivers/media/usb/uvc/uvc_video.c unsigned int pipe; pipe 2125 drivers/media/usb/uvc/uvc_video.c pipe = usb_sndbulkpipe(stream->dev->udev, epnum) | dir; pipe 2126 drivers/media/usb/uvc/uvc_video.c usb_clear_halt(stream->dev->udev, pipe); pipe 178 drivers/media/usb/zr364xx/zr364xx.c struct zr364xx_pipeinfo pipe[1]; pipe 957 drivers/media/usb/zr364xx/zr364xx.c int pipe; pipe 996 drivers/media/usb/zr364xx/zr364xx.c pipe = usb_rcvbulkpipe(cam->udev, cam->read_endpoint); pipe 1000 drivers/media/usb/zr364xx/zr364xx.c pipe, pipe 1019 drivers/media/usb/zr364xx/zr364xx.c int pipe; pipe 1021 drivers/media/usb/zr364xx/zr364xx.c struct zr364xx_pipeinfo *pipe_info = cam->pipe; pipe 1022 drivers/media/usb/zr364xx/zr364xx.c pipe = usb_rcvbulkpipe(cam->udev, cam->read_endpoint); pipe 1032 drivers/media/usb/zr364xx/zr364xx.c pipe, pipe 1056 drivers/media/usb/zr364xx/zr364xx.c pipe_info = cam->pipe; pipe 1210 drivers/media/usb/zr364xx/zr364xx.c kfree(cam->pipe->transfer_buffer); pipe 1331 drivers/media/usb/zr364xx/zr364xx.c struct zr364xx_pipeinfo *pipe = cam->pipe; pipe 1335 drivers/media/usb/zr364xx/zr364xx.c memset(pipe, 0, sizeof(*pipe)); pipe 1336 drivers/media/usb/zr364xx/zr364xx.c pipe->cam = cam; pipe 1337 drivers/media/usb/zr364xx/zr364xx.c pipe->transfer_size = BUFFER_SIZE; pipe 1339 drivers/media/usb/zr364xx/zr364xx.c pipe->transfer_buffer = kzalloc(pipe->transfer_size, pipe 1341 drivers/media/usb/zr364xx/zr364xx.c if (!pipe->transfer_buffer) { pipe 1365 drivers/media/usb/zr364xx/zr364xx.c kfree(cam->pipe->transfer_buffer); pipe 1366 drivers/media/usb/zr364xx/zr364xx.c cam->pipe->transfer_buffer = NULL; pipe 280 drivers/media/v4l2-core/v4l2-mc.c err = mdev->enable_source(&vdev->entity, &vdev->pipe); pipe 238 drivers/memstick/host/rtsx_usb_ms.c unsigned int pipe; pipe 252 drivers/memstick/host/rtsx_usb_ms.c pipe = usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN); pipe 260 drivers/memstick/host/rtsx_usb_ms.c pipe = usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT); pipe 296 drivers/memstick/host/rtsx_usb_ms.c err = rtsx_usb_transfer_data(ucr, pipe, sg, length, pipe 53 drivers/mfd/viperboard.c int pipe, ret; pipe 69 drivers/mfd/viperboard.c pipe = usb_rcvctrlpipe(vb->usb_dev, 0); pipe 70 drivers/mfd/viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, pipe 76 drivers/mfd/viperboard.c ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MINOR, pipe 41 drivers/misc/cardreader/rtsx_usb.c unsigned int pipe, struct scatterlist *sg, int num_sg, pipe 48 drivers/misc/cardreader/rtsx_usb.c ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, pipe 67 drivers/misc/cardreader/rtsx_usb.c int rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe, pipe 75 drivers/misc/cardreader/rtsx_usb.c return rtsx_usb_bulk_transfer_sglist(ucr, pipe, pipe 79 drivers/misc/cardreader/rtsx_usb.c return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, pipe 458 drivers/mmc/host/rtsx_usb_sdmmc.c unsigned int pipe; pipe 517 drivers/mmc/host/rtsx_usb_sdmmc.c pipe = usb_rcvbulkpipe(ucr->pusb_dev, EP_BULK_IN); pipe 519 drivers/mmc/host/rtsx_usb_sdmmc.c pipe = usb_sndbulkpipe(ucr->pusb_dev, EP_BULK_OUT); pipe 521 drivers/mmc/host/rtsx_usb_sdmmc.c err = rtsx_usb_transfer_data(ucr, pipe, data->sg, data_len, pipe 291 drivers/mmc/host/ushc.c int pipe; pipe 294 drivers/mmc/host/ushc.c pipe = usb_rcvbulkpipe(ushc->usb_dev, 6); pipe 296 drivers/mmc/host/ushc.c pipe = usb_sndbulkpipe(ushc->usb_dev, 2); pipe 298 drivers/mmc/host/ushc.c usb_fill_bulk_urb(ushc->data_urb, ushc->usb_dev, pipe, pipe 462 drivers/mmc/host/vub300.c unsigned int pipe = pipe 464 drivers/mmc/host/vub300.c usb_fill_bulk_urb(vub300->command_res_urb, vub300->udev, pipe, pipe 827 drivers/mmc/host/vub300.c unsigned int pipe = pipe 829 drivers/mmc/host/vub300.c usb_fill_bulk_urb(vub300->command_res_urb, vub300->udev, pipe, pipe 1398 drivers/mmc/host/vub300.c unsigned int pipe, void *data, int len, pipe 1408 drivers/mmc/host/vub300.c usb_fill_bulk_urb(vub300->urb, usb_dev, pipe, data, len, pipe 1440 drivers/mmc/host/vub300.c unsigned pipe; pipe 1441 drivers/mmc/host/vub300.c pipe = usb_rcvbulkpipe(vub300->udev, vub300->data_inp_ep); pipe 1443 drivers/mmc/host/vub300.c pipe, 0, data->sg, pipe 1471 drivers/mmc/host/vub300.c unsigned pipe = usb_rcvbulkpipe(vub300->udev, pipe 1474 drivers/mmc/host/vub300.c result = vub300_usb_bulk_msg(vub300, pipe, buf, pipe 1506 drivers/mmc/host/vub300.c unsigned pipe = usb_sndbulkpipe(vub300->udev, vub300->data_out_ep); pipe 1518 drivers/mmc/host/vub300.c result = vub300_usb_bulk_msg(vub300, pipe, vub300->padded_buffer, pipe 1542 drivers/mmc/host/vub300.c vub300_usb_bulk_msg(vub300, pipe, buf, pipe 1561 drivers/mmc/host/vub300.c pipe, 0, data->sg, pipe 83 drivers/net/ieee802154/atusb.c static int atusb_control_msg(struct atusb *atusb, unsigned int pipe, pipe 94 drivers/net/ieee802154/atusb.c ret = usb_control_msg(usb_dev, pipe, request, requesttype, pipe 484 drivers/net/usb/catc.c urb->pipe = q->dir ? usb_rcvctrlpipe(usbdev, 0) : usb_sndctrlpipe(usbdev, 0); pipe 1757 drivers/net/usb/hso.c int pipe; pipe 1776 drivers/net/usb/hso.c pipe = usb_rcvctrlpipe(serial->parent->usb, 0); pipe 1783 drivers/net/usb/hso.c pipe = usb_sndctrlpipe(serial->parent->usb, 0); pipe 1794 drivers/net/usb/hso.c pipe, pipe 107 drivers/net/usb/kaweth.c unsigned int pipe, pipe 242 drivers/net/usb/kaweth.c unsigned int pipe, pipe 270 drivers/net/usb/kaweth.c pipe, pipe 1259 drivers/net/usb/kaweth.c unsigned int pipe, pipe 1271 drivers/net/usb/kaweth.c usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char*)cmd, data, pipe 206 drivers/net/usb/usbnet.c unsigned pipe = 0; pipe 213 drivers/net/usb/usbnet.c pipe = usb_rcvintpipe (dev->udev, pipe 216 drivers/net/usb/usbnet.c maxp = usb_maxpacket (dev->udev, pipe, 0); pipe 229 drivers/net/usb/usbnet.c usb_fill_int_urb(dev->interrupt, dev->udev, pipe, pipe 234 drivers/net/usb/usbnet.c usb_pipeendpoint(pipe), maxp, period); pipe 96 drivers/net/wimax/i2400m/usb-fw.c int pipe, do_autopm = 1; pipe 104 drivers/net/wimax/i2400m/usb-fw.c pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); pipe 106 drivers/net/wimax/i2400m/usb-fw.c result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, 200); pipe 134 drivers/net/wimax/i2400m/usb-fw.c usb_clear_halt(i2400mu->usb_dev, pipe); pipe 250 drivers/net/wimax/i2400m/usb-fw.c int pipe; pipe 254 drivers/net/wimax/i2400m/usb-fw.c pipe = usb_rcvintpipe(i2400mu->usb_dev, epd->bEndpointAddress); pipe 255 drivers/net/wimax/i2400m/usb-fw.c usb_fill_int_urb(urb, i2400mu->usb_dev, pipe, pipe 147 drivers/net/wimax/i2400m/usb.c int pipe, actual_len, ret; pipe 162 drivers/net/wimax/i2400m/usb.c pipe = usb_sndbulkpipe(i2400mu->usb_dev, epd->bEndpointAddress); pipe 165 drivers/net/wimax/i2400m/usb.c ret = usb_bulk_msg(i2400mu->usb_dev, pipe, buffer, barker_size, pipe 194 drivers/net/wimax/i2400m/usb.c usb_clear_halt(i2400mu->usb_dev, pipe); pipe 638 drivers/net/wireless/ath/ath10k/ce.c void __ath10k_ce_send_revert(struct ath10k_ce_pipe *pipe) pipe 640 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 642 drivers/net/wireless/ath/ath10k/ce.c struct ath10k_ce_ring *src_ring = pipe->src_ring; pipe 643 drivers/net/wireless/ath/ath10k/ce.c u32 ctrl_addr = pipe->ctrl_addr; pipe 686 drivers/net/wireless/ath/ath10k/ce.c int ath10k_ce_num_free_src_entries(struct ath10k_ce_pipe *pipe) pipe 688 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 693 drivers/net/wireless/ath/ath10k/ce.c delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, pipe 694 drivers/net/wireless/ath/ath10k/ce.c pipe->src_ring->write_index, pipe 695 drivers/net/wireless/ath/ath10k/ce.c pipe->src_ring->sw_index - 1); pipe 702 drivers/net/wireless/ath/ath10k/ce.c int __ath10k_ce_rx_num_free_bufs(struct ath10k_ce_pipe *pipe) pipe 704 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 706 drivers/net/wireless/ath/ath10k/ce.c struct ath10k_ce_ring *dest_ring = pipe->dest_ring; pipe 717 drivers/net/wireless/ath/ath10k/ce.c static int __ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, pipe 720 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 722 drivers/net/wireless/ath/ath10k/ce.c struct ath10k_ce_ring *dest_ring = pipe->dest_ring; pipe 728 drivers/net/wireless/ath/ath10k/ce.c u32 ctrl_addr = pipe->ctrl_addr; pipe 732 drivers/net/wireless/ath/ath10k/ce.c if ((pipe->id != 5) && pipe 747 drivers/net/wireless/ath/ath10k/ce.c static int __ath10k_ce_rx_post_buf_64(struct ath10k_ce_pipe *pipe, pipe 751 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 753 drivers/net/wireless/ath/ath10k/ce.c struct ath10k_ce_ring *dest_ring = pipe->dest_ring; pipe 760 drivers/net/wireless/ath/ath10k/ce.c u32 ctrl_addr = pipe->ctrl_addr; pipe 780 drivers/net/wireless/ath/ath10k/ce.c void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) pipe 782 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 783 drivers/net/wireless/ath/ath10k/ce.c struct ath10k_ce_ring *dest_ring = pipe->dest_ring; pipe 786 drivers/net/wireless/ath/ath10k/ce.c u32 ctrl_addr = pipe->ctrl_addr; pipe 801 drivers/net/wireless/ath/ath10k/ce.c int ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, pipe 804 drivers/net/wireless/ath/ath10k/ce.c struct ath10k *ar = pipe->ar; pipe 809 drivers/net/wireless/ath/ath10k/ce.c ret = pipe->ops->ce_rx_post_buf(pipe, ctx, paddr); pipe 189 drivers/net/wireless/ath/ath10k/ce.h void __ath10k_ce_send_revert(struct ath10k_ce_pipe *pipe); pipe 191 drivers/net/wireless/ath/ath10k/ce.h int ath10k_ce_num_free_src_entries(struct ath10k_ce_pipe *pipe); pipe 195 drivers/net/wireless/ath/ath10k/ce.h int __ath10k_ce_rx_num_free_bufs(struct ath10k_ce_pipe *pipe); pipe 196 drivers/net/wireless/ath/ath10k/ce.h int ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, pipe 198 drivers/net/wireless/ath/ath10k/ce.h void ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries); pipe 309 drivers/net/wireless/ath/ath10k/ce.h int (*ce_rx_post_buf)(struct ath10k_ce_pipe *pipe, void *ctx, pipe 322 drivers/net/wireless/ath/ath10k/ce.h int (*ce_send_nolock)(struct ath10k_ce_pipe *pipe, pipe 764 drivers/net/wireless/ath/ath10k/pci.c static int __ath10k_pci_rx_post_buf(struct ath10k_pci_pipe *pipe) pipe 766 drivers/net/wireless/ath/ath10k/pci.c struct ath10k *ar = pipe->hif_ce_state; pipe 768 drivers/net/wireless/ath/ath10k/pci.c struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; pipe 773 drivers/net/wireless/ath/ath10k/pci.c skb = dev_alloc_skb(pipe->buf_sz); pipe 803 drivers/net/wireless/ath/ath10k/pci.c static void ath10k_pci_rx_post_pipe(struct ath10k_pci_pipe *pipe) pipe 805 drivers/net/wireless/ath/ath10k/pci.c struct ath10k *ar = pipe->hif_ce_state; pipe 808 drivers/net/wireless/ath/ath10k/pci.c struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; pipe 811 drivers/net/wireless/ath/ath10k/pci.c if (pipe->buf_sz == 0) pipe 822 drivers/net/wireless/ath/ath10k/pci.c ret = __ath10k_pci_rx_post_buf(pipe); pipe 1425 drivers/net/wireless/ath/ath10k/pci.c u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) pipe 1431 drivers/net/wireless/ath/ath10k/pci.c return ath10k_ce_num_free_src_entries(ar_pci->pipe_info[pipe].ce_hdl); pipe 1787 drivers/net/wireless/ath/ath10k/pci.c void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, pipe 1801 drivers/net/wireless/ath/ath10k/pci.c resources = ath10k_pci_hif_get_free_queue_number(ar, pipe); pipe 1807 drivers/net/wireless/ath/ath10k/pci.c if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1)) pipe 1810 drivers/net/wireless/ath/ath10k/pci.c ath10k_ce_per_engine_service(ar, pipe); pipe 2483 drivers/net/wireless/ath/ath10k/pci.c struct ath10k_pci_pipe *pipe; pipe 2488 drivers/net/wireless/ath/ath10k/pci.c pipe = &ar_pci->pipe_info[i]; pipe 2489 drivers/net/wireless/ath/ath10k/pci.c pipe->ce_hdl = &ce->ce_states[i]; pipe 2490 drivers/net/wireless/ath/ath10k/pci.c pipe->pipe_num = i; pipe 2491 drivers/net/wireless/ath/ath10k/pci.c pipe->hif_ce_state = ar; pipe 2502 drivers/net/wireless/ath/ath10k/pci.c ar_pci->ce_diag = pipe->ce_hdl; pipe 2506 drivers/net/wireless/ath/ath10k/pci.c pipe->buf_sz = (size_t)(host_ce_config_wlan[i].src_sz_max); pipe 227 drivers/net/wireless/ath/ath10k/pci.h void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, pipe 229 drivers/net/wireless/ath/ath10k/pci.h u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe); pipe 1934 drivers/net/wireless/ath/ath10k/sdio.c u8 pipe, int force) pipe 484 drivers/net/wireless/ath/ath10k/snoc.c static int __ath10k_snoc_rx_post_buf(struct ath10k_snoc_pipe *pipe) pipe 486 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; pipe 487 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k *ar = pipe->hif_ce_state; pipe 493 drivers/net/wireless/ath/ath10k/snoc.c skb = dev_alloc_skb(pipe->buf_sz); pipe 523 drivers/net/wireless/ath/ath10k/snoc.c static void ath10k_snoc_rx_post_pipe(struct ath10k_snoc_pipe *pipe) pipe 525 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k *ar = pipe->hif_ce_state; pipe 528 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k_ce_pipe *ce_pipe = pipe->ce_hdl; pipe 531 drivers/net/wireless/ath/ath10k/snoc.c if (pipe->buf_sz == 0) pipe 541 drivers/net/wireless/ath/ath10k/snoc.c ret = __ath10k_snoc_rx_post_buf(pipe); pipe 741 drivers/net/wireless/ath/ath10k/snoc.c static u16 ath10k_snoc_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) pipe 747 drivers/net/wireless/ath/ath10k/snoc.c return ath10k_ce_num_free_src_entries(ar_snoc->pipe_info[pipe].ce_hdl); pipe 750 drivers/net/wireless/ath/ath10k/snoc.c static void ath10k_snoc_hif_send_complete_check(struct ath10k *ar, u8 pipe, pipe 758 drivers/net/wireless/ath/ath10k/snoc.c resources = ath10k_snoc_hif_get_free_queue_number(ar, pipe); pipe 760 drivers/net/wireless/ath/ath10k/snoc.c if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1)) pipe 763 drivers/net/wireless/ath/ath10k/snoc.c ath10k_ce_per_engine_service(ar, pipe); pipe 1315 drivers/net/wireless/ath/ath10k/snoc.c struct ath10k_snoc_pipe *pipe; pipe 1321 drivers/net/wireless/ath/ath10k/snoc.c pipe = &ar_snoc->pipe_info[i]; pipe 1322 drivers/net/wireless/ath/ath10k/snoc.c pipe->ce_hdl = &ce->ce_states[i]; pipe 1323 drivers/net/wireless/ath/ath10k/snoc.c pipe->pipe_num = i; pipe 1324 drivers/net/wireless/ath/ath10k/snoc.c pipe->hif_ce_state = ar; pipe 1333 drivers/net/wireless/ath/ath10k/snoc.c pipe->buf_sz = host_ce_config_wlan[i].src_sz_max; pipe 36 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_alloc_urb_from_pipe(struct ath10k_usb_pipe *pipe) pipe 42 drivers/net/wireless/ath/ath10k/usb.c if (!pipe->ar_usb) pipe 45 drivers/net/wireless/ath/ath10k/usb.c spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); pipe 46 drivers/net/wireless/ath/ath10k/usb.c if (!list_empty(&pipe->urb_list_head)) { pipe 47 drivers/net/wireless/ath/ath10k/usb.c urb_context = list_first_entry(&pipe->urb_list_head, pipe 50 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_cnt--; pipe 52 drivers/net/wireless/ath/ath10k/usb.c spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); pipe 57 drivers/net/wireless/ath/ath10k/usb.c static void ath10k_usb_free_urb_to_pipe(struct ath10k_usb_pipe *pipe, pipe 63 drivers/net/wireless/ath/ath10k/usb.c if (!pipe->ar_usb) pipe 66 drivers/net/wireless/ath/ath10k/usb.c spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); pipe 68 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_cnt++; pipe 69 drivers/net/wireless/ath/ath10k/usb.c list_add(&urb_context->link, &pipe->urb_list_head); pipe 71 drivers/net/wireless/ath/ath10k/usb.c spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); pipe 79 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_free_urb_to_pipe(urb_context->pipe, urb_context); pipe 83 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe) pipe 87 drivers/net/wireless/ath/ath10k/usb.c if (!pipe->ar_usb) { pipe 94 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 95 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_alloc, pipe->urb_cnt); pipe 97 drivers/net/wireless/ath/ath10k/usb.c if (pipe->urb_alloc != pipe->urb_cnt) { pipe 100 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 101 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_alloc, pipe->urb_cnt); pipe 105 drivers/net/wireless/ath/ath10k/usb.c urb_context = ath10k_usb_alloc_urb_from_pipe(pipe); pipe 128 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe = urb_context->pipe; pipe 129 drivers/net/wireless/ath/ath10k/usb.c struct ath10k *ar = pipe->ar_usb->ar; pipe 135 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, urb->status, urb->actual_length, pipe 152 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, pipe 153 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address, urb->status); pipe 169 drivers/net/wireless/ath/ath10k/usb.c skb_queue_tail(&pipe->io_comp_queue, skb); pipe 170 drivers/net/wireless/ath/ath10k/usb.c schedule_work(&pipe->io_complete_work); pipe 176 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_cnt >= pipe->urb_cnt_thresh) { pipe 178 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_post_recv_transfers(ar, pipe); pipe 185 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe = urb_context->pipe; pipe 186 drivers/net/wireless/ath/ath10k/usb.c struct ath10k *ar = pipe->ar_usb->ar; pipe 192 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, urb->status); pipe 197 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_free_urb_to_pipe(urb_context->pipe, urb_context); pipe 200 drivers/net/wireless/ath/ath10k/usb.c skb_queue_tail(&pipe->io_comp_queue, skb); pipe 201 drivers/net/wireless/ath/ath10k/usb.c schedule_work(&pipe->io_complete_work); pipe 356 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe = container_of(work, pipe 359 drivers/net/wireless/ath/ath10k/usb.c struct ath10k *ar = pipe->ar_usb->ar; pipe 362 drivers/net/wireless/ath/ath10k/usb.c while ((skb = skb_dequeue(&pipe->io_comp_queue))) { pipe 363 drivers/net/wireless/ath/ath10k/usb.c if (pipe->flags & ATH10K_USB_PIPE_FLAG_TX) pipe 406 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe = &ar_usb->pipes[pipe_id]; pipe 413 drivers/net/wireless/ath/ath10k/usb.c urb_context = ath10k_usb_alloc_urb_from_pipe(pipe); pipe 430 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle, pipe 435 drivers/net/wireless/ath/ath10k/usb.c if (!(skb->len % pipe->max_packet_size)) { pipe 440 drivers/net/wireless/ath/ath10k/usb.c usb_anchor_urb(urb, &pipe->urb_submitted); pipe 457 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_free_urb_to_pipe(urb_context->pipe, urb_context); pipe 703 drivers/net/wireless/ath/ath10k/usb.c u8 pipe, int force) pipe 796 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe, pipe 802 drivers/net/wireless/ath/ath10k/usb.c INIT_LIST_HEAD(&pipe->urb_list_head); pipe 803 drivers/net/wireless/ath/ath10k/usb.c init_usb_anchor(&pipe->urb_submitted); pipe 810 drivers/net/wireless/ath/ath10k/usb.c urb_context->pipe = pipe; pipe 815 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_alloc++; pipe 816 drivers/net/wireless/ath/ath10k/usb.c ath10k_usb_free_urb_to_pipe(pipe, urb_context); pipe 821 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 822 drivers/net/wireless/ath/ath10k/usb.c pipe->urb_alloc); pipe 833 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe; pipe 876 drivers/net/wireless/ath/ath10k/usb.c pipe = &ar_usb->pipes[pipe_num]; pipe 877 drivers/net/wireless/ath/ath10k/usb.c if (pipe->ar_usb) pipe 881 drivers/net/wireless/ath/ath10k/usb.c pipe->ar_usb = ar_usb; pipe 882 drivers/net/wireless/ath/ath10k/usb.c pipe->logical_pipe_num = pipe_num; pipe 883 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address = endpoint->bEndpointAddress; pipe 884 drivers/net/wireless/ath/ath10k/usb.c pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); pipe 887 drivers/net/wireless/ath/ath10k/usb.c if (ATH10K_USB_IS_DIR_IN(pipe->ep_address)) { pipe 888 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 890 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 892 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 894 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 897 drivers/net/wireless/ath/ath10k/usb.c if (ATH10K_USB_IS_DIR_IN(pipe->ep_address)) { pipe 898 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 900 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 902 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 904 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 908 drivers/net/wireless/ath/ath10k/usb.c if (ATH10K_USB_IS_DIR_IN(pipe->ep_address)) { pipe 909 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 911 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 913 drivers/net/wireless/ath/ath10k/usb.c pipe->usb_pipe_handle = pipe 915 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_address); pipe 919 drivers/net/wireless/ath/ath10k/usb.c pipe->ep_desc = endpoint; pipe 921 drivers/net/wireless/ath/ath10k/usb.c if (!ATH10K_USB_IS_DIR_IN(pipe->ep_address)) pipe 922 drivers/net/wireless/ath/ath10k/usb.c pipe->flags |= ATH10K_USB_PIPE_FLAG_TX; pipe 924 drivers/net/wireless/ath/ath10k/usb.c ret = ath10k_usb_alloc_pipe_resources(ar, pipe, urbcount); pipe 937 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb_pipe *pipe; pipe 946 drivers/net/wireless/ath/ath10k/usb.c pipe = &ar_usb->pipes[i]; pipe 947 drivers/net/wireless/ath/ath10k/usb.c INIT_WORK(&pipe->io_complete_work, pipe 949 drivers/net/wireless/ath/ath10k/usb.c skb_queue_head_init(&pipe->io_comp_queue); pipe 107 drivers/net/wireless/ath/ath10k/usb.h struct ath10k_usb_pipe *pipe; pipe 60 drivers/net/wireless/ath/ath6kl/core.c void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) pipe 62 drivers/net/wireless/ath/ath6kl/core.c ath6kl_htc_rx_complete(ar, skb, pipe); pipe 977 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe); pipe 154 drivers/net/wireless/ath/ath6kl/hif-ops.h u8 pipe, struct sk_buff *hdr_buf, pipe 159 drivers/net/wireless/ath/ath6kl/hif-ops.h return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); pipe 180 drivers/net/wireless/ath/ath6kl/hif-ops.h u8 pipe) pipe 184 drivers/net/wireless/ath/ath6kl/hif-ops.h return ar->hif_ops->pipe_get_free_queue_number(ar, pipe); pipe 259 drivers/net/wireless/ath/ath6kl/hif.h int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf, pipe 264 drivers/net/wireless/ath/ath6kl/hif.h u16 (*pipe_get_free_queue_number)(struct ath6kl *ar, u8 pipe); pipe 107 drivers/net/wireless/ath/ath6kl/htc-ops.h struct sk_buff *skb, u8 pipe) pipe 109 drivers/net/wireless/ath/ath6kl/htc-ops.h ar->htc_ops->rx_complete(ar, skb, pipe); pipe 530 drivers/net/wireless/ath/ath6kl/htc.h } pipe; pipe 571 drivers/net/wireless/ath/ath6kl/htc.h int (*rx_complete)(struct ath6kl *ar, struct sk_buff *skb, u8 pipe); pipe 629 drivers/net/wireless/ath/ath6kl/htc.h } pipe; pipe 250 drivers/net/wireless/ath/ath6kl/htc_pipe.c list_add_tail(&packet->list, &ep->pipe.tx_lookup_queue); pipe 255 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->pipe.pipeid_ul, NULL, skb); pipe 410 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (!ep->pipe.tx_credit_flow_enabled) { pipe 413 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->pipe.pipeid_ul); pipe 454 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (ep->pipe.tx_credit_flow_enabled) { pipe 484 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (!ep->pipe.tx_credit_flow_enabled) { pipe 485 drivers/net/wireless/ath/ath6kl/htc_pipe.c pipeid = ep->pipe.pipeid_ul; pipe 561 drivers/net/wireless/ath/ath6kl/htc_pipe.c entry = &target->pipe.txcredit_alloc[0]; pipe 639 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.txcredit_alloc[i].service_id != 0) { pipe 643 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.txcredit_alloc[i]. pipe 645 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.txcredit_alloc[i]. pipe 726 drivers/net/wireless/ath/ath6kl/htc_pipe.c list_for_each_entry_safe(packet, tmp_pkt, &ep->pipe.tx_lookup_queue, pipe 768 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (!ep->pipe.tx_credit_flow_enabled) { pipe 818 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.htc_packet_pool == NULL) { pipe 823 drivers/net/wireless/ath/ath6kl/htc_pipe.c packet = target->pipe.htc_packet_pool; pipe 824 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.htc_packet_pool = (struct htc_packet *) packet->list.next; pipe 839 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.htc_packet_pool == NULL) { pipe 840 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.htc_packet_pool = packet; pipe 843 drivers/net/wireless/ath/ath6kl/htc_pipe.c lh = (struct list_head *) target->pipe.htc_packet_pool; pipe 845 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.htc_packet_pool = packet; pipe 1044 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_valid = true; pipe 1045 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_len = min_t(int, netlen, pipe 1047 drivers/net/wireless/ath/ath6kl/htc_pipe.c memcpy(target->pipe.ctrl_response_buf, netdata, pipe 1048 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_len); pipe 1139 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.ctrl_response_valid) { pipe 1140 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_valid = false; pipe 1184 drivers/net/wireless/ath/ath6kl/htc_pipe.c INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue); pipe 1187 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->pipe.tx_credit_flow_enabled = true; pipe 1204 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.txcredit_alloc[i].service_id == service_id) pipe 1206 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.txcredit_alloc[i].credit_alloc; pipe 1310 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_buf; pipe 1313 drivers/net/wireless/ath/ath6kl/htc_pipe.c (target->pipe.ctrl_response_len < sizeof(*resp_msg))) { pipe 1381 drivers/net/wireless/ath/ath6kl/htc_pipe.c &ep->pipe.pipeid_ul, pipe 1382 drivers/net/wireless/ath/ath6kl/htc_pipe.c &ep->pipe.pipeid_dl); pipe 1388 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->svc_id, ep->pipe.pipeid_ul, pipe 1389 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->pipe.pipeid_dl, ep->eid); pipe 1391 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (disable_credit_flowctrl && ep->pipe.tx_credit_flow_enabled) { pipe 1392 drivers/net/wireless/ath/ath6kl/htc_pipe.c ep->pipe.tx_credit_flow_enabled = false; pipe 1445 drivers/net/wireless/ath/ath6kl/htc_pipe.c ath6kl_hif_pipe_get_default(ar, &ep->pipe.pipeid_ul, pipe 1446 drivers/net/wireless/ath/ath6kl/htc_pipe.c &ep->pipe.pipeid_dl); pipe 1567 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (target->pipe.ctrl_response_len < sizeof(*ready_msg)) { pipe 1569 drivers/net/wireless/ath/ath6kl/htc_pipe.c target->pipe.ctrl_response_len); pipe 1573 drivers/net/wireless/ath/ath6kl/htc_pipe.c ready_msg = (struct htc_ready_ext_msg *) target->pipe.ctrl_response_buf; pipe 79 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe; pipe 130 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_alloc_urb_from_pipe(struct ath6kl_usb_pipe *pipe) pipe 136 drivers/net/wireless/ath/ath6kl/usb.c if (!pipe->ar_usb) pipe 139 drivers/net/wireless/ath/ath6kl/usb.c spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); pipe 140 drivers/net/wireless/ath/ath6kl/usb.c if (!list_empty(&pipe->urb_list_head)) { pipe 142 drivers/net/wireless/ath/ath6kl/usb.c list_first_entry(&pipe->urb_list_head, pipe 145 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_cnt--; pipe 147 drivers/net/wireless/ath/ath6kl/usb.c spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); pipe 152 drivers/net/wireless/ath/ath6kl/usb.c static void ath6kl_usb_free_urb_to_pipe(struct ath6kl_usb_pipe *pipe, pipe 158 drivers/net/wireless/ath/ath6kl/usb.c if (!pipe->ar_usb) pipe 161 drivers/net/wireless/ath/ath6kl/usb.c spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); pipe 162 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_cnt++; pipe 164 drivers/net/wireless/ath/ath6kl/usb.c list_add(&urb_context->link, &pipe->urb_list_head); pipe 165 drivers/net/wireless/ath/ath6kl/usb.c spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); pipe 173 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_free_urb_to_pipe(urb_context->pipe, urb_context); pipe 182 drivers/net/wireless/ath/ath6kl/usb.c static int ath6kl_usb_alloc_pipe_resources(struct ath6kl_usb_pipe *pipe, pipe 188 drivers/net/wireless/ath/ath6kl/usb.c INIT_LIST_HEAD(&pipe->urb_list_head); pipe 189 drivers/net/wireless/ath/ath6kl/usb.c init_usb_anchor(&pipe->urb_submitted); pipe 199 drivers/net/wireless/ath/ath6kl/usb.c urb_context->pipe = pipe; pipe 205 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_alloc++; pipe 206 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_free_urb_to_pipe(pipe, urb_context); pipe 211 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 212 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_alloc); pipe 218 drivers/net/wireless/ath/ath6kl/usb.c static void ath6kl_usb_free_pipe_resources(struct ath6kl_usb_pipe *pipe) pipe 222 drivers/net/wireless/ath/ath6kl/usb.c if (pipe->ar_usb == NULL) { pipe 230 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 231 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_alloc, pipe->urb_cnt); pipe 233 drivers/net/wireless/ath/ath6kl/usb.c if (pipe->urb_alloc != pipe->urb_cnt) { pipe 237 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 238 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_alloc, pipe->urb_cnt); pipe 242 drivers/net/wireless/ath/ath6kl/usb.c urb_context = ath6kl_usb_alloc_urb_from_pipe(pipe); pipe 308 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe; pipe 352 drivers/net/wireless/ath/ath6kl/usb.c pipe = &ar_usb->pipes[pipe_num]; pipe 353 drivers/net/wireless/ath/ath6kl/usb.c if (pipe->ar_usb != NULL) { pipe 358 drivers/net/wireless/ath/ath6kl/usb.c pipe->ar_usb = ar_usb; pipe 359 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num = pipe_num; pipe 360 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address = endpoint->bEndpointAddress; pipe 361 drivers/net/wireless/ath/ath6kl/usb.c pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); pipe 364 drivers/net/wireless/ath/ath6kl/usb.c if (ATH6KL_USB_IS_DIR_IN(pipe->ep_address)) { pipe 365 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 367 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 369 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 371 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 374 drivers/net/wireless/ath/ath6kl/usb.c if (ATH6KL_USB_IS_DIR_IN(pipe->ep_address)) { pipe 375 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 377 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 379 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 381 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 385 drivers/net/wireless/ath/ath6kl/usb.c if (ATH6KL_USB_IS_DIR_IN(pipe->ep_address)) { pipe 386 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 388 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 390 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle = pipe 392 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address); pipe 396 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_desc = endpoint; pipe 398 drivers/net/wireless/ath/ath6kl/usb.c if (!ATH6KL_USB_IS_DIR_IN(pipe->ep_address)) pipe 399 drivers/net/wireless/ath/ath6kl/usb.c pipe->flags |= ATH6KL_USB_PIPE_FLAG_TX; pipe 401 drivers/net/wireless/ath/ath6kl/usb.c status = ath6kl_usb_alloc_pipe_resources(pipe, urbcount); pipe 500 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe = urb_context->pipe; pipe 506 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num, urb->status, urb->actual_length, pipe 524 drivers/net/wireless/ath/ath6kl/usb.c __func__, pipe->logical_pipe_num, pipe 525 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address, urb->status); pipe 541 drivers/net/wireless/ath/ath6kl/usb.c skb_queue_tail(&pipe->io_comp_queue, skb); pipe 542 drivers/net/wireless/ath/ath6kl/usb.c schedule_work(&pipe->io_complete_work); pipe 548 drivers/net/wireless/ath/ath6kl/usb.c pipe->urb_cnt >= pipe->urb_cnt_thresh) { pipe 550 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_post_recv_transfers(pipe, ATH6KL_USB_RX_BUFFER_SIZE); pipe 557 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe = urb_context->pipe; pipe 562 drivers/net/wireless/ath/ath6kl/usb.c __func__, pipe->logical_pipe_num, urb->status, pipe 568 drivers/net/wireless/ath/ath6kl/usb.c __func__, pipe->logical_pipe_num, urb->status); pipe 573 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_free_urb_to_pipe(urb_context->pipe, urb_context); pipe 576 drivers/net/wireless/ath/ath6kl/usb.c skb_queue_tail(&pipe->io_comp_queue, skb); pipe 577 drivers/net/wireless/ath/ath6kl/usb.c schedule_work(&pipe->io_complete_work); pipe 582 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe = container_of(work, pipe 588 drivers/net/wireless/ath/ath6kl/usb.c ar_usb = pipe->ar_usb; pipe 590 drivers/net/wireless/ath/ath6kl/usb.c while ((skb = skb_dequeue(&pipe->io_comp_queue))) { pipe 591 drivers/net/wireless/ath/ath6kl/usb.c if (pipe->flags & ATH6KL_USB_PIPE_FLAG_TX) { pipe 599 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num); pipe 625 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe; pipe 639 drivers/net/wireless/ath/ath6kl/usb.c pipe = &ar_usb->pipes[i]; pipe 640 drivers/net/wireless/ath/ath6kl/usb.c INIT_WORK(&pipe->io_complete_work, pipe 642 drivers/net/wireless/ath/ath6kl/usb.c skb_queue_head_init(&pipe->io_comp_queue); pipe 704 drivers/net/wireless/ath/ath6kl/usb.c struct ath6kl_usb_pipe *pipe = &device->pipes[PipeID]; pipe 714 drivers/net/wireless/ath/ath6kl/usb.c urb_context = ath6kl_usb_alloc_urb_from_pipe(pipe); pipe 723 drivers/net/wireless/ath/ath6kl/usb.c __func__, PipeID, pipe->urb_cnt); pipe 736 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_free_urb_to_pipe(urb_context->pipe, pipe 743 drivers/net/wireless/ath/ath6kl/usb.c pipe->usb_pipe_handle, pipe 748 drivers/net/wireless/ath/ath6kl/usb.c if ((len % pipe->max_packet_size) == 0) { pipe 755 drivers/net/wireless/ath/ath6kl/usb.c pipe->logical_pipe_num, pipe->usb_pipe_handle, pipe 756 drivers/net/wireless/ath/ath6kl/usb.c pipe->ep_address, len); pipe 758 drivers/net/wireless/ath/ath6kl/usb.c usb_anchor_urb(urb, &pipe->urb_submitted); pipe 766 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_free_urb_to_pipe(urb_context->pipe, pipe 39 drivers/net/wireless/ath/ath9k/htc_hst.h int (*send) (void *hif_handle, u8 pipe, struct sk_buff *buf); pipe 805 drivers/net/wireless/mediatek/mt76/mt76.h unsigned int pipe; pipe 808 drivers/net/wireless/mediatek/mt76/mt76.h pipe = usb_rcvbulkpipe(udev, usb->in_ep[MT_EP_IN_CMD_RESP]); pipe 810 drivers/net/wireless/mediatek/mt76/mt76.h pipe = usb_sndbulkpipe(udev, usb->out_ep[MT_EP_OUT_INBAND_CMD]); pipe 812 drivers/net/wireless/mediatek/mt76/mt76.h return usb_bulk_msg(udev, pipe, data, len, actual_len, timeout); pipe 25 drivers/net/wireless/mediatek/mt76/usb.c unsigned int pipe; pipe 28 drivers/net/wireless/mediatek/mt76/usb.c pipe = (req_type & USB_DIR_IN) ? usb_rcvctrlpipe(udev, 0) pipe 34 drivers/net/wireless/mediatek/mt76/usb.c ret = usb_control_msg(udev, pipe, req, req_type, val, pipe 377 drivers/net/wireless/mediatek/mt76/usb.c unsigned int pipe; pipe 380 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_rcvbulkpipe(udev, dev->usb.in_ep[index]); pipe 382 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_sndbulkpipe(udev, dev->usb.out_ep[index]); pipe 385 drivers/net/wireless/mediatek/mt76/usb.c urb->pipe = pipe; pipe 58 drivers/net/wireless/mediatek/mt76/usb_trace.h DEV_ENTRY __field(unsigned int, pipe) __field(u32, len) pipe 62 drivers/net/wireless/mediatek/mt76/usb_trace.h __entry->pipe = u->pipe; pipe 66 drivers/net/wireless/mediatek/mt76/usb_trace.h DEV_PR_ARG, __entry->pipe, __entry->len) pipe 392 drivers/net/wireless/mediatek/mt7601u/dma.c unsigned pipe; pipe 395 drivers/net/wireless/mediatek/mt7601u/dma.c pipe = usb_rcvbulkpipe(usb_dev, dev->in_eps[MT_EP_IN_PKT_RX]); pipe 397 drivers/net/wireless/mediatek/mt7601u/dma.c usb_fill_bulk_urb(e->urb, usb_dev, pipe, buf, MT_RX_URB_SIZE, pipe 60 drivers/net/wireless/mediatek/mt7601u/trace.h DEV_ENTRY __field(unsigned, pipe) __field(u32, len) pipe 64 drivers/net/wireless/mediatek/mt7601u/trace.h __entry->pipe = u->pipe; pipe 68 drivers/net/wireless/mediatek/mt7601u/trace.h DEV_PR_ARG, __entry->pipe, __entry->len) pipe 73 drivers/net/wireless/mediatek/mt7601u/trace.h u.pipe = __pipe; \ pipe 99 drivers/net/wireless/mediatek/mt7601u/trace.h TP_PROTO(struct mt7601u_dev *dev, unsigned pipe, u8 req, u8 req_type, pipe 101 drivers/net/wireless/mediatek/mt7601u/trace.h TP_ARGS(dev, pipe, req, req_type, val, offset, buf, buflen, ret), pipe 104 drivers/net/wireless/mediatek/mt7601u/trace.h __field(unsigned, pipe) __field(u8, req) __field(u8, req_type) pipe 110 drivers/net/wireless/mediatek/mt7601u/trace.h __entry->pipe = pipe; pipe 121 drivers/net/wireless/mediatek/mt7601u/trace.h DEV_PR_ARG, __entry->ret, __entry->pipe, __entry->req, pipe 59 drivers/net/wireless/mediatek/mt7601u/usb.c unsigned pipe; pipe 63 drivers/net/wireless/mediatek/mt7601u/usb.c pipe = usb_rcvbulkpipe(usb_dev, dev->in_eps[ep_idx]); pipe 65 drivers/net/wireless/mediatek/mt7601u/usb.c pipe = usb_sndbulkpipe(usb_dev, dev->out_eps[ep_idx]); pipe 67 drivers/net/wireless/mediatek/mt7601u/usb.c usb_fill_bulk_urb(buf->urb, usb_dev, pipe, buf->buf, buf->len, pipe 94 drivers/net/wireless/mediatek/mt7601u/usb.c const unsigned int pipe = (direction == USB_DIR_IN) ? pipe 98 drivers/net/wireless/mediatek/mt7601u/usb.c ret = usb_control_msg(usb_dev, pipe, req, req_type, pipe 101 drivers/net/wireless/mediatek/mt7601u/usb.c trace_mt_vend_req(dev, pipe, req, req_type, val, offset, pipe 1124 drivers/net/wireless/ralink/rt2x00/rt2500usb.c int pipe = usb_sndbulkpipe(usb_dev, entry->queue->usb_endpoint); pipe 1159 drivers/net/wireless/ralink/rt2x00/rt2500usb.c usb_fill_bulk_urb(bcn_priv->urb, usb_dev, pipe, pipe 1169 drivers/net/wireless/ralink/rt2x00/rt2500usb.c usb_fill_bulk_urb(bcn_priv->guardian_urb, usb_dev, pipe, pipe 50 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c unsigned int pipe = pipe 59 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c status = usb_control_msg(usb_dev, pipe, request, requesttype, pipe 580 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c int pipe; pipe 585 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c pipe = usb_rcvbulkpipe(usb_dev, queue->usb_endpoint); pipe 586 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 0); pipe 588 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c pipe = usb_sndbulkpipe(usb_dev, queue->usb_endpoint); pipe 589 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe, 1); pipe 41 drivers/net/wireless/realtek/rtlwifi/usb.c unsigned int pipe; pipe 51 drivers/net/wireless/realtek/rtlwifi/usb.c pipe = usb_sndctrlpipe(udev, 0); /* write_out */ pipe 78 drivers/net/wireless/realtek/rtlwifi/usb.c usb_fill_control_urb(urb, udev, pipe, pipe 94 drivers/net/wireless/realtek/rtlwifi/usb.c unsigned int pipe; pipe 100 drivers/net/wireless/realtek/rtlwifi/usb.c pipe = usb_rcvctrlpipe(udev, 0); /* read_in */ pipe 104 drivers/net/wireless/realtek/rtlwifi/usb.c status = usb_control_msg(udev, pipe, request, reqtype, value, pipe 206 drivers/net/wireless/realtek/rtlwifi/usb.c int pipe = usb_sndctrlpipe(udev, 0); /* write_out */ pipe 213 drivers/net/wireless/realtek/rtlwifi/usb.c usb_control_msg(udev, pipe, request, reqtype, wvalue, pipe 1583 drivers/net/wireless/zydas/zd1211rw/zd_usb.c unsigned int pipe; pipe 1585 drivers/net/wireless/zydas/zd1211rw/zd_usb.c pipe = usb_sndintpipe(udev, EP_REGS_OUT); pipe 1586 drivers/net/wireless/zydas/zd1211rw/zd_usb.c ep = usb_pipe_endpoint(udev, pipe); pipe 1591 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return usb_interrupt_msg(udev, pipe, data, len, pipe 1594 drivers/net/wireless/zydas/zd1211rw/zd_usb.c pipe = usb_sndbulkpipe(udev, EP_REGS_OUT); pipe 1595 drivers/net/wireless/zydas/zd1211rw/zd_usb.c return usb_bulk_msg(udev, pipe, data, len, actual_length, pipe 549 drivers/nfc/microread/microread.c static int microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, pipe 553 drivers/nfc/microread/microread.c u8 gate = hdev->pipes[pipe].gate; pipe 117 drivers/nfc/nfcmrvl/usb.c unsigned int pipe; pipe 133 drivers/nfc/nfcmrvl/usb.c pipe = usb_rcvbulkpipe(drv_data->udev, pipe 136 drivers/nfc/nfcmrvl/usb.c usb_fill_bulk_urb(urb, drv_data->udev, pipe, buf, size, pipe 235 drivers/nfc/nfcmrvl/usb.c unsigned int pipe; pipe 245 drivers/nfc/nfcmrvl/usb.c pipe = usb_sndbulkpipe(drv_data->udev, pipe 248 drivers/nfc/nfcmrvl/usb.c usb_fill_bulk_urb(urb, drv_data->udev, pipe, skb->data, skb->len, pipe 393 drivers/nfc/pn533/usb.c rc = usb_bulk_msg(phy->udev, phy->out_urb->pipe, buffer, sizeof(cmd), pipe 716 drivers/nfc/pn544/pn544.c static int pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, pipe 720 drivers/nfc/pn544/pn544.c u8 gate = hdev->pipes[pipe].gate; pipe 226 drivers/nfc/st-nci/se.c ndev->hci_dev->init_data.gates[j].pipe = pipe_info[2]; pipe 361 drivers/nfc/st-nci/se.c void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, pipe 364 drivers/nfc/st-nci/se.c u8 gate = ndev->hci_dev->pipes[pipe].gate; pipe 365 drivers/nfc/st-nci/se.c u8 host = ndev->hci_dev->pipes[pipe].host; pipe 381 drivers/nfc/st-nci/se.c void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, pipe 385 drivers/nfc/st-nci/se.c u8 gate = ndev->hci_dev->pipes[pipe].gate; pipe 392 drivers/nfc/st-nci/se.c ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) pipe 135 drivers/nfc/st-nci/st-nci.h void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, pipe 137 drivers/nfc/st-nci/st-nci.h void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, pipe 182 drivers/nfc/st21nfca/core.c hdev->init_data.gates[j].pipe = pipe_info[2]; pipe 834 drivers/nfc/st21nfca/core.c static void st21nfca_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 838 drivers/nfc/st21nfca/core.c u8 gate = hdev->pipes[pipe].gate; pipe 845 drivers/nfc/st21nfca/core.c hdev->pipes[pipe].dest_host != NFC_HCI_UICC_HOST_ID) pipe 891 drivers/nfc/st21nfca/core.c static int st21nfca_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, pipe 894 drivers/nfc/st21nfca/core.c u8 gate = hdev->pipes[pipe].gate; pipe 895 drivers/nfc/st21nfca/core.c u8 host = hdev->pipes[pipe].dest_host; pipe 221 drivers/platform/goldfish/goldfish_pipe.c static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, pipe 224 drivers/platform/goldfish/goldfish_pipe.c pipe->command_buffer->cmd = cmd; pipe 226 drivers/platform/goldfish/goldfish_pipe.c pipe->command_buffer->status = PIPE_ERROR_INVAL; pipe 227 drivers/platform/goldfish/goldfish_pipe.c writel(pipe->id, pipe->dev->base + PIPE_REG_CMD); pipe 228 drivers/platform/goldfish/goldfish_pipe.c return pipe->command_buffer->status; pipe 231 drivers/platform/goldfish/goldfish_pipe.c static int goldfish_pipe_cmd(struct goldfish_pipe *pipe, enum PipeCmdCode cmd) pipe 235 drivers/platform/goldfish/goldfish_pipe.c if (mutex_lock_interruptible(&pipe->lock)) pipe 237 drivers/platform/goldfish/goldfish_pipe.c status = goldfish_pipe_cmd_locked(pipe, cmd); pipe 238 drivers/platform/goldfish/goldfish_pipe.c mutex_unlock(&pipe->lock); pipe 340 drivers/platform/goldfish/goldfish_pipe.c static int transfer_max_buffers(struct goldfish_pipe *pipe, pipe 354 drivers/platform/goldfish/goldfish_pipe.c if (mutex_lock_interruptible(&pipe->lock)) pipe 359 drivers/platform/goldfish/goldfish_pipe.c pipe->pages, &iter_last_page_size); pipe 361 drivers/platform/goldfish/goldfish_pipe.c mutex_unlock(&pipe->lock); pipe 365 drivers/platform/goldfish/goldfish_pipe.c populate_rw_params(pipe->pages, pages_count, address, address_end, pipe 367 drivers/platform/goldfish/goldfish_pipe.c pipe->command_buffer); pipe 370 drivers/platform/goldfish/goldfish_pipe.c *status = goldfish_pipe_cmd_locked(pipe, pipe 373 drivers/platform/goldfish/goldfish_pipe.c *consumed_size = pipe->command_buffer->rw_params.consumed_size; pipe 375 drivers/platform/goldfish/goldfish_pipe.c release_user_pages(pipe->pages, pages_count, is_write, *consumed_size); pipe 377 drivers/platform/goldfish/goldfish_pipe.c mutex_unlock(&pipe->lock); pipe 381 drivers/platform/goldfish/goldfish_pipe.c static int wait_for_host_signal(struct goldfish_pipe *pipe, int is_write) pipe 385 drivers/platform/goldfish/goldfish_pipe.c set_bit(wake_bit, &pipe->flags); pipe 388 drivers/platform/goldfish/goldfish_pipe.c goldfish_pipe_cmd(pipe, pipe 391 drivers/platform/goldfish/goldfish_pipe.c while (test_bit(wake_bit, &pipe->flags)) { pipe 392 drivers/platform/goldfish/goldfish_pipe.c if (wait_event_interruptible(pipe->wake_queue, pipe 393 drivers/platform/goldfish/goldfish_pipe.c !test_bit(wake_bit, &pipe->flags))) pipe 396 drivers/platform/goldfish/goldfish_pipe.c if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) pipe 408 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe = filp->private_data; pipe 414 drivers/platform/goldfish/goldfish_pipe.c if (unlikely(test_bit(BIT_CLOSED_ON_HOST, &pipe->flags))) pipe 432 drivers/platform/goldfish/goldfish_pipe.c ret = transfer_max_buffers(pipe, address, address_end, is_write, pipe 460 drivers/platform/goldfish/goldfish_pipe.c dev_err_ratelimited(pipe->dev->pdev_dev, pipe 476 drivers/platform/goldfish/goldfish_pipe.c status = wait_for_host_signal(pipe, is_write); pipe 506 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe = filp->private_data; pipe 510 drivers/platform/goldfish/goldfish_pipe.c poll_wait(filp, &pipe->wake_queue, wait); pipe 512 drivers/platform/goldfish/goldfish_pipe.c status = goldfish_pipe_cmd(pipe, PIPE_CMD_POLL); pipe 522 drivers/platform/goldfish/goldfish_pipe.c if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags)) pipe 531 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe; pipe 536 drivers/platform/goldfish/goldfish_pipe.c pipe = dev->pipes[id]; pipe 537 drivers/platform/goldfish/goldfish_pipe.c if (!pipe) pipe 539 drivers/platform/goldfish/goldfish_pipe.c pipe->signalled_flags |= flags; pipe 541 drivers/platform/goldfish/goldfish_pipe.c if (pipe->prev_signalled || pipe->next_signalled || pipe 542 drivers/platform/goldfish/goldfish_pipe.c dev->first_signalled_pipe == pipe) pipe 544 drivers/platform/goldfish/goldfish_pipe.c pipe->next_signalled = dev->first_signalled_pipe; pipe 546 drivers/platform/goldfish/goldfish_pipe.c dev->first_signalled_pipe->prev_signalled = pipe; pipe 547 drivers/platform/goldfish/goldfish_pipe.c dev->first_signalled_pipe = pipe; pipe 551 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe) pipe 553 drivers/platform/goldfish/goldfish_pipe.c if (pipe->prev_signalled) pipe 554 drivers/platform/goldfish/goldfish_pipe.c pipe->prev_signalled->next_signalled = pipe->next_signalled; pipe 555 drivers/platform/goldfish/goldfish_pipe.c if (pipe->next_signalled) pipe 556 drivers/platform/goldfish/goldfish_pipe.c pipe->next_signalled->prev_signalled = pipe->prev_signalled; pipe 557 drivers/platform/goldfish/goldfish_pipe.c if (pipe == dev->first_signalled_pipe) pipe 558 drivers/platform/goldfish/goldfish_pipe.c dev->first_signalled_pipe = pipe->next_signalled; pipe 559 drivers/platform/goldfish/goldfish_pipe.c pipe->prev_signalled = NULL; pipe 560 drivers/platform/goldfish/goldfish_pipe.c pipe->next_signalled = NULL; pipe 566 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe; pipe 571 drivers/platform/goldfish/goldfish_pipe.c pipe = dev->first_signalled_pipe; pipe 572 drivers/platform/goldfish/goldfish_pipe.c if (pipe) { pipe 573 drivers/platform/goldfish/goldfish_pipe.c *wakes = pipe->signalled_flags; pipe 574 drivers/platform/goldfish/goldfish_pipe.c pipe->signalled_flags = 0; pipe 581 drivers/platform/goldfish/goldfish_pipe.c dev->first_signalled_pipe = pipe->next_signalled; pipe 584 drivers/platform/goldfish/goldfish_pipe.c pipe->next_signalled = NULL; pipe 588 drivers/platform/goldfish/goldfish_pipe.c return pipe; pipe 595 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe; pipe 598 drivers/platform/goldfish/goldfish_pipe.c while ((pipe = signalled_pipes_pop_front(dev, &wakes)) != NULL) { pipe 600 drivers/platform/goldfish/goldfish_pipe.c pipe->flags = 1 << BIT_CLOSED_ON_HOST; pipe 603 drivers/platform/goldfish/goldfish_pipe.c clear_bit(BIT_WAKE_ON_READ, &pipe->flags); pipe 605 drivers/platform/goldfish/goldfish_pipe.c clear_bit(BIT_WAKE_ON_WRITE, &pipe->flags); pipe 611 drivers/platform/goldfish/goldfish_pipe.c wake_up_interruptible(&pipe->wake_queue); pipe 717 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe = kzalloc(sizeof(*pipe), GFP_KERNEL); pipe 719 drivers/platform/goldfish/goldfish_pipe.c if (!pipe) pipe 722 drivers/platform/goldfish/goldfish_pipe.c pipe->dev = dev; pipe 723 drivers/platform/goldfish/goldfish_pipe.c mutex_init(&pipe->lock); pipe 724 drivers/platform/goldfish/goldfish_pipe.c init_waitqueue_head(&pipe->wake_queue); pipe 731 drivers/platform/goldfish/goldfish_pipe.c pipe->command_buffer = pipe 733 drivers/platform/goldfish/goldfish_pipe.c if (!pipe->command_buffer) { pipe 746 drivers/platform/goldfish/goldfish_pipe.c dev->pipes[id] = pipe; pipe 747 drivers/platform/goldfish/goldfish_pipe.c pipe->id = id; pipe 748 drivers/platform/goldfish/goldfish_pipe.c pipe->command_buffer->id = id; pipe 754 drivers/platform/goldfish/goldfish_pipe.c (u64)(unsigned long)__pa(pipe->command_buffer); pipe 755 drivers/platform/goldfish/goldfish_pipe.c status = goldfish_pipe_cmd_locked(pipe, PIPE_CMD_OPEN); pipe 760 drivers/platform/goldfish/goldfish_pipe.c file->private_data = pipe; pipe 768 drivers/platform/goldfish/goldfish_pipe.c free_page((unsigned long)pipe->command_buffer); pipe 770 drivers/platform/goldfish/goldfish_pipe.c kfree(pipe); pipe 777 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe *pipe = filp->private_data; pipe 778 drivers/platform/goldfish/goldfish_pipe.c struct goldfish_pipe_dev *dev = pipe->dev; pipe 781 drivers/platform/goldfish/goldfish_pipe.c goldfish_pipe_cmd(pipe, PIPE_CMD_CLOSE); pipe 784 drivers/platform/goldfish/goldfish_pipe.c dev->pipes[pipe->id] = NULL; pipe 785 drivers/platform/goldfish/goldfish_pipe.c signalled_pipes_remove_locked(dev, pipe); pipe 789 drivers/platform/goldfish/goldfish_pipe.c free_page((unsigned long)pipe->command_buffer); pipe 790 drivers/platform/goldfish/goldfish_pipe.c kfree(pipe); pipe 58 drivers/rpmsg/qcom_glink_rpm.c struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); pipe 62 drivers/rpmsg/qcom_glink_rpm.c head = readl(pipe->head); pipe 63 drivers/rpmsg/qcom_glink_rpm.c tail = readl(pipe->tail); pipe 66 drivers/rpmsg/qcom_glink_rpm.c return pipe->native.length - tail + head; pipe 74 drivers/rpmsg/qcom_glink_rpm.c struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); pipe 78 drivers/rpmsg/qcom_glink_rpm.c tail = readl(pipe->tail); pipe 80 drivers/rpmsg/qcom_glink_rpm.c if (tail >= pipe->native.length) pipe 81 drivers/rpmsg/qcom_glink_rpm.c tail -= pipe->native.length; pipe 83 drivers/rpmsg/qcom_glink_rpm.c len = min_t(size_t, count, pipe->native.length - tail); pipe 85 drivers/rpmsg/qcom_glink_rpm.c __ioread32_copy(data, pipe->fifo + tail, pipe 90 drivers/rpmsg/qcom_glink_rpm.c __ioread32_copy(data + len, pipe->fifo, pipe 98 drivers/rpmsg/qcom_glink_rpm.c struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); pipe 101 drivers/rpmsg/qcom_glink_rpm.c tail = readl(pipe->tail); pipe 104 drivers/rpmsg/qcom_glink_rpm.c if (tail >= pipe->native.length) pipe 105 drivers/rpmsg/qcom_glink_rpm.c tail -= pipe->native.length; pipe 107 drivers/rpmsg/qcom_glink_rpm.c writel(tail, pipe->tail); pipe 112 drivers/rpmsg/qcom_glink_rpm.c struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); pipe 116 drivers/rpmsg/qcom_glink_rpm.c head = readl(pipe->head); pipe 117 drivers/rpmsg/qcom_glink_rpm.c tail = readl(pipe->tail); pipe 120 drivers/rpmsg/qcom_glink_rpm.c return pipe->native.length - head + tail; pipe 125 drivers/rpmsg/qcom_glink_rpm.c static unsigned int glink_rpm_tx_write_one(struct glink_rpm_pipe *pipe, pipe 131 drivers/rpmsg/qcom_glink_rpm.c len = min_t(size_t, count, pipe->native.length - head); pipe 133 drivers/rpmsg/qcom_glink_rpm.c __iowrite32_copy(pipe->fifo + head, data, pipe 138 drivers/rpmsg/qcom_glink_rpm.c __iowrite32_copy(pipe->fifo, data + len, pipe 143 drivers/rpmsg/qcom_glink_rpm.c if (head >= pipe->native.length) pipe 144 drivers/rpmsg/qcom_glink_rpm.c head -= pipe->native.length; pipe 153 drivers/rpmsg/qcom_glink_rpm.c struct glink_rpm_pipe *pipe = to_rpm_pipe(glink_pipe); pipe 172 drivers/rpmsg/qcom_glink_rpm.c head = readl(pipe->head); pipe 173 drivers/rpmsg/qcom_glink_rpm.c head = glink_rpm_tx_write_one(pipe, head, hdr, hlen); pipe 174 drivers/rpmsg/qcom_glink_rpm.c head = glink_rpm_tx_write_one(pipe, head, data, aligned_dlen); pipe 178 drivers/rpmsg/qcom_glink_rpm.c head = glink_rpm_tx_write_one(pipe, head, padding, pad); pipe 179 drivers/rpmsg/qcom_glink_rpm.c writel(head, pipe->head); pipe 51 drivers/rpmsg/qcom_glink_smem.c struct glink_smem_pipe *pipe = to_smem_pipe(np); pipe 57 drivers/rpmsg/qcom_glink_smem.c if (!pipe->fifo) { pipe 58 drivers/rpmsg/qcom_glink_smem.c fifo = qcom_smem_get(pipe->remote_pid, pipe 66 drivers/rpmsg/qcom_glink_smem.c pipe->fifo = fifo; pipe 67 drivers/rpmsg/qcom_glink_smem.c pipe->native.length = len; pipe 70 drivers/rpmsg/qcom_glink_smem.c head = le32_to_cpu(*pipe->head); pipe 71 drivers/rpmsg/qcom_glink_smem.c tail = le32_to_cpu(*pipe->tail); pipe 74 drivers/rpmsg/qcom_glink_smem.c return pipe->native.length - tail + head; pipe 82 drivers/rpmsg/qcom_glink_smem.c struct glink_smem_pipe *pipe = to_smem_pipe(np); pipe 86 drivers/rpmsg/qcom_glink_smem.c tail = le32_to_cpu(*pipe->tail); pipe 88 drivers/rpmsg/qcom_glink_smem.c if (tail >= pipe->native.length) pipe 89 drivers/rpmsg/qcom_glink_smem.c tail -= pipe->native.length; pipe 91 drivers/rpmsg/qcom_glink_smem.c len = min_t(size_t, count, pipe->native.length - tail); pipe 93 drivers/rpmsg/qcom_glink_smem.c memcpy_fromio(data, pipe->fifo + tail, len); pipe 96 drivers/rpmsg/qcom_glink_smem.c memcpy_fromio(data + len, pipe->fifo, (count - len)); pipe 102 drivers/rpmsg/qcom_glink_smem.c struct glink_smem_pipe *pipe = to_smem_pipe(np); pipe 105 drivers/rpmsg/qcom_glink_smem.c tail = le32_to_cpu(*pipe->tail); pipe 108 drivers/rpmsg/qcom_glink_smem.c if (tail >= pipe->native.length) pipe 109 drivers/rpmsg/qcom_glink_smem.c tail -= pipe->native.length; pipe 111 drivers/rpmsg/qcom_glink_smem.c *pipe->tail = cpu_to_le32(tail); pipe 116 drivers/rpmsg/qcom_glink_smem.c struct glink_smem_pipe *pipe = to_smem_pipe(np); pipe 121 drivers/rpmsg/qcom_glink_smem.c head = le32_to_cpu(*pipe->head); pipe 122 drivers/rpmsg/qcom_glink_smem.c tail = le32_to_cpu(*pipe->tail); pipe 125 drivers/rpmsg/qcom_glink_smem.c avail = pipe->native.length - head + tail; pipe 137 drivers/rpmsg/qcom_glink_smem.c static unsigned int glink_smem_tx_write_one(struct glink_smem_pipe *pipe, pipe 143 drivers/rpmsg/qcom_glink_smem.c len = min_t(size_t, count, pipe->native.length - head); pipe 145 drivers/rpmsg/qcom_glink_smem.c memcpy(pipe->fifo + head, data, len); pipe 148 drivers/rpmsg/qcom_glink_smem.c memcpy(pipe->fifo, data + len, count - len); pipe 151 drivers/rpmsg/qcom_glink_smem.c if (head >= pipe->native.length) pipe 152 drivers/rpmsg/qcom_glink_smem.c head -= pipe->native.length; pipe 161 drivers/rpmsg/qcom_glink_smem.c struct glink_smem_pipe *pipe = to_smem_pipe(glink_pipe); pipe 164 drivers/rpmsg/qcom_glink_smem.c head = le32_to_cpu(*pipe->head); pipe 166 drivers/rpmsg/qcom_glink_smem.c head = glink_smem_tx_write_one(pipe, head, hdr, hlen); pipe 167 drivers/rpmsg/qcom_glink_smem.c head = glink_smem_tx_write_one(pipe, head, data, dlen); pipe 171 drivers/rpmsg/qcom_glink_smem.c if (head >= pipe->native.length) pipe 172 drivers/rpmsg/qcom_glink_smem.c head -= pipe->native.length; pipe 177 drivers/rpmsg/qcom_glink_smem.c *pipe->head = cpu_to_le32(head); pipe 122 drivers/sbus/char/oradax.c u32 pipe:1; /* Pipeline */ pipe 1464 drivers/staging/comedi/drivers/usbdux.c urb->pipe = usb_rcvisocpipe(usb, 6); pipe 1486 drivers/staging/comedi/drivers/usbdux.c urb->pipe = usb_sndisocpipe(usb, 2); pipe 1356 drivers/staging/comedi/drivers/usbduxsigma.c urb->pipe = usb_rcvisocpipe(usb, 6); pipe 1378 drivers/staging/comedi/drivers/usbduxsigma.c urb->pipe = usb_sndisocpipe(usb, 2); pipe 183 drivers/staging/comedi/drivers/vmk80xx.c unsigned int pipe; pipe 191 drivers/staging/comedi/drivers/vmk80xx.c pipe = usb_rcvintpipe(usb, ep->bEndpointAddress); pipe 192 drivers/staging/comedi/drivers/vmk80xx.c return usb_interrupt_msg(usb, pipe, devpriv->usb_rx_buf, pipe 202 drivers/staging/comedi/drivers/vmk80xx.c unsigned int pipe; pipe 212 drivers/staging/comedi/drivers/vmk80xx.c pipe = usb_sndintpipe(usb, ep->bEndpointAddress); pipe 213 drivers/staging/comedi/drivers/vmk80xx.c return usb_interrupt_msg(usb, pipe, devpriv->usb_tx_buf, pipe 241 drivers/staging/isdn/gigaset/bas-gigaset.c static inline char *usb_pipetype_str(int pipe) pipe 243 drivers/staging/isdn/gigaset/bas-gigaset.c if (usb_pipeisoc(pipe)) pipe 245 drivers/staging/isdn/gigaset/bas-gigaset.c if (usb_pipeint(pipe)) pipe 247 drivers/staging/isdn/gigaset/bas-gigaset.c if (usb_pipecontrol(pipe)) pipe 249 drivers/staging/isdn/gigaset/bas-gigaset.c if (usb_pipebulk(pipe)) pipe 268 drivers/staging/isdn/gigaset/bas-gigaset.c usb_pipetype_str(urb->pipe), pipe 269 drivers/staging/isdn/gigaset/bas-gigaset.c usb_pipeendpoint(urb->pipe), usb_pipedevice(urb->pipe), pipe 270 drivers/staging/isdn/gigaset/bas-gigaset.c usb_pipein(urb->pipe) ? "in" : "out", pipe 613 drivers/staging/isdn/gigaset/bas-gigaset.c rc = usb_clear_halt(ucs->udev, urb->pipe); pipe 928 drivers/staging/media/imx/imx-media-utils.c ret = __media_pipeline_start(entity, &imxmd->pipe); pipe 936 drivers/staging/media/imx/imx-media-utils.c if (entity->pipe) pipe 132 drivers/staging/media/imx/imx-media.h struct media_pipeline pipe; pipe 1841 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_sp_pipeline pipe[IMGU_ABI_MAX_SP_THREADS]; pipe 72 drivers/staging/media/ipu3/ipu3-css-fw.c void *imgu_css_fw_pipeline_params(struct imgu_css *css, unsigned int pipe, pipe 79 drivers/staging/media/ipu3/ipu3-css-fw.c &css->fwp->binary_header[css->pipes[pipe].bindex]; pipe 182 drivers/staging/media/ipu3/ipu3-css-fw.h void *imgu_css_fw_pipeline_params(struct imgu_css *css, unsigned int pipe, pipe 369 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int pipe) pipe 375 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 850 drivers/staging/media/ipu3/ipu3-css-params.c static int imgu_css_osys_calc(struct imgu_css *css, unsigned int pipe, pipe 861 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 870 drivers/staging/media/ipu3/ipu3-css-params.c stripe_params, pipe)) pipe 1636 drivers/staging/media/ipu3/ipu3-css-params.c static int imgu_css_af_ops_calc(struct imgu_css *css, unsigned int pipe, pipe 1641 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1664 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_awb_fr_ops_calc(struct imgu_css *css, unsigned int pipe, pipe 1669 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1690 drivers/staging/media/ipu3/ipu3-css-params.c static int imgu_css_awb_ops_calc(struct imgu_css *css, unsigned int pipe, pipe 1695 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1732 drivers/staging/media/ipu3/ipu3-css-params.c static int imgu_css_cfg_acc_stripe(struct imgu_css *css, unsigned int pipe, pipe 1735 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1747 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, pipe 1906 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int pipe) pipe 1909 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1925 drivers/staging/media/ipu3/ipu3-css-params.c const int i, unsigned int pipe) pipe 1927 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1948 drivers/staging/media/ipu3/ipu3-css-params.c int imgu_css_cfg_acc(struct imgu_css *css, unsigned int pipe, pipe 1954 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1971 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_cfg_acc_stripe(css, pipe, acc)) pipe 2146 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_cfg_acc_dvs(css, acc, pipe); pipe 2321 drivers/staging/media/ipu3/ipu3-css-params.c acc_bds_per_stripe_data(css, acc, i, pipe); pipe 2443 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_awb_fr_ops_calc(css, pipe, &acc->awb_fr)) pipe 2605 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_af_ops_calc(css, pipe, &acc->af)) pipe 2674 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_awb_ops_calc(css, pipe, &acc->awb)) pipe 2690 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int pipe, bool use_user, pipe 2700 drivers/staging/media/ipu3/ipu3-css-params.c new_setting = imgu_css_fw_pipeline_params(css, pipe, c, m, par, pipe 2710 drivers/staging/media/ipu3/ipu3-css-params.c old_setting = imgu_css_fw_pipeline_params(css, pipe, c, m, par, pipe 2726 drivers/staging/media/ipu3/ipu3-css-params.c int imgu_css_cfg_vmem0(struct imgu_css *css, unsigned int pipe, pipe 2732 drivers/staging/media/ipu3/ipu3-css-params.c &css->fwp->binary_header[css->pipes[pipe].bindex]; pipe 2748 drivers/staging/media/ipu3/ipu3-css-params.c lin_vmem = imgu_css_cfg_copy(css, pipe, use && use->lin_vmem_params, pipe 2767 drivers/staging/media/ipu3/ipu3-css-params.c if (css->pipes[pipe].pipe_id == IPU3_CSS_PIPE_ID_VIDEO) { pipe 2768 drivers/staging/media/ipu3/ipu3-css-params.c tnr_vmem = imgu_css_cfg_copy(css, pipe, pipe 2784 drivers/staging/media/ipu3/ipu3-css-params.c xnr_vmem = imgu_css_cfg_copy(css, pipe, use && use->xnr3_vmem_params, pipe 2805 drivers/staging/media/ipu3/ipu3-css-params.c int imgu_css_cfg_dmem0(struct imgu_css *css, unsigned int pipe, pipe 2810 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 2828 drivers/staging/media/ipu3/ipu3-css-params.c tnr_dmem = imgu_css_cfg_copy(css, pipe, pipe 2843 drivers/staging/media/ipu3/ipu3-css-params.c xnr_dmem = imgu_css_cfg_copy(css, pipe, use && use->xnr3_dmem_params, pipe 7 drivers/staging/media/ipu3/ipu3-css-params.h int imgu_css_cfg_acc(struct imgu_css *css, unsigned int pipe, pipe 13 drivers/staging/media/ipu3/ipu3-css-params.h int imgu_css_cfg_vmem0(struct imgu_css *css, unsigned int pipe, pipe 18 drivers/staging/media/ipu3/ipu3-css-params.h int imgu_css_cfg_dmem0(struct imgu_css *css, unsigned int pipe, pipe 662 drivers/staging/media/ipu3/ipu3-css.c static void imgu_css_pipeline_cleanup(struct imgu_css *css, unsigned int pipe) pipe 668 drivers/staging/media/ipu3/ipu3-css.c &css->pipes[pipe].pool.parameter_set_info); pipe 669 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_cleanup(imgu, &css->pipes[pipe].pool.acc); pipe 670 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_cleanup(imgu, &css->pipes[pipe].pool.gdc); pipe 671 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_cleanup(imgu, &css->pipes[pipe].pool.obgrid); pipe 675 drivers/staging/media/ipu3/ipu3-css.c &css->pipes[pipe].pool.binary_params_p[i]); pipe 682 drivers/staging/media/ipu3/ipu3-css.c static int imgu_css_pipeline_init(struct imgu_css *css, unsigned int pipe) pipe 700 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 724 drivers/staging/media/ipu3/ipu3-css.c dev_dbg(css->dev, "%s for pipe %d", __func__, pipe); pipe 728 drivers/staging/media/ipu3/ipu3-css.c cfg_iter = imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 794 drivers/staging/media/ipu3/ipu3-css.c cfg_ref = imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 824 drivers/staging/media/ipu3/ipu3-css.c cfg_dvs = imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 840 drivers/staging/media/ipu3/ipu3-css.c cfg_tnr = imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 871 drivers/staging/media/ipu3/ipu3-css.c cfg_ref_state = imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 884 drivers/staging/media/ipu3/ipu3-css.c imgu_css_fw_pipeline_params(css, pipe, cfg, m0, pipe 901 drivers/staging/media/ipu3/ipu3-css.c isp_stage = css_pipe->xmem_isp_stage_ptrs[pipe][stage].vaddr; pipe 916 drivers/staging/media/ipu3/ipu3-css.c sp_stage = css_pipe->xmem_sp_stage_ptrs[pipe][stage].vaddr; pipe 1042 drivers/staging/media/ipu3/ipu3-css.c css_pipe->xmem_isp_stage_ptrs[pipe][stage].daddr; pipe 1047 drivers/staging/media/ipu3/ipu3-css.c memset(&sp_group->pipe[pipe], 0, sizeof(struct imgu_abi_sp_pipeline)); pipe 1049 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].num_stages = 1; pipe 1050 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].pipe_id = css_pipe->pipe_id; pipe 1051 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].thread_id = pipe; pipe 1052 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].pipe_num = pipe; pipe 1053 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].num_execs = -1; pipe 1054 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].pipe_qos_config = -1; pipe 1055 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].required_bds_factor = 0; pipe 1056 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].dvs_frame_delay = IPU3_CSS_AUX_FRAMES - 1; pipe 1057 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].inout_port_config = pipe 1060 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].scaler_pp_lut = 0; pipe 1061 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].shading.internal_frame_origin_x_bqs_on_sctbl = 0; pipe 1062 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].shading.internal_frame_origin_y_bqs_on_sctbl = 0; pipe 1063 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].sp_stage_addr[stage] = pipe 1064 drivers/staging/media/ipu3/ipu3-css.c css_pipe->xmem_sp_stage_ptrs[pipe][stage].daddr; pipe 1065 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].pipe_config = pipe 1066 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.enable.params ? (1 << pipe) : 0; pipe 1067 drivers/staging/media/ipu3/ipu3-css.c sp_group->pipe[pipe].pipe_config |= IMGU_ABI_PIPE_CONFIG_ACQUIRE_ISP; pipe 1094 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pipeline_cleanup(css, pipe); pipe 1098 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pipeline_cleanup(css, pipe); pipe 1201 drivers/staging/media/ipu3/ipu3-css.c static void imgu_css_binary_cleanup(struct imgu_css *css, unsigned int pipe) pipe 1206 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1224 drivers/staging/media/ipu3/ipu3-css.c static int imgu_css_binary_preallocate(struct imgu_css *css, unsigned int pipe) pipe 1229 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1254 drivers/staging/media/ipu3/ipu3-css.c imgu_css_binary_cleanup(css, pipe); pipe 1259 drivers/staging/media/ipu3/ipu3-css.c static int imgu_css_binary_setup(struct imgu_css *css, unsigned int pipe) pipe 1261 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1325 drivers/staging/media/ipu3/ipu3-css.c imgu_css_binary_cleanup(css, pipe); pipe 1332 drivers/staging/media/ipu3/ipu3-css.c int r, pipe; pipe 1337 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1338 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_binary_setup(css, pipe); pipe 1351 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1352 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_pipeline_init(css, pipe); pipe 1362 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1363 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_set_parameters(css, pipe, NULL); pipe 1378 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1379 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, pipe 1381 drivers/staging/media/ipu3/ipu3-css.c pipe << 16); pipe 1391 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1392 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pipeline_cleanup(css, pipe); pipe 1393 drivers/staging/media/ipu3/ipu3-css.c imgu_css_binary_cleanup(css, pipe); pipe 1402 drivers/staging/media/ipu3/ipu3-css.c int q, r, pipe; pipe 1404 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1405 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, pipe 1418 drivers/staging/media/ipu3/ipu3-css.c for_each_set_bit(pipe, css->enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 1419 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1421 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pipeline_cleanup(css, pipe); pipe 1437 drivers/staging/media/ipu3/ipu3-css.c bool imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe) pipe 1440 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1452 drivers/staging/media/ipu3/ipu3-css.c unsigned int pipe; pipe 1455 drivers/staging/media/ipu3/ipu3-css.c for (pipe = 0; pipe < IMGU_MAX_PIPE_NUM; pipe++) pipe 1456 drivers/staging/media/ipu3/ipu3-css.c ret &= imgu_css_pipe_queue_empty(css, pipe); pipe 1466 drivers/staging/media/ipu3/ipu3-css.c static int imgu_css_map_init(struct imgu_css *css, unsigned int pipe) pipe 1469 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1502 drivers/staging/media/ipu3/ipu3-css.c if (imgu_css_binary_preallocate(css, pipe)) { pipe 1503 drivers/staging/media/ipu3/ipu3-css.c imgu_css_binary_cleanup(css, pipe); pipe 1510 drivers/staging/media/ipu3/ipu3-css.c static void imgu_css_pipe_cleanup(struct imgu_css *css, unsigned int pipe) pipe 1513 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1516 drivers/staging/media/ipu3/ipu3-css.c imgu_css_binary_cleanup(css, pipe); pipe 1538 drivers/staging/media/ipu3/ipu3-css.c unsigned int pipe; pipe 1541 drivers/staging/media/ipu3/ipu3-css.c for (pipe = 0; pipe < IMGU_MAX_PIPE_NUM; pipe++) pipe 1542 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pipe_cleanup(css, pipe); pipe 1551 drivers/staging/media/ipu3/ipu3-css.c int r, q, pipe; pipe 1558 drivers/staging/media/ipu3/ipu3-css.c for (pipe = 0; pipe < IMGU_MAX_PIPE_NUM; pipe++) { pipe 1559 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1570 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_map_init(css, pipe); pipe 1596 drivers/staging/media/ipu3/ipu3-css.c unsigned int pipe, pipe 1602 drivers/staging/media/ipu3/ipu3-css.c (css->pipes[pipe].pipe_id == IPU3_CSS_PIPE_ID_CAPTURE) ? pipe 1722 drivers/staging/media/ipu3/ipu3-css.c unsigned int pipe) pipe 1834 drivers/staging/media/ipu3/ipu3-css.c ret = imgu_css_find_binary(css, pipe, q, r); pipe 1840 drivers/staging/media/ipu3/ipu3-css.c css->pipes[pipe].bindex = ret; pipe 1843 drivers/staging/media/ipu3/ipu3-css.c css->pipes[pipe].bindex, pipe); pipe 1878 drivers/staging/media/ipu3/ipu3-css.c unsigned int pipe) pipe 1883 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1892 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_fmt_try(css, fmts, all_rects, pipe); pipe 1931 drivers/staging/media/ipu3/ipu3-css.c int imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe, pipe 1938 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 1947 drivers/staging/media/ipu3/ipu3-css.c pipe); pipe 1949 drivers/staging/media/ipu3/ipu3-css.c if (b->queue_pos >= ARRAY_SIZE(css->pipes[pipe].abi_buffers[b->queue])) pipe 1951 drivers/staging/media/ipu3/ipu3-css.c abi_buf = css->pipes[pipe].abi_buffers[b->queue][b->queue_pos].vaddr; pipe 1975 drivers/staging/media/ipu3/ipu3-css.c data = css->pipes[pipe].abi_buffers[b->queue][b->queue_pos].daddr; pipe 1977 drivers/staging/media/ipu3/ipu3-css.c pipe, data); pipe 1981 drivers/staging/media/ipu3/ipu3-css.c data = IMGU_ABI_EVENT_BUFFER_ENQUEUED(pipe, pipe 1983 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, data); pipe 1988 drivers/staging/media/ipu3/ipu3-css.c b, b->queue, pipe); pipe 2015 drivers/staging/media/ipu3/ipu3-css.c int evtype, pipe, pipeid, queue, qid, r; pipe 2033 drivers/staging/media/ipu3/ipu3-css.c pipe = (event & IMGU_ABI_EVTTYPE_PIPE_MASK) >> pipe 2040 drivers/staging/media/ipu3/ipu3-css.c if (pipe >= IMGU_MAX_PIPE_NUM) { pipe 2041 drivers/staging/media/ipu3/ipu3-css.c dev_err(css->dev, "Invalid pipe: %i\n", pipe); pipe 2049 drivers/staging/media/ipu3/ipu3-css.c css_pipe = &css->pipes[pipe]; pipe 2052 drivers/staging/media/ipu3/ipu3-css.c event, queue, pipe, pipeid); pipe 2061 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, pipe 2084 drivers/staging/media/ipu3/ipu3-css.c dev_dbg(css->dev, "buffer 0x%8x done from pipe %d\n", daddr, pipe); pipe 2085 drivers/staging/media/ipu3/ipu3-css.c b->pipe = pipe; pipe 2091 drivers/staging/media/ipu3/ipu3-css.c pipe = (event & IMGU_ABI_EVTTYPE_PIPE_MASK) >> pipe 2093 drivers/staging/media/ipu3/ipu3-css.c if (pipe >= IMGU_MAX_PIPE_NUM) { pipe 2094 drivers/staging/media/ipu3/ipu3-css.c dev_err(css->dev, "Invalid pipe: %i\n", pipe); pipe 2098 drivers/staging/media/ipu3/ipu3-css.c css_pipe = &css->pipes[pipe]; pipe 2100 drivers/staging/media/ipu3/ipu3-css.c event, pipe); pipe 2141 drivers/staging/media/ipu3/ipu3-css.c int imgu_css_set_parameters(struct imgu_css *css, unsigned int pipe, pipe 2145 drivers/staging/media/ipu3/ipu3-css.c struct imgu_css_pipe *css_pipe = &css->pipes[pipe]; pipe 2167 drivers/staging/media/ipu3/ipu3-css.c dev_dbg(css->dev, "%s for pipe %d", __func__, pipe); pipe 2211 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_cfg_acc(css, pipe, use, acc, map->vaddr, pipe 2221 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_cfg_vmem0(css, pipe, use, vmem0, pipe 2230 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_cfg_dmem0(css, pipe, use, dmem0, pipe 2295 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, queue_id, pipe, map->daddr); pipe 2299 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, pipe 2300 drivers/staging/media/ipu3/ipu3-css.c IMGU_ABI_EVENT_BUFFER_ENQUEUED(pipe, pipe 2315 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_queue_data(css, IMGU_ABI_QUEUE_EVENT_ID, pipe, pipe 75 drivers/staging/media/ipu3/ipu3-css.h unsigned int pipe; pipe 174 drivers/staging/media/ipu3/ipu3-css.h unsigned int pipe); pipe 178 drivers/staging/media/ipu3/ipu3-css.h unsigned int pipe); pipe 180 drivers/staging/media/ipu3/ipu3-css.h int imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe, pipe 187 drivers/staging/media/ipu3/ipu3-css.h bool imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe); pipe 195 drivers/staging/media/ipu3/ipu3-css.h int imgu_css_set_parameters(struct imgu_css *css, unsigned int pipe, pipe 24 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[imgu_sd->pipe]; pipe 62 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe = imgu_sd->pipe; pipe 66 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_css_pipe *css_pipe = &imgu->css.pipes[pipe]; pipe 67 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 69 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "%s %d for pipe %u", __func__, enable, pipe); pipe 104 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "IPU3 pipe %u pipe_id %u", pipe, css_pipe->pipe_id); pipe 110 drivers/staging/media/ipu3/ipu3-v4l2.c r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); pipe 113 drivers/staging/media/ipu3/ipu3-v4l2.c pipe, r); pipe 133 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe = imgu_sd->pipe; pipe 135 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 158 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe = imgu_sd->pipe; pipe 161 drivers/staging/media/ipu3/ipu3-v4l2.c pipe, pad, fmt->format.width, fmt->format.height); pipe 163 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 237 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_sd->pipe, sel->which, sel->target, pipe 277 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe = imgu_sd->pipe; pipe 282 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(&imgu->pci_dev->dev, "pipe %u pad %u is %s", pipe, pad, pipe 285 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 293 drivers/staging/media/ipu3/ipu3-v4l2.c __set_bit(pipe, imgu->css.enabled_pipes); pipe 295 drivers/staging/media/ipu3/ipu3-v4l2.c __clear_bit(pipe, imgu->css.enabled_pipes); pipe 297 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(&imgu->pci_dev->dev, "pipe %u is %s", pipe, pipe 371 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_queue_buffers(imgu, false, node->pipe); pipe 374 drivers/staging/media/ipu3/ipu3-v4l2.c node->pipe, node->id); pipe 417 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int i, pipe, p; pipe 421 drivers/staging/media/ipu3/ipu3-v4l2.c pipe = except->pipe; pipe 422 drivers/staging/media/ipu3/ipu3-v4l2.c if (!test_bit(pipe, imgu->css.enabled_pipes)) { pipe 424 drivers/staging/media/ipu3/ipu3-v4l2.c "pipe %u link is not ready yet", pipe); pipe 466 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe; pipe 469 drivers/staging/media/ipu3/ipu3-v4l2.c node->name, node->pipe, node->id); pipe 482 drivers/staging/media/ipu3/ipu3-v4l2.c pipe = node->pipe; pipe 483 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 492 drivers/staging/media/ipu3/ipu3-v4l2.c for_each_set_bit(pipe, imgu->css.enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 493 drivers/staging/media/ipu3/ipu3-v4l2.c r = v4l2_subdev_call(&imgu->imgu_pipe[pipe].imgu_sd.subdev, pipe 523 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe; pipe 527 drivers/staging/media/ipu3/ipu3-v4l2.c pipe = node->pipe; pipe 528 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "Try to stream off node [%u][%u]", pipe, node->id); pipe 529 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 649 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_fmt(struct imgu_device *imgu, unsigned int pipe, int node, pipe 658 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_css_pipe *css_pipe = &imgu->css.pipes[pipe]; pipe 659 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 662 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "set fmt node [%u][%u](try = %u)", pipe, node, try); pipe 666 drivers/staging/media/ipu3/ipu3-v4l2.c pipe, i, imgu_pipe->nodes[i].enabled); pipe 676 drivers/staging/media/ipu3/ipu3-v4l2.c dev_dbg(dev, "IPU3 pipe %u pipe_id = %u", pipe, css_pipe->pipe_id); pipe 729 drivers/staging/media/ipu3/ipu3-v4l2.c ret = imgu_css_fmt_try(&imgu->css, fmts, rects, pipe); pipe 731 drivers/staging/media/ipu3/ipu3-v4l2.c ret = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); pipe 787 drivers/staging/media/ipu3/ipu3-v4l2.c return imgu_fmt(imgu, node->pipe, node->id, f, true); pipe 805 drivers/staging/media/ipu3/ipu3-v4l2.c return imgu_fmt(imgu, node->pipe, node->id, f, false); pipe 1022 drivers/staging/media/ipu3/ipu3-v4l2.c ctrl->val, ctrl->id, imgu_sd->pipe); pipe 1094 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe) pipe 1098 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 1121 drivers/staging/media/ipu3/ipu3-v4l2.c "%s %u", IMGU_NAME, pipe); pipe 1140 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_sd->pipe = pipe; pipe 1150 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_v4l2_node_setup(struct imgu_device *imgu, unsigned int pipe, pipe 1158 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 1194 drivers/staging/media/ipu3/ipu3-v4l2.c node->pipe = pipe; pipe 1240 drivers/staging/media/ipu3/ipu3-v4l2.c IMGU_NAME, pipe, node->name); pipe 1276 drivers/staging/media/ipu3/ipu3-v4l2.c unsigned int pipe, int node) pipe 1279 drivers/staging/media/ipu3/ipu3-v4l2.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 1288 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_v4l2_nodes_setup_pipe(struct imgu_device *imgu, int pipe) pipe 1293 drivers/staging/media/ipu3/ipu3-v4l2.c r = imgu_v4l2_node_setup(imgu, pipe, i); pipe 1301 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_v4l2_nodes_cleanup_pipe(imgu, pipe, i); pipe 1314 drivers/staging/media/ipu3/ipu3-v4l2.c static void imgu_v4l2_cleanup_pipes(struct imgu_device *imgu, unsigned int pipe) pipe 1318 drivers/staging/media/ipu3/ipu3-v4l2.c for (i = 0; i < pipe; i++) { pipe 69 drivers/staging/media/ipu3/ipu3.c static void imgu_dummybufs_cleanup(struct imgu_device *imgu, unsigned int pipe) pipe 72 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 80 drivers/staging/media/ipu3/ipu3.c unsigned int pipe) pipe 84 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 98 drivers/staging/media/ipu3/ipu3.c imgu_dummybufs_cleanup(imgu, pipe); pipe 106 drivers/staging/media/ipu3/ipu3.c static int imgu_dummybufs_init(struct imgu_device *imgu, unsigned int pipe) pipe 112 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 139 drivers/staging/media/ipu3/ipu3.c imgu_dummybufs_cleanup(imgu, pipe); pipe 153 drivers/staging/media/ipu3/ipu3.c int queue, unsigned int pipe) pipe 156 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 183 drivers/staging/media/ipu3/ipu3.c unsigned int pipe) pipe 186 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 205 drivers/staging/media/ipu3/ipu3.c unsigned int pipe) pipe 208 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 220 drivers/staging/media/ipu3/ipu3.c return imgu_dummybufs_get(imgu, imgu_node_map[node].css_queue, pipe); pipe 227 drivers/staging/media/ipu3/ipu3.c int imgu_queue_buffers(struct imgu_device *imgu, bool initial, unsigned int pipe) pipe 231 drivers/staging/media/ipu3/ipu3.c struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 236 drivers/staging/media/ipu3/ipu3.c dev_dbg(&imgu->pci_dev->dev, "Queue buffers to pipe %d", pipe); pipe 239 drivers/staging/media/ipu3/ipu3.c if (!imgu_css_pipe_queue_empty(&imgu->css, pipe)) { pipe 246 drivers/staging/media/ipu3/ipu3.c imgu_queue_getbuf(imgu, IMGU_NODE_IN, pipe); pipe 265 drivers/staging/media/ipu3/ipu3.c r = imgu_css_set_parameters(&imgu->css, pipe, pipe 280 drivers/staging/media/ipu3/ipu3.c imgu_queue_getbuf(imgu, node, pipe); pipe 287 drivers/staging/media/ipu3/ipu3.c r = imgu_css_buf_queue(&imgu->css, pipe, buf); pipe 290 drivers/staging/media/ipu3/ipu3.c dummy = imgu_dummybufs_check(imgu, buf, pipe); pipe 366 drivers/staging/media/ipu3/ipu3.c int r, pipe; pipe 404 drivers/staging/media/ipu3/ipu3.c for_each_set_bit(pipe, imgu->css.enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 406 drivers/staging/media/ipu3/ipu3.c r = imgu_dummybufs_init(imgu, pipe); pipe 413 drivers/staging/media/ipu3/ipu3.c r = imgu_queue_buffers(imgu, true, pipe); pipe 422 drivers/staging/media/ipu3/ipu3.c for_each_set_bit(pipe, imgu->css.enabled_pipes, IMGU_MAX_PIPE_NUM) pipe 423 drivers/staging/media/ipu3/ipu3.c imgu_dummybufs_cleanup(imgu, pipe); pipe 512 drivers/staging/media/ipu3/ipu3.c unsigned int node, pipe; pipe 530 drivers/staging/media/ipu3/ipu3.c pipe = b->pipe; pipe 531 drivers/staging/media/ipu3/ipu3.c dummy = imgu_dummybufs_check(imgu, b, pipe); pipe 546 drivers/staging/media/ipu3/ipu3.c imgu_pipe = &imgu->imgu_pipe[pipe]; pipe 783 drivers/staging/media/ipu3/ipu3.c unsigned int pipe; pipe 805 drivers/staging/media/ipu3/ipu3.c for_each_set_bit(pipe, imgu->css.enabled_pipes, IMGU_MAX_PIPE_NUM) { pipe 806 drivers/staging/media/ipu3/ipu3.c r = imgu_queue_buffers(imgu, true, pipe); pipe 809 drivers/staging/media/ipu3/ipu3.c pipe, r); pipe 87 drivers/staging/media/ipu3/ipu3.h unsigned int pipe; pipe 91 drivers/staging/media/ipu3/ipu3.h unsigned int pipe; pipe 106 drivers/staging/media/ipu3/ipu3.h unsigned int pipe; pipe 160 drivers/staging/media/ipu3/ipu3.h unsigned int pipe); pipe 122 drivers/staging/media/omap4iss/iss.c int omap4iss_get_external_info(struct iss_pipeline *pipe, pipe 126 drivers/staging/media/omap4iss/iss.c container_of(pipe, struct iss_video, pipe)->iss; pipe 131 drivers/staging/media/omap4iss/iss.c if (!pipe->external) pipe 134 drivers/staging/media/omap4iss/iss.c if (pipe->external_rate) pipe 146 drivers/staging/media/omap4iss/iss.c pipe->external_bpp = omap4iss_video_format_info(fmt.format.code)->bpp; pipe 148 drivers/staging/media/omap4iss/iss.c ctrl = v4l2_ctrl_find(pipe->external->ctrl_handler, pipe 152 drivers/staging/media/omap4iss/iss.c pipe->external->name); pipe 156 drivers/staging/media/omap4iss/iss.c pipe->external_rate = v4l2_ctrl_g_ctrl_int64(ctrl); pipe 382 drivers/staging/media/omap4iss/iss.c static int iss_pipeline_disable(struct iss_pipeline *pipe, pipe 385 drivers/staging/media/omap4iss/iss.c struct iss_device *iss = pipe->output->iss; pipe 392 drivers/staging/media/omap4iss/iss.c entity = &pipe->output->video.entity; pipe 434 drivers/staging/media/omap4iss/iss.c static int iss_pipeline_enable(struct iss_pipeline *pipe, pipe 437 drivers/staging/media/omap4iss/iss.c struct iss_device *iss = pipe->output->iss; pipe 450 drivers/staging/media/omap4iss/iss.c if (media_entity_enum_intersects(&pipe->ent_enum, &iss->crashed)) pipe 453 drivers/staging/media/omap4iss/iss.c spin_lock_irqsave(&pipe->lock, flags); pipe 454 drivers/staging/media/omap4iss/iss.c pipe->state &= ~(ISS_PIPELINE_IDLE_INPUT | ISS_PIPELINE_IDLE_OUTPUT); pipe 455 drivers/staging/media/omap4iss/iss.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 457 drivers/staging/media/omap4iss/iss.c pipe->do_propagation = false; pipe 459 drivers/staging/media/omap4iss/iss.c entity = &pipe->output->video.entity; pipe 474 drivers/staging/media/omap4iss/iss.c iss_pipeline_disable(pipe, entity); pipe 480 drivers/staging/media/omap4iss/iss.c pipe->do_propagation = true; pipe 483 drivers/staging/media/omap4iss/iss.c iss_print_status(pipe->output->iss); pipe 499 drivers/staging/media/omap4iss/iss.c int omap4iss_pipeline_set_stream(struct iss_pipeline *pipe, pipe 505 drivers/staging/media/omap4iss/iss.c ret = iss_pipeline_disable(pipe, NULL); pipe 507 drivers/staging/media/omap4iss/iss.c ret = iss_pipeline_enable(pipe, state); pipe 510 drivers/staging/media/omap4iss/iss.c pipe->stream_state = state; pipe 524 drivers/staging/media/omap4iss/iss.c void omap4iss_pipeline_cancel_stream(struct iss_pipeline *pipe) pipe 526 drivers/staging/media/omap4iss/iss.c if (pipe->input) pipe 527 drivers/staging/media/omap4iss/iss.c omap4iss_video_cancel_stream(pipe->input); pipe 528 drivers/staging/media/omap4iss/iss.c if (pipe->output) pipe 529 drivers/staging/media/omap4iss/iss.c omap4iss_video_cancel_stream(pipe->output); pipe 543 drivers/staging/media/omap4iss/iss.c struct iss_pipeline *pipe; pipe 546 drivers/staging/media/omap4iss/iss.c if (!me->pipe) pipe 548 drivers/staging/media/omap4iss/iss.c pipe = to_iss_pipeline(me); pipe 549 drivers/staging/media/omap4iss/iss.c if (pipe->stream_state == ISS_PIPELINE_STREAM_STOPPED) pipe 551 drivers/staging/media/omap4iss/iss.c pad = media_entity_remote_pad(&pipe->output->pad); pipe 621 drivers/staging/media/omap4iss/iss.c struct iss_pipeline *pipe = to_iss_pipeline(me); pipe 622 drivers/staging/media/omap4iss/iss.c struct iss_video *video = pipe->output; pipe 625 drivers/staging/media/omap4iss/iss.c if (pipe->stream_state == ISS_PIPELINE_STREAM_STOPPED || pipe 626 drivers/staging/media/omap4iss/iss.c (pipe->stream_state == ISS_PIPELINE_STREAM_SINGLESHOT && pipe 627 drivers/staging/media/omap4iss/iss.c !iss_pipeline_ready(pipe))) pipe 125 drivers/staging/media/omap4iss/iss.h int omap4iss_get_external_info(struct iss_pipeline *pipe, pipe 134 drivers/staging/media/omap4iss/iss.h int omap4iss_pipeline_set_stream(struct iss_pipeline *pipe, pipe 136 drivers/staging/media/omap4iss/iss.h void omap4iss_pipeline_cancel_stream(struct iss_pipeline *pipe); pipe 678 drivers/staging/media/omap4iss/iss_csi2.c struct iss_pipeline *pipe = pipe 692 drivers/staging/media/omap4iss/iss_csi2.c atomic_inc(&pipe->frame_number); pipe 706 drivers/staging/media/omap4iss/iss_csi2.c atomic_add(delta, &pipe->frame_number); pipe 742 drivers/staging/media/omap4iss/iss_csi2.c struct iss_pipeline *pipe = to_iss_pipeline(&csi2->subdev.entity); pipe 760 drivers/staging/media/omap4iss/iss_csi2.c pipe->error = true; pipe 775 drivers/staging/media/omap4iss/iss_csi2.c pipe->error = true; pipe 1022 drivers/staging/media/omap4iss/iss_csi2.c struct iss_pipeline *pipe = to_iss_pipeline(&csi2->subdev.entity); pipe 1025 drivers/staging/media/omap4iss/iss_csi2.c pipe->external = media_entity_to_v4l2_subdev(link->source->entity); pipe 1026 drivers/staging/media/omap4iss/iss_csi2.c rval = omap4iss_get_external_info(pipe, link); pipe 119 drivers/staging/media/omap4iss/iss_csiphy.c struct iss_pipeline *pipe = to_iss_pipeline(&csi2_subdev->entity); pipe 120 drivers/staging/media/omap4iss/iss_csiphy.c struct iss_v4l2_subdevs_group *subdevs = pipe->external->host_priv; pipe 196 drivers/staging/media/omap4iss/iss_csiphy.c csi2_ddrclk_khz = pipe->external_rate / 1000 pipe 198 drivers/staging/media/omap4iss/iss_csiphy.c * pipe->external_bpp; pipe 289 drivers/staging/media/omap4iss/iss_resizer.c struct iss_pipeline *pipe = pipe 297 drivers/staging/media/omap4iss/iss_resizer.c omap4iss_pipeline_cancel_stream(pipe); pipe 358 drivers/staging/media/omap4iss/iss_video.c struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity); pipe 390 drivers/staging/media/omap4iss/iss_video.c spin_lock_irqsave(&pipe->lock, flags); pipe 391 drivers/staging/media/omap4iss/iss_video.c pipe->state |= state; pipe 395 drivers/staging/media/omap4iss/iss_video.c start = iss_pipeline_ready(pipe); pipe 397 drivers/staging/media/omap4iss/iss_video.c pipe->state |= ISS_PIPELINE_STREAM; pipe 398 drivers/staging/media/omap4iss/iss_video.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 401 drivers/staging/media/omap4iss/iss_video.c omap4iss_pipeline_set_stream(pipe, pipe 430 drivers/staging/media/omap4iss/iss_video.c struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity); pipe 455 drivers/staging/media/omap4iss/iss_video.c if (video == pipe->output && !pipe->do_propagation) pipe 457 drivers/staging/media/omap4iss/iss_video.c atomic_inc_return(&pipe->frame_number); pipe 459 drivers/staging/media/omap4iss/iss_video.c buf->vb.sequence = atomic_read(&pipe->frame_number); pipe 461 drivers/staging/media/omap4iss/iss_video.c vb2_buffer_done(&buf->vb.vb2_buf, pipe->error ? pipe 463 drivers/staging/media/omap4iss/iss_video.c pipe->error = false; pipe 475 drivers/staging/media/omap4iss/iss_video.c spin_lock_irqsave(&pipe->lock, flags); pipe 476 drivers/staging/media/omap4iss/iss_video.c pipe->state &= ~state; pipe 477 drivers/staging/media/omap4iss/iss_video.c if (video->pipe.stream_state == ISS_PIPELINE_STREAM_CONTINUOUS) pipe 479 drivers/staging/media/omap4iss/iss_video.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 483 drivers/staging/media/omap4iss/iss_video.c if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input) { pipe 484 drivers/staging/media/omap4iss/iss_video.c spin_lock(&pipe->lock); pipe 485 drivers/staging/media/omap4iss/iss_video.c pipe->state &= ~ISS_PIPELINE_STREAM; pipe 486 drivers/staging/media/omap4iss/iss_video.c spin_unlock(&pipe->lock); pipe 858 drivers/staging/media/omap4iss/iss_video.c struct iss_pipeline *pipe; pipe 872 drivers/staging/media/omap4iss/iss_video.c pipe = entity->pipe pipe 873 drivers/staging/media/omap4iss/iss_video.c ? to_iss_pipeline(entity) : &video->pipe; pipe 874 drivers/staging/media/omap4iss/iss_video.c pipe->external = NULL; pipe 875 drivers/staging/media/omap4iss/iss_video.c pipe->external_rate = 0; pipe 876 drivers/staging/media/omap4iss/iss_video.c pipe->external_bpp = 0; pipe 878 drivers/staging/media/omap4iss/iss_video.c ret = media_entity_enum_init(&pipe->ent_enum, entity->graph_obj.mdev); pipe 889 drivers/staging/media/omap4iss/iss_video.c ret = media_pipeline_start(entity, &pipe->pipe); pipe 895 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_set(&pipe->ent_enum, entity); pipe 916 drivers/staging/media/omap4iss/iss_video.c pipe->input = far_end; pipe 917 drivers/staging/media/omap4iss/iss_video.c pipe->output = video; pipe 925 drivers/staging/media/omap4iss/iss_video.c pipe->input = video; pipe 926 drivers/staging/media/omap4iss/iss_video.c pipe->output = far_end; pipe 929 drivers/staging/media/omap4iss/iss_video.c spin_lock_irqsave(&pipe->lock, flags); pipe 930 drivers/staging/media/omap4iss/iss_video.c pipe->state &= ~ISS_PIPELINE_STREAM; pipe 931 drivers/staging/media/omap4iss/iss_video.c pipe->state |= state; pipe 932 drivers/staging/media/omap4iss/iss_video.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 940 drivers/staging/media/omap4iss/iss_video.c pipe->max_timeperframe = vfh->timeperframe; pipe 945 drivers/staging/media/omap4iss/iss_video.c atomic_set(&pipe->frame_number, -1); pipe 956 drivers/staging/media/omap4iss/iss_video.c if (!pipe->input) { pipe 959 drivers/staging/media/omap4iss/iss_video.c ret = omap4iss_pipeline_set_stream(pipe, pipe 987 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_cleanup(&pipe->ent_enum); pipe 999 drivers/staging/media/omap4iss/iss_video.c struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity); pipe 1019 drivers/staging/media/omap4iss/iss_video.c spin_lock_irqsave(&pipe->lock, flags); pipe 1020 drivers/staging/media/omap4iss/iss_video.c pipe->state &= ~state; pipe 1021 drivers/staging/media/omap4iss/iss_video.c spin_unlock_irqrestore(&pipe->lock, flags); pipe 1024 drivers/staging/media/omap4iss/iss_video.c omap4iss_pipeline_set_stream(pipe, ISS_PIPELINE_STREAM_STOPPED); pipe 1028 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_cleanup(&pipe->ent_enum); pipe 1235 drivers/staging/media/omap4iss/iss_video.c spin_lock_init(&video->pipe.lock); pipe 1248 drivers/staging/media/omap4iss/iss_video.c video->pipe.stream_state = ISS_PIPELINE_STREAM_STOPPED; pipe 78 drivers/staging/media/omap4iss/iss_video.h struct media_pipeline pipe; pipe 95 drivers/staging/media/omap4iss/iss_video.h container_of((__e)->pipe, struct iss_pipeline, pipe) pipe 97 drivers/staging/media/omap4iss/iss_video.h static inline int iss_pipeline_ready(struct iss_pipeline *pipe) pipe 99 drivers/staging/media/omap4iss/iss_video.h return pipe->state == (ISS_PIPELINE_STREAM_INPUT | pipe 158 drivers/staging/media/omap4iss/iss_video.h struct iss_pipeline pipe; pipe 66 drivers/staging/most/core.c struct pipe pipe0; pipe 67 drivers/staging/most/core.c struct pipe pipe1; pipe 80 drivers/staging/most/usb/usb.c int pipe; pipe 360 drivers/staging/most/usb/usb.c mdev->clear_work[channel].pipe = urb->pipe; pipe 514 drivers/staging/most/usb/usb.c mdev->clear_work[channel].pipe = urb->pipe; pipe 830 drivers/staging/most/usb/usb.c int pipe = clear_work->pipe; pipe 835 drivers/staging/most/usb/usb.c if (usb_clear_halt(mdev->usb_device, pipe)) pipe 467 drivers/staging/octeon-usb/octeon-hcd.c if (usb_pipeisoc(urb->pipe)) pipe 553 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe) pipe 555 drivers/staging/octeon-usb/octeon-hcd.c return pipe->device_speed != CVMX_USB_SPEED_HIGH && pipe 566 drivers/staging/octeon-usb/octeon-hcd.c static inline int cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe) pipe 568 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->pid_toggle) pipe 1097 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 1099 drivers/staging/octeon-usb/octeon-hcd.c pipe = kzalloc(sizeof(*pipe), GFP_ATOMIC); pipe 1100 drivers/staging/octeon-usb/octeon-hcd.c if (!pipe) pipe 1105 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags |= CVMX_USB_PIPE_FLAGS_NEED_PING; pipe 1106 drivers/staging/octeon-usb/octeon-hcd.c pipe->device_addr = device_addr; pipe 1107 drivers/staging/octeon-usb/octeon-hcd.c pipe->endpoint_num = endpoint_num; pipe 1108 drivers/staging/octeon-usb/octeon-hcd.c pipe->device_speed = device_speed; pipe 1109 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet = max_packet; pipe 1110 drivers/staging/octeon-usb/octeon-hcd.c pipe->transfer_type = transfer_type; pipe 1111 drivers/staging/octeon-usb/octeon-hcd.c pipe->transfer_dir = transfer_dir; pipe 1112 drivers/staging/octeon-usb/octeon-hcd.c INIT_LIST_HEAD(&pipe->transactions); pipe 1120 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 1121 drivers/staging/octeon-usb/octeon-hcd.c pipe->interval = interval * 8; pipe 1123 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = ((usb->frame_number + 7) & ~7) + pipe 1124 drivers/staging/octeon-usb/octeon-hcd.c pipe->interval; pipe 1126 drivers/staging/octeon-usb/octeon-hcd.c pipe->interval = interval; pipe 1127 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = usb->frame_number + pipe->interval; pipe 1129 drivers/staging/octeon-usb/octeon-hcd.c pipe->multi_count = multi_count; pipe 1130 drivers/staging/octeon-usb/octeon-hcd.c pipe->hub_device_addr = hub_device_addr; pipe 1131 drivers/staging/octeon-usb/octeon-hcd.c pipe->hub_port = hub_port; pipe 1132 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = 0; pipe 1133 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = -1; pipe 1134 drivers/staging/octeon-usb/octeon-hcd.c list_add_tail(&pipe->node, &usb->idle_pipes); pipe 1141 drivers/staging/octeon-usb/octeon-hcd.c return pipe; pipe 1349 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe) pipe 1354 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*transaction), pipe 1398 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); pipe 1399 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 1402 drivers/staging/octeon-usb/octeon-hcd.c else if (bytes_to_transfer > pipe->max_packet) pipe 1403 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer = pipe->max_packet; pipe 1412 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); pipe 1424 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); pipe 1433 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); pipe 1451 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer = MAX_TRANSFER_BYTES / pipe->max_packet; pipe 1452 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer *= pipe->max_packet; pipe 1460 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet); pipe 1471 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer = packets_to_transfer * pipe->max_packet; pipe 1478 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer = packets_to_transfer * pipe->max_packet; pipe 1496 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe) pipe 1499 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*transaction), pipe 1506 drivers/staging/octeon-usb/octeon-hcd.c usb->pipe_for_channel[channel] = pipe; pipe 1507 drivers/staging/octeon-usb/octeon-hcd.c pipe->channel = channel; pipe 1508 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags |= CVMX_USB_PIPE_FLAGS_SCHEDULED; pipe 1538 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 1573 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT) pipe 1601 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 1610 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = pipe 1613 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = pipe 1616 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = -1; pipe 1620 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcsplt.s.hubaddr = pipe->hub_device_addr; pipe 1621 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcsplt.s.prtaddr = pipe->hub_port; pipe 1630 drivers/staging/octeon-usb/octeon-hcd.c if (bytes_to_transfer > pipe->max_packet) pipe 1631 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer = pipe->max_packet; pipe 1639 drivers/staging/octeon-usb/octeon-hcd.c (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT) && pipe 1640 drivers/staging/octeon-usb/octeon-hcd.c (pipe->transfer_type == pipe 1646 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = -1; pipe 1694 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet; pipe 1695 drivers/staging/octeon-usb/octeon-hcd.c bytes_to_transfer *= pipe->max_packet; pipe 1703 drivers/staging/octeon-usb/octeon-hcd.c DIV_ROUND_UP(bytes_to_transfer, pipe->max_packet); pipe 1717 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet; pipe 1725 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet; pipe 1732 drivers/staging/octeon-usb/octeon-hcd.c usbc_hctsiz.s.pid = cvmx_usb_get_data_pid(pipe); pipe 1736 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->flags & CVMX_USB_PIPE_FLAGS_NEED_PING) pipe 1763 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) pipe 1765 drivers/staging/octeon-usb/octeon-hcd.c else if (pipe->multi_count < 1) pipe 1767 drivers/staging/octeon-usb/octeon-hcd.c else if (pipe->multi_count > 3) pipe 1770 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.ec = pipe->multi_count; pipe 1773 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.devaddr = pipe->device_addr; pipe 1776 drivers/staging/octeon-usb/octeon-hcd.c (pipe->device_speed == CVMX_USB_SPEED_LOW); pipe 1777 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.epdir = pipe->transfer_dir; pipe 1778 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.epnum = pipe->endpoint_num; pipe 1779 drivers/staging/octeon-usb/octeon-hcd.c usbc_hcchar.s.mps = pipe->max_packet; pipe 1788 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_start_channel_control(usb, channel, pipe); pipe 1794 drivers/staging/octeon-usb/octeon-hcd.c if (!cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 1799 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT) { pipe 1800 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->multi_count < 2) /* Need DATA0 */ pipe 1824 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) pipe 1845 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 1847 drivers/staging/octeon-usb/octeon-hcd.c list_for_each_entry(pipe, list, node) { pipe 1849 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*t), pipe 1851 drivers/staging/octeon-usb/octeon-hcd.c if (!(pipe->flags & CVMX_USB_PIPE_FLAGS_SCHEDULED) && t && pipe 1852 drivers/staging/octeon-usb/octeon-hcd.c (pipe->next_tx_frame <= current_frame) && pipe 1853 drivers/staging/octeon-usb/octeon-hcd.c ((pipe->split_sc_frame == -1) || pipe 1854 drivers/staging/octeon-usb/octeon-hcd.c ((((int)current_frame - pipe->split_sc_frame) & 0x7f) < pipe 1858 drivers/staging/octeon-usb/octeon-hcd.c return pipe; pipe 1867 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 1876 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, pipe 1878 drivers/staging/octeon-usb/octeon-hcd.c if (pipe) pipe 1879 drivers/staging/octeon-usb/octeon-hcd.c return pipe; pipe 1880 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, pipe 1882 drivers/staging/octeon-usb/octeon-hcd.c if (pipe) pipe 1883 drivers/staging/octeon-usb/octeon-hcd.c return pipe; pipe 1885 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_find_ready_pipe(usb, CVMX_USB_TRANSFER_CONTROL); pipe 1886 drivers/staging/octeon-usb/octeon-hcd.c if (pipe) pipe 1887 drivers/staging/octeon-usb/octeon-hcd.c return pipe; pipe 1901 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 1930 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_next_pipe(usb, is_sof); pipe 1931 drivers/staging/octeon-usb/octeon-hcd.c if (!pipe) pipe 1934 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_start_channel(usb, channel, pipe); pipe 1945 drivers/staging/octeon-usb/octeon-hcd.c list_for_each_entry(pipe, &usb->active_pipes[ttype], node) { pipe 1946 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->next_tx_frame > usb->frame_number) { pipe 1958 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 1977 drivers/staging/octeon-usb/octeon-hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 1997 drivers/staging/octeon-usb/octeon-hcd.c iso_packet[i].status, pipe, pipe 2017 drivers/staging/octeon-usb/octeon-hcd.c pipe, transaction, bytes_transferred); pipe 2022 drivers/staging/octeon-usb/octeon-hcd.c pipe, transaction, bytes_transferred); pipe 2027 drivers/staging/octeon-usb/octeon-hcd.c pipe, transaction, bytes_transferred); pipe 2035 drivers/staging/octeon-usb/octeon-hcd.c status, pipe, transaction, bytes_transferred); pipe 2057 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2093 drivers/staging/octeon-usb/octeon-hcd.c if (list_empty(&pipe->transactions)) pipe 2094 drivers/staging/octeon-usb/octeon-hcd.c list_move_tail(&pipe->node, &usb->idle_pipes); pipe 2095 drivers/staging/octeon-usb/octeon-hcd.c octeon_usb_urb_complete_callback(usb, complete_code, pipe, pipe 2126 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2138 drivers/staging/octeon-usb/octeon-hcd.c if (unlikely(pipe->transfer_type != type)) pipe 2159 drivers/staging/octeon-usb/octeon-hcd.c if (!list_empty(&pipe->transactions)) { pipe 2160 drivers/staging/octeon-usb/octeon-hcd.c list_add_tail(&transaction->node, &pipe->transactions); pipe 2162 drivers/staging/octeon-usb/octeon-hcd.c list_add_tail(&transaction->node, &pipe->transactions); pipe 2163 drivers/staging/octeon-usb/octeon-hcd.c list_move_tail(&pipe->node, pipe 2164 drivers/staging/octeon-usb/octeon-hcd.c &usb->active_pipes[pipe->transfer_type]); pipe 2187 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2190 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, CVMX_USB_TRANSFER_BULK, pipe 2211 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2214 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, pipe 2236 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2246 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, pipe 2267 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2273 drivers/staging/octeon-usb/octeon-hcd.c return cvmx_usb_submit_transaction(usb, pipe, pipe 2297 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2304 drivers/staging/octeon-usb/octeon-hcd.c if (list_first_entry(&pipe->transactions, typeof(*transaction), node) == pipe 2305 drivers/staging/octeon-usb/octeon-hcd.c transaction && (pipe->flags & CVMX_USB_PIPE_FLAGS_SCHEDULED)) { pipe 2308 drivers/staging/octeon-usb/octeon-hcd.c usb->pipe_for_channel[pipe->channel] = NULL; pipe 2309 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags &= ~CVMX_USB_PIPE_FLAGS_SCHEDULED; pipe 2314 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(pipe->channel, usb->index)); pipe 2322 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(pipe->channel, pipe 2327 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_CANCEL); pipe 2341 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe) pipe 2346 drivers/staging/octeon-usb/octeon-hcd.c list_for_each_entry_safe(transaction, next, &pipe->transactions, node) { pipe 2347 drivers/staging/octeon-usb/octeon-hcd.c int result = cvmx_usb_cancel(usb, pipe, transaction); pipe 2365 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe) pipe 2368 drivers/staging/octeon-usb/octeon-hcd.c if (!list_empty(&pipe->transactions)) pipe 2371 drivers/staging/octeon-usb/octeon-hcd.c list_del(&pipe->node); pipe 2372 drivers/staging/octeon-usb/octeon-hcd.c kfree(pipe); pipe 2395 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2405 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2409 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = 1; pipe 2410 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2433 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2442 drivers/staging/octeon-usb/octeon-hcd.c if (buffer_space_left < pipe->max_packet) pipe 2447 drivers/staging/octeon-usb/octeon-hcd.c pipe->max_packet; pipe 2450 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) { pipe 2451 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = 1; pipe 2457 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) { pipe 2458 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = 1; pipe 2465 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) pipe 2469 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2473 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); pipe 2479 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2490 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2495 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet == pipe->max_packet)) pipe 2498 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2501 drivers/staging/octeon-usb/octeon-hcd.c if ((pipe->device_speed == CVMX_USB_SPEED_HIGH) && pipe 2502 drivers/staging/octeon-usb/octeon-hcd.c (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT) && pipe 2504 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags |= CVMX_USB_PIPE_FLAGS_NEED_PING; pipe 2506 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) pipe 2507 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2513 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2518 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2523 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet == pipe->max_packet)) { pipe 2526 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2527 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2531 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) { pipe 2532 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2533 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); pipe 2538 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe, pipe 2544 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2551 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT) { pipe 2558 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2559 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2571 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) { pipe 2572 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2573 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2581 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2582 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, CVMX_USB_STATUS_OK); pipe 2601 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 2672 drivers/staging/octeon-usb/octeon-hcd.c pipe = usb->pipe_for_channel[channel]; pipe 2673 drivers/staging/octeon-usb/octeon-hcd.c prefetch(pipe); pipe 2674 drivers/staging/octeon-usb/octeon-hcd.c if (!pipe) pipe 2676 drivers/staging/octeon-usb/octeon-hcd.c transaction = list_first_entry(&pipe->transactions, pipe 2686 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags &= ~CVMX_USB_PIPE_FLAGS_SCHEDULED; pipe 2759 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = !(usbc_hctsiz.s.pid == 0); pipe 2766 drivers/staging/octeon-usb/octeon-hcd.c if ((pipe->device_speed == CVMX_USB_SPEED_HIGH) && pipe 2767 drivers/staging/octeon-usb/octeon-hcd.c (pipe->transfer_type == CVMX_USB_TRANSFER_BULK) && pipe 2768 drivers/staging/octeon-usb/octeon-hcd.c (pipe->transfer_dir == CVMX_USB_DIRECTION_OUT)) pipe 2769 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags |= CVMX_USB_PIPE_FLAGS_NEED_PING; pipe 2777 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2789 drivers/staging/octeon-usb/octeon-hcd.c pipe->pid_toggle = 0; pipe 2790 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2798 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2802 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2806 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 2815 drivers/staging/octeon-usb/octeon-hcd.c if (!cvmx_usb_pipe_needs_split(usb, pipe)) { pipe 2822 drivers/staging/octeon-usb/octeon-hcd.c (bytes_in_last_packet < pipe->max_packet)) pipe 2823 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, pipe 2839 drivers/staging/octeon-usb/octeon-hcd.c pipe->split_sc_frame = -1; pipe 2855 drivers/staging/octeon-usb/octeon-hcd.c pipe->flags &= ~CVMX_USB_PIPE_FLAGS_NEED_PING; pipe 2859 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_control(usb, pipe, transaction, pipe 2865 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_bulk(usb, pipe, transaction, pipe 2870 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_intr(usb, pipe, transaction, pipe 2875 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_transfer_isoc(usb, pipe, transaction, pipe 2895 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame += pipe->interval; pipe 2896 drivers/staging/octeon-usb/octeon-hcd.c if (pipe->next_tx_frame < usb->frame_number) pipe 2897 drivers/staging/octeon-usb/octeon-hcd.c pipe->next_tx_frame = usb->frame_number + pipe 2898 drivers/staging/octeon-usb/octeon-hcd.c pipe->interval - pipe 2899 drivers/staging/octeon-usb/octeon-hcd.c (usb->frame_number - pipe->next_tx_frame) % pipe 2900 drivers/staging/octeon-usb/octeon-hcd.c pipe->interval; pipe 2913 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_complete(usb, pipe, transaction, pipe 3072 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe; pipe 3093 drivers/staging/octeon-usb/octeon-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 3149 drivers/staging/octeon-usb/octeon-hcd.c pipe = cvmx_usb_open_pipe(usb, usb_pipedevice(urb->pipe), pipe 3150 drivers/staging/octeon-usb/octeon-hcd.c usb_pipeendpoint(urb->pipe), speed, pipe 3154 drivers/staging/octeon-usb/octeon-hcd.c usb_pipein(urb->pipe) ? pipe 3161 drivers/staging/octeon-usb/octeon-hcd.c if (!pipe) { pipe 3167 drivers/staging/octeon-usb/octeon-hcd.c ep->hcpriv = pipe; pipe 3169 drivers/staging/octeon-usb/octeon-hcd.c pipe = ep->hcpriv; pipe 3172 drivers/staging/octeon-usb/octeon-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 3175 drivers/staging/octeon-usb/octeon-hcd.c usb_pipedevice(urb->pipe), pipe 3176 drivers/staging/octeon-usb/octeon-hcd.c usb_pipeendpoint(urb->pipe)); pipe 3201 drivers/staging/octeon-usb/octeon-hcd.c pipe, urb); pipe 3214 drivers/staging/octeon-usb/octeon-hcd.c usb_pipedevice(urb->pipe), pipe 3215 drivers/staging/octeon-usb/octeon-hcd.c usb_pipeendpoint(urb->pipe)); pipe 3216 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_interrupt(usb, pipe, urb); pipe 3220 drivers/staging/octeon-usb/octeon-hcd.c usb_pipedevice(urb->pipe), pipe 3221 drivers/staging/octeon-usb/octeon-hcd.c usb_pipeendpoint(urb->pipe)); pipe 3222 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_control(usb, pipe, urb); pipe 3226 drivers/staging/octeon-usb/octeon-hcd.c usb_pipedevice(urb->pipe), pipe 3227 drivers/staging/octeon-usb/octeon-hcd.c usb_pipeendpoint(urb->pipe)); pipe 3228 drivers/staging/octeon-usb/octeon-hcd.c transaction = cvmx_usb_submit_bulk(usb, pipe, urb); pipe 3275 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_pipe *pipe = ep->hcpriv; pipe 3279 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_cancel_all(usb, pipe); pipe 3280 drivers/staging/octeon-usb/octeon-hcd.c if (cvmx_usb_close_pipe(usb, pipe)) pipe 3281 drivers/staging/octeon-usb/octeon-hcd.c dev_dbg(dev, "Closing pipe %p failed\n", pipe); pipe 186 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c unsigned int pipe = 0, ep_num = 0; pipe 190 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[0]); pipe 192 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[1]); pipe 195 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, ep_num); pipe 198 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c return pipe; pipe 205 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c unsigned int pipe; pipe 242 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = usb_rcvctrlpipe(udev, 0);/* read_in */ pipe 245 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = usb_sndctrlpipe(udev, 0);/* write_out */ pipe 250 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c status = usb_control_msg(udev, pipe, request, reqtype, value, index, pIo_buf, len, RTW_USB_CONTROL_MSG_TIMEOUT); pipe 431 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c unsigned int pipe; pipe 469 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = ffaddr2pipehdl(pdvobj, addr); pipe 471 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c usb_fill_bulk_urb(purb, pusbd, pipe, pipe 659 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c unsigned int pipe; pipe 711 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pipe = ffaddr2pipehdl(pdvobj, addr); pipe 713 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c usb_fill_bulk_urb(purb, pusbd, pipe, pipe 55 drivers/staging/rtl8712/usb_ops_linux.c unsigned int pipe = 0; pipe 61 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x07); pipe 64 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x06); pipe 67 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x05); pipe 70 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x04); pipe 73 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0a); pipe 76 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0b); pipe 79 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0c); pipe 82 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, 0x03); /* in */ pipe 85 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, 0x09); /* in */ pipe 88 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0d); pipe 94 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x07); pipe 97 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x06); pipe 100 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x05); pipe 103 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x04); pipe 107 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, 0x03); /* in */ pipe 113 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0d); pipe 119 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x06); pipe 122 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x04); pipe 126 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_rcvbulkpipe(pusbd, 0x03); /* in */ pipe 132 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndbulkpipe(pusbd, 0x0d); pipe 136 drivers/staging/rtl8712/usb_ops_linux.c pipe = 0; pipe 138 drivers/staging/rtl8712/usb_ops_linux.c return pipe; pipe 159 drivers/staging/rtl8712/usb_ops_linux.c unsigned int pipe; pipe 171 drivers/staging/rtl8712/usb_ops_linux.c pipe = ffaddr2pipehdl(pdvobj, addr); pipe 172 drivers/staging/rtl8712/usb_ops_linux.c if (pipe == 0) pipe 174 drivers/staging/rtl8712/usb_ops_linux.c usb_fill_bulk_urb(piorw_urb, pusbd, pipe, pipe 244 drivers/staging/rtl8712/usb_ops_linux.c unsigned int pipe; pipe 287 drivers/staging/rtl8712/usb_ops_linux.c pipe = ffaddr2pipehdl(pdvobj, addr); pipe 288 drivers/staging/rtl8712/usb_ops_linux.c usb_fill_bulk_urb(purb, pusbd, pipe, pipe 383 drivers/staging/rtl8712/usb_ops_linux.c unsigned int pipe; pipe 435 drivers/staging/rtl8712/usb_ops_linux.c pipe = ffaddr2pipehdl(pdvobj, addr); pipe 442 drivers/staging/rtl8712/usb_ops_linux.c usb_fill_bulk_urb(purb, pusbd, pipe, pipe 472 drivers/staging/rtl8712/usb_ops_linux.c unsigned int pipe; pipe 488 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_rcvctrlpipe(udev, 0); /* read_in */ pipe 491 drivers/staging/rtl8712/usb_ops_linux.c pipe = usb_sndctrlpipe(udev, 0); /* write_out */ pipe 495 drivers/staging/rtl8712/usb_ops_linux.c status = usb_control_msg(udev, pipe, request, reqtype, value, index, pipe 288 drivers/staging/wlan-ng/hfa384x_usb.c pr_debug("urb->pipe=0x%08x\n", urb->pipe); pipe 113 drivers/staging/wusbcore/host/whci/hcd.c switch (usb_pipetype(urb->pipe)) { pipe 140 drivers/staging/wusbcore/host/whci/hcd.c switch (usb_pipetype(urb->pipe)) { pipe 49 drivers/staging/wusbcore/host/whci/qset.c is_out = usb_pipeout(urb->pipe); pipe 67 drivers/staging/wusbcore/host/whci/qset.c if (usb_pipecontrol(urb->pipe)) pipe 79 drivers/staging/wusbcore/host/whci/qset.c QH_INFO1_EP(usb_pipeendpoint(urb->pipe)) pipe 81 drivers/staging/wusbcore/host/whci/qset.c | usb_pipe_to_qh_type(urb->pipe) pipe 196 drivers/staging/wusbcore/host/whci/qset.c if (usb_pipecontrol(std->urb->pipe)) pipe 201 drivers/staging/wusbcore/host/whci/qset.c if (whc_std_last(std) && usb_pipeout(std->urb->pipe)) pipe 215 drivers/staging/wusbcore/host/whci/qset.c } else if (usb_pipein(std->urb->pipe)) pipe 291 drivers/staging/wusbcore/host/whci/qset.c bool is_out = usb_pipeout(std->urb->pipe); pipe 547 drivers/staging/wusbcore/host/whci/qset.c bool is_out = usb_pipeout(urb->pipe); pipe 723 drivers/staging/wusbcore/host/whci/qset.c return usb_pipein(urb->pipe) ? -ENOSR : -ECOMM; pipe 730 drivers/staging/wusbcore/host/whci/qset.c if (usb_pipein(urb->pipe) pipe 757 drivers/staging/wusbcore/host/whci/qset.c if (usb_pipein(urb->pipe) && (status & QTD_STS_LAST_PKT)) pipe 175 drivers/staging/wusbcore/host/whci/whci-hc.h static inline unsigned usb_pipe_to_qh_type(unsigned pipe) pipe 183 drivers/staging/wusbcore/host/whci/whci-hc.h return type[usb_pipetype(pipe)]; pipe 333 drivers/staging/wusbcore/wa-rpipe.c rpipe->descr.bSpeed = usb_pipeendpoint(urb->pipe) == 0 ? pipe 339 drivers/staging/wusbcore/wa-rpipe.c usb_pipeendpoint(urb->pipe), rpipe->descr.bSpeed); pipe 401 drivers/staging/wusbcore/wa-rpipe.c AIM_CHECK(bSpeed, usb_pipeendpoint(urb->pipe) == 0 ? pipe 347 drivers/staging/wusbcore/wa-xfer.c if (!(usb_pipeisoc(xfer->urb->pipe)) pipe 606 drivers/staging/wusbcore/wa-xfer.c xfer->is_inbound = urb->pipe & USB_DIR_IN ? 1 : 0; pipe 752 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe)) { pipe 962 drivers/staging/wusbcore/wa-xfer.c !(usb_pipeisoc(xfer->urb->pipe))) pipe 1183 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe)) { pipe 1207 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe)) { pipe 1245 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe)) { pipe 1859 drivers/staging/wusbcore/wa-xfer.c xfer, urb, urb->pipe, urb->transfer_buffer_length, pipe 1861 drivers/staging/wusbcore/wa-xfer.c urb->pipe & USB_DIR_IN ? "inbound" : "outbound", pipe 2330 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe) pipe 2336 drivers/staging/wusbcore/wa-xfer.c } else if (xfer->is_inbound && !usb_pipeisoc(xfer->urb->pipe) pipe 2605 drivers/staging/wusbcore/wa-xfer.c if (usb_pipeisoc(xfer->urb->pipe)) { pipe 523 drivers/usb/atm/usbatm.c if (usb_pipeisoc(urb->pipe)) { pipe 70 drivers/usb/c67x00/c67x00-sched.c unsigned int pipe; pipe 142 drivers/usb/c67x00/c67x00-sched.c dev_dbg(dev, "endpoint: %4d\n", usb_pipeendpoint(td->pipe)); pipe 143 drivers/usb/c67x00/c67x00-sched.c dev_dbg(dev, "pipeout: %4d\n", usb_pipeout(td->pipe)); pipe 207 drivers/usb/c67x00/c67x00-sched.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 267 drivers/usb/c67x00/c67x00-sched.c type = usb_pipetype(urb->pipe); pipe 388 drivers/usb/c67x00/c67x00-sched.c switch (usb_pipetype(urb->pipe)) { pipe 518 drivers/usb/c67x00/c67x00-sched.c if (usb_pipein(urb->pipe)) pipe 524 drivers/usb/c67x00/c67x00-sched.c if (usb_pipeisoc(urb->pipe)) pipe 525 drivers/usb/c67x00/c67x00-sched.c bit_time = usb_pipein(urb->pipe) ? 9050 : 7840; pipe 573 drivers/usb/c67x00/c67x00-sched.c if (c67x00_claim_frame_bw(c67x00, urb, len, usb_pipeisoc(urb->pipe) pipe 574 drivers/usb/c67x00/c67x00-sched.c || usb_pipeint(urb->pipe))) pipe 581 drivers/usb/c67x00/c67x00-sched.c td->pipe = urb->pipe; pipe 588 drivers/usb/c67x00/c67x00-sched.c switch (usb_pipetype(td->pipe)) { pipe 618 drivers/usb/c67x00/c67x00-sched.c (usb_pipeendpoint(td->pipe) & 0xF); pipe 619 drivers/usb/c67x00/c67x00-sched.c td->dev_addr = usb_pipedevice(td->pipe) & 0x7F; pipe 654 drivers/usb/c67x00/c67x00-sched.c toggle = usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 655 drivers/usb/c67x00/c67x00-sched.c usb_pipeout(urb->pipe)); pipe 658 drivers/usb/c67x00/c67x00-sched.c maxps = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); pipe 661 drivers/usb/c67x00/c67x00-sched.c usb_pipeout(urb->pipe) && !(remaining % maxps); pipe 671 drivers/usb/c67x00/c67x00-sched.c pid = usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN; pipe 681 drivers/usb/c67x00/c67x00-sched.c if (usb_pipecontrol(urb->pipe)) pipe 704 drivers/usb/c67x00/c67x00-sched.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 705 drivers/usb/c67x00/c67x00-sched.c usb_pipeout(urb->pipe), 1); pipe 715 drivers/usb/c67x00/c67x00-sched.c pid = !usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN; pipe 754 drivers/usb/c67x00/c67x00-sched.c pid = usb_pipeout(urb->pipe) ? USB_PID_OUT : USB_PID_IN; pipe 834 drivers/usb/c67x00/c67x00-sched.c if (usb_pipein(td->pipe) && td_actual_bytes(td)) pipe 868 drivers/usb/c67x00/c67x00-sched.c maxps = usb_maxpacket(td_udev(td), td->pipe, usb_pipeout(td->pipe)); pipe 875 drivers/usb/c67x00/c67x00-sched.c usb_pipeout(urb->pipe) && !(remaining % maxps); pipe 896 drivers/usb/c67x00/c67x00-sched.c if (td->pipe == last_td->pipe) { pipe 916 drivers/usb/c67x00/c67x00-sched.c switch (usb_pipetype(td->pipe)) { pipe 992 drivers/usb/c67x00/c67x00-sched.c if (usb_pipeisoc(td->pipe)) { pipe 1029 drivers/usb/c67x00/c67x00-sched.c usb_settoggle(td_udev(td), usb_pipeendpoint(td->pipe), pipe 1030 drivers/usb/c67x00/c67x00-sched.c usb_pipeout(td->pipe), pipe 467 drivers/usb/core/devio.c void __user *userurb, int pipe, unsigned length, pipe 479 drivers/usb/core/devio.c ep = usb_pipeendpoint(pipe); pipe 480 drivers/usb/core/devio.c t = types[usb_pipetype(pipe)]; pipe 481 drivers/usb/core/devio.c d = dirs[!!usb_pipein(pipe)]; pipe 621 drivers/usb/core/devio.c snoop_urb(urb->dev, as->userurb, urb->pipe, urb->actual_length, pipe 1112 drivers/usb/core/devio.c int i, pipe, ret; pipe 1144 drivers/usb/core/devio.c pipe = usb_rcvctrlpipe(dev, 0); pipe 1145 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); pipe 1148 drivers/usb/core/devio.c i = usb_control_msg(dev, pipe, ctrl.bRequest, pipe 1152 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, pipe 1167 drivers/usb/core/devio.c pipe = usb_sndctrlpipe(dev, 0); pipe 1168 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, pipe 1176 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, NULL, 0); pipe 1196 drivers/usb/core/devio.c unsigned int tmo, len1, pipe; pipe 1210 drivers/usb/core/devio.c pipe = usb_rcvbulkpipe(dev, bulk.ep & 0x7f); pipe 1212 drivers/usb/core/devio.c pipe = usb_sndbulkpipe(dev, bulk.ep & 0x7f); pipe 1213 drivers/usb/core/devio.c if (!usb_maxpacket(dev, pipe, !(bulk.ep & USB_DIR_IN))) pipe 1232 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); pipe 1235 drivers/usb/core/devio.c i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); pipe 1237 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); pipe 1252 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); pipe 1255 drivers/usb/core/devio.c i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); pipe 1257 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, NULL, 0); pipe 1301 drivers/usb/core/devio.c int pipe; pipe 1314 drivers/usb/core/devio.c pipe = usb_rcvbulkpipe(ps->dev, ep & 0x7f); pipe 1316 drivers/usb/core/devio.c pipe = usb_sndbulkpipe(ps->dev, ep & 0x7f); pipe 1318 drivers/usb/core/devio.c return usb_clear_halt(ps->dev, pipe); pipe 1754 drivers/usb/core/devio.c as->urb->pipe = (uurb->type << 30) | pipe 1819 drivers/usb/core/devio.c snoop_urb(ps->dev, as->userurb, as->urb->pipe, pipe 1861 drivers/usb/core/devio.c snoop_urb(ps->dev, as->userurb, as->urb->pipe, pipe 1723 drivers/usb/core/hcd.c if (usb_pipeisoc(urb->pipe) || usb_pipeint(urb->pipe)) { pipe 860 drivers/usb/core/hub.c int pipe = urb->pipe; pipe 878 drivers/usb/core/hub.c clear->devinfo = usb_pipeendpoint (pipe); pipe 880 drivers/usb/core/hub.c clear->devinfo |= usb_pipecontrol(pipe) pipe 883 drivers/usb/core/hub.c if (usb_pipein(pipe)) pipe 1370 drivers/usb/core/hub.c unsigned int pipe; pipe 1626 drivers/usb/core/hub.c pipe = usb_rcvintpipe(hdev, endpoint->bEndpointAddress); pipe 1627 drivers/usb/core/hub.c maxp = usb_maxpacket(hdev, pipe, usb_pipeout(pipe)); pipe 1638 drivers/usb/core/hub.c usb_fill_int_urb(hub->urb, hdev, pipe, *hub->buffer, maxp, hub_irq, pipe 86 drivers/usb/core/message.c unsigned int pipe, pipe 98 drivers/usb/core/message.c usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data, pipe 135 drivers/usb/core/message.c int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, pipe 152 drivers/usb/core/message.c ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); pipe 190 drivers/usb/core/message.c int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, pipe 193 drivers/usb/core/message.c return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout); pipe 229 drivers/usb/core/message.c int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, pipe 235 drivers/usb/core/message.c ep = usb_pipe_endpoint(usb_dev, pipe); pipe 245 drivers/usb/core/message.c pipe = (pipe & ~(3 << 30)) | (PIPE_INTERRUPT << 30); pipe 246 drivers/usb/core/message.c usb_fill_int_urb(urb, usb_dev, pipe, data, len, pipe 250 drivers/usb/core/message.c usb_fill_bulk_urb(urb, usb_dev, pipe, data, len, pipe 368 drivers/usb/core/message.c unsigned pipe, unsigned period, struct scatterlist *sg, pipe 376 drivers/usb/core/message.c || usb_pipecontrol(pipe) pipe 377 drivers/usb/core/message.c || usb_pipeisoc(pipe) pipe 383 drivers/usb/core/message.c io->pipe = pipe; pipe 399 drivers/usb/core/message.c if (usb_pipein(pipe)) pipe 414 drivers/usb/core/message.c urb->pipe = pipe; pipe 1060 drivers/usb/core/message.c int usb_clear_halt(struct usb_device *dev, int pipe) pipe 1063 drivers/usb/core/message.c int endp = usb_pipeendpoint(pipe); pipe 1065 drivers/usb/core/message.c if (usb_pipein(pipe)) pipe 1372 drivers/usb/core/message.c unsigned int pipe; pipe 1474 drivers/usb/core/message.c pipe = __create_pipe(dev, pipe 1479 drivers/usb/core/message.c usb_clear_halt(dev, pipe); pipe 206 drivers/usb/core/urb.c ep = usb_pipe_endpoint(urb->dev, urb->pipe); pipe 209 drivers/usb/core/urb.c if (usb_pipetype(urb->pipe) != pipetypes[usb_endpoint_type(&ep->desc)]) pipe 375 drivers/usb/core/urb.c ep = usb_pipe_endpoint(dev, urb->pipe); pipe 479 drivers/usb/core/urb.c usb_pipetype(urb->pipe), pipetypes[xfertype]); pipe 2489 drivers/usb/dwc2/hcd.c if (usb_pipeisoc(urb->pipe)) pipe 4069 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) pipe 4082 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) pipe 4121 drivers/usb/dwc2/hcd.c __func__, urb, usb_pipedevice(urb->pipe), pipe 4122 drivers/usb/dwc2/hcd.c usb_pipeendpoint(urb->pipe), pipe 4123 drivers/usb/dwc2/hcd.c usb_pipein(urb->pipe) ? "IN" : "OUT", status, pipe 4126 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 4137 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS && dbg_perio()) { pipe 4150 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS || pipe 4151 drivers/usb/dwc2/hcd.c usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { pipe 4480 drivers/usb/dwc2/hcd.c usb_pipedevice(urb->pipe)); pipe 4482 drivers/usb/dwc2/hcd.c usb_pipeendpoint(urb->pipe), pipe 4483 drivers/usb/dwc2/hcd.c usb_pipein(urb->pipe) ? "IN" : "OUT"); pipe 4485 drivers/usb/dwc2/hcd.c switch (usb_pipetype(urb->pipe)) { pipe 4501 drivers/usb/dwc2/hcd.c usb_urb_dir_in(urb) ? "IN" : "OUT", usb_pipein(urb->pipe) ? pipe 4532 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 4575 drivers/usb/dwc2/hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS || pipe 4576 drivers/usb/dwc2/hcd.c usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { pipe 4583 drivers/usb/dwc2/hcd.c switch (usb_pipetype(urb->pipe)) { pipe 4603 drivers/usb/dwc2/hcd.c dwc2_hcd_urb_set_pipeinfo(hsotg, dwc2_urb, usb_pipedevice(urb->pipe), pipe 4604 drivers/usb/dwc2/hcd.c usb_pipeendpoint(urb->pipe), ep_type, pipe 4605 drivers/usb/dwc2/hcd.c usb_pipein(urb->pipe), pipe 499 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_get_ep_num(struct dwc2_hcd_pipe_info *pipe) pipe 501 drivers/usb/dwc2/hcd.h return pipe->ep_num; pipe 504 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_get_pipe_type(struct dwc2_hcd_pipe_info *pipe) pipe 506 drivers/usb/dwc2/hcd.h return pipe->pipe_type; pipe 509 drivers/usb/dwc2/hcd.h static inline u16 dwc2_hcd_get_maxp(struct dwc2_hcd_pipe_info *pipe) pipe 511 drivers/usb/dwc2/hcd.h return pipe->maxp; pipe 514 drivers/usb/dwc2/hcd.h static inline u16 dwc2_hcd_get_maxp_mult(struct dwc2_hcd_pipe_info *pipe) pipe 516 drivers/usb/dwc2/hcd.h return pipe->maxp_mult; pipe 519 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_get_dev_addr(struct dwc2_hcd_pipe_info *pipe) pipe 521 drivers/usb/dwc2/hcd.h return pipe->dev_addr; pipe 524 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_isoc(struct dwc2_hcd_pipe_info *pipe) pipe 526 drivers/usb/dwc2/hcd.h return pipe->pipe_type == USB_ENDPOINT_XFER_ISOC; pipe 529 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_int(struct dwc2_hcd_pipe_info *pipe) pipe 531 drivers/usb/dwc2/hcd.h return pipe->pipe_type == USB_ENDPOINT_XFER_INT; pipe 534 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_bulk(struct dwc2_hcd_pipe_info *pipe) pipe 536 drivers/usb/dwc2/hcd.h return pipe->pipe_type == USB_ENDPOINT_XFER_BULK; pipe 539 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_control(struct dwc2_hcd_pipe_info *pipe) pipe 541 drivers/usb/dwc2/hcd.h return pipe->pipe_type == USB_ENDPOINT_XFER_CONTROL; pipe 544 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_in(struct dwc2_hcd_pipe_info *pipe) pipe 546 drivers/usb/dwc2/hcd.h return pipe->pipe_dir == USB_DIR_IN; pipe 549 drivers/usb/dwc2/hcd.h static inline u8 dwc2_hcd_is_pipe_out(struct dwc2_hcd_pipe_info *pipe) pipe 551 drivers/usb/dwc2/hcd.h return !dwc2_hcd_is_pipe_in(pipe); pipe 623 drivers/usb/dwc2/hcd.h return usb_pipetype(urb->pipe) == PIPE_BULK || pipe 624 drivers/usb/dwc2/hcd.h usb_pipetype(urb->pipe) == PIPE_CONTROL; pipe 1185 drivers/usb/gadget/udc/dummy_hcd.c unsigned int pipe) pipe 1189 drivers/usb/gadget/udc/dummy_hcd.c max_streams = dum_hcd->num_stream[usb_pipeendpoint(pipe)]; pipe 1190 drivers/usb/gadget/udc/dummy_hcd.c if (usb_pipeout(pipe)) pipe 1199 drivers/usb/gadget/udc/dummy_hcd.c unsigned int pipe, unsigned int streams) pipe 1204 drivers/usb/gadget/udc/dummy_hcd.c max_streams = dum_hcd->num_stream[usb_pipeendpoint(pipe)]; pipe 1205 drivers/usb/gadget/udc/dummy_hcd.c if (usb_pipeout(pipe)) { pipe 1212 drivers/usb/gadget/udc/dummy_hcd.c dum_hcd->num_stream[usb_pipeendpoint(pipe)] = max_streams; pipe 1230 drivers/usb/gadget/udc/dummy_hcd.c usb_pipeendpoint(urb->pipe)); pipe 1281 drivers/usb/gadget/udc/dummy_hcd.c if (usb_pipetype(urb->pipe) == PIPE_CONTROL) pipe 1832 drivers/usb/gadget/udc/dummy_hcd.c address = usb_pipeendpoint (urb->pipe); pipe 1925 drivers/usb/gadget/udc/dummy_hcd.c switch (usb_pipetype(urb->pipe)) { pipe 2365 drivers/usb/gadget/udc/dummy_hcd.c int ep = usb_pipeendpoint(urb->pipe); pipe 2390 drivers/usb/gadget/udc/dummy_hcd.c switch (usb_pipetype(urb->pipe)) { \ pipe 1889 drivers/usb/gadget/udc/fsl_qe_udc.c static int udc_reset_ep_queue(struct qe_udc *udc, u8 pipe) pipe 1891 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_ep *ep = &udc->eps[pipe]; pipe 1900 drivers/usb/gadget/udc/fsl_qe_udc.c u8 pipe; pipe 1902 drivers/usb/gadget/udc/fsl_qe_udc.c for (pipe = 0; pipe < USB_MAX_ENDPOINTS; pipe++) pipe 1903 drivers/usb/gadget/udc/fsl_qe_udc.c udc_reset_ep_queue(udc, pipe); pipe 1952 drivers/usb/gadget/udc/fsl_qe_udc.c int pipe = index & USB_ENDPOINT_NUMBER_MASK; pipe 1953 drivers/usb/gadget/udc/fsl_qe_udc.c struct qe_ep *target_ep = &udc->eps[pipe]; pipe 1960 drivers/usb/gadget/udc/fsl_qe_udc.c usep = in_be16(&udc->usb_regs->usb_usep[pipe]); pipe 2039 drivers/usb/gadget/udc/fsl_qe_udc.c int pipe = wIndex & USB_ENDPOINT_NUMBER_MASK; pipe 2043 drivers/usb/gadget/udc/fsl_qe_udc.c || pipe >= USB_MAX_ENDPOINTS) pipe 2045 drivers/usb/gadget/udc/fsl_qe_udc.c ep = &udc->eps[pipe]; pipe 1305 drivers/usb/gadget/udc/fsl_udc_core.c static void udc_reset_ep_queue(struct fsl_udc *udc, u8 pipe) pipe 1307 drivers/usb/gadget/udc/fsl_udc_core.c struct fsl_ep *ep = get_ep_by_pipe(udc, pipe); pipe 1432 drivers/usb/gadget/udc/fsl_udc_core.c int pipe = get_pipe_by_windex(wIndex); pipe 1435 drivers/usb/gadget/udc/fsl_udc_core.c if (wValue != 0 || wLength != 0 || pipe >= udc->max_ep) pipe 1437 drivers/usb/gadget/udc/fsl_udc_core.c ep = get_ep_by_pipe(udc, pipe); pipe 1594 drivers/usb/gadget/udc/fsl_udc_core.c static int process_ep_req(struct fsl_udc *udc, int pipe, pipe 1601 drivers/usb/gadget/udc/fsl_udc_core.c struct ep_queue_head *curr_qh = &udc->ep_qh[pipe]; pipe 1602 drivers/usb/gadget/udc/fsl_udc_core.c int direction = pipe % 2; pipe 1617 drivers/usb/gadget/udc/fsl_udc_core.c ERR("dTD error %08x QH=%d\n", errors, pipe); pipe 1778 drivers/usb/gadget/udc/fsl_udc_core.c u8 pipe; pipe 1780 drivers/usb/gadget/udc/fsl_udc_core.c for (pipe = 0; pipe < udc->max_pipes; pipe++) pipe 1781 drivers/usb/gadget/udc/fsl_udc_core.c udc_reset_ep_queue(udc, pipe); pipe 575 drivers/usb/gadget/udc/fsl_usb2_udc.h #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \ pipe 576 drivers/usb/gadget/udc/fsl_usb2_udc.h &udc->eps[pipe]) pipe 232 drivers/usb/gadget/udc/m66592-udc.c if (info->pipe == 0) pipe 235 drivers/usb/gadget/udc/m66592-udc.c m66592_write(m66592, info->pipe, M66592_PIPESEL); pipe 243 drivers/usb/gadget/udc/m66592-udc.c bufnum = 4 + (info->pipe - M66592_BASE_PIPENUM_INT); pipe 248 drivers/usb/gadget/udc/m66592-udc.c if (info->pipe >= M66592_BASE_PIPENUM_BULK) pipe 249 drivers/usb/gadget/udc/m66592-udc.c bufnum = info->pipe - M66592_BASE_PIPENUM_BULK; pipe 251 drivers/usb/gadget/udc/m66592-udc.c bufnum = info->pipe - M66592_BASE_PIPENUM_ISOC; pipe 261 drivers/usb/gadget/udc/m66592-udc.c (info->pipe - M66592_BASE_PIPENUM_ISOC) * 16; pipe 284 drivers/usb/gadget/udc/m66592-udc.c if (info->pipe == 0) pipe 287 drivers/usb/gadget/udc/m66592-udc.c if (is_bulk_pipe(info->pipe)) { pipe 289 drivers/usb/gadget/udc/m66592-udc.c } else if (is_interrupt_pipe(info->pipe)) pipe 291 drivers/usb/gadget/udc/m66592-udc.c else if (is_isoc_pipe(info->pipe)) { pipe 297 drivers/usb/gadget/udc/m66592-udc.c info->pipe); pipe 401 drivers/usb/gadget/udc/m66592-udc.c info.pipe = M66592_BASE_PIPENUM_ISOC pipe 406 drivers/usb/gadget/udc/m66592-udc.c info.pipe = M66592_BASE_PIPENUM_BULK + m66592->bulk; pipe 417 drivers/usb/gadget/udc/m66592-udc.c info.pipe = M66592_BASE_PIPENUM_INT + m66592->interrupt; pipe 426 drivers/usb/gadget/udc/m66592-udc.c info.pipe = M66592_BASE_PIPENUM_ISOC + m66592->isochronous; pipe 454 drivers/usb/gadget/udc/m66592-udc.c m66592_ep_setting(m66592, ep, desc, info.pipe, dma); pipe 465 drivers/usb/gadget/udc/m66592-udc.c info.pipe = ep->pipenum; pipe 428 drivers/usb/gadget/udc/m66592-udc.h u16 pipe; pipe 174 drivers/usb/gadget/udc/mv_u3d.h u32 pipe; /* PIPE control register */ pipe 322 drivers/usb/gadget/udc/r8a66597-udc.c if (info->pipe == 0) pipe 325 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_write(r8a66597, info->pipe, PIPESEL); pipe 333 drivers/usb/gadget/udc/r8a66597-udc.c bufnum = 4 + (info->pipe - R8A66597_BASE_PIPENUM_INT); pipe 338 drivers/usb/gadget/udc/r8a66597-udc.c if (info->pipe >= R8A66597_BASE_PIPENUM_BULK) pipe 339 drivers/usb/gadget/udc/r8a66597-udc.c bufnum = info->pipe - R8A66597_BASE_PIPENUM_BULK; pipe 341 drivers/usb/gadget/udc/r8a66597-udc.c bufnum = info->pipe - R8A66597_BASE_PIPENUM_ISOC; pipe 351 drivers/usb/gadget/udc/r8a66597-udc.c (info->pipe - R8A66597_BASE_PIPENUM_ISOC) * 16; pipe 374 drivers/usb/gadget/udc/r8a66597-udc.c if (info->pipe == 0) pipe 377 drivers/usb/gadget/udc/r8a66597-udc.c if (is_bulk_pipe(info->pipe)) { pipe 379 drivers/usb/gadget/udc/r8a66597-udc.c } else if (is_interrupt_pipe(info->pipe)) { pipe 381 drivers/usb/gadget/udc/r8a66597-udc.c } else if (is_isoc_pipe(info->pipe)) { pipe 387 drivers/usb/gadget/udc/r8a66597-udc.c "ep_release: unexpect pipenum (%d)\n", info->pipe); pipe 472 drivers/usb/gadget/udc/r8a66597-udc.c info.pipe = R8A66597_BASE_PIPENUM_ISOC pipe 477 drivers/usb/gadget/udc/r8a66597-udc.c info.pipe = R8A66597_BASE_PIPENUM_BULK + r8a66597->bulk; pipe 489 drivers/usb/gadget/udc/r8a66597-udc.c info.pipe = R8A66597_BASE_PIPENUM_INT + r8a66597->interrupt; pipe 499 drivers/usb/gadget/udc/r8a66597-udc.c info.pipe = R8A66597_BASE_PIPENUM_ISOC + r8a66597->isochronous; pipe 528 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_ep_setting(r8a66597, ep, desc, info.pipe, dma); pipe 539 drivers/usb/gadget/udc/r8a66597-udc.c info.pipe = ep->pipenum; pipe 42 drivers/usb/gadget/udc/r8a66597-udc.h u16 pipe; pipe 862 drivers/usb/host/ehci-hcd.c switch (usb_pipetype (urb->pipe)) { pipe 905 drivers/usb/host/ehci-hcd.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 916 drivers/usb/host/ehci-hcd.c if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) pipe 764 drivers/usb/host/ehci-hub.c urb->pipe = usb_rcvctrlpipe(udev, 0); pipe 765 drivers/usb/host/ehci-hub.c ep = (usb_pipein(urb->pipe) ? udev->ep_in : udev->ep_out) pipe 766 drivers/usb/host/ehci-hub.c [usb_pipeendpoint(urb->pipe)]; pipe 165 drivers/usb/host/ehci-q.c if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { pipe 171 drivers/usb/host/ehci-q.c usb_pipeendpoint(urb->pipe), token); pipe 239 drivers/usb/host/ehci-q.c usb_pipeendpoint(urb->pipe), pipe 240 drivers/usb/host/ehci-q.c usb_pipein(urb->pipe) ? "in" : "out"); pipe 253 drivers/usb/host/ehci-q.c if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { pipe 271 drivers/usb/host/ehci-q.c usb_pipeendpoint (urb->pipe), pipe 272 drivers/usb/host/ehci-q.c usb_pipein (urb->pipe) ? "in" : "out", pipe 603 drivers/usb/host/ehci-q.c is_input = usb_pipein (urb->pipe); pipe 604 drivers/usb/host/ehci-q.c if (usb_pipecontrol (urb->pipe)) { pipe 647 drivers/usb/host/ehci-q.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, !is_input); pipe 698 drivers/usb/host/ehci-q.c || usb_pipecontrol (urb->pipe))) pipe 709 drivers/usb/host/ehci-q.c if (usb_pipecontrol (urb->pipe)) { pipe 713 drivers/usb/host/ehci-q.c } else if (usb_pipeout(urb->pipe) pipe 780 drivers/usb/host/ehci-q.c info1 |= usb_pipeendpoint (urb->pipe) << 8; pipe 781 drivers/usb/host/ehci-q.c info1 |= usb_pipedevice (urb->pipe) << 0; pipe 783 drivers/usb/host/ehci-q.c is_input = usb_pipein (urb->pipe); pipe 784 drivers/usb/host/ehci-q.c type = usb_pipetype (urb->pipe); pipe 785 drivers/usb/host/ehci-q.c ep = usb_pipe_endpoint (urb->dev, urb->pipe); pipe 947 drivers/usb/host/ehci-q.c usb_settoggle (urb->dev, usb_pipeendpoint (urb->pipe), !is_input, 1); pipe 1050 drivers/usb/host/ehci-q.c if (usb_pipedevice (urb->pipe) == 0) pipe 1220 drivers/usb/host/ehci-q.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, 0); pipe 1048 drivers/usb/host/ehci-sched.c epnum = usb_pipeendpoint(urb->pipe); pipe 1049 drivers/usb/host/ehci-sched.c is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; pipe 1146 drivers/usb/host/ehci-sched.c epnum = usb_pipeendpoint (urb->pipe); pipe 1147 drivers/usb/host/ehci-sched.c if (usb_pipein(urb->pipe)) pipe 1166 drivers/usb/host/ehci-sched.c usb_pipein(urb->pipe) ? "in" : "out"); pipe 1854 drivers/usb/host/ehci-sched.c desc->status = usb_pipein(urb->pipe) pipe 1946 drivers/usb/host/ehci-sched.c usb_pipeendpoint(urb->pipe), pipe 1947 drivers/usb/host/ehci-sched.c usb_pipein(urb->pipe) ? "in" : "out", pipe 2241 drivers/usb/host/ehci-sched.c desc->status = usb_pipein(urb->pipe) pipe 2325 drivers/usb/host/ehci-sched.c usb_pipeendpoint(urb->pipe), pipe 2326 drivers/usb/host/ehci-sched.c usb_pipein(urb->pipe) ? "in" : "out", pipe 302 drivers/usb/host/ehci-tegra.c if (usb_pipeisoc(urb->pipe)) pipe 388 drivers/usb/host/fhci-hcd.c u32 pipe = urb->pipe; pipe 395 drivers/usb/host/fhci-hcd.c switch (usb_pipetype(pipe)) { pipe 410 drivers/usb/host/fhci-hcd.c % usb_maxpacket(urb->dev, pipe, pipe 411 drivers/usb/host/fhci-hcd.c usb_pipeout(pipe))) != 0) pipe 226 drivers/usb/host/fhci-q.c if (usb_pipeout(urb->pipe)) pipe 710 drivers/usb/host/fhci-sched.c ed->dev_addr = usb_pipedevice(urb->pipe); pipe 711 drivers/usb/host/fhci-sched.c ed->ep_addr = usb_pipeendpoint(urb->pipe); pipe 712 drivers/usb/host/fhci-sched.c switch (usb_pipetype(urb->pipe)) { pipe 749 drivers/usb/host/fhci-sched.c if (usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 750 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe))) pipe 754 drivers/usb/host/fhci-sched.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 755 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe), 1); pipe 774 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : pipe 785 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : FHCI_TA_IN, pipe 793 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : pipe 802 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : FHCI_TA_IN, pipe 807 drivers/usb/host/fhci-sched.c ed->dev_addr = usb_pipedevice(urb->pipe); pipe 817 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : pipe 826 drivers/usb/host/fhci-sched.c (usb_pipeout(urb->pipe) ? FHCI_TA_IN : pipe 848 drivers/usb/host/fhci-sched.c usb_pipeout(urb->pipe) ? FHCI_TA_OUT : pipe 865 drivers/usb/host/fhci-sched.c urb->pipe &= ~0x1f; pipe 866 drivers/usb/host/fhci-sched.c urb->pipe |= urb_state & 0x1f; pipe 2121 drivers/usb/host/fotg210-hcd.c if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { pipe 2127 drivers/usb/host/fotg210-hcd.c usb_pipeendpoint(urb->pipe), token); pipe 2178 drivers/usb/host/fotg210-hcd.c usb_pipeendpoint(urb->pipe), pipe 2179 drivers/usb/host/fotg210-hcd.c usb_pipein(urb->pipe) ? "in" : "out"); pipe 2187 drivers/usb/host/fotg210-hcd.c usb_pipedevice(urb->pipe), pipe 2188 drivers/usb/host/fotg210-hcd.c usb_pipeendpoint(urb->pipe), pipe 2189 drivers/usb/host/fotg210-hcd.c usb_pipein(urb->pipe) ? "in" : "out", pipe 2225 drivers/usb/host/fotg210-hcd.c usb_pipeendpoint(urb->pipe), pipe 2226 drivers/usb/host/fotg210-hcd.c usb_pipein(urb->pipe) ? "in" : "out", pipe 2560 drivers/usb/host/fotg210-hcd.c is_input = usb_pipein(urb->pipe); pipe 2561 drivers/usb/host/fotg210-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 2604 drivers/usb/host/fotg210-hcd.c maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); pipe 2655 drivers/usb/host/fotg210-hcd.c usb_pipecontrol(urb->pipe))) pipe 2666 drivers/usb/host/fotg210-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 2670 drivers/usb/host/fotg210-hcd.c } else if (usb_pipeout(urb->pipe) pipe 2730 drivers/usb/host/fotg210-hcd.c info1 |= usb_pipeendpoint(urb->pipe) << 8; pipe 2731 drivers/usb/host/fotg210-hcd.c info1 |= usb_pipedevice(urb->pipe) << 0; pipe 2733 drivers/usb/host/fotg210-hcd.c is_input = usb_pipein(urb->pipe); pipe 2734 drivers/usb/host/fotg210-hcd.c type = usb_pipetype(urb->pipe); pipe 2735 drivers/usb/host/fotg210-hcd.c maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); pipe 2880 drivers/usb/host/fotg210-hcd.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), !is_input, 1); pipe 2972 drivers/usb/host/fotg210-hcd.c if (usb_pipedevice(urb->pipe) == 0) pipe 3924 drivers/usb/host/fotg210-hcd.c int pipe, unsigned interval) pipe 3936 drivers/usb/host/fotg210-hcd.c epnum = usb_pipeendpoint(pipe); pipe 3937 drivers/usb/host/fotg210-hcd.c is_input = usb_pipein(pipe) ? USB_DIR_IN : 0; pipe 3938 drivers/usb/host/fotg210-hcd.c maxp = usb_maxpacket(dev, pipe, !is_input); pipe 3983 drivers/usb/host/fotg210-hcd.c epnum = usb_pipeendpoint(urb->pipe); pipe 3984 drivers/usb/host/fotg210-hcd.c if (usb_pipein(urb->pipe)) pipe 3997 drivers/usb/host/fotg210-hcd.c iso_stream_init(fotg210, stream, urb->dev, urb->pipe, pipe 4005 drivers/usb/host/fotg210-hcd.c usb_pipein(urb->pipe) ? "in" : "out"); pipe 4456 drivers/usb/host/fotg210-hcd.c desc->status = usb_pipein(urb->pipe) pipe 4548 drivers/usb/host/fotg210-hcd.c usb_pipeendpoint(urb->pipe), pipe 4549 drivers/usb/host/fotg210-hcd.c usb_pipein(urb->pipe) ? "in" : "out", pipe 5275 drivers/usb/host/fotg210-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 5315 drivers/usb/host/fotg210-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 690 drivers/usb/host/fotg210.h usb_pipein((urb)->pipe) ? \ pipe 60 drivers/usb/host/imx21-dbg.c return usb_pipeisoc(urb->pipe) ? pipe 218 drivers/usb/host/imx21-hcd.c ((u32) usb_pipedevice(urb->pipe)) << DW0_ADDRESS | pipe 219 drivers/usb/host/imx21-hcd.c ((u32) usb_pipeendpoint(urb->pipe) << DW0_ENDPNT) | pipe 223 drivers/usb/host/imx21-hcd.c ((u32) fmt_urb_to_etd[usb_pipetype(urb->pipe)] << DW0_FORMAT) | pipe 604 drivers/usb/host/imx21-hcd.c dir = usb_pipeout(td->urb->pipe) ? TD_DIR_OUT : TD_DIR_IN; pipe 628 drivers/usb/host/imx21-hcd.c unsigned int pipe = urb->pipe; pipe 629 drivers/usb/host/imx21-hcd.c int dir_in = usb_pipein(pipe); pipe 778 drivers/usb/host/imx21-hcd.c maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); pipe 900 drivers/usb/host/imx21-hcd.c unsigned int pipe = urb->pipe; pipe 923 drivers/usb/host/imx21-hcd.c maxpacket = usb_maxpacket(urb->dev, pipe, usb_pipeout(pipe)); pipe 927 drivers/usb/host/imx21-hcd.c if (usb_pipecontrol(pipe) && (state != US_CTRL_DATA)) { pipe 939 drivers/usb/host/imx21-hcd.c dir = usb_pipeout(pipe) ? TD_DIR_IN : TD_DIR_OUT; pipe 945 drivers/usb/host/imx21-hcd.c dir = usb_pipeout(pipe) ? TD_DIR_OUT : TD_DIR_IN; pipe 952 drivers/usb/host/imx21-hcd.c if (usb_pipebulk(pipe) && (state == US_BULK0)) pipe 957 drivers/usb/host/imx21-hcd.c if (usb_pipecontrol(pipe)) { pipe 962 drivers/usb/host/imx21-hcd.c usb_pipeendpoint(urb->pipe), pipe 963 drivers/usb/host/imx21-hcd.c usb_pipeout(urb->pipe))) pipe 974 drivers/usb/host/imx21-hcd.c if (usb_pipeint(pipe)) { pipe 1049 drivers/usb/host/imx21-hcd.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 1050 drivers/usb/host/imx21-hcd.c usb_pipeout(urb->pipe), pipe 1082 drivers/usb/host/imx21-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 1112 drivers/usb/host/imx21-hcd.c usb_maxpacket(urb->dev, urb->pipe, pipe 1113 drivers/usb/host/imx21-hcd.c usb_pipeout(urb->pipe))) == 0)) { pipe 1170 drivers/usb/host/imx21-hcd.c if (usb_pipeisoc(urb->pipe)) pipe 1200 drivers/usb/host/imx21-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 1258 drivers/usb/host/imx21-hcd.c urb, usb_pipeisoc(urb->pipe), status); pipe 1270 drivers/usb/host/imx21-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1381 drivers/usb/host/imx21-hcd.c if (usb_pipeisoc(etd->urb->pipe)) pipe 266 drivers/usb/host/isp116x-hcd.c && usb_pipein(urb->pipe)) pipe 280 drivers/usb/host/isp116x-hcd.c ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); pipe 302 drivers/usb/host/isp116x-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 375 drivers/usb/host/isp116x-hcd.c usb_pipecontrol(urb->pipe)) { pipe 401 drivers/usb/host/isp116x-hcd.c if (usb_pipeint(urb->pipe) && !PTD_GET_LEN(ptd)) { pipe 440 drivers/usb/host/isp116x-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 451 drivers/usb/host/isp116x-hcd.c else if (usb_pipeout(urb->pipe)) { pipe 687 drivers/usb/host/isp116x-hcd.c unsigned int pipe = urb->pipe; pipe 688 drivers/usb/host/isp116x-hcd.c int is_out = !usb_pipein(pipe); pipe 689 drivers/usb/host/isp116x-hcd.c int type = usb_pipetype(pipe); pipe 690 drivers/usb/host/isp116x-hcd.c int epnum = usb_pipeendpoint(pipe); pipe 729 drivers/usb/host/isp116x-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); pipe 760 drivers/usb/host/isp116x-hcd.c usb_maxpacket(udev, pipe, pipe 509 drivers/usb/host/isp116x.h #define PIPETYPE(pipe) ({ char *__s; \ pipe 510 drivers/usb/host/isp116x.h if (usb_pipecontrol(pipe)) __s = "ctrl"; \ pipe 511 drivers/usb/host/isp116x.h else if (usb_pipeint(pipe)) __s = "int"; \ pipe 512 drivers/usb/host/isp116x.h else if (usb_pipebulk(pipe)) __s = "bulk"; \ pipe 515 drivers/usb/host/isp116x.h #define PIPEDIR(pipe) ({ usb_pipein(pipe) ? "in" : "out"; }) pipe 522 drivers/usb/host/isp116x.h unsigned int pipe; pipe 528 drivers/usb/host/isp116x.h pipe = urb->pipe; pipe 530 drivers/usb/host/isp116x.h usb_pipedevice(pipe), usb_pipeendpoint(pipe), pipe 531 drivers/usb/host/isp116x.h PIPEDIR(pipe), PIPETYPE(pipe), pipe 280 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 282 drivers/usb/host/isp1362-hcd.c } else if (usb_pipeisoc(urb->pipe)) { pipe 293 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 295 drivers/usb/host/isp1362-hcd.c else if (usb_pipeisoc(urb->pipe)) pipe 315 drivers/usb/host/isp1362-hcd.c dir = (urb->transfer_buffer_length && usb_pipein(urb->pipe)) ? pipe 333 drivers/usb/host/isp1362-hcd.c ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); pipe 335 drivers/usb/host/isp1362-hcd.c if (usb_pipeint(urb->pipe)) { pipe 339 drivers/usb/host/isp1362-hcd.c if (usb_pipeisoc(urb->pipe)) pipe 453 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 457 drivers/usb/host/isp1362-hcd.c ep->num_req, usb_pipedevice(urb->pipe), pipe 458 drivers/usb/host/isp1362-hcd.c usb_pipeendpoint(urb->pipe), pipe 459 drivers/usb/host/isp1362-hcd.c !usb_pipein(urb->pipe) ? "out" : "in", pipe 460 drivers/usb/host/isp1362-hcd.c usb_pipecontrol(urb->pipe) ? "ctrl" : pipe 461 drivers/usb/host/isp1362-hcd.c usb_pipeint(urb->pipe) ? "int" : pipe 462 drivers/usb/host/isp1362-hcd.c usb_pipebulk(urb->pipe) ? "bulk" : pipe 539 drivers/usb/host/isp1362-hcd.c usb_pipein(urb->pipe) ? "IN" : "OUT", ep->nextpid, pipe 546 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 583 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 586 drivers/usb/host/isp1362-hcd.c usb_pipein(urb->pipe) ? "IN" : "OUT"); pipe 593 drivers/usb/host/isp1362-hcd.c __func__, ep->num_req, usb_pipein(urb->pipe) ? "IN" : "OUT", pipe 610 drivers/usb/host/isp1362-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 613 drivers/usb/host/isp1362-hcd.c usb_pipein(urb->pipe) ? "IN" : "OUT"); pipe 618 drivers/usb/host/isp1362-hcd.c __func__, ep->num_req, usb_pipein(urb->pipe) ? "IN" : "OUT", pipe 626 drivers/usb/host/isp1362-hcd.c } else if (usb_pipeout(urb->pipe)) { pipe 1222 drivers/usb/host/isp1362-hcd.c unsigned int pipe = urb->pipe; pipe 1223 drivers/usb/host/isp1362-hcd.c int is_out = !usb_pipein(pipe); pipe 1224 drivers/usb/host/isp1362-hcd.c int type = usb_pipetype(pipe); pipe 1225 drivers/usb/host/isp1362-hcd.c int epnum = usb_pipeendpoint(pipe); pipe 1239 drivers/usb/host/isp1362-hcd.c usb_pipedevice(pipe), epnum, pipe 1241 drivers/usb/host/isp1362-hcd.c usb_pipecontrol(pipe) ? "ctrl" : pipe 1242 drivers/usb/host/isp1362-hcd.c usb_pipeint(pipe) ? "int" : pipe 1243 drivers/usb/host/isp1362-hcd.c usb_pipebulk(pipe) ? "bulk" : pipe 1282 drivers/usb/host/isp1362-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); pipe 1303 drivers/usb/host/isp1362-hcd.c usb_maxpacket(udev, pipe, is_out)) / 1000; pipe 550 drivers/usb/host/max3421-hcd.c int epnum = usb_pipeendpoint(urb->pipe); pipe 562 drivers/usb/host/max3421-hcd.c int epnum = usb_pipeendpoint(urb->pipe); pipe 578 drivers/usb/host/max3421-hcd.c max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); pipe 985 drivers/usb/host/max3421-hcd.c max_packet = usb_maxpacket(urb->dev, urb->pipe, 0); pipe 1031 drivers/usb/host/max3421-hcd.c u32 max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); pipe 1084 drivers/usb/host/max3421-hcd.c if (urb_done > 0 && usb_pipetype(urb->pipe) == PIPE_CONTROL) { pipe 1202 drivers/usb/host/max3421-hcd.c usb_pipetype(urb->pipe), pipe 1531 drivers/usb/host/max3421-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 20 drivers/usb/host/ohci-dbg.c #define pipestring(pipe) edstring(usb_pipetype(pipe)) pipe 155 drivers/usb/host/ohci-hcd.c unsigned int pipe = urb->pipe; pipe 161 drivers/usb/host/ohci-hcd.c ed = ed_get(ohci, urb->ep, urb->dev, pipe, urb->interval); pipe 184 drivers/usb/host/ohci-hcd.c % usb_maxpacket (urb->dev, pipe, pipe 185 drivers/usb/host/ohci-hcd.c usb_pipeout (pipe))) == 0) pipe 57 drivers/usb/host/ohci-q.c switch (usb_pipetype (urb->pipe)) { pipe 404 drivers/usb/host/ohci-q.c unsigned int pipe, pipe 442 drivers/usb/host/ohci-q.c info = usb_pipedevice (pipe); pipe 443 drivers/usb/host/ohci-q.c ed->type = usb_pipetype(pipe); pipe 601 drivers/usb/host/ohci-q.c int is_out = usb_pipeout (urb->pipe); pipe 610 drivers/usb/host/ohci-q.c if (!usb_gettoggle (urb->dev, usb_pipeendpoint (urb->pipe), is_out)) { pipe 611 drivers/usb/host/ohci-q.c usb_settoggle (urb->dev, usb_pipeendpoint (urb->pipe), pipe 777 drivers/usb/host/ohci-q.c if (usb_pipeout (urb->pipe)) pipe 799 drivers/usb/host/ohci-q.c int type = usb_pipetype (urb->pipe); pipe 884 drivers/usb/host/ohci-q.c if (usb_pipecontrol (urb->pipe)) pipe 891 drivers/usb/host/ohci-q.c usb_pipeendpoint (urb->pipe), pipe 892 drivers/usb/host/ohci-q.c usb_pipein (urb->pipe) ? "in" : "out", pipe 1331 drivers/usb/host/oxu210hp-hcd.c usb_pipeendpoint(urb->pipe), pipe 1332 drivers/usb/host/oxu210hp-hcd.c usb_pipein(urb->pipe) ? "in" : "out"); pipe 1342 drivers/usb/host/oxu210hp-hcd.c usb_pipedevice(urb->pipe), pipe 1343 drivers/usb/host/oxu210hp-hcd.c usb_pipeendpoint(urb->pipe), pipe 1344 drivers/usb/host/oxu210hp-hcd.c usb_pipein(urb->pipe) ? "in" : "out", pipe 1383 drivers/usb/host/oxu210hp-hcd.c usb_pipeendpoint(urb->pipe), pipe 1384 drivers/usb/host/oxu210hp-hcd.c usb_pipein(urb->pipe) ? "in" : "out", pipe 1530 drivers/usb/host/oxu210hp-hcd.c if ((usb_pipein(qtd->urb->pipe)) && pipe 1534 drivers/usb/host/oxu210hp-hcd.c && usb_pipecontrol(urb->pipe); pipe 1640 drivers/usb/host/oxu210hp-hcd.c is_input = usb_pipein(urb->pipe); pipe 1644 drivers/usb/host/oxu210hp-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1688 drivers/usb/host/oxu210hp-hcd.c maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); pipe 1731 drivers/usb/host/oxu210hp-hcd.c || usb_pipecontrol(urb->pipe))) pipe 1741 drivers/usb/host/oxu210hp-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1745 drivers/usb/host/oxu210hp-hcd.c } else if (usb_pipebulk(urb->pipe) pipe 1794 drivers/usb/host/oxu210hp-hcd.c info1 |= usb_pipeendpoint(urb->pipe) << 8; pipe 1795 drivers/usb/host/oxu210hp-hcd.c info1 |= usb_pipedevice(urb->pipe) << 0; pipe 1797 drivers/usb/host/oxu210hp-hcd.c is_input = usb_pipein(urb->pipe); pipe 1798 drivers/usb/host/oxu210hp-hcd.c type = usb_pipetype(urb->pipe); pipe 1799 drivers/usb/host/oxu210hp-hcd.c maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); pipe 1909 drivers/usb/host/oxu210hp-hcd.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), !is_input, 1); pipe 1987 drivers/usb/host/oxu210hp-hcd.c if (usb_pipedevice(urb->pipe) == 0) pipe 3238 drivers/usb/host/oxu210hp-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 3272 drivers/usb/host/oxu210hp-hcd.c if (!usb_pipebulk(urb->pipe)) pipe 3360 drivers/usb/host/oxu210hp-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 297 drivers/usb/host/r8a66597-hcd.c static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) pipe 299 drivers/usb/host/r8a66597-hcd.c u16 pipenum = pipe->info.pipenum; pipe 307 drivers/usb/host/r8a66597-hcd.c pipe->fifoaddr = fifoaddr[dma_ch]; pipe 308 drivers/usb/host/r8a66597-hcd.c pipe->fifosel = fifosel[dma_ch]; pipe 309 drivers/usb/host/r8a66597-hcd.c pipe->fifoctr = fifoctr[dma_ch]; pipe 312 drivers/usb/host/r8a66597-hcd.c pipe->pipectr = DCPCTR; pipe 314 drivers/usb/host/r8a66597-hcd.c pipe->pipectr = get_pipectr_addr(pipenum); pipe 317 drivers/usb/host/r8a66597-hcd.c pipe->pipetre = get_pipetre_addr(pipenum); pipe 318 drivers/usb/host/r8a66597-hcd.c pipe->pipetrn = get_pipetrn_addr(pipenum); pipe 320 drivers/usb/host/r8a66597-hcd.c pipe->pipetre = 0; pipe 321 drivers/usb/host/r8a66597-hcd.c pipe->pipetrn = 0; pipe 328 drivers/usb/host/r8a66597-hcd.c if (usb_pipedevice(urb->pipe) == 0) pipe 452 drivers/usb/host/r8a66597-hcd.c static void pipe_start(struct r8a66597 *r8a66597, struct r8a66597_pipe *pipe) pipe 456 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr) & PID; pipe 457 drivers/usb/host/r8a66597-hcd.c if ((pipe->info.pipenum != 0) & ((tmp & PID_STALL) != 0)) /* stall? */ pipe 458 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, PID_NAK, PID, pipe->pipectr); pipe 459 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, PID_BUF, PID, pipe->pipectr); pipe 463 drivers/usb/host/r8a66597-hcd.c static void pipe_stop(struct r8a66597 *r8a66597, struct r8a66597_pipe *pipe) pipe 467 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr) & PID; pipe 469 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, PID_STALL, PID, pipe->pipectr); pipe 470 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, PID_NAK, PID, pipe->pipectr); pipe 471 drivers/usb/host/r8a66597-hcd.c r8a66597_reg_wait(r8a66597, pipe->pipectr, PBUSY, 0); pipe 476 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe) pipe 480 drivers/usb/host/r8a66597-hcd.c if (!pipe || pipe->info.pipenum == 0) pipe 483 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, pipe); pipe 484 drivers/usb/host/r8a66597-hcd.c r8a66597_bset(r8a66597, ACLRM, pipe->pipectr); pipe 485 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); pipe 486 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); pipe 487 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); pipe 488 drivers/usb/host/r8a66597-hcd.c r8a66597_bclr(r8a66597, ACLRM, pipe->pipectr); pipe 493 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe, int toggle) pipe 496 drivers/usb/host/r8a66597-hcd.c r8a66597_bset(r8a66597, SQSET, pipe->pipectr); pipe 498 drivers/usb/host/r8a66597-hcd.c r8a66597_bset(r8a66597, SQCLR, pipe->pipectr); pipe 520 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe) pipe 528 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, mbw | pipe->info.pipenum, mbw | CURPIPE, pipe 529 drivers/usb/host/r8a66597-hcd.c pipe->fifosel); pipe 530 drivers/usb/host/r8a66597-hcd.c r8a66597_reg_wait(r8a66597, pipe->fifosel, CURPIPE, pipe->info.pipenum); pipe 535 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe = hep->hcpriv; pipe 537 drivers/usb/host/r8a66597-hcd.c if (usb_pipeendpoint(urb->pipe) == 0) pipe 540 drivers/usb/host/r8a66597-hcd.c return pipe->info.pipenum; pipe 547 drivers/usb/host/r8a66597-hcd.c return (usb_pipedevice(urb->pipe) == 0) ? 0 : dev->address; pipe 561 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe, pipe 565 drivers/usb/host/r8a66597-hcd.c unsigned char endpoint = usb_pipeendpoint(urb->pipe); pipe 566 drivers/usb/host/r8a66597-hcd.c unsigned short *toggle = get_toggle_pointer(dev, urb->pipe); pipe 579 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe, pipe 582 drivers/usb/host/r8a66597-hcd.c if (r8a66597_read(r8a66597, pipe->pipectr) & SQMON) pipe 583 drivers/usb/host/r8a66597-hcd.c pipe_toggle_set(r8a66597, pipe, urb, 1); pipe 585 drivers/usb/host/r8a66597-hcd.c pipe_toggle_set(r8a66597, pipe, urb, 0); pipe 590 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe, pipe 594 drivers/usb/host/r8a66597-hcd.c unsigned char endpoint = usb_pipeendpoint(urb->pipe); pipe 595 drivers/usb/host/r8a66597-hcd.c unsigned short *toggle = get_toggle_pointer(dev, urb->pipe); pipe 600 drivers/usb/host/r8a66597-hcd.c r8a66597_pipe_toggle(r8a66597, pipe, *toggle & (1 << endpoint)); pipe 636 drivers/usb/host/r8a66597-hcd.c info = &td->pipe->info; pipe 640 drivers/usb/host/r8a66597-hcd.c if (!usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 641 drivers/usb/host/r8a66597-hcd.c usb_pipeout(urb->pipe)) && pipe 642 drivers/usb/host/r8a66597-hcd.c !usb_pipecontrol(urb->pipe)) { pipe 643 drivers/usb/host/r8a66597-hcd.c r8a66597_pipe_toggle(r8a66597, td->pipe, 0); pipe 644 drivers/usb/host/r8a66597-hcd.c pipe_toggle_set(r8a66597, td->pipe, urb, 0); pipe 645 drivers/usb/host/r8a66597-hcd.c clear_all_buffer(r8a66597, td->pipe); pipe 646 drivers/usb/host/r8a66597-hcd.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 647 drivers/usb/host/r8a66597-hcd.c usb_pipeout(urb->pipe), 1); pipe 649 drivers/usb/host/r8a66597-hcd.c pipe_toggle_restore(r8a66597, td->pipe, urb); pipe 757 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe, pipe 761 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe_info *info = &pipe->info; pipe 768 drivers/usb/host/r8a66597-hcd.c if ((pipe->info.pipenum != 0) && (info->type != R8A66597_INT)) { pipe 775 drivers/usb/host/r8a66597-hcd.c "DMA FIFO\n", usb_pipedevice(urb->pipe), pipe 782 drivers/usb/host/r8a66597-hcd.c set_pipe_reg_addr(pipe, i); pipe 785 drivers/usb/host/r8a66597-hcd.c r8a66597_mdfy(r8a66597, mbw | pipe->info.pipenum, pipe 786 drivers/usb/host/r8a66597-hcd.c mbw | CURPIPE, pipe->fifosel); pipe 788 drivers/usb/host/r8a66597-hcd.c r8a66597_reg_wait(r8a66597, pipe->fifosel, CURPIPE, pipe 789 drivers/usb/host/r8a66597-hcd.c pipe->info.pipenum); pipe 790 drivers/usb/host/r8a66597-hcd.c r8a66597_bset(r8a66597, BCLR, pipe->fifoctr); pipe 802 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe = hep->hcpriv; pipe 806 drivers/usb/host/r8a66597-hcd.c pipe->info = *info; pipe 807 drivers/usb/host/r8a66597-hcd.c set_pipe_reg_addr(pipe, R8A66597_PIPE_NO_DMA); pipe 808 drivers/usb/host/r8a66597-hcd.c r8a66597->pipe_cnt[pipe->info.pipenum]++; pipe 809 drivers/usb/host/r8a66597-hcd.c dev->pipe_cnt[pipe->info.pipenum]++; pipe 811 drivers/usb/host/r8a66597-hcd.c enable_r8a66597_pipe_dma(r8a66597, dev, pipe, urb); pipe 819 drivers/usb/host/r8a66597-hcd.c if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) != PIPE_CONTROL) { pipe 920 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) pipe 974 drivers/usb/host/r8a66597-hcd.c if (pipenum == 0 && usb_pipeout(urb->pipe)) pipe 979 drivers/usb/host/r8a66597-hcd.c if (!usb_pipeisoc(urb->pipe)) pipe 1090 drivers/usb/host/r8a66597-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1095 drivers/usb/host/r8a66597-hcd.c r8a66597_pipe_toggle(r8a66597, td->pipe, 1); pipe 1099 drivers/usb/host/r8a66597-hcd.c pipe_start(r8a66597, td->pipe); pipe 1105 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1108 drivers/usb/host/r8a66597-hcd.c if (td->pipe->pipetre) { pipe 1110 drivers/usb/host/r8a66597-hcd.c td->pipe->pipetre); pipe 1115 drivers/usb/host/r8a66597-hcd.c td->pipe->pipetrn); pipe 1117 drivers/usb/host/r8a66597-hcd.c td->pipe->pipetre); pipe 1120 drivers/usb/host/r8a66597-hcd.c pipe_start(r8a66597, td->pipe); pipe 1133 drivers/usb/host/r8a66597-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1134 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1139 drivers/usb/host/r8a66597-hcd.c r8a66597_pipe_toggle(r8a66597, td->pipe, 1); pipe 1145 drivers/usb/host/r8a66597-hcd.c if (td->pipe->pipetre) pipe 1146 drivers/usb/host/r8a66597-hcd.c r8a66597_bclr(r8a66597, TRENB, td->pipe->pipetre); pipe 1150 drivers/usb/host/r8a66597-hcd.c fifo_change_from_pipe(r8a66597, td->pipe); pipe 1151 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); pipe 1156 drivers/usb/host/r8a66597-hcd.c pipe_start(r8a66597, td->pipe); pipe 1165 drivers/usb/host/r8a66597-hcd.c r8a66597_pipe_toggle(r8a66597, td->pipe, 1); pipe 1166 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1183 drivers/usb/host/r8a66597-hcd.c pipe_start(r8a66597, td->pipe); pipe 1230 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1251 drivers/usb/host/r8a66597-hcd.c !usb_pipecontrol(td->urb->pipe) && usb_pipein(td->urb->pipe)) { pipe 1253 drivers/usb/host/r8a66597-hcd.c switch (usb_pipetype(td->urb->pipe)) { pipe 1282 drivers/usb/host/r8a66597-hcd.c pipe_toggle_save(r8a66597, td->pipe, urb); pipe 1291 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) pipe 1321 drivers/usb/host/r8a66597-hcd.c fifo_change_from_pipe(r8a66597, td->pipe); pipe 1322 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); pipe 1324 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1333 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1357 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1366 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1374 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, BCLR, td->pipe->fifoctr); pipe 1376 drivers/usb/host/r8a66597-hcd.c r8a66597_read_fifo(r8a66597, td->pipe->fifoaddr, pipe 1396 drivers/usb/host/r8a66597-hcd.c fifo_change_from_pipe(r8a66597, td->pipe); pipe 1397 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); pipe 1399 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1408 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1423 drivers/usb/host/r8a66597-hcd.c r8a66597_write_fifo(r8a66597, td->pipe, buf, size); pipe 1424 drivers/usb/host/r8a66597-hcd.c if (!usb_pipebulk(urb->pipe) || td->maxpacket != size) pipe 1425 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, BVAL, td->pipe->fifoctr); pipe 1430 drivers/usb/host/r8a66597-hcd.c if (usb_pipeisoc(urb->pipe)) { pipe 1440 drivers/usb/host/r8a66597-hcd.c if (!usb_pipeisoc(urb->pipe)) pipe 1466 drivers/usb/host/r8a66597-hcd.c else if (usb_pipeout(urb->pipe)) pipe 1487 drivers/usb/host/r8a66597-hcd.c u16 pid = r8a66597_read(r8a66597, td->pipe->pipectr) & PID; pipe 1558 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->pipectr); pipe 1596 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1754 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe; pipe 1774 drivers/usb/host/r8a66597-hcd.c pipe = td->pipe; pipe 1775 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, pipe); pipe 1788 drivers/usb/host/r8a66597-hcd.c td->pipe->info.epnum == new_td->pipe->info.epnum); pipe 1843 drivers/usb/host/r8a66597-hcd.c unsigned int usb_address = usb_pipedevice(urb->pipe); pipe 1869 drivers/usb/host/r8a66597-hcd.c td->pipe = hep->hcpriv; pipe 1872 drivers/usb/host/r8a66597-hcd.c td->maxpacket = usb_maxpacket(urb->dev, urb->pipe, pipe 1873 drivers/usb/host/r8a66597-hcd.c !usb_pipein(urb->pipe)); pipe 1874 drivers/usb/host/r8a66597-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 1876 drivers/usb/host/r8a66597-hcd.c else if (usb_pipein(urb->pipe)) pipe 1913 drivers/usb/host/r8a66597-hcd.c if (usb_pipeendpoint(urb->pipe)) pipe 1932 drivers/usb/host/r8a66597-hcd.c if (td->pipe->info.timer_interval) { pipe 1936 drivers/usb/host/r8a66597-hcd.c td->pipe->info.timer_interval)); pipe 1970 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, td->pipe); pipe 1986 drivers/usb/host/r8a66597-hcd.c struct r8a66597_pipe *pipe = (struct r8a66597_pipe *)hep->hcpriv; pipe 1992 drivers/usb/host/r8a66597-hcd.c if (pipe == NULL) pipe 1994 drivers/usb/host/r8a66597-hcd.c pipenum = pipe->info.pipenum; pipe 2004 drivers/usb/host/r8a66597-hcd.c pipe_stop(r8a66597, pipe); pipe 56 drivers/usb/host/r8a66597.h struct r8a66597_pipe *pipe; pipe 209 drivers/usb/host/r8a66597.h struct r8a66597_pipe *pipe, u16 *buf, pipe 212 drivers/usb/host/r8a66597.h void __iomem *fifoaddr = r8a66597->reg + pipe->fifoaddr; pipe 238 drivers/usb/host/r8a66597.h r8a66597_bclr(r8a66597, MBW_16, pipe->fifosel); pipe 241 drivers/usb/host/r8a66597.h r8a66597_bset(r8a66597, MBW_16, pipe->fifosel); pipe 155 drivers/usb/host/sl811-hcd.c writeb(usb_pipedevice(urb->pipe), data_reg); pipe 176 drivers/usb/host/sl811-hcd.c do_out = urb->transfer_buffer_length && usb_pipein(urb->pipe); pipe 183 drivers/usb/host/sl811-hcd.c writeb(usb_pipedevice(urb->pipe), data_reg); pipe 223 drivers/usb/host/sl811-hcd.c writeb(usb_pipedevice(urb->pipe), data_reg); pipe 266 drivers/usb/host/sl811-hcd.c writeb(usb_pipedevice(urb->pipe), data_reg); pipe 429 drivers/usb/host/sl811-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 511 drivers/usb/host/sl811-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 541 drivers/usb/host/sl811-hcd.c if (usb_pipecontrol(urb->pipe)) pipe 551 drivers/usb/host/sl811-hcd.c else if (usb_pipeout(urb->pipe)) { pipe 797 drivers/usb/host/sl811-hcd.c unsigned int pipe = urb->pipe; pipe 798 drivers/usb/host/sl811-hcd.c int is_out = !usb_pipein(pipe); pipe 799 drivers/usb/host/sl811-hcd.c int type = usb_pipetype(pipe); pipe 800 drivers/usb/host/sl811-hcd.c int epnum = usb_pipeendpoint(pipe); pipe 845 drivers/usb/host/sl811-hcd.c ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); pipe 882 drivers/usb/host/sl811-hcd.c usb_maxpacket(udev, pipe, is_out)) pipe 1044 drivers/usb/host/u132-hcd.c if (usb_pipein(urb->pipe)) { pipe 1892 drivers/usb/host/u132-hcd.c endp->pipetype = usb_pipetype(urb->pipe); pipe 1894 drivers/usb/host/u132-hcd.c if (usb_pipein(urb->pipe)) { pipe 1983 drivers/usb/host/u132-hcd.c endp->pipetype = usb_pipetype(urb->pipe); pipe 1985 drivers/usb/host/u132-hcd.c if (usb_pipein(urb->pipe)) { pipe 2097 drivers/usb/host/u132-hcd.c endp->pipetype = usb_pipetype(urb->pipe); pipe 2118 drivers/usb/host/u132-hcd.c endp->pipetype = usb_pipetype(urb->pipe); pipe 2140 drivers/usb/host/u132-hcd.c if (usb_pipein(urb->pipe)) { pipe 2253 drivers/usb/host/u132-hcd.c u8 usb_addr = usb_pipedevice(urb->pipe); pipe 2254 drivers/usb/host/u132-hcd.c u8 usb_endp = usb_pipeendpoint(urb->pipe); pipe 2256 drivers/usb/host/u132-hcd.c if (usb_pipetype(urb->pipe) == PIPE_INTERRUPT) { pipe 2294 drivers/usb/host/u132-hcd.c } else if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 2298 drivers/usb/host/u132-hcd.c } else if (usb_pipetype(urb->pipe) == PIPE_BULK) { pipe 2515 drivers/usb/host/u132-hcd.c u8 usb_addr = usb_pipedevice(urb->pipe); pipe 2516 drivers/usb/host/u132-hcd.c u8 usb_endp = usb_pipeendpoint(urb->pipe); pipe 2519 drivers/usb/host/u132-hcd.c if (usb_pipein(urb->pipe)) { pipe 112 drivers/usb/host/uhci-debug.c out += sprintf(out, "Dev=%d ", usb_pipedevice(urbp->urb->pipe)); pipe 113 drivers/usb/host/uhci-debug.c out += sprintf(out, "EP=%x(%s) ", usb_pipeendpoint(urbp->urb->pipe), pipe 114 drivers/usb/host/uhci-debug.c (usb_pipein(urbp->urb->pipe) ? "IN" : "OUT")); pipe 118 drivers/usb/host/uhci-debug.c switch (usb_pipetype(urbp->urb->pipe)) { pipe 9 drivers/usb/host/uhci-hcd.h #define usb_packetid(pipe) (usb_pipein(pipe) ? USB_PID_IN : USB_PID_OUT) pipe 378 drivers/usb/host/uhci-q.c unsigned int pipe; pipe 415 drivers/usb/host/uhci-q.c pipe = list_entry(qh->queue.next, struct urb_priv, node)->urb->pipe; pipe 416 drivers/usb/host/uhci-q.c usb_settoggle(qh->udev, usb_pipeendpoint(pipe), pipe 417 drivers/usb/host/uhci-q.c usb_pipeout(pipe), toggle); pipe 802 drivers/usb/host/uhci-q.c destination = (urb->pipe & PIPE_DEVEP_MASK) | USB_PID_SETUP; pipe 826 drivers/usb/host/uhci-q.c if (usb_pipeout(urb->pipe) || len == 0) pipe 934 drivers/usb/host/uhci-q.c destination = (urb->pipe & PIPE_DEVEP_MASK) | usb_packetid(urb->pipe); pipe 935 drivers/usb/host/uhci-q.c toggle = usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 936 drivers/usb/host/uhci-q.c usb_pipeout(urb->pipe)); pipe 942 drivers/usb/host/uhci-q.c if (usb_pipein(urb->pipe)) pipe 1008 drivers/usb/host/uhci-q.c usb_pipeout(urb->pipe) && len == 0 && pipe 1046 drivers/usb/host/uhci-q.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 1047 drivers/usb/host/uhci-q.c usb_pipeout(urb->pipe), toggle); pipe 1334 drivers/usb/host/uhci-q.c destination = (urb->pipe & PIPE_DEVEP_MASK) | usb_packetid(urb->pipe); pipe 1390 drivers/usb/host/uhci-q.c usb_pipeout(urb->pipe)); pipe 1547 drivers/usb/host/uhci-q.c usb_settoggle(urb->dev, usb_pipeendpoint(urb->pipe), pipe 1548 drivers/usb/host/uhci-q.c usb_pipeout(urb->pipe), qh->initial_toggle); pipe 663 drivers/usb/host/xhci-ring.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 1834 drivers/usb/host/xhci-ring.c if (td->urb->dev->tt && !usb_pipeint(td->urb->pipe) && pipe 1953 drivers/usb/host/xhci-ring.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) pipe 262 drivers/usb/host/xhci-trace.h __field(unsigned int, pipe) pipe 277 drivers/usb/host/xhci-trace.h __entry->pipe = urb->pipe; pipe 297 drivers/usb/host/xhci-trace.h __entry->urb, __entry->pipe, __entry->slot_id, pipe 368 drivers/usb/image/microtek.c int pipe, pipe 382 drivers/usb/image/microtek.c pipe, pipe 526 drivers/usb/image/microtek.c int pipe; pipe 549 drivers/usb/image/microtek.c ) { pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_image); pipe 553 drivers/usb/image/microtek.c pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_response); pipe 559 drivers/usb/image/microtek.c pipe = usb_sndbulkpipe(desc->usb_dev,desc->ep_out); pipe 561 drivers/usb/image/microtek.c desc->context.data_pipe = pipe; pipe 546 drivers/usb/isp1760/isp1760-hcd.c maxpacket = usb_maxpacket(qtd->urb->dev, qtd->urb->pipe, pipe 547 drivers/usb/isp1760/isp1760-hcd.c usb_pipeout(qtd->urb->pipe)); pipe 555 drivers/usb/isp1760/isp1760-hcd.c ptd->dw0 |= TO_DW0_ENDPOINT(usb_pipeendpoint(qtd->urb->pipe)); pipe 558 drivers/usb/isp1760/isp1760-hcd.c ptd->dw1 = usb_pipeendpoint(qtd->urb->pipe) >> 1; pipe 559 drivers/usb/isp1760/isp1760-hcd.c ptd->dw1 |= TO_DW1_DEVICE_ADDR(usb_pipedevice(qtd->urb->pipe)); pipe 562 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipebulk(qtd->urb->pipe)) pipe 564 drivers/usb/isp1760/isp1760-hcd.c else if (usb_pipeint(qtd->urb->pipe)) pipe 578 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipeint(qtd->urb->pipe) && pipe 586 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipecontrol(qtd->urb->pipe) || pipe 587 drivers/usb/isp1760/isp1760-hcd.c usb_pipebulk(qtd->urb->pipe)) pipe 598 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipecontrol(qtd->urb->pipe)) { pipe 680 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) != PIPE_CONTROL) { pipe 764 drivers/usb/isp1760/isp1760-hcd.c return (usb_pipebulk(qtd->urb->pipe) && pipe 851 drivers/usb/isp1760/isp1760-hcd.c qtd_list)->urb->pipe)) { pipe 893 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipeint(qtd->urb->pipe)) pipe 1131 drivers/usb/isp1760/isp1760-hcd.c if ((usb_pipeint(qtd->urb->pipe)) && pipe 1413 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipein(urb->pipe)) pipe 1418 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1430 drivers/usb/isp1760/isp1760-hcd.c maxpacketsize = max_packet(usb_maxpacket(urb->dev, urb->pipe, pipe 1431 drivers/usb/isp1760/isp1760-hcd.c usb_pipeout(urb->pipe))); pipe 1464 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipecontrol(urb->pipe)) { pipe 1470 drivers/usb/isp1760/isp1760-hcd.c } else if (usb_pipebulk(urb->pipe) pipe 1504 drivers/usb/isp1760/isp1760-hcd.c switch (usb_pipetype(urb->pipe)) { pipe 1528 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipein(urb->pipe)) pipe 1590 drivers/usb/isp1760/isp1760-hcd.c if (usb_pipecontrol(urb->pipe) || usb_pipebulk(urb->pipe)) { pipe 73 drivers/usb/misc/cypress_cy7c63.c unsigned int pipe; pipe 86 drivers/usb/misc/cypress_cy7c63.c pipe = usb_rcvctrlpipe(dev->udev, 0); pipe 87 drivers/usb/misc/cypress_cy7c63.c retval = usb_control_msg(dev->udev, pipe, request, pipe 1449 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, pipe 1450 drivers/usb/misc/ftdi-elan.c usb_pipeout(urb->pipe)); pipe 1514 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, pipe 1515 drivers/usb/misc/ftdi-elan.c usb_pipeout(urb->pipe)); pipe 1571 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, pipe 1572 drivers/usb/misc/ftdi-elan.c usb_pipeout(urb->pipe)); pipe 1634 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, pipe 1635 drivers/usb/misc/ftdi-elan.c usb_pipeout(urb->pipe)); pipe 1715 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, pipe 1716 drivers/usb/misc/ftdi-elan.c usb_pipeout(urb->pipe)); pipe 399 drivers/usb/misc/lvstest.c unsigned int pipe; pipe 439 drivers/usb/misc/lvstest.c pipe = usb_rcvintpipe(hdev, endpoint->bEndpointAddress); pipe 440 drivers/usb/misc/lvstest.c maxp = usb_maxpacket(hdev, pipe, usb_pipeout(pipe)); pipe 441 drivers/usb/misc/lvstest.c usb_fill_int_urb(lvs->urb, hdev, pipe, &lvs->buffer[0], maxp, pipe 214 drivers/usb/misc/sisusbvga/sisusb.c unsigned int pipe, void *data, int len, int *actual_length, pipe 223 drivers/usb/misc/sisusbvga/sisusb.c usb_fill_bulk_urb(urb, sisusb->sisusb_dev, pipe, data, len, pipe 278 drivers/usb/misc/sisusbvga/sisusb.c unsigned int pipe, void *data, int len, pipe 286 drivers/usb/misc/sisusbvga/sisusb.c usb_fill_bulk_urb(urb, sisusb->sisusb_dev, pipe, data, len, pipe 337 drivers/usb/misc/sisusbvga/sisusb.c unsigned int pipe; pipe 359 drivers/usb/misc/sisusbvga/sisusb.c pipe = usb_sndbulkpipe(sisusb->sisusb_dev, ep); pipe 393 drivers/usb/misc/sisusbvga/sisusb.c result = sisusb_bulkout_msg(sisusb, index, pipe, pipe 456 drivers/usb/misc/sisusbvga/sisusb.c unsigned int pipe; pipe 465 drivers/usb/misc/sisusbvga/sisusb.c pipe = usb_rcvbulkpipe(sisusb->sisusb_dev, ep); pipe 483 drivers/usb/misc/sisusbvga/sisusb.c result = sisusb_bulkin_msg(sisusb, pipe, buffer, thispass, pipe 259 drivers/usb/misc/usbtest.c int pipe, pipe 273 drivers/usb/misc/usbtest.c usb_fill_int_urb(urb, udev, pipe, NULL, bytes, complete_fn, pipe 276 drivers/usb/misc/usbtest.c usb_fill_bulk_urb(urb, udev, pipe, NULL, bytes, complete_fn, pipe 283 drivers/usb/misc/usbtest.c if (usb_pipein(pipe)) pipe 312 drivers/usb/misc/usbtest.c usb_pipein(urb->pipe) ? GUARD_BYTE : 0, pipe 319 drivers/usb/misc/usbtest.c int pipe, pipe 323 drivers/usb/misc/usbtest.c return usbtest_alloc_urb(udev, pipe, bytes, URB_NO_TRANSFER_DMA_MAP, 0, pipe 329 drivers/usb/misc/usbtest.c int pipe, pipe 333 drivers/usb/misc/usbtest.c return usbtest_alloc_urb(udev, pipe, bytes, URB_NO_TRANSFER_DMA_MAP, 0, pipe 342 drivers/usb/misc/usbtest.c static unsigned get_maxpacket(struct usb_device *udev, int pipe) pipe 346 drivers/usb/misc/usbtest.c ep = usb_pipe_endpoint(udev, pipe); pipe 350 drivers/usb/misc/usbtest.c static int ss_isoc_get_packet_num(struct usb_device *udev, int pipe) pipe 352 drivers/usb/misc/usbtest.c struct usb_host_endpoint *ep = usb_pipe_endpoint(udev, pipe); pipe 372 drivers/usb/misc/usbtest.c maxpacket = get_maxpacket(urb->dev, urb->pipe); pipe 406 drivers/usb/misc/usbtest.c unsigned maxpacket = get_maxpacket(urb->dev, urb->pipe); pipe 472 drivers/usb/misc/usbtest.c if (usb_pipeout(urb->pipe)) { pipe 490 drivers/usb/misc/usbtest.c if (retval == 0 && usb_pipein(urb->pipe)) pipe 536 drivers/usb/misc/usbtest.c alloc_sglist(int nents, int max, int vary, struct usbtest_dev *dev, int pipe) pipe 543 drivers/usb/misc/usbtest.c get_maxpacket(interface_to_usbdev(dev->intf), pipe); pipe 603 drivers/usb/misc/usbtest.c int pipe, pipe 618 drivers/usb/misc/usbtest.c retval = usb_sg_init(req, udev, pipe, pipe 1228 drivers/usb/misc/usbtest.c int pipe = usb_rcvctrlpipe(udev, 0); pipe 1300 drivers/usb/misc/usbtest.c pipe = usb_sndctrlpipe(udev, 0); pipe 1369 drivers/usb/misc/usbtest.c urb[i] = u = simple_alloc_urb(udev, pipe, len, 0); pipe 1435 drivers/usb/misc/usbtest.c static int unlink1(struct usbtest_dev *dev, int pipe, int size, int async) pipe 1442 drivers/usb/misc/usbtest.c urb = simple_alloc_urb(testdev_to_usbdev(dev), pipe, size, 0); pipe 1448 drivers/usb/misc/usbtest.c if (usb_pipeout(urb->pipe)) { pipe 1473 drivers/usb/misc/usbtest.c if (retval == 0 && usb_pipein(urb->pipe)) pipe 1513 drivers/usb/misc/usbtest.c static int unlink_simple(struct usbtest_dev *dev, int pipe, int len) pipe 1518 drivers/usb/misc/usbtest.c retval = unlink1(dev, pipe, len, 1); pipe 1520 drivers/usb/misc/usbtest.c retval = unlink1(dev, pipe, len, 0); pipe 1554 drivers/usb/misc/usbtest.c static int unlink_queued(struct usbtest_dev *dev, int pipe, unsigned num, pipe 1582 drivers/usb/misc/usbtest.c usb_fill_bulk_urb(ctx.urbs[i], udev, pipe, buf, size, pipe 1587 drivers/usb/misc/usbtest.c if (usb_pipeout(ctx.urbs[i]->pipe)) { pipe 1699 drivers/usb/misc/usbtest.c ret = usb_clear_halt(urb->dev, urb->pipe); pipe 1708 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); pipe 1727 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); pipe 1739 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); pipe 1767 drivers/usb/misc/usbtest.c urb->pipe = dev->in_pipe; pipe 1775 drivers/usb/misc/usbtest.c urb->pipe = dev->out_pipe; pipe 1803 drivers/usb/misc/usbtest.c urb->pipe = dev->out_pipe; pipe 1976 drivers/usb/misc/usbtest.c int pipe, pipe 1990 drivers/usb/misc/usbtest.c maxp *= ss_isoc_get_packet_num(udev, pipe); pipe 2000 drivers/usb/misc/usbtest.c urb->pipe = pipe; pipe 2019 drivers/usb/misc/usbtest.c usb_pipein(urb->pipe) ? GUARD_BYTE : 0, pipe 2039 drivers/usb/misc/usbtest.c int pipe, struct usb_endpoint_descriptor *desc, unsigned offset) pipe 2065 drivers/usb/misc/usbtest.c urbs[i] = iso_alloc_urb(udev, pipe, desc, pipe 2068 drivers/usb/misc/usbtest.c urbs[i] = complicated_alloc_urb(udev, pipe, pipe 2084 drivers/usb/misc/usbtest.c transaction_num = ss_isoc_get_packet_num(udev, pipe); pipe 2152 drivers/usb/misc/usbtest.c int pipe, pipe 2160 drivers/usb/misc/usbtest.c pipe, length, transfer_flags, 1, 0, simple_callback); pipe 436 drivers/usb/musb/musb_host.c int pipe = urb->pipe; pipe 446 drivers/usb/musb/musb_host.c if (usb_pipeisoc(pipe)) { pipe 1174 drivers/usb/musb/musb_host.c if (usb_pipeout(urb->pipe) pipe 1223 drivers/usb/musb/musb_host.c int pipe; pipe 1246 drivers/usb/musb/musb_host.c pipe = urb->pipe; pipe 1384 drivers/usb/musb/musb_host.c if (!status || dma || usb_pipeisoc(pipe)) { pipe 1391 drivers/usb/musb/musb_host.c if (usb_pipeisoc(pipe)) { pipe 1437 drivers/usb/musb/musb_host.c } else if ((usb_pipeisoc(pipe) || transfer_pending) && dma) { pipe 1570 drivers/usb/musb/musb_host.c int pipe; pipe 1573 drivers/usb/musb/musb_host.c pipe = urb->pipe; pipe 1575 drivers/usb/musb/musb_host.c if (usb_pipeisoc(pipe)) { pipe 1642 drivers/usb/musb/musb_host.c int length, pipe, done; pipe 1646 drivers/usb/musb/musb_host.c pipe = urb->pipe; pipe 1648 drivers/usb/musb/musb_host.c if (usb_pipeisoc(pipe)) { pipe 1824 drivers/usb/musb/musb_host.c if (usb_pipebulk(urb->pipe) pipe 2202 drivers/usb/musb/musb_host.c ok = (usb_pipein(urb->pipe) && musb->hb_iso_rx) pipe 2203 drivers/usb/musb/musb_host.c || (usb_pipeout(urb->pipe) && musb->hb_iso_tx); pipe 2218 drivers/usb/musb/musb_host.c qh->addr_reg = (u8) usb_pipedevice(urb->pipe); pipe 2335 drivers/usb/musb/musb_host.c int is_in = usb_pipein(urb->pipe); pipe 2388 drivers/usb/musb/musb_host.c int is_in = usb_pipein(urb->pipe); pipe 2590 drivers/usb/musb/musb_host.c if (usb_pipeisoc(urb->pipe)) pipe 154 drivers/usb/musb/musb_trace.h __field(unsigned int, pipe) pipe 163 drivers/usb/musb/musb_trace.h __entry->pipe = urb->pipe; pipe 171 drivers/usb/musb/musb_trace.h usb_pipedevice(__entry->pipe), pipe 172 drivers/usb/musb/musb_trace.h usb_pipeendpoint(__entry->pipe), pipe 173 drivers/usb/musb/musb_trace.h usb_pipein(__entry->pipe) ? "in" : "out", pipe 17 drivers/usb/renesas_usbhs/fifo.c #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */ pipe 32 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); pipe 45 drivers/usb/renesas_usbhs/fifo.c void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, pipe 50 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 62 drivers/usb/renesas_usbhs/fifo.c if (!pipe->handler) { pipe 64 drivers/usb/renesas_usbhs/fifo.c pipe->handler = &usbhsf_null_handler; pipe 67 drivers/usb/renesas_usbhs/fifo.c list_move_tail(&pkt->node, &pipe->list); pipe 74 drivers/usb/renesas_usbhs/fifo.c pkt->pipe = pipe; pipe 76 drivers/usb/renesas_usbhs/fifo.c pkt->handler = pipe->handler; pipe 92 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pkt *__usbhsf_pkt_get(struct usbhs_pipe *pipe) pipe 94 drivers/usb/renesas_usbhs/fifo.c return list_first_entry_or_null(&pipe->list, struct usbhs_pkt, node); pipe 97 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_fifo_unselect(struct usbhs_pipe *pipe, pipe 104 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pkt *usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) pipe 106 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 107 drivers/usb/renesas_usbhs/fifo.c struct usbhs_fifo *fifo = usbhs_pipe_to_fifo(pipe); pipe 113 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_disable(pipe); pipe 116 drivers/usb/renesas_usbhs/fifo.c pkt = __usbhsf_pkt_get(pipe); pipe 128 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_clear_without_sequence(pipe, 0, 0); pipe 134 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 148 drivers/usb/renesas_usbhs/fifo.c static int usbhsf_pkt_handler(struct usbhs_pipe *pipe, int type) pipe 150 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 161 drivers/usb/renesas_usbhs/fifo.c pkt = __usbhsf_pkt_get(pipe); pipe 192 drivers/usb/renesas_usbhs/fifo.c usbhs_pkt_start(pipe); pipe 198 drivers/usb/renesas_usbhs/fifo.c void usbhs_pkt_start(struct usbhs_pipe *pipe) pipe 200 drivers/usb/renesas_usbhs/fifo.c usbhsf_pkt_handler(pipe, USBHSF_PKT_PREPARE); pipe 208 drivers/usb/renesas_usbhs/fifo.c #define usbhsf_irq_callback_ctrl(pipe, status, enable) \ pipe 210 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); \ pipe 212 drivers/usb/renesas_usbhs/fifo.c u16 status = (1 << usbhs_pipe_number(pipe)); \ pipe 222 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_tx_irq_ctrl(struct usbhs_pipe *pipe, int enable) pipe 233 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_dcp(pipe)) pipe 234 drivers/usb/renesas_usbhs/fifo.c usbhsf_irq_empty_ctrl(pipe, enable); pipe 236 drivers/usb/renesas_usbhs/fifo.c usbhsf_irq_ready_ctrl(pipe, enable); pipe 239 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_rx_irq_ctrl(struct usbhs_pipe *pipe, int enable) pipe 241 drivers/usb/renesas_usbhs/fifo.c usbhsf_irq_ready_ctrl(pipe, enable); pipe 247 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_send_terminator(struct usbhs_pipe *pipe, pipe 250 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 265 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_fifo_clear(struct usbhs_pipe *pipe, pipe 268 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 271 drivers/usb/renesas_usbhs/fifo.c if (!usbhs_pipe_is_dcp(pipe)) { pipe 277 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_dir_in(pipe)) pipe 278 drivers/usb/renesas_usbhs/fifo.c ret = usbhs_pipe_is_accessible(pipe); pipe 297 drivers/usb/renesas_usbhs/fifo.c static void usbhsf_fifo_unselect(struct usbhs_pipe *pipe, pipe 300 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 302 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_select_fifo(pipe, NULL); pipe 306 drivers/usb/renesas_usbhs/fifo.c static int usbhsf_fifo_select(struct usbhs_pipe *pipe, pipe 310 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 314 drivers/usb/renesas_usbhs/fifo.c u16 base = usbhs_pipe_number(pipe); /* CURPIPE */ pipe 316 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe) || pipe 320 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_dcp(pipe)) { pipe 324 drivers/usb/renesas_usbhs/fifo.c usbhs_dcp_dir_for_host(pipe, write); pipe 333 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_select_fifo(pipe, fifo); pipe 349 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 350 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 355 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_disable(pipe); pipe 357 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 1); pipe 363 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_sequence_data1(pipe); /* DATA1 */ pipe 365 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 366 drivers/usb/renesas_usbhs/fifo.c usbhsf_send_terminator(pipe, fifo); pipe 368 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 370 drivers/usb/renesas_usbhs/fifo.c usbhsf_tx_irq_ctrl(pipe, 1); pipe 371 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_enable(pipe); pipe 378 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 379 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 384 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_disable(pipe); pipe 386 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 0); pipe 392 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_sequence_data1(pipe); /* DATA1 */ pipe 393 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 395 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 397 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 1); pipe 398 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_enable(pipe); pipe 406 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 409 drivers/usb/renesas_usbhs/fifo.c usbhsf_tx_irq_ctrl(pipe, 0); pipe 411 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 0); pipe 434 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 436 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_sequence_data1(pipe); /* DATA1 */ pipe 456 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 457 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 460 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe)) pipe 469 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_disable(pipe); pipe 471 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_sequence_data1(pipe); /* DATA1 */ pipe 473 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_select(pipe, fifo, 0); pipe 474 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 475 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 494 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 495 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 500 drivers/usb/renesas_usbhs/fifo.c int maxp = usbhs_pipe_get_maxpacket(pipe); pipe 505 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_data_sequence(pipe, pkt->sequence); pipe 508 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_set_trans_count_if_bulk(pipe, pkt->length); pipe 510 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 1); pipe 514 drivers/usb/renesas_usbhs/fifo.c ret = usbhs_pipe_is_accessible(pipe); pipe 567 drivers/usb/renesas_usbhs/fifo.c usbhsf_send_terminator(pipe, fifo); pipe 569 drivers/usb/renesas_usbhs/fifo.c usbhsf_tx_irq_ctrl(pipe, !*is_done); pipe 570 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, !*is_done); pipe 571 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_enable(pipe); pipe 574 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_number(pipe), pipe 577 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 582 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 588 drivers/usb/renesas_usbhs/fifo.c usbhsf_tx_irq_ctrl(pipe, 1); pipe 589 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 1); pipe 596 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_running(pkt->pipe)) pipe 612 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 613 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 616 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe)) pipe 619 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_running(pipe)) pipe 625 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_data_sequence(pipe, pkt->sequence); pipe 628 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_dcp(pipe)) pipe 629 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 631 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_set_trans_count_if_bulk(pipe, pkt->length); pipe 632 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_enable(pipe); pipe 633 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 1); pipe 634 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 1); pipe 641 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 642 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 648 drivers/usb/renesas_usbhs/fifo.c int maxp = usbhs_pipe_get_maxpacket(pipe); pipe 653 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 0); pipe 678 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 0); pipe 679 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 0); pipe 686 drivers/usb/renesas_usbhs/fifo.c if (!usbhs_mod_is_host(priv) && !usbhs_pipe_is_dcp(pipe)) pipe 687 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_disable(pipe); /* disable pipe first */ pipe 698 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 723 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_number(pipe), pipe 727 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 742 drivers/usb/renesas_usbhs/fifo.c usbhs_dcp_control_transfer_done(pkt->pipe); pipe 786 drivers/usb/renesas_usbhs/fifo.c static void __usbhsf_dma_ctrl(struct usbhs_pipe *pipe, pipe 790 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 797 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 798 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 800 drivers/usb/renesas_usbhs/fifo.c struct usbhs_fifo *fifo = usbhs_pipe_to_fifo(pipe); pipe 809 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 811 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 817 drivers/usb/renesas_usbhs/fifo.c fifo = usbhs_pipe_to_fifo(pipe); pipe 822 drivers/usb/renesas_usbhs/fifo.c dir = usbhs_pipe_is_dir_in(pipe) ? DMA_DEV_TO_MEM : DMA_MEM_TO_DEV; pipe 831 drivers/usb/renesas_usbhs/fifo.c desc->callback_param = pipe; pipe 840 drivers/usb/renesas_usbhs/fifo.c fifo->name, usbhs_pipe_number(pipe), pkt->length, pkt->zero); pipe 842 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 1); pipe 843 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_set_trans_count_if_bulk(pipe, pkt->trans); pipe 845 drivers/usb/renesas_usbhs/fifo.c usbhsf_dma_start(pipe, fifo); pipe 846 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_enable(pipe); pipe 852 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 853 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 866 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 867 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 873 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe)) pipe 878 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_ISOC)) pipe 892 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_running(pipe)) pipe 900 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 0); pipe 909 drivers/usb/renesas_usbhs/fifo.c usbhsf_tx_irq_ctrl(pipe, 0); pipe 921 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 933 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 934 drivers/usb/renesas_usbhs/fifo.c int is_short = pkt->trans % usbhs_pipe_get_maxpacket(pipe); pipe 945 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, !*is_done); pipe 947 drivers/usb/renesas_usbhs/fifo.c usbhsf_dma_stop(pipe, pipe->fifo); pipe 949 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, pipe->fifo); pipe 978 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 979 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 983 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe)) pipe 988 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_ISOC)) pipe 999 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_running(pipe)) pipe 1002 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_config_change_bfre(pipe, 1); pipe 1004 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 0); pipe 1018 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 0); pipe 1027 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 1034 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_config_change_bfre(pipe, 0); pipe 1041 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); pipe 1051 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 1052 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 1056 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_busy(pipe)) pipe 1059 drivers/usb/renesas_usbhs/fifo.c if (usbhs_pipe_is_dcp(pipe)) pipe 1070 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_fifo_select(pipe, fifo, 0); pipe 1097 drivers/usb/renesas_usbhs/fifo.c usbhsf_rx_irq_ctrl(pipe, 0); pipe 1107 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 1120 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); pipe 1129 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 1130 drivers/usb/renesas_usbhs/fifo.c int maxp = usbhs_pipe_get_maxpacket(pipe); pipe 1132 drivers/usb/renesas_usbhs/fifo.c usbhsf_dma_stop(pipe, pipe->fifo); pipe 1134 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, pipe->fifo); pipe 1141 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 0); pipe 1144 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 0); pipe 1154 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 1157 drivers/usb/renesas_usbhs/fifo.c int maxp = usbhs_pipe_get_maxpacket(pipe); pipe 1174 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = pkt->pipe; pipe 1175 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 1176 drivers/usb/renesas_usbhs/fifo.c struct usbhs_fifo *fifo = usbhs_pipe_to_fifo(pipe); pipe 1185 drivers/usb/renesas_usbhs/fifo.c usbhs_xxxsts_clear(priv, BRDYSTS, usbhs_pipe_number(pipe)); pipe 1188 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 1191 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_running(pipe, 0); pipe 1192 drivers/usb/renesas_usbhs/fifo.c usbhsf_dma_stop(pipe, fifo); pipe 1194 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, pipe->fifo); pipe 1204 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); pipe 1309 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe; pipe 1324 drivers/usb/renesas_usbhs/fifo.c usbhs_for_each_pipe_with_dcp(pipe, priv, i) { pipe 1328 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_pkt_handler(pipe, USBHSF_PKT_TRY_RUN); pipe 1339 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe; pipe 1354 drivers/usb/renesas_usbhs/fifo.c usbhs_for_each_pipe_with_dcp(pipe, priv, i) { pipe 1358 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_pkt_handler(pipe, USBHSF_PKT_TRY_RUN); pipe 1368 drivers/usb/renesas_usbhs/fifo.c struct usbhs_pipe *pipe = arg; pipe 1369 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 1373 drivers/usb/renesas_usbhs/fifo.c ret = usbhsf_pkt_handler(pipe, USBHSF_PKT_DMA_DONE); pipe 1376 drivers/usb/renesas_usbhs/fifo.c usbhs_pipe_number(pipe), ret); pipe 1379 drivers/usb/renesas_usbhs/fifo.c void usbhs_fifo_clear_dcp(struct usbhs_pipe *pipe) pipe 1381 drivers/usb/renesas_usbhs/fifo.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 1385 drivers/usb/renesas_usbhs/fifo.c if (usbhsf_fifo_select(pipe, fifo, 1) < 0) pipe 1387 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 1388 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 1391 drivers/usb/renesas_usbhs/fifo.c if (usbhsf_fifo_select(pipe, fifo, 0) < 0) pipe 1393 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_clear(pipe, fifo); pipe 1394 drivers/usb/renesas_usbhs/fifo.c usbhsf_fifo_unselect(pipe, fifo); pipe 1412 drivers/usb/renesas_usbhs/fifo.c cfifo->pipe = NULL; pipe 1414 drivers/usb/renesas_usbhs/fifo.c dfifo->pipe = NULL; pipe 23 drivers/usb/renesas_usbhs/fifo.h struct usbhs_pipe *pipe; pipe 47 drivers/usb/renesas_usbhs/fifo.h struct usbhs_pipe *pipe; pipe 75 drivers/usb/renesas_usbhs/fifo.h void usbhs_fifo_clear_dcp(struct usbhs_pipe *pipe); pipe 94 drivers/usb/renesas_usbhs/fifo.h void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, pipe 98 drivers/usb/renesas_usbhs/fifo.h struct usbhs_pkt *usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt); pipe 99 drivers/usb/renesas_usbhs/fifo.h void usbhs_pkt_start(struct usbhs_pipe *pipe); pipe 100 drivers/usb/renesas_usbhs/fifo.h struct usbhs_pkt *__usbhsf_pkt_get(struct usbhs_pipe *pipe); pipe 31 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe; pipe 99 drivers/usb/renesas_usbhs/mod_gadget.c #define usbhsg_uep_to_pipe(u) ((u)->pipe) pipe 123 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 127 drivers/usb/renesas_usbhs/mod_gadget.c if (pipe) pipe 128 drivers/usb/renesas_usbhs/mod_gadget.c dev_dbg(dev, "pipe %d : queue pop\n", usbhs_pipe_number(pipe)); pipe 151 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = pkt->pipe; pipe 152 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); pipe 169 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 175 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, pipe 177 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pkt_start(pipe); pipe 180 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_number(pipe), pipe 192 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = pkt->pipe; pipe 196 drivers/usb/renesas_usbhs/mod_gadget.c dir = usbhs_pipe_is_dir_host(pipe); pipe 223 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); pipe 225 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_dcp_control_transfer_done(pipe); pipe 235 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 238 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_disable(pipe); pipe 239 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_sequence_data0(pipe); pipe 240 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_enable(pipe); pipe 245 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pkt_start(pipe); pipe 282 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 284 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_stall(pipe); pipe 315 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); pipe 344 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_fifo_pio_push_handler; pipe 380 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 383 drivers/usb/renesas_usbhs/mod_gadget.c if (usbhs_pipe_is_stall(pipe)) pipe 408 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe; pipe 417 drivers/usb/renesas_usbhs/mod_gadget.c pipe = usbhsg_uep_to_pipe(uep); pipe 418 drivers/usb/renesas_usbhs/mod_gadget.c if (!pipe) { pipe 481 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); pipe 501 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_fifo_pio_push_handler; pipe 504 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_fifo_pio_pop_handler; pipe 507 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_ctrl_stage_end_handler; pipe 511 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_dcp_control_transfer_done(pipe); pipe 546 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_stall(pipe); pipe 558 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 562 drivers/usb/renesas_usbhs/mod_gadget.c pkt = usbhs_pkt_pop(pipe, NULL); pipe 569 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_disable(pipe); pipe 585 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe; pipe 595 drivers/usb/renesas_usbhs/mod_gadget.c if (uep->pipe) { pipe 596 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_clear(uep->pipe); pipe 597 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_sequence_data0(uep->pipe); pipe 602 drivers/usb/renesas_usbhs/mod_gadget.c pipe = usbhs_pipe_malloc(priv, pipe 605 drivers/usb/renesas_usbhs/mod_gadget.c if (pipe) { pipe 606 drivers/usb/renesas_usbhs/mod_gadget.c uep->pipe = pipe; pipe 607 drivers/usb/renesas_usbhs/mod_gadget.c pipe->mod_private = uep; pipe 610 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_config_update(pipe, 0, pipe 620 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_fifo_dma_push_handler; pipe 622 drivers/usb/renesas_usbhs/mod_gadget.c pipe->handler = &usbhs_fifo_dma_pop_handler; pipe 624 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_number(pipe)); pipe 639 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe; pipe 643 drivers/usb/renesas_usbhs/mod_gadget.c pipe = usbhsg_uep_to_pipe(uep); pipe 644 drivers/usb/renesas_usbhs/mod_gadget.c if (!pipe) pipe 648 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_free(pipe); pipe 650 drivers/usb/renesas_usbhs/mod_gadget.c uep->pipe->mod_private = NULL; pipe 651 drivers/usb/renesas_usbhs/mod_gadget.c uep->pipe = NULL; pipe 688 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 693 drivers/usb/renesas_usbhs/mod_gadget.c unlikely(!pipe)) pipe 705 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe; pipe 709 drivers/usb/renesas_usbhs/mod_gadget.c pipe = usbhsg_uep_to_pipe(uep); pipe 710 drivers/usb/renesas_usbhs/mod_gadget.c if (pipe) pipe 711 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pkt_pop(pipe, usbhsg_ureq_to_pkt(ureq)); pipe 726 drivers/usb/renesas_usbhs/mod_gadget.c struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); pipe 734 drivers/usb/renesas_usbhs/mod_gadget.c halt, usbhs_pipe_number(pipe)); pipe 745 drivers/usb/renesas_usbhs/mod_gadget.c if (!usbhs_pipe_is_dir_in(pipe) && (__usbhsf_pkt_get(pipe) || pipe 746 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_contains_transmittable_data(pipe))) { pipe 752 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_stall(pipe); pipe 754 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_disable(pipe); pipe 850 drivers/usb/renesas_usbhs/mod_gadget.c dcp->pipe = usbhs_dcp_malloc(priv); pipe 851 drivers/usb/renesas_usbhs/mod_gadget.c dcp->pipe->mod_private = dcp; pipe 852 drivers/usb/renesas_usbhs/mod_gadget.c usbhs_pipe_config_update(dcp->pipe, 0, 0, 64); pipe 1139 drivers/usb/renesas_usbhs/mod_gadget.c uep->pipe = NULL; pipe 75 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe; /* attached pipe */ pipe 124 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_uep_to_pipe(u) ((u)->pipe) pipe 208 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipecontrol(urb->pipe)) pipe 237 drivers/usb/renesas_usbhs/mod_host.c usb_pipeendpoint(urb->pipe), pipe 238 drivers/usb/renesas_usbhs/mod_host.c usb_pipeout(urb->pipe)); pipe 250 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe; pipe 254 drivers/usb/renesas_usbhs/mod_host.c int dir_in_req = !!usb_pipein(urb->pipe); pipe 271 drivers/usb/renesas_usbhs/mod_host.c usbhs_for_each_pipe_with_dcp(pipe, priv, i) { pipe 274 drivers/usb/renesas_usbhs/mod_host.c if (!usbhs_pipe_type_is(pipe, usb_endpoint_type(desc))) pipe 279 drivers/usb/renesas_usbhs/mod_host.c dir_in = !!usbhs_pipe_is_dir_in(pipe); pipe 285 drivers/usb/renesas_usbhs/mod_host.c if (usbhsh_pipe_to_uep(pipe)) pipe 296 drivers/usb/renesas_usbhs/mod_host.c usbhsh_uep_to_pipe(uep) = pipe; pipe 297 drivers/usb/renesas_usbhs/mod_host.c usbhsh_pipe_to_uep(pipe) = uep; pipe 299 drivers/usb/renesas_usbhs/mod_host.c usbhs_pipe_config_update(pipe, pipe 307 drivers/usb/renesas_usbhs/mod_host.c usbhs_pipe_name(pipe), pipe 328 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe; pipe 340 drivers/usb/renesas_usbhs/mod_host.c pipe = usbhsh_uep_to_pipe(uep); pipe 342 drivers/usb/renesas_usbhs/mod_host.c if (unlikely(!pipe)) { pipe 350 drivers/usb/renesas_usbhs/mod_host.c usbhsh_pipe_to_uep(pipe) = NULL; pipe 355 drivers/usb/renesas_usbhs/mod_host.c usbhs_pipe_name(pipe)); pipe 475 drivers/usb/renesas_usbhs/mod_host.c if (0 == usb_pipedevice(urb->pipe)) pipe 503 drivers/usb/renesas_usbhs/mod_host.c if (0 != usb_pipedevice(urb->pipe)) { pipe 665 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe = usbhsh_uep_to_pipe(uep); pipe 671 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipeisoc(urb->pipe)) { pipe 683 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipein(urb->pipe)) pipe 684 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_fifo_dma_pop_handler; pipe 686 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_fifo_dma_push_handler; pipe 692 drivers/usb/renesas_usbhs/mod_host.c usb_pipeendpoint(urb->pipe), pipe 693 drivers/usb/renesas_usbhs/mod_host.c usb_pipeout(urb->pipe)); pipe 696 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_push(pipe, &ureq->pkt, usbhsh_queue_done, pipe 700 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_start(pipe); pipe 706 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe) pipe 711 drivers/usb/renesas_usbhs/mod_host.c pkt = usbhs_pkt_pop(pipe, NULL); pipe 751 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe) pipe 810 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe, pipe 821 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipein(urb->pipe)) pipe 822 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_dcp_data_stage_in_handler; pipe 824 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_dcp_data_stage_out_handler; pipe 826 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_push(pipe, &ureq->pkt, pipe 841 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe, pipe 851 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipein(urb->pipe)) pipe 852 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_dcp_status_stage_in_handler; pipe 854 drivers/usb/renesas_usbhs/mod_host.c pipe->handler = &usbhs_dcp_status_stage_out_handler; pipe 856 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_push(pipe, &ureq->pkt, pipe 871 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe = usbhsh_uep_to_pipe(uep); pipe 882 drivers/usb/renesas_usbhs/mod_host.c usbhsh_setup_stage_packet_push(hpriv, urb, pipe); pipe 890 drivers/usb/renesas_usbhs/mod_host.c ret = usbhsh_data_stage_packet_push(hpriv, urb, pipe, mflags); pipe 900 drivers/usb/renesas_usbhs/mod_host.c ret = usbhsh_status_stage_packet_push(hpriv, urb, pipe, mflags); pipe 909 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_start(pipe); pipe 957 drivers/usb/renesas_usbhs/mod_host.c int is_dir_in = usb_pipein(urb->pipe); pipe 1012 drivers/usb/renesas_usbhs/mod_host.c if (usb_pipecontrol(urb->pipe)) pipe 1040 drivers/usb/renesas_usbhs/mod_host.c usbhs_pkt_pop(pkt->pipe, pkt); pipe 1402 drivers/usb/renesas_usbhs/mod_host.c struct usbhs_pipe *pipe; pipe 1436 drivers/usb/renesas_usbhs/mod_host.c pipe = usbhs_dcp_malloc(priv); pipe 1437 drivers/usb/renesas_usbhs/mod_host.c usbhsh_hpriv_to_dcp(hpriv) = pipe; pipe 1439 drivers/usb/renesas_usbhs/mod_host.c pipe = usbhs_pipe_malloc(priv, pipe 1444 drivers/usb/renesas_usbhs/mod_host.c pipe->mod_private = NULL; pipe 33 drivers/usb/renesas_usbhs/pipe.c char *usbhs_pipe_name(struct usbhs_pipe *pipe) pipe 35 drivers/usb/renesas_usbhs/pipe.c return usbhsp_pipe_name[usbhs_pipe_type(pipe)]; pipe 50 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipectrl_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 52 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 53 drivers/usb/renesas_usbhs/pipe.c int offset = usbhsp_addr_offset(pipe); pipe 55 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 61 drivers/usb/renesas_usbhs/pipe.c static u16 usbhsp_pipectrl_get(struct usbhs_pipe *pipe) pipe 63 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 64 drivers/usb/renesas_usbhs/pipe.c int offset = usbhsp_addr_offset(pipe); pipe 66 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 75 drivers/usb/renesas_usbhs/pipe.c static void __usbhsp_pipe_xxx_set(struct usbhs_pipe *pipe, pipe 79 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 81 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 87 drivers/usb/renesas_usbhs/pipe.c static u16 __usbhsp_pipe_xxx_get(struct usbhs_pipe *pipe, pipe 90 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 92 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 101 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_cfg_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 103 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_set(pipe, DCPCFG, PIPECFG, mask, val); pipe 106 drivers/usb/renesas_usbhs/pipe.c static u16 usbhsp_pipe_cfg_get(struct usbhs_pipe *pipe) pipe 108 drivers/usb/renesas_usbhs/pipe.c return __usbhsp_pipe_xxx_get(pipe, DCPCFG, PIPECFG); pipe 114 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_trn_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 116 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 118 drivers/usb/renesas_usbhs/pipe.c int num = usbhs_pipe_number(pipe); pipe 147 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_set(pipe, 0, reg, mask, val); pipe 150 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_tre_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 152 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 154 drivers/usb/renesas_usbhs/pipe.c int num = usbhs_pipe_number(pipe); pipe 184 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_set(pipe, 0, reg, mask, val); pipe 190 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_buf_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 192 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 195 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_set(pipe, 0, PIPEBUF, mask, val); pipe 201 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_maxp_set(struct usbhs_pipe *pipe, u16 mask, u16 val) pipe 203 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pipe_xxx_set(pipe, DCPMAXP, PIPEMAXP, mask, val); pipe 209 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_pipe_select(struct usbhs_pipe *pipe) pipe 211 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 228 drivers/usb/renesas_usbhs/pipe.c usbhs_write(priv, PIPESEL, 0xF & usbhs_pipe_number(pipe)); pipe 231 drivers/usb/renesas_usbhs/pipe.c static int usbhsp_pipe_barrier(struct usbhs_pipe *pipe) pipe 233 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 256 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_disable(pipe); pipe 259 drivers/usb/renesas_usbhs/pipe.c if (!(usbhsp_pipectrl_get(pipe) & mask)) pipe 269 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe) pipe 273 drivers/usb/renesas_usbhs/pipe.c val = usbhsp_pipectrl_get(pipe); pipe 280 drivers/usb/renesas_usbhs/pipe.c bool usbhs_pipe_contains_transmittable_data(struct usbhs_pipe *pipe) pipe 285 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 288 drivers/usb/renesas_usbhs/pipe.c val = usbhsp_pipectrl_get(pipe); pipe 298 drivers/usb/renesas_usbhs/pipe.c static void __usbhsp_pid_try_nak_if_stall(struct usbhs_pipe *pipe) pipe 300 drivers/usb/renesas_usbhs/pipe.c u16 pid = usbhsp_pipectrl_get(pipe); pipe 310 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_STALL10); pipe 313 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_NAK); pipe 317 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_disable(struct usbhs_pipe *pipe) pipe 323 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pid_try_nak_if_stall(pipe); pipe 325 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_NAK); pipe 328 drivers/usb/renesas_usbhs/pipe.c val = usbhsp_pipectrl_get(pipe); pipe 337 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_enable(struct usbhs_pipe *pipe) pipe 340 drivers/usb/renesas_usbhs/pipe.c __usbhsp_pid_try_nak_if_stall(pipe); pipe 342 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_BUF); pipe 345 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_stall(struct usbhs_pipe *pipe) pipe 347 drivers/usb/renesas_usbhs/pipe.c u16 pid = usbhsp_pipectrl_get(pipe); pipe 357 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_STALL10); pipe 360 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, PID_MASK, PID_STALL11); pipe 365 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_is_stall(struct usbhs_pipe *pipe) pipe 367 drivers/usb/renesas_usbhs/pipe.c u16 pid = usbhsp_pipectrl_get(pipe) & PID_MASK; pipe 372 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_set_trans_count_if_bulk(struct usbhs_pipe *pipe, int len) pipe 374 drivers/usb/renesas_usbhs/pipe.c if (!usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_BULK)) pipe 380 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_tre_set(pipe, TRCLR | TRENB, TRCLR); pipe 388 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dir_in(pipe)) { pipe 389 drivers/usb/renesas_usbhs/pipe.c int maxp = usbhs_pipe_get_maxpacket(pipe); pipe 391 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_trn_set(pipe, 0xffff, DIV_ROUND_UP(len, maxp)); pipe 392 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_tre_set(pipe, TRENB, TRENB); /* enable */ pipe 400 drivers/usb/renesas_usbhs/pipe.c static int usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, pipe 416 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 429 drivers/usb/renesas_usbhs/pipe.c type = type_array[usbhs_pipe_type(pipe)]; pipe 432 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_ISOC) || pipe 433 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_BULK)) pipe 439 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_BULK)) pipe 444 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_set(pipe, IS_DIR_HOST); pipe 450 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_set(pipe, IS_DIR_IN); pipe 453 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_type_is(pipe, USB_ENDPOINT_XFER_BULK) && pipe 469 drivers/usb/renesas_usbhs/pipe.c static u16 usbhsp_setup_pipebuff(struct usbhs_pipe *pipe) pipe 471 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 473 drivers/usb/renesas_usbhs/pipe.c int pipe_num = usbhs_pipe_number(pipe); pipe 502 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel, pipe 505 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 506 drivers/usb/renesas_usbhs/pipe.c int pipe_num = usbhs_pipe_number(pipe); pipe 519 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_barrier(pipe); pipe 521 drivers/usb/renesas_usbhs/pipe.c pipe->maxp = maxp; pipe 523 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_select(pipe); pipe 524 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_maxp_set(pipe, 0xFFFF, pipe 528 drivers/usb/renesas_usbhs/pipe.c if (!usbhs_pipe_is_dcp(pipe)) pipe 529 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_cfg_set(pipe, 0x000F | DBLB, epnum | dblb); pipe 535 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe) pipe 542 drivers/usb/renesas_usbhs/pipe.c return pipe->maxp; pipe 545 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe) pipe 547 drivers/usb/renesas_usbhs/pipe.c return usbhsp_flags_has(pipe, IS_DIR_IN); pipe 550 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe) pipe 552 drivers/usb/renesas_usbhs/pipe.c return usbhsp_flags_has(pipe, IS_DIR_HOST); pipe 555 drivers/usb/renesas_usbhs/pipe.c int usbhs_pipe_is_running(struct usbhs_pipe *pipe) pipe 557 drivers/usb/renesas_usbhs/pipe.c return usbhsp_flags_has(pipe, IS_RUNNING); pipe 560 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_running(struct usbhs_pipe *pipe, int running) pipe 563 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_set(pipe, IS_RUNNING); pipe 565 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_clr(pipe, IS_RUNNING); pipe 568 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_data_sequence(struct usbhs_pipe *pipe, int sequence) pipe 590 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, mask, val); pipe 593 drivers/usb/renesas_usbhs/pipe.c static int usbhs_pipe_get_data_sequence(struct usbhs_pipe *pipe) pipe 595 drivers/usb/renesas_usbhs/pipe.c return !!(usbhsp_pipectrl_get(pipe) & SQMON); pipe 598 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_clear(struct usbhs_pipe *pipe) pipe 600 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) { pipe 601 drivers/usb/renesas_usbhs/pipe.c usbhs_fifo_clear_dcp(pipe); pipe 603 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, ACLRM, ACLRM); pipe 604 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, ACLRM, 0); pipe 609 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_clear_without_sequence(struct usbhs_pipe *pipe, pipe 614 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_select(pipe); pipe 615 drivers/usb/renesas_usbhs/pipe.c sequence = usbhs_pipe_get_data_sequence(pipe); pipe 617 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_cfg_set(pipe, BFRE, bfre_enable ? BFRE : 0); pipe 618 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_clear(pipe); pipe 619 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_data_sequence(pipe, sequence); pipe 622 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_config_change_bfre(struct usbhs_pipe *pipe, int enable) pipe 624 drivers/usb/renesas_usbhs/pipe.c if (usbhs_pipe_is_dcp(pipe)) pipe 627 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_select(pipe); pipe 629 drivers/usb/renesas_usbhs/pipe.c if (!(enable ^ !!(usbhsp_pipe_cfg_get(pipe) & BFRE))) pipe 632 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_clear_without_sequence(pipe, 1, enable); pipe 637 drivers/usb/renesas_usbhs/pipe.c struct usbhs_pipe *pos, *pipe; pipe 643 drivers/usb/renesas_usbhs/pipe.c pipe = NULL; pipe 650 drivers/usb/renesas_usbhs/pipe.c pipe = pos; pipe 654 drivers/usb/renesas_usbhs/pipe.c if (!pipe) pipe 660 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_init(pipe); pipe 661 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_set(pipe, IS_USED); pipe 663 drivers/usb/renesas_usbhs/pipe.c return pipe; pipe 666 drivers/usb/renesas_usbhs/pipe.c static void usbhsp_put_pipe(struct usbhs_pipe *pipe) pipe 668 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_init(pipe); pipe 676 drivers/usb/renesas_usbhs/pipe.c struct usbhs_pipe *pipe; pipe 679 drivers/usb/renesas_usbhs/pipe.c usbhs_for_each_pipe_with_dcp(pipe, priv, i) { pipe 680 drivers/usb/renesas_usbhs/pipe.c usbhsp_flags_init(pipe); pipe 681 drivers/usb/renesas_usbhs/pipe.c pipe->fifo = NULL; pipe 682 drivers/usb/renesas_usbhs/pipe.c pipe->mod_private = NULL; pipe 683 drivers/usb/renesas_usbhs/pipe.c INIT_LIST_HEAD(&pipe->list); pipe 686 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_clear(pipe); pipe 697 drivers/usb/renesas_usbhs/pipe.c struct usbhs_pipe *pipe; pipe 702 drivers/usb/renesas_usbhs/pipe.c pipe = usbhsp_get_pipe(priv, endpoint_type); pipe 703 drivers/usb/renesas_usbhs/pipe.c if (!pipe) { pipe 709 drivers/usb/renesas_usbhs/pipe.c INIT_LIST_HEAD(&pipe->list); pipe 711 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_disable(pipe); pipe 714 drivers/usb/renesas_usbhs/pipe.c ret = usbhsp_pipe_barrier(pipe); pipe 716 drivers/usb/renesas_usbhs/pipe.c dev_err(dev, "pipe setup failed %d\n", usbhs_pipe_number(pipe)); pipe 720 drivers/usb/renesas_usbhs/pipe.c if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) { pipe 725 drivers/usb/renesas_usbhs/pipe.c pipebuf = usbhsp_setup_pipebuff(pipe); pipe 727 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_select(pipe); pipe 728 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_cfg_set(pipe, 0xFFFF, pipecfg); pipe 729 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_buf_set(pipe, 0xFFFF, pipebuf); pipe 730 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_clear(pipe); pipe 732 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_sequence_data0(pipe); pipe 735 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_number(pipe), pipe 736 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_name(pipe), pipe 737 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_is_dir_in(pipe) ? "in" : "out"); pipe 744 drivers/usb/renesas_usbhs/pipe.c return pipe; pipe 747 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_free(struct usbhs_pipe *pipe) pipe 749 drivers/usb/renesas_usbhs/pipe.c usbhsp_put_pipe(pipe); pipe 752 drivers/usb/renesas_usbhs/pipe.c void usbhs_pipe_select_fifo(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) pipe 754 drivers/usb/renesas_usbhs/pipe.c if (pipe->fifo) pipe 755 drivers/usb/renesas_usbhs/pipe.c pipe->fifo->pipe = NULL; pipe 757 drivers/usb/renesas_usbhs/pipe.c pipe->fifo = fifo; pipe 760 drivers/usb/renesas_usbhs/pipe.c fifo->pipe = pipe; pipe 769 drivers/usb/renesas_usbhs/pipe.c struct usbhs_pipe *pipe; pipe 771 drivers/usb/renesas_usbhs/pipe.c pipe = usbhsp_get_pipe(priv, USB_ENDPOINT_XFER_CONTROL); pipe 772 drivers/usb/renesas_usbhs/pipe.c if (!pipe) pipe 775 drivers/usb/renesas_usbhs/pipe.c INIT_LIST_HEAD(&pipe->list); pipe 781 drivers/usb/renesas_usbhs/pipe.c return pipe; pipe 784 drivers/usb/renesas_usbhs/pipe.c void usbhs_dcp_control_transfer_done(struct usbhs_pipe *pipe) pipe 786 drivers/usb/renesas_usbhs/pipe.c struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); pipe 788 drivers/usb/renesas_usbhs/pipe.c WARN_ON(!usbhs_pipe_is_dcp(pipe)); pipe 790 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_enable(pipe); pipe 793 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipectrl_set(pipe, CCPL, CCPL); pipe 796 drivers/usb/renesas_usbhs/pipe.c void usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out) pipe 798 drivers/usb/renesas_usbhs/pipe.c usbhsp_pipe_cfg_set(pipe, DIR_OUT, pipe 808 drivers/usb/renesas_usbhs/pipe.c struct usbhs_pipe *pipe; pipe 821 drivers/usb/renesas_usbhs/pipe.c info->pipe = kcalloc(pipe_size, sizeof(struct usbhs_pipe), pipe 823 drivers/usb/renesas_usbhs/pipe.c if (!info->pipe) pipe 831 drivers/usb/renesas_usbhs/pipe.c usbhs_for_each_pipe_with_dcp(pipe, priv, i) { pipe 832 drivers/usb/renesas_usbhs/pipe.c pipe->priv = priv; pipe 834 drivers/usb/renesas_usbhs/pipe.c usbhs_pipe_type(pipe) = pipe 848 drivers/usb/renesas_usbhs/pipe.c kfree(info->pipe); pipe 38 drivers/usb/renesas_usbhs/pipe.h struct usbhs_pipe *pipe; pipe 50 drivers/usb/renesas_usbhs/pipe.h ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \ pipe 67 drivers/usb/renesas_usbhs/pipe.h char *usbhs_pipe_name(struct usbhs_pipe *pipe); pipe 70 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_free(struct usbhs_pipe *pipe); pipe 73 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); pipe 74 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); pipe 75 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_is_running(struct usbhs_pipe *pipe); pipe 76 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_running(struct usbhs_pipe *pipe, int running); pipe 81 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); pipe 82 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_clear(struct usbhs_pipe *pipe); pipe 83 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_clear_without_sequence(struct usbhs_pipe *pipe, pipe 85 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe); pipe 86 drivers/usb/renesas_usbhs/pipe.h bool usbhs_pipe_contains_transmittable_data(struct usbhs_pipe *pipe); pipe 87 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_enable(struct usbhs_pipe *pipe); pipe 88 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_disable(struct usbhs_pipe *pipe); pipe 89 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_stall(struct usbhs_pipe *pipe); pipe 90 drivers/usb/renesas_usbhs/pipe.h int usbhs_pipe_is_stall(struct usbhs_pipe *pipe); pipe 91 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_set_trans_count_if_bulk(struct usbhs_pipe *pipe, int len); pipe 92 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_select_fifo(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo); pipe 93 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel, pipe 95 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_config_change_bfre(struct usbhs_pipe *pipe, int enable); pipe 97 drivers/usb/renesas_usbhs/pipe.h #define usbhs_pipe_sequence_data0(pipe) usbhs_pipe_data_sequence(pipe, 0) pipe 98 drivers/usb/renesas_usbhs/pipe.h #define usbhs_pipe_sequence_data1(pipe) usbhs_pipe_data_sequence(pipe, 1) pipe 99 drivers/usb/renesas_usbhs/pipe.h void usbhs_pipe_data_sequence(struct usbhs_pipe *pipe, int data); pipe 102 drivers/usb/renesas_usbhs/pipe.h #define usbhs_pipe_number(p) (int)((p) - (p)->priv->pipe_info.pipe) pipe 103 drivers/usb/renesas_usbhs/pipe.h #define usbhs_pipe_is_dcp(p) ((p)->priv->pipe_info.pipe == (p)) pipe 114 drivers/usb/renesas_usbhs/pipe.h void usbhs_dcp_control_transfer_done(struct usbhs_pipe *pipe); pipe 115 drivers/usb/renesas_usbhs/pipe.h void usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out); pipe 142 drivers/usb/serial/cyberjack.c usb_clear_halt(port->serial->dev, port->write_urb->pipe); pipe 1947 drivers/usb/serial/io_ti.c usb_clear_halt(dev, port->write_urb->pipe); pipe 1948 drivers/usb/serial/io_ti.c usb_clear_halt(dev, port->read_urb->pipe); pipe 965 drivers/usb/serial/iuu_phoenix.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 966 drivers/usb/serial/iuu_phoenix.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 750 drivers/usb/serial/keyspan.c __func__, usb_pipeendpoint(this_urb->pipe), flip); pipe 791 drivers/usb/serial/keyspan.c endpoint = usb_pipeendpoint(urb->pipe); pipe 948 drivers/usb/serial/keyspan.c __func__, status, usb_pipeendpoint(urb->pipe)); pipe 1142 drivers/usb/serial/keyspan.c endpoint = usb_pipeendpoint(urb->pipe); pipe 1271 drivers/usb/serial/keyspan.c endpoint = usb_pipeendpoint(urb->pipe); pipe 1544 drivers/usb/serial/keyspan.c usb_clear_halt(urb->dev, urb->pipe); pipe 2072 drivers/usb/serial/keyspan.c __func__, usb_pipeendpoint(this_urb->pipe)); pipe 2339 drivers/usb/serial/keyspan.c __func__, usb_pipeendpoint(this_urb->pipe), device_port); pipe 463 drivers/usb/serial/mct_u232.c port->read_urb->pipe, retval); pipe 472 drivers/usb/serial/mct_u232.c port->interrupt_in_urb->pipe, retval); pipe 184 drivers/usb/serial/metro-usb.c usb_clear_halt(serial->dev, port->interrupt_in_urb->pipe); pipe 198 drivers/usb/serial/mos7720.c unsigned int pipe = usb_sndctrlpipe(usbdev, 0); pipe 203 drivers/usb/serial/mos7720.c int status = usb_control_msg(usbdev, pipe, request, requesttype, value, pipe 220 drivers/usb/serial/mos7720.c unsigned int pipe = usb_rcvctrlpipe(usbdev, 0); pipe 232 drivers/usb/serial/mos7720.c status = usb_control_msg(usbdev, pipe, request, requesttype, value, pipe 1013 drivers/usb/serial/mos7720.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 1014 drivers/usb/serial/mos7720.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 867 drivers/usb/serial/mos7840.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 868 drivers/usb/serial/mos7840.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 139 drivers/usb/serial/opticon.c usb_clear_halt(port->serial->dev, port->read_urb->pipe); pipe 509 drivers/usb/serial/oti6858.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 510 drivers/usb/serial/oti6858.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 767 drivers/usb/serial/pl2303.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 768 drivers/usb/serial/pl2303.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 550 drivers/usb/serial/sierra.c endpoint = usb_pipeendpoint(urb->pipe); pipe 397 drivers/usb/serial/spcp8x5.c usb_clear_halt(serial->dev, port->write_urb->pipe); pipe 398 drivers/usb/serial/spcp8x5.c usb_clear_halt(serial->dev, port->read_urb->pipe); pipe 721 drivers/usb/serial/ti_usb_3410_5052.c usb_clear_halt(dev, port->write_urb->pipe); pipe 722 drivers/usb/serial/ti_usb_3410_5052.c usb_clear_halt(dev, port->read_urb->pipe); pipe 1578 drivers/usb/serial/ti_usb_3410_5052.c static int ti_do_download(struct usb_device *dev, int pipe, pipe 1598 drivers/usb/serial/ti_usb_3410_5052.c status = usb_bulk_msg(dev, pipe, buffer + pos, len, pipe 1612 drivers/usb/serial/ti_usb_3410_5052.c unsigned int pipe = usb_sndbulkpipe(dev, pipe 1681 drivers/usb/serial/ti_usb_3410_5052.c status = ti_do_download(dev, pipe, buffer, fw_p->size); pipe 212 drivers/usb/serial/usb_wwan.c usb_pipeendpoint(this_urb->pipe), i); pipe 266 drivers/usb/serial/usb_wwan.c endpoint = usb_pipeendpoint(urb->pipe); pipe 224 drivers/usb/serial/whiteheat.c int pipe; pipe 232 drivers/usb/serial/whiteheat.c pipe = usb_sndbulkpipe(serial->dev, pipe 248 drivers/usb/serial/whiteheat.c usb_clear_halt(serial->dev, pipe); pipe 249 drivers/usb/serial/whiteheat.c ret = usb_bulk_msg(serial->dev, pipe, command, 2, pipe 261 drivers/usb/serial/whiteheat.c pipe = usb_rcvbulkpipe(serial->dev, pipe 264 drivers/usb/serial/whiteheat.c usb_clear_halt(serial->dev, pipe); pipe 265 drivers/usb/serial/whiteheat.c ret = usb_bulk_msg(serial->dev, pipe, result, pipe 384 drivers/usb/serial/whiteheat.c usb_clear_halt(port->serial->dev, port->read_urb->pipe); pipe 385 drivers/usb/serial/whiteheat.c usb_clear_halt(port->serial->dev, port->write_urb->pipe); pipe 794 drivers/usb/serial/whiteheat.c usb_clear_halt(serial->dev, command_port->read_urb->pipe); pipe 513 drivers/usb/storage/ene_ub6250.c unsigned int pipe = fDir; pipe 516 drivers/usb/storage/ene_ub6250.c pipe = us->recv_bulk_pipe; pipe 518 drivers/usb/storage/ene_ub6250.c pipe = us->send_bulk_pipe; pipe 522 drivers/usb/storage/ene_ub6250.c result = usb_stor_bulk_srb(us, pipe, us->srb); pipe 524 drivers/usb/storage/ene_ub6250.c result = usb_stor_bulk_transfer_sg(us, pipe, buf, pipe 170 drivers/usb/storage/onetouch.c int pipe, maxp; pipe 182 drivers/usb/storage/onetouch.c pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); pipe 183 drivers/usb/storage/onetouch.c maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); pipe 235 drivers/usb/storage/onetouch.c usb_fill_int_urb(onetouch->irq, udev, pipe, onetouch->data, maxp, pipe 234 drivers/usb/storage/realtek_cr.c unsigned int pipe = (dir == DMA_FROM_DEVICE) ? pipe 236 drivers/usb/storage/realtek_cr.c result = usb_stor_bulk_transfer_buf(us, pipe, pipe 323 drivers/usb/storage/realtek_cr.c unsigned int pipe = (dir == DMA_FROM_DEVICE) ? pipe 325 drivers/usb/storage/realtek_cr.c result = usb_stor_bulk_transfer_buf(us, pipe, pipe 294 drivers/usb/storage/sddr09.c unsigned int pipe; pipe 301 drivers/usb/storage/sddr09.c pipe = us->recv_ctrl_pipe; pipe 303 drivers/usb/storage/sddr09.c pipe = us->send_ctrl_pipe; pipe 305 drivers/usb/storage/sddr09.c rc = usb_stor_ctrl_transfer(us, pipe, request, requesttype, pipe 1721 drivers/usb/storage/sddr09.c unsigned int pipe = (srb->sc_data_direction == DMA_TO_DEVICE) pipe 1729 drivers/usb/storage/sddr09.c result = usb_stor_bulk_srb(us, pipe, srb); pipe 113 drivers/usb/storage/sddr55.c unsigned int pipe = (direction == DMA_FROM_DEVICE) ? pipe 119 drivers/usb/storage/sddr55.c return usb_stor_bulk_transfer_buf(us, pipe, data, len, NULL); pipe 528 drivers/usb/storage/shuttle_usbat.c unsigned int pipe = (direction == DMA_FROM_DEVICE) ? pipe 602 drivers/usb/storage/shuttle_usbat.c pipe, buf, len, use_sg, NULL); pipe 185 drivers/usb/storage/transport.c int usb_stor_control_msg(struct us_data *us, unsigned int pipe, pipe 202 drivers/usb/storage/transport.c usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, pipe 227 drivers/usb/storage/transport.c int usb_stor_clear_halt(struct us_data *us, unsigned int pipe) pipe 230 drivers/usb/storage/transport.c int endp = usb_pipeendpoint(pipe); pipe 232 drivers/usb/storage/transport.c if (usb_pipein (pipe)) pipe 256 drivers/usb/storage/transport.c static int interpret_urb_result(struct us_data *us, unsigned int pipe, pipe 279 drivers/usb/storage/transport.c if (usb_pipecontrol(pipe)) { pipe 286 drivers/usb/storage/transport.c pipe); pipe 287 drivers/usb/storage/transport.c if (usb_stor_clear_halt(us, pipe) < 0) pipe 322 drivers/usb/storage/transport.c int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, pipe 339 drivers/usb/storage/transport.c usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, pipe 344 drivers/usb/storage/transport.c return interpret_urb_result(us, pipe, size, result, pipe 360 drivers/usb/storage/transport.c unsigned int pipe = us->recv_intr_pipe; pipe 366 drivers/usb/storage/transport.c maxp = usb_maxpacket(us->pusb_dev, pipe, usb_pipeout(pipe)); pipe 371 drivers/usb/storage/transport.c usb_fill_int_urb(us->current_urb, us->pusb_dev, pipe, buf, pipe 376 drivers/usb/storage/transport.c return interpret_urb_result(us, pipe, length, result, pipe 385 drivers/usb/storage/transport.c int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, pipe 393 drivers/usb/storage/transport.c usb_fill_bulk_urb(us->current_urb, us->pusb_dev, pipe, buf, length, pipe 400 drivers/usb/storage/transport.c return interpret_urb_result(us, pipe, length, result, pipe 411 drivers/usb/storage/transport.c static int usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe, pipe 423 drivers/usb/storage/transport.c result = usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0, pipe 453 drivers/usb/storage/transport.c return interpret_urb_result(us, pipe, length, result, pipe 461 drivers/usb/storage/transport.c int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, pipe 465 drivers/usb/storage/transport.c int result = usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb), pipe 483 drivers/usb/storage/transport.c int usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, pipe 492 drivers/usb/storage/transport.c result = usb_stor_bulk_transfer_sglist(us, pipe, pipe 498 drivers/usb/storage/transport.c result = usb_stor_bulk_transfer_buf(us, pipe, buf, pipe 948 drivers/usb/storage/transport.c unsigned int pipe = 0; pipe 980 drivers/usb/storage/transport.c pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? pipe 982 drivers/usb/storage/transport.c result = usb_stor_bulk_srb(us, pipe, srb); pipe 1052 drivers/usb/storage/transport.c if (pipe) pipe 1053 drivers/usb/storage/transport.c usb_stor_clear_halt(us, pipe); pipe 1159 drivers/usb/storage/transport.c unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? pipe 1161 drivers/usb/storage/transport.c result = usb_stor_bulk_srb(us, pipe, srb); pipe 72 drivers/usb/storage/transport.h extern int usb_stor_control_msg(struct us_data *us, unsigned int pipe, pipe 75 drivers/usb/storage/transport.h extern int usb_stor_clear_halt(struct us_data *us, unsigned int pipe); pipe 77 drivers/usb/storage/transport.h extern int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, pipe 80 drivers/usb/storage/transport.h extern int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, pipe 82 drivers/usb/storage/transport.h extern int usb_stor_bulk_transfer_sg(struct us_data *us, unsigned int pipe, pipe 84 drivers/usb/storage/transport.h extern int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, pipe 452 drivers/usb/storage/uas.c unsigned int pipe = (dir == DMA_FROM_DEVICE) pipe 457 drivers/usb/storage/uas.c usb_fill_bulk_urb(urb, udev, pipe, NULL, sdb->length, pipe 173 drivers/usb/usbip/stub_rx.c if (usb_pipetype(urb->pipe) != PIPE_CONTROL) pipe 402 drivers/usb/usbip/stub_rx.c ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) pipe 403 drivers/usb/usbip/stub_rx.c [usb_pipeendpoint(urb->pipe)]; pipe 464 drivers/usb/usbip/stub_rx.c int pipe = get_pipe(sdev, pdu); pipe 470 drivers/usb/usbip/stub_rx.c if (pipe == -1) pipe 532 drivers/usb/usbip/stub_rx.c if (usb_pipeisoc(pipe)) pipe 578 drivers/usb/usbip/stub_rx.c priv->urbs[i]->pipe = pipe; pipe 62 drivers/usb/usbip/stub_tx.c usb_pipeendpoint(urb->pipe)); pipe 183 drivers/usb/usbip/stub_tx.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) pipe 185 drivers/usb/usbip/stub_tx.c else if (usb_pipein(urb->pipe) && urb->actual_length > 0 && pipe 188 drivers/usb/usbip/stub_tx.c else if (usb_pipein(urb->pipe) && priv->sgl) pipe 223 drivers/usb/usbip/stub_tx.c if (usb_pipein(urb->pipe) && priv->sgl) { pipe 237 drivers/usb/usbip/stub_tx.c } else if (usb_pipein(urb->pipe) && pipe 238 drivers/usb/usbip/stub_tx.c usb_pipetype(urb->pipe) != PIPE_ISOCHRONOUS && pipe 265 drivers/usb/usbip/stub_tx.c } else if (usb_pipein(urb->pipe) && pipe 266 drivers/usb/usbip/stub_tx.c usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 299 drivers/usb/usbip/stub_tx.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 238 drivers/usb/usbip/usbip_common.c dev_dbg(dev, " pipe :%08x ", urb->pipe); pipe 240 drivers/usb/usbip/usbip_common.c usbip_dump_pipe(urb->pipe); pipe 248 drivers/usb/usbip/usbip_common.c if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) pipe 589 drivers/usb/usbip/usbip_common.c if (!usb_pipeisoc(urb->pipe)) pipe 653 drivers/usb/usbip/usbip_common.c if (!usb_pipeisoc(urb->pipe)) pipe 692 drivers/usb/usbip/usbip_common.c if (usb_pipein(urb->pipe)) pipe 698 drivers/usb/usbip/usbip_common.c if (usb_pipeout(urb->pipe)) pipe 738 drivers/usb/usbip/vhci_hcd.c if (usb_pipedevice(urb->pipe) == 0) { pipe 739 drivers/usb/usbip/vhci_hcd.c __u8 type = usb_pipetype(urb->pipe); pipe 19 drivers/usb/usbip/vhci_tx.c usb_pipedevice(urb->pipe), vdev->devid); pipe 24 drivers/usb/usbip/vhci_tx.c pdup->base.direction = usb_pipein(urb->pipe) ? pipe 26 drivers/usb/usbip/vhci_tx.c pdup->base.ep = usb_pipeendpoint(urb->pipe); pipe 80 drivers/usb/usbip/vhci_tx.c if (urb->num_sgs && usb_pipeout(urb->pipe)) pipe 105 drivers/usb/usbip/vhci_tx.c if (!usb_pipein(urb->pipe) && urb->transfer_buffer_length > 0) { pipe 123 drivers/usb/usbip/vhci_tx.c if (usb_pipetype(urb->pipe) == PIPE_ISOCHRONOUS) { pipe 47 drivers/usb/usbip/vudc_rx.c urb->pipe |= pdu->base.direction == USBIP_DIR_IN ? pipe 152 drivers/usb/usbip/vudc_rx.c urb_p->urb->pipe &= ~(3 << 30); pipe 155 drivers/usb/usbip/vudc_rx.c urb_p->urb->pipe |= (PIPE_BULK << 30); pipe 158 drivers/usb/usbip/vudc_rx.c urb_p->urb->pipe |= (PIPE_INTERRUPT << 30); pipe 161 drivers/usb/usbip/vudc_rx.c urb_p->urb->pipe |= (PIPE_CONTROL << 30); pipe 164 drivers/usb/usbip/vudc_rx.c urb_p->urb->pipe |= (PIPE_ISOCHRONOUS << 30); pipe 208 drivers/usb/usbip/vudc_transfer.c to_host = usb_pipein(urb->pipe); pipe 225 drivers/usb/usbip/vudc_transfer.c if (urb->pipe & USB_DIR_IN) pipe 121 drivers/usb/usbip/vudc_tx.c usb_pipein(urb->pipe) && urb->actual_length > 0) { pipe 127 drivers/usb/usbip/vudc_tx.c usb_pipein(urb->pipe)) { pipe 258 drivers/video/fbdev/intelfb/intelfb.h int pipe; pipe 327 drivers/video/fbdev/intelfb/intelfb.h int pipe; pipe 848 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); pipe 1441 drivers/video/fbdev/intelfb/intelfbdrv.c u32 pipe = 0; pipe 1445 drivers/video/fbdev/intelfb/intelfbdrv.c if (get_user(pipe, (__u32 __user *)arg)) pipe 1448 drivers/video/fbdev/intelfb/intelfbdrv.c retval = intelfbhw_wait_for_vsync(dinfo, pipe); pipe 476 drivers/video/fbdev/intelfb/intelfbhw.c int pipe = -1; pipe 480 drivers/video/fbdev/intelfb/intelfbhw.c pipe = (hw->disp_b_ctrl >> DISPPLANE_SEL_PIPE_SHIFT); pipe 481 drivers/video/fbdev/intelfb/intelfbhw.c pipe &= PIPE_MASK; pipe 482 drivers/video/fbdev/intelfb/intelfbhw.c if (unlikely(pipe == PIPE_A)) pipe 486 drivers/video/fbdev/intelfb/intelfbhw.c pipe = (hw->disp_a_ctrl >> DISPPLANE_SEL_PIPE_SHIFT); pipe 487 drivers/video/fbdev/intelfb/intelfbhw.c pipe &= PIPE_MASK; pipe 488 drivers/video/fbdev/intelfb/intelfbhw.c if (likely(pipe == PIPE_A)) pipe 492 drivers/video/fbdev/intelfb/intelfbhw.c WARN_ON(pipe == -1); pipe 493 drivers/video/fbdev/intelfb/intelfbhw.c if (unlikely(pipe == -1)) pipe 494 drivers/video/fbdev/intelfb/intelfbhw.c pipe = PIPE_A; pipe 496 drivers/video/fbdev/intelfb/intelfbhw.c return pipe; pipe 503 drivers/video/fbdev/intelfb/intelfbhw.c u32 palette_reg = (dinfo->pipe == PIPE_A) ? pipe 1044 drivers/video/fbdev/intelfb/intelfbhw.c int pipe = intelfbhw_active_pipe(hw); pipe 1059 drivers/video/fbdev/intelfb/intelfbhw.c if (pipe == PIPE_B) { pipe 1100 drivers/video/fbdev/intelfb/intelfbhw.c hw->adpa |= (pipe << ADPA_PIPE_SELECT_SHIFT); pipe 1170 drivers/video/fbdev/intelfb/intelfbhw.c hw->disp_a_ctrl |= (pipe << DISPPLANE_SEL_PIPE_SHIFT); pipe 1300 drivers/video/fbdev/intelfb/intelfbhw.c dinfo->pipe = intelfbhw_active_pipe(hw); pipe 1302 drivers/video/fbdev/intelfb/intelfbhw.c if (dinfo->pipe == PIPE_B) { pipe 2088 drivers/video/fbdev/intelfb/intelfbhw.c int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe) pipe 2094 drivers/video/fbdev/intelfb/intelfbhw.c switch (pipe) { pipe 606 drivers/video/fbdev/intelfb/intelfbhw.h extern int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe); pipe 606 drivers/watchdog/pcwd_usb.c int pipe; pipe 641 drivers/watchdog/pcwd_usb.c pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); pipe 671 drivers/watchdog/pcwd_usb.c usb_fill_int_urb(usb_pcwd->intr_urb, udev, pipe, pipe 110 fs/autofs/autofs_i.h struct file *pipe; pipe 208 fs/autofs/autofs_i.h static inline int autofs_prepare_pipe(struct file *pipe) pipe 210 fs/autofs/autofs_i.h if (!(pipe->f_mode & FMODE_CAN_WRITE)) pipe 212 fs/autofs/autofs_i.h if (!S_ISFIFO(file_inode(pipe)->i_mode)) pipe 215 fs/autofs/autofs_i.h pipe->f_flags |= O_DIRECT; pipe 217 fs/autofs/autofs_i.h pipe->f_flags &= ~O_NONBLOCK; pipe 354 fs/autofs/dev-ioctl.c struct file *pipe; pipe 364 fs/autofs/dev-ioctl.c pipe = fget(pipefd); pipe 365 fs/autofs/dev-ioctl.c if (!pipe) { pipe 369 fs/autofs/dev-ioctl.c if (autofs_prepare_pipe(pipe) < 0) { pipe 371 fs/autofs/dev-ioctl.c fput(pipe); pipe 376 fs/autofs/dev-ioctl.c sbi->pipe = pipe; pipe 92 fs/autofs/inode.c if (sbi->pipe) pipe 93 fs/autofs/inode.c seq_printf(m, ",pipe_ino=%ld", file_inode(sbi->pipe)->i_ino); pipe 224 fs/autofs/inode.c struct file *pipe; pipe 239 fs/autofs/inode.c sbi->pipe = NULL; pipe 277 fs/autofs/inode.c pipe = NULL; pipe 323 fs/autofs/inode.c pipe = fget(sbi->pipefd); pipe 325 fs/autofs/inode.c if (!pipe) { pipe 329 fs/autofs/inode.c ret = autofs_prepare_pipe(pipe); pipe 332 fs/autofs/inode.c sbi->pipe = pipe; pipe 346 fs/autofs/inode.c fput(pipe); pipe 39 fs/autofs/waitq.c fput(sbi->pipe); /* Close the pipe */ pipe 40 fs/autofs/waitq.c sbi->pipe = NULL; pipe 87 fs/autofs/waitq.c struct file *pipe = NULL; pipe 137 fs/autofs/waitq.c struct user_namespace *user_ns = sbi->pipe->f_cred->user_ns; pipe 159 fs/autofs/waitq.c pipe = get_file(sbi->pipe); pipe 163 fs/autofs/waitq.c switch (ret = autofs_write(sbi, pipe, &pkt, pktsz)) { pipe 175 fs/autofs/waitq.c fput(pipe); pipe 1081 fs/cifs/cifsglob.h bool pipe:1; /* set if connection to pipe share */ pipe 4316 fs/cifs/connect.c if (!tcon->pipe && server->ops->qfs_tcon) { pipe 5030 fs/cifs/connect.c if (tcon->pipe || (ses->server->sec_mode & SECMODE_USER)) { pipe 5123 fs/cifs/connect.c tcon->pipe = true; pipe 1114 fs/cifs/inode.c if (rc && tcon->pipe) { pipe 1767 fs/cifs/smb2pdu.c tcon->pipe = true; pipe 517 fs/coredump.c struct pipe_inode_info *pipe = file->private_data; pipe 519 fs/coredump.c pipe_lock(pipe); pipe 520 fs/coredump.c pipe->readers++; pipe 521 fs/coredump.c pipe->writers--; pipe 522 fs/coredump.c wake_up_interruptible_sync(&pipe->wait); pipe 523 fs/coredump.c kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); pipe 524 fs/coredump.c pipe_unlock(pipe); pipe 530 fs/coredump.c wait_event_interruptible(pipe->wait, pipe->readers == 1); pipe 532 fs/coredump.c pipe_lock(pipe); pipe 533 fs/coredump.c pipe->readers--; pipe 534 fs/coredump.c pipe->writers++; pipe 535 fs/coredump.c pipe_unlock(pipe); pipe 643 fs/fuse/dev.c struct pipe_inode_info *pipe; pipe 696 fs/fuse/dev.c err = pipe_buf_confirm(cs->pipe, buf); pipe 708 fs/fuse/dev.c if (cs->nr_segs == cs->pipe->buffers) pipe 795 fs/fuse/dev.c err = pipe_buf_confirm(cs->pipe, buf); pipe 808 fs/fuse/dev.c if (pipe_buf_steal(cs->pipe, buf) != 0) pipe 884 fs/fuse/dev.c if (cs->nr_segs == cs->pipe->buffers) pipe 1334 fs/fuse/dev.c struct pipe_inode_info *pipe, pipe 1346 fs/fuse/dev.c bufs = kvmalloc_array(pipe->buffers, sizeof(struct pipe_buffer), pipe 1353 fs/fuse/dev.c cs.pipe = pipe; pipe 1358 fs/fuse/dev.c if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { pipe 1370 fs/fuse/dev.c ret = add_to_pipe(pipe, &bufs[page_nr++]); pipe 1936 fs/fuse/dev.c static ssize_t fuse_dev_splice_write(struct pipe_inode_info *pipe, pipe 1952 fs/fuse/dev.c pipe_lock(pipe); pipe 1954 fs/fuse/dev.c bufs = kvmalloc_array(pipe->nrbufs, sizeof(struct pipe_buffer), pipe 1957 fs/fuse/dev.c pipe_unlock(pipe); pipe 1963 fs/fuse/dev.c for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) pipe 1964 fs/fuse/dev.c rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; pipe 1975 fs/fuse/dev.c BUG_ON(nbuf >= pipe->buffers); pipe 1976 fs/fuse/dev.c BUG_ON(!pipe->nrbufs); pipe 1977 fs/fuse/dev.c ibuf = &pipe->bufs[pipe->curbuf]; pipe 1983 fs/fuse/dev.c pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); pipe 1984 fs/fuse/dev.c pipe->nrbufs--; pipe 1986 fs/fuse/dev.c if (!pipe_buf_get(pipe, ibuf)) pipe 1998 fs/fuse/dev.c pipe_unlock(pipe); pipe 2003 fs/fuse/dev.c cs.pipe = pipe; pipe 2010 fs/fuse/dev.c pipe_lock(pipe); pipe 2013 fs/fuse/dev.c pipe_buf_release(pipe, &bufs[idx]); pipe 2014 fs/fuse/dev.c pipe_unlock(pipe); pipe 1157 fs/gfs2/file.c static ssize_t gfs2_file_splice_write(struct pipe_inode_info *pipe, pipe 1170 fs/gfs2/file.c return iter_file_splice_write(pipe, out, ppos, len, flags); pipe 146 fs/nfs/blocklayout/rpc_pipefs.c struct rpc_pipe *pipe) pipe 153 fs/nfs/blocklayout/rpc_pipefs.c dentry = rpc_mkpipe_dentry(dir, "blocklayout", NULL, pipe); pipe 159 fs/nfs/blocklayout/rpc_pipefs.c struct rpc_pipe *pipe) pipe 161 fs/nfs/blocklayout/rpc_pipefs.c if (pipe->dentry) pipe 162 fs/nfs/blocklayout/rpc_pipefs.c rpc_unlink(pipe->dentry); pipe 208 fs/nfs/blocklayout/rpc_pipefs.c struct rpc_pipe *pipe) pipe 216 fs/nfs/blocklayout/rpc_pipefs.c dentry = nfs4blocklayout_register_sb(pipefs_sb, pipe); pipe 222 fs/nfs/blocklayout/rpc_pipefs.c struct rpc_pipe *pipe) pipe 228 fs/nfs/blocklayout/rpc_pipefs.c nfs4blocklayout_unregister_sb(pipefs_sb, pipe); pipe 426 fs/nfs/nfs4idmap.c struct rpc_pipe *pipe = idmap->idmap_pipe; pipe 428 fs/nfs/nfs4idmap.c if (pipe->dentry) { pipe 429 fs/nfs/nfs4idmap.c rpc_unlink(pipe->dentry); pipe 430 fs/nfs/nfs4idmap.c pipe->dentry = NULL; pipe 438 fs/nfs/nfs4idmap.c struct rpc_pipe *pipe = idmap->idmap_pipe; pipe 441 fs/nfs/nfs4idmap.c dentry = rpc_mkpipe_dentry(dir, "idmap", idmap, pipe); pipe 444 fs/nfs/nfs4idmap.c pipe->dentry = dentry; pipe 457 fs/nfs/nfs4idmap.c struct rpc_pipe *pipe; pipe 471 fs/nfs/nfs4idmap.c pipe = rpc_mkpipe_data(&idmap_upcall_ops, 0); pipe 472 fs/nfs/nfs4idmap.c if (IS_ERR(pipe)) { pipe 473 fs/nfs/nfs4idmap.c error = PTR_ERR(pipe); pipe 476 fs/nfs/nfs4idmap.c idmap->idmap_pipe = pipe; pipe 758 fs/nfsd/nfs4recover.c __cld_pipe_upcall(struct rpc_pipe *pipe, void *cmsg) pipe 763 fs/nfsd/nfs4recover.c struct nfsd_net *nn = net_generic(pipe->dentry->d_sb->s_fs_info, pipe 770 fs/nfsd/nfs4recover.c ret = rpc_queue_upcall(pipe, &msg); pipe 784 fs/nfsd/nfs4recover.c cld_pipe_upcall(struct rpc_pipe *pipe, void *cmsg) pipe 793 fs/nfsd/nfs4recover.c ret = __cld_pipe_upcall(pipe, cmsg); pipe 943 fs/nfsd/nfs4recover.c nfsd4_cld_register_sb(struct super_block *sb, struct rpc_pipe *pipe) pipe 950 fs/nfsd/nfs4recover.c dentry = rpc_mkpipe_dentry(dir, NFSD_CLD_PIPE, NULL, pipe); pipe 956 fs/nfsd/nfs4recover.c nfsd4_cld_unregister_sb(struct rpc_pipe *pipe) pipe 958 fs/nfsd/nfs4recover.c if (pipe->dentry) pipe 959 fs/nfsd/nfs4recover.c rpc_unlink(pipe->dentry); pipe 963 fs/nfsd/nfs4recover.c nfsd4_cld_register_net(struct net *net, struct rpc_pipe *pipe) pipe 971 fs/nfsd/nfs4recover.c dentry = nfsd4_cld_register_sb(sb, pipe); pipe 977 fs/nfsd/nfs4recover.c nfsd4_cld_unregister_net(struct net *net, struct rpc_pipe *pipe) pipe 983 fs/nfsd/nfs4recover.c nfsd4_cld_unregister_sb(pipe); pipe 1522 fs/nfsd/nfs4recover.c struct rpc_pipe *pipe = cn->cn_pipe; pipe 1524 fs/nfsd/nfs4recover.c return pipe->nreaders || pipe->nwriters; pipe 818 fs/nfsd/vfs.c nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, pipe 846 fs/nfsd/vfs.c static int nfsd_direct_splice_actor(struct pipe_inode_info *pipe, pipe 849 fs/nfsd/vfs.c return __splice_from_pipe(pipe, sd, nfsd_splice_actor); pipe 60 fs/pipe.c static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) pipe 62 fs/pipe.c if (pipe->files) pipe 63 fs/pipe.c mutex_lock_nested(&pipe->mutex, subclass); pipe 66 fs/pipe.c void pipe_lock(struct pipe_inode_info *pipe) pipe 71 fs/pipe.c pipe_lock_nested(pipe, I_MUTEX_PARENT); pipe 75 fs/pipe.c void pipe_unlock(struct pipe_inode_info *pipe) pipe 77 fs/pipe.c if (pipe->files) pipe 78 fs/pipe.c mutex_unlock(&pipe->mutex); pipe 82 fs/pipe.c static inline void __pipe_lock(struct pipe_inode_info *pipe) pipe 84 fs/pipe.c mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT); pipe 87 fs/pipe.c static inline void __pipe_unlock(struct pipe_inode_info *pipe) pipe 89 fs/pipe.c mutex_unlock(&pipe->mutex); pipe 107 fs/pipe.c void pipe_wait(struct pipe_inode_info *pipe) pipe 115 fs/pipe.c prepare_to_wait(&pipe->wait, &wait, TASK_INTERRUPTIBLE); pipe 116 fs/pipe.c pipe_unlock(pipe); pipe 118 fs/pipe.c finish_wait(&pipe->wait, &wait); pipe 119 fs/pipe.c pipe_lock(pipe); pipe 122 fs/pipe.c static void anon_pipe_buf_release(struct pipe_inode_info *pipe, pipe 132 fs/pipe.c if (page_count(page) == 1 && !pipe->tmp_page) pipe 133 fs/pipe.c pipe->tmp_page = page; pipe 138 fs/pipe.c static int anon_pipe_buf_steal(struct pipe_inode_info *pipe, pipe 163 fs/pipe.c int generic_pipe_buf_steal(struct pipe_inode_info *pipe, pipe 192 fs/pipe.c bool generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) pipe 222 fs/pipe.c void generic_pipe_buf_release(struct pipe_inode_info *pipe, pipe 276 fs/pipe.c struct pipe_inode_info *pipe = filp->private_data; pipe 286 fs/pipe.c __pipe_lock(pipe); pipe 288 fs/pipe.c int bufs = pipe->nrbufs; pipe 290 fs/pipe.c int curbuf = pipe->curbuf; pipe 291 fs/pipe.c struct pipe_buffer *buf = pipe->bufs + curbuf; pipe 299 fs/pipe.c error = pipe_buf_confirm(pipe, buf); pipe 323 fs/pipe.c pipe_buf_release(pipe, buf); pipe 324 fs/pipe.c curbuf = (curbuf + 1) & (pipe->buffers - 1); pipe 325 fs/pipe.c pipe->curbuf = curbuf; pipe 326 fs/pipe.c pipe->nrbufs = --bufs; pipe 335 fs/pipe.c if (!pipe->writers) pipe 337 fs/pipe.c if (!pipe->waiting_writers) { pipe 356 fs/pipe.c wake_up_interruptible_sync_poll(&pipe->wait, EPOLLOUT | EPOLLWRNORM); pipe 357 fs/pipe.c kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT); pipe 359 fs/pipe.c pipe_wait(pipe); pipe 361 fs/pipe.c __pipe_unlock(pipe); pipe 365 fs/pipe.c wake_up_interruptible_sync_poll(&pipe->wait, EPOLLOUT | EPOLLWRNORM); pipe 366 fs/pipe.c kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT); pipe 382 fs/pipe.c struct pipe_inode_info *pipe = filp->private_data; pipe 392 fs/pipe.c __pipe_lock(pipe); pipe 394 fs/pipe.c if (!pipe->readers) { pipe 402 fs/pipe.c if (pipe->nrbufs && chars != 0) { pipe 403 fs/pipe.c int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & pipe 404 fs/pipe.c (pipe->buffers - 1); pipe 405 fs/pipe.c struct pipe_buffer *buf = pipe->bufs + lastbuf; pipe 409 fs/pipe.c ret = pipe_buf_confirm(pipe, buf); pipe 428 fs/pipe.c if (!pipe->readers) { pipe 434 fs/pipe.c bufs = pipe->nrbufs; pipe 435 fs/pipe.c if (bufs < pipe->buffers) { pipe 436 fs/pipe.c int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); pipe 437 fs/pipe.c struct pipe_buffer *buf = pipe->bufs + newbuf; pipe 438 fs/pipe.c struct page *page = pipe->tmp_page; pipe 447 fs/pipe.c pipe->tmp_page = page; pipe 473 fs/pipe.c pipe->nrbufs = ++bufs; pipe 474 fs/pipe.c pipe->tmp_page = NULL; pipe 479 fs/pipe.c if (bufs < pipe->buffers) pipe 492 fs/pipe.c wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM); pipe 493 fs/pipe.c kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); pipe 496 fs/pipe.c pipe->waiting_writers++; pipe 497 fs/pipe.c pipe_wait(pipe); pipe 498 fs/pipe.c pipe->waiting_writers--; pipe 501 fs/pipe.c __pipe_unlock(pipe); pipe 503 fs/pipe.c wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM); pipe 504 fs/pipe.c kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); pipe 517 fs/pipe.c struct pipe_inode_info *pipe = filp->private_data; pipe 522 fs/pipe.c __pipe_lock(pipe); pipe 524 fs/pipe.c buf = pipe->curbuf; pipe 525 fs/pipe.c nrbufs = pipe->nrbufs; pipe 527 fs/pipe.c count += pipe->bufs[buf].len; pipe 528 fs/pipe.c buf = (buf+1) & (pipe->buffers - 1); pipe 530 fs/pipe.c __pipe_unlock(pipe); pipe 543 fs/pipe.c struct pipe_inode_info *pipe = filp->private_data; pipe 546 fs/pipe.c poll_wait(filp, &pipe->wait, wait); pipe 549 fs/pipe.c nrbufs = pipe->nrbufs; pipe 553 fs/pipe.c if (!pipe->writers && filp->f_version != pipe->w_counter) pipe 558 fs/pipe.c mask |= (nrbufs < pipe->buffers) ? EPOLLOUT | EPOLLWRNORM : 0; pipe 563 fs/pipe.c if (!pipe->readers) pipe 570 fs/pipe.c static void put_pipe_info(struct inode *inode, struct pipe_inode_info *pipe) pipe 575 fs/pipe.c if (!--pipe->files) { pipe 582 fs/pipe.c free_pipe_info(pipe); pipe 588 fs/pipe.c struct pipe_inode_info *pipe = file->private_data; pipe 590 fs/pipe.c __pipe_lock(pipe); pipe 592 fs/pipe.c pipe->readers--; pipe 594 fs/pipe.c pipe->writers--; pipe 596 fs/pipe.c if (pipe->readers || pipe->writers) { pipe 597 fs/pipe.c wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM | EPOLLERR | EPOLLHUP); pipe 598 fs/pipe.c kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); pipe 599 fs/pipe.c kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT); pipe 601 fs/pipe.c __pipe_unlock(pipe); pipe 603 fs/pipe.c put_pipe_info(inode, pipe); pipe 610 fs/pipe.c struct pipe_inode_info *pipe = filp->private_data; pipe 613 fs/pipe.c __pipe_lock(pipe); pipe 615 fs/pipe.c retval = fasync_helper(fd, filp, on, &pipe->fasync_readers); pipe 617 fs/pipe.c retval = fasync_helper(fd, filp, on, &pipe->fasync_writers); pipe 620 fs/pipe.c fasync_helper(-1, filp, 0, &pipe->fasync_readers); pipe 622 fs/pipe.c __pipe_unlock(pipe); pipe 653 fs/pipe.c struct pipe_inode_info *pipe; pipe 659 fs/pipe.c pipe = kzalloc(sizeof(struct pipe_inode_info), GFP_KERNEL_ACCOUNT); pipe 660 fs/pipe.c if (pipe == NULL) pipe 676 fs/pipe.c pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), pipe 679 fs/pipe.c if (pipe->bufs) { pipe 680 fs/pipe.c init_waitqueue_head(&pipe->wait); pipe 681 fs/pipe.c pipe->r_counter = pipe->w_counter = 1; pipe 682 fs/pipe.c pipe->buffers = pipe_bufs; pipe 683 fs/pipe.c pipe->user = user; pipe 684 fs/pipe.c mutex_init(&pipe->mutex); pipe 685 fs/pipe.c return pipe; pipe 690 fs/pipe.c kfree(pipe); pipe 696 fs/pipe.c void free_pipe_info(struct pipe_inode_info *pipe) pipe 700 fs/pipe.c (void) account_pipe_buffers(pipe->user, pipe->buffers, 0); pipe 701 fs/pipe.c free_uid(pipe->user); pipe 702 fs/pipe.c for (i = 0; i < pipe->buffers; i++) { pipe 703 fs/pipe.c struct pipe_buffer *buf = pipe->bufs + i; pipe 705 fs/pipe.c pipe_buf_release(pipe, buf); pipe 707 fs/pipe.c if (pipe->tmp_page) pipe 708 fs/pipe.c __free_page(pipe->tmp_page); pipe 709 fs/pipe.c kfree(pipe->bufs); pipe 710 fs/pipe.c kfree(pipe); pipe 731 fs/pipe.c struct pipe_inode_info *pipe; pipe 738 fs/pipe.c pipe = alloc_pipe_info(); pipe 739 fs/pipe.c if (!pipe) pipe 742 fs/pipe.c inode->i_pipe = pipe; pipe 743 fs/pipe.c pipe->files = 2; pipe 744 fs/pipe.c pipe->readers = pipe->writers = 1; pipe 876 fs/pipe.c SYSCALL_DEFINE1(pipe, int __user *, fildes) pipe 881 fs/pipe.c static int wait_for_partner(struct pipe_inode_info *pipe, unsigned int *cnt) pipe 886 fs/pipe.c pipe_wait(pipe); pipe 893 fs/pipe.c static void wake_up_partner(struct pipe_inode_info *pipe) pipe 895 fs/pipe.c wake_up_interruptible(&pipe->wait); pipe 900 fs/pipe.c struct pipe_inode_info *pipe; pipe 908 fs/pipe.c pipe = inode->i_pipe; pipe 909 fs/pipe.c pipe->files++; pipe 913 fs/pipe.c pipe = alloc_pipe_info(); pipe 914 fs/pipe.c if (!pipe) pipe 916 fs/pipe.c pipe->files = 1; pipe 921 fs/pipe.c free_pipe_info(pipe); pipe 922 fs/pipe.c pipe = inode->i_pipe; pipe 924 fs/pipe.c inode->i_pipe = pipe; pipe 928 fs/pipe.c filp->private_data = pipe; pipe 931 fs/pipe.c __pipe_lock(pipe); pipe 943 fs/pipe.c pipe->r_counter++; pipe 944 fs/pipe.c if (pipe->readers++ == 0) pipe 945 fs/pipe.c wake_up_partner(pipe); pipe 947 fs/pipe.c if (!is_pipe && !pipe->writers) { pipe 951 fs/pipe.c filp->f_version = pipe->w_counter; pipe 953 fs/pipe.c if (wait_for_partner(pipe, &pipe->w_counter)) pipe 966 fs/pipe.c if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) pipe 969 fs/pipe.c pipe->w_counter++; pipe 970 fs/pipe.c if (!pipe->writers++) pipe 971 fs/pipe.c wake_up_partner(pipe); pipe 973 fs/pipe.c if (!is_pipe && !pipe->readers) { pipe 974 fs/pipe.c if (wait_for_partner(pipe, &pipe->r_counter)) pipe 987 fs/pipe.c pipe->readers++; pipe 988 fs/pipe.c pipe->writers++; pipe 989 fs/pipe.c pipe->r_counter++; pipe 990 fs/pipe.c pipe->w_counter++; pipe 991 fs/pipe.c if (pipe->readers == 1 || pipe->writers == 1) pipe 992 fs/pipe.c wake_up_partner(pipe); pipe 1001 fs/pipe.c __pipe_unlock(pipe); pipe 1005 fs/pipe.c if (!--pipe->readers) pipe 1006 fs/pipe.c wake_up_interruptible(&pipe->wait); pipe 1011 fs/pipe.c if (!--pipe->writers) pipe 1012 fs/pipe.c wake_up_interruptible(&pipe->wait); pipe 1017 fs/pipe.c __pipe_unlock(pipe); pipe 1019 fs/pipe.c put_pipe_info(inode, pipe); pipe 1054 fs/pipe.c static long pipe_set_size(struct pipe_inode_info *pipe, unsigned long arg) pipe 1074 fs/pipe.c if (nr_pages > pipe->buffers && pipe 1078 fs/pipe.c user_bufs = account_pipe_buffers(pipe->user, pipe->buffers, nr_pages); pipe 1080 fs/pipe.c if (nr_pages > pipe->buffers && pipe 1094 fs/pipe.c if (nr_pages < pipe->nrbufs) { pipe 1110 fs/pipe.c if (pipe->nrbufs) { pipe 1114 fs/pipe.c tail = pipe->curbuf + pipe->nrbufs; pipe 1115 fs/pipe.c if (tail < pipe->buffers) pipe 1118 fs/pipe.c tail &= (pipe->buffers - 1); pipe 1120 fs/pipe.c head = pipe->nrbufs - tail; pipe 1122 fs/pipe.c memcpy(bufs, pipe->bufs + pipe->curbuf, head * sizeof(struct pipe_buffer)); pipe 1124 fs/pipe.c memcpy(bufs + head, pipe->bufs, tail * sizeof(struct pipe_buffer)); pipe 1127 fs/pipe.c pipe->curbuf = 0; pipe 1128 fs/pipe.c kfree(pipe->bufs); pipe 1129 fs/pipe.c pipe->bufs = bufs; pipe 1130 fs/pipe.c pipe->buffers = nr_pages; pipe 1134 fs/pipe.c (void) account_pipe_buffers(pipe->user, nr_pages, pipe->buffers); pipe 1150 fs/pipe.c struct pipe_inode_info *pipe; pipe 1153 fs/pipe.c pipe = get_pipe_info(file); pipe 1154 fs/pipe.c if (!pipe) pipe 1157 fs/pipe.c __pipe_lock(pipe); pipe 1161 fs/pipe.c ret = pipe_set_size(pipe, arg); pipe 1164 fs/pipe.c ret = pipe->buffers * PAGE_SIZE; pipe 1171 fs/pipe.c __pipe_unlock(pipe); pipe 47 fs/splice.c static int page_cache_pipe_buf_steal(struct pipe_inode_info *pipe, pipe 92 fs/splice.c static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, pipe 103 fs/splice.c static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, pipe 148 fs/splice.c static int user_page_pipe_buf_steal(struct pipe_inode_info *pipe, pipe 155 fs/splice.c return generic_pipe_buf_steal(pipe, buf); pipe 165 fs/splice.c static void wakeup_pipe_readers(struct pipe_inode_info *pipe) pipe 168 fs/splice.c if (waitqueue_active(&pipe->wait)) pipe 169 fs/splice.c wake_up_interruptible(&pipe->wait); pipe 170 fs/splice.c kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); pipe 184 fs/splice.c ssize_t splice_to_pipe(struct pipe_inode_info *pipe, pipe 193 fs/splice.c if (unlikely(!pipe->readers)) { pipe 199 fs/splice.c while (pipe->nrbufs < pipe->buffers) { pipe 200 fs/splice.c int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); pipe 201 fs/splice.c struct pipe_buffer *buf = pipe->bufs + newbuf; pipe 210 fs/splice.c pipe->nrbufs++; pipe 229 fs/splice.c ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) pipe 233 fs/splice.c if (unlikely(!pipe->readers)) { pipe 236 fs/splice.c } else if (pipe->nrbufs == pipe->buffers) { pipe 239 fs/splice.c int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); pipe 240 fs/splice.c pipe->bufs[newbuf] = *buf; pipe 241 fs/splice.c pipe->nrbufs++; pipe 244 fs/splice.c pipe_buf_release(pipe, buf); pipe 253 fs/splice.c int splice_grow_spd(const struct pipe_inode_info *pipe, struct splice_pipe_desc *spd) pipe 255 fs/splice.c unsigned int buffers = READ_ONCE(pipe->buffers); pipe 296 fs/splice.c struct pipe_inode_info *pipe, size_t len, pipe 303 fs/splice.c iov_iter_pipe(&to, READ, pipe, len); pipe 334 fs/splice.c int generic_pipe_buf_nosteal(struct pipe_inode_info *pipe, pipe 366 fs/splice.c struct pipe_inode_info *pipe, size_t len, pipe 377 fs/splice.c if (pipe->nrbufs == pipe->buffers) pipe 386 fs/splice.c iov_iter_pipe(&to, READ, pipe, len + offset); pipe 403 fs/splice.c pipe->bufs[to.idx].offset = offset; pipe 404 fs/splice.c pipe->bufs[to.idx].len -= offset; pipe 434 fs/splice.c static int pipe_to_sendpage(struct pipe_inode_info *pipe, pipe 446 fs/splice.c if (sd->len < sd->total_len && pipe->nrbufs > 1) pipe 453 fs/splice.c static void wakeup_pipe_writers(struct pipe_inode_info *pipe) pipe 456 fs/splice.c if (waitqueue_active(&pipe->wait)) pipe 457 fs/splice.c wake_up_interruptible(&pipe->wait); pipe 458 fs/splice.c kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT); pipe 481 fs/splice.c static int splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, pipe 486 fs/splice.c while (pipe->nrbufs) { pipe 487 fs/splice.c struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; pipe 493 fs/splice.c ret = pipe_buf_confirm(pipe, buf); pipe 500 fs/splice.c ret = actor(pipe, buf, sd); pipe 513 fs/splice.c pipe_buf_release(pipe, buf); pipe 514 fs/splice.c pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); pipe 515 fs/splice.c pipe->nrbufs--; pipe 516 fs/splice.c if (pipe->files) pipe 537 fs/splice.c static int splice_from_pipe_next(struct pipe_inode_info *pipe, struct splice_desc *sd) pipe 546 fs/splice.c while (!pipe->nrbufs) { pipe 547 fs/splice.c if (!pipe->writers) pipe 550 fs/splice.c if (!pipe->waiting_writers && sd->num_spliced) pipe 560 fs/splice.c wakeup_pipe_writers(pipe); pipe 564 fs/splice.c pipe_wait(pipe); pipe 595 fs/splice.c static void splice_from_pipe_end(struct pipe_inode_info *pipe, struct splice_desc *sd) pipe 598 fs/splice.c wakeup_pipe_writers(pipe); pipe 614 fs/splice.c ssize_t __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, pipe 622 fs/splice.c ret = splice_from_pipe_next(pipe, sd); pipe 624 fs/splice.c ret = splice_from_pipe_feed(pipe, sd, actor); pipe 626 fs/splice.c splice_from_pipe_end(pipe, sd); pipe 646 fs/splice.c ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, pipe 658 fs/splice.c pipe_lock(pipe); pipe 659 fs/splice.c ret = __splice_from_pipe(pipe, &sd, actor); pipe 660 fs/splice.c pipe_unlock(pipe); pipe 680 fs/splice.c iter_file_splice_write(struct pipe_inode_info *pipe, struct file *out, pipe 689 fs/splice.c int nbufs = pipe->buffers; pipe 697 fs/splice.c pipe_lock(pipe); pipe 705 fs/splice.c ret = splice_from_pipe_next(pipe, &sd); pipe 709 fs/splice.c if (unlikely(nbufs < pipe->buffers)) { pipe 711 fs/splice.c nbufs = pipe->buffers; pipe 722 fs/splice.c for (n = 0, idx = pipe->curbuf; left && n < pipe->nrbufs; n++, idx++) { pipe 723 fs/splice.c struct pipe_buffer *buf = pipe->bufs + idx; pipe 729 fs/splice.c if (idx == pipe->buffers - 1) pipe 732 fs/splice.c ret = pipe_buf_confirm(pipe, buf); pipe 756 fs/splice.c struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; pipe 760 fs/splice.c pipe_buf_release(pipe, buf); pipe 761 fs/splice.c pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); pipe 762 fs/splice.c pipe->nrbufs--; pipe 763 fs/splice.c if (pipe->files) pipe 774 fs/splice.c splice_from_pipe_end(pipe, &sd); pipe 776 fs/splice.c pipe_unlock(pipe); pipe 786 fs/splice.c static int write_pipe_buf(struct pipe_inode_info *pipe, struct pipe_buffer *buf, pipe 800 fs/splice.c static ssize_t default_file_splice_write(struct pipe_inode_info *pipe, pipe 806 fs/splice.c ret = splice_from_pipe(pipe, out, ppos, len, flags, write_pipe_buf); pipe 826 fs/splice.c ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, struct file *out, pipe 829 fs/splice.c return splice_from_pipe(pipe, out, ppos, len, flags, pipe_to_sendpage); pipe 837 fs/splice.c static long do_splice_from(struct pipe_inode_info *pipe, struct file *out, pipe 848 fs/splice.c return splice_write(pipe, out, ppos, len, flags); pipe 855 fs/splice.c struct pipe_inode_info *pipe, size_t len, pipe 877 fs/splice.c return splice_read(in, ppos, pipe, len, flags); pipe 896 fs/splice.c struct pipe_inode_info *pipe; pipe 915 fs/splice.c pipe = current->splice_pipe; pipe 916 fs/splice.c if (unlikely(!pipe)) { pipe 917 fs/splice.c pipe = alloc_pipe_info(); pipe 918 fs/splice.c if (!pipe) pipe 926 fs/splice.c pipe->readers = 1; pipe 928 fs/splice.c current->splice_pipe = pipe; pipe 945 fs/splice.c WARN_ON_ONCE(pipe->nrbufs != 0); pipe 953 fs/splice.c pipe_pages = pipe->buffers - pipe->nrbufs; pipe 955 fs/splice.c ret = do_splice_to(in, &pos, pipe, read_len, flags); pipe 976 fs/splice.c ret = actor(pipe, sd); pipe 993 fs/splice.c pipe->nrbufs = pipe->curbuf = 0; pipe 1002 fs/splice.c for (i = 0; i < pipe->buffers; i++) { pipe 1003 fs/splice.c struct pipe_buffer *buf = pipe->bufs + i; pipe 1006 fs/splice.c pipe_buf_release(pipe, buf); pipe 1016 fs/splice.c static int direct_splice_actor(struct pipe_inode_info *pipe, pipe 1021 fs/splice.c return do_splice_from(pipe, file, sd->opos, sd->total_len, pipe 1072 fs/splice.c static int wait_for_space(struct pipe_inode_info *pipe, unsigned flags) pipe 1075 fs/splice.c if (unlikely(!pipe->readers)) { pipe 1079 fs/splice.c if (pipe->nrbufs != pipe->buffers) pipe 1085 fs/splice.c pipe->waiting_writers++; pipe 1086 fs/splice.c pipe_wait(pipe); pipe 1087 fs/splice.c pipe->waiting_writers--; pipe 1208 fs/splice.c struct pipe_inode_info *pipe, pipe 1237 fs/splice.c ret = add_to_pipe(pipe, &buf); pipe 1253 fs/splice.c static int pipe_to_user(struct pipe_inode_info *pipe, struct pipe_buffer *buf, pipe 1267 fs/splice.c struct pipe_inode_info *pipe = get_pipe_info(file); pipe 1275 fs/splice.c if (!pipe) pipe 1279 fs/splice.c pipe_lock(pipe); pipe 1280 fs/splice.c ret = __splice_from_pipe(pipe, &sd, pipe_to_user); pipe 1281 fs/splice.c pipe_unlock(pipe); pipe 1295 fs/splice.c struct pipe_inode_info *pipe; pipe 1302 fs/splice.c pipe = get_pipe_info(file); pipe 1303 fs/splice.c if (!pipe) pipe 1306 fs/splice.c pipe_lock(pipe); pipe 1307 fs/splice.c ret = wait_for_space(pipe, flags); pipe 1309 fs/splice.c ret = iter_to_pipe(iter, pipe, buf_flag); pipe 1310 fs/splice.c pipe_unlock(pipe); pipe 1312 fs/splice.c wakeup_pipe_readers(pipe); pipe 1448 fs/splice.c static int ipipe_prep(struct pipe_inode_info *pipe, unsigned int flags) pipe 1456 fs/splice.c if (pipe->nrbufs) pipe 1460 fs/splice.c pipe_lock(pipe); pipe 1462 fs/splice.c while (!pipe->nrbufs) { pipe 1467 fs/splice.c if (!pipe->writers) pipe 1469 fs/splice.c if (!pipe->waiting_writers) { pipe 1475 fs/splice.c pipe_wait(pipe); pipe 1478 fs/splice.c pipe_unlock(pipe); pipe 1486 fs/splice.c static int opipe_prep(struct pipe_inode_info *pipe, unsigned int flags) pipe 1494 fs/splice.c if (pipe->nrbufs < pipe->buffers) pipe 1498 fs/splice.c pipe_lock(pipe); pipe 1500 fs/splice.c while (pipe->nrbufs >= pipe->buffers) { pipe 1501 fs/splice.c if (!pipe->readers) { pipe 1514 fs/splice.c pipe->waiting_writers++; pipe 1515 fs/splice.c pipe_wait(pipe); pipe 1516 fs/splice.c pipe->waiting_writers--; pipe 1519 fs/splice.c pipe_unlock(pipe); pipe 47 include/drm/drm_audio_component.h int (*sync_audio_rate)(struct device *, int port, int pipe, int rate); pipe 60 include/drm/drm_audio_component.h int (*get_eld)(struct device *, int port, int pipe, bool *enabled, pipe 80 include/drm/drm_audio_component.h void (*pin_eld_notify)(void *audio_ptr, int port, int pipe); pipe 292 include/drm/drm_drv.h u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe); pipe 308 include/drm/drm_drv.h int (*enable_vblank) (struct drm_device *dev, unsigned int pipe); pipe 319 include/drm/drm_drv.h void (*disable_vblank) (struct drm_device *dev, unsigned int pipe); pipe 371 include/drm/drm_drv.h bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe, pipe 419 include/drm/drm_drv.h bool (*get_vblank_timestamp) (struct drm_device *dev, unsigned int pipe, pipe 34 include/drm/drm_gem_framebuffer_helper.h int drm_gem_fb_simple_display_pipe_prepare_fb(struct drm_simple_display_pipe *pipe, pipe 85 include/drm/drm_mipi_dbi.h struct drm_simple_display_pipe pipe; pipe 144 include/drm/drm_mipi_dbi.h void mipi_dbi_pipe_update(struct drm_simple_display_pipe *pipe, pipe 149 include/drm/drm_mipi_dbi.h void mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe); pipe 62 include/drm/drm_simple_kms_helper.h void (*enable)(struct drm_simple_display_pipe *pipe, pipe 72 include/drm/drm_simple_kms_helper.h void (*disable)(struct drm_simple_display_pipe *pipe); pipe 91 include/drm/drm_simple_kms_helper.h int (*check)(struct drm_simple_display_pipe *pipe, pipe 106 include/drm/drm_simple_kms_helper.h void (*update)(struct drm_simple_display_pipe *pipe, pipe 119 include/drm/drm_simple_kms_helper.h int (*prepare_fb)(struct drm_simple_display_pipe *pipe, pipe 129 include/drm/drm_simple_kms_helper.h void (*cleanup_fb)(struct drm_simple_display_pipe *pipe, pipe 139 include/drm/drm_simple_kms_helper.h int (*enable_vblank)(struct drm_simple_display_pipe *pipe); pipe 148 include/drm/drm_simple_kms_helper.h void (*disable_vblank)(struct drm_simple_display_pipe *pipe); pipe 171 include/drm/drm_simple_kms_helper.h int drm_simple_display_pipe_attach_bridge(struct drm_simple_display_pipe *pipe, pipe 175 include/drm/drm_simple_kms_helper.h struct drm_simple_display_pipe *pipe, pipe 48 include/drm/drm_vblank.h unsigned int pipe; pipe 163 include/drm/drm_vblank.h unsigned int pipe; pipe 208 include/drm/drm_vblank.h bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe); pipe 212 include/drm/drm_vblank.h void drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe); pipe 218 include/drm/drm_vblank.h void drm_vblank_restore(struct drm_device *dev, unsigned int pipe); pipe 222 include/drm/drm_vblank.h unsigned int pipe, int *max_error, pipe 37 include/drm/intel_lpe_audio.h int pipe; pipe 3129 include/linux/fs.h extern ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, pipe 245 include/linux/hyperv.h } pipe; pipe 191 include/linux/net.h struct pipe_inode_info *pipe, size_t len, unsigned int flags); pipe 114 include/linux/pipe_fs_i.h static inline __must_check bool pipe_buf_get(struct pipe_inode_info *pipe, pipe 117 include/linux/pipe_fs_i.h return buf->ops->get(pipe, buf); pipe 125 include/linux/pipe_fs_i.h static inline void pipe_buf_release(struct pipe_inode_info *pipe, pipe 131 include/linux/pipe_fs_i.h ops->release(pipe, buf); pipe 139 include/linux/pipe_fs_i.h static inline int pipe_buf_confirm(struct pipe_inode_info *pipe, pipe 142 include/linux/pipe_fs_i.h return buf->ops->confirm(pipe, buf); pipe 150 include/linux/pipe_fs_i.h static inline int pipe_buf_steal(struct pipe_inode_info *pipe, pipe 153 include/linux/pipe_fs_i.h return buf->ops->steal(pipe, buf); pipe 170 include/linux/pipe_fs_i.h void pipe_wait(struct pipe_inode_info *pipe); pipe 83 include/linux/rtsx_usb.h extern int rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe, pipe 3514 include/linux/skbuff.h struct pipe_inode_info *pipe, unsigned int len, pipe 46 include/linux/sunrpc/rpc_pipe_fs.h struct list_head pipe; pipe 63 include/linux/sunrpc/rpc_pipe_fs.h struct rpc_pipe *pipe; pipe 126 include/linux/sunrpc/rpc_pipe_fs.h void rpc_destroy_pipe_data(struct rpc_pipe *pipe); pipe 43 include/linux/uio.h struct pipe_inode_info *pipe; pipe 222 include/linux/uio.h void iov_iter_pipe(struct iov_iter *i, unsigned int direction, struct pipe_inode_info *pipe, pipe 1565 include/linux/usb.h unsigned int pipe; /* (in) pipe information */ pipe 1607 include/linux/usb.h unsigned int pipe, pipe 1615 include/linux/usb.h urb->pipe = pipe; pipe 1638 include/linux/usb.h unsigned int pipe, pipe 1645 include/linux/usb.h urb->pipe = pipe; pipe 1679 include/linux/usb.h unsigned int pipe, pipe 1687 include/linux/usb.h urb->pipe = pipe; pipe 1783 include/linux/usb.h extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, pipe 1786 include/linux/usb.h extern int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, pipe 1788 include/linux/usb.h extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, pipe 1815 include/linux/usb.h extern int usb_clear_halt(struct usb_device *dev, int pipe); pipe 1864 include/linux/usb.h int pipe; pipe 1876 include/linux/usb.h unsigned pipe, pipe 1913 include/linux/usb.h #define usb_pipein(pipe) ((pipe) & USB_DIR_IN) pipe 1914 include/linux/usb.h #define usb_pipeout(pipe) (!usb_pipein(pipe)) pipe 1916 include/linux/usb.h #define usb_pipedevice(pipe) (((pipe) >> 8) & 0x7f) pipe 1917 include/linux/usb.h #define usb_pipeendpoint(pipe) (((pipe) >> 15) & 0xf) pipe 1919 include/linux/usb.h #define usb_pipetype(pipe) (((pipe) >> 30) & 3) pipe 1920 include/linux/usb.h #define usb_pipeisoc(pipe) (usb_pipetype((pipe)) == PIPE_ISOCHRONOUS) pipe 1921 include/linux/usb.h #define usb_pipeint(pipe) (usb_pipetype((pipe)) == PIPE_INTERRUPT) pipe 1922 include/linux/usb.h #define usb_pipecontrol(pipe) (usb_pipetype((pipe)) == PIPE_CONTROL) pipe 1923 include/linux/usb.h #define usb_pipebulk(pipe) (usb_pipetype((pipe)) == PIPE_BULK) pipe 1950 include/linux/usb.h usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) pipe 1953 include/linux/usb.h eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; pipe 1954 include/linux/usb.h return eps[usb_pipeendpoint(pipe)]; pipe 1960 include/linux/usb.h usb_maxpacket(struct usb_device *udev, int pipe, int is_out) pipe 1963 include/linux/usb.h unsigned epnum = usb_pipeendpoint(pipe); pipe 1966 include/linux/usb.h WARN_ON(usb_pipein(pipe)); pipe 1969 include/linux/usb.h WARN_ON(usb_pipeout(pipe)); pipe 138 include/media/drv-intf/exynos-fimc.h struct exynos_media_pipeline *pipe; pipe 153 include/media/drv-intf/exynos-fimc.h ((!(ent) || !(ent)->pipe) ? -ENOENT : \ pipe 154 include/media/drv-intf/exynos-fimc.h (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \ pipe 155 include/media/drv-intf/exynos-fimc.h (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \ pipe 175 include/media/media-device.h struct media_pipeline *pipe); pipe 309 include/media/media-entity.h struct media_pipeline *pipe; pipe 945 include/media/media-entity.h struct media_pipeline *pipe); pipe 955 include/media/media-entity.h struct media_pipeline *pipe); pipe 261 include/media/v4l2-dev.h struct media_pipeline pipe; pipe 42 include/net/nfc/hci.h int (*event_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 event, pipe 44 include/net/nfc/hci.h void (*cmd_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 65 include/net/nfc/hci.h u8 pipe; pipe 250 include/net/nfc/hci.h void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 252 include/net/nfc/hci.h void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, pipe 258 include/net/nfc/hci.h u8 pipe); pipe 80 include/net/nfc/nci_core.h void (*hci_event_received)(struct nci_dev *ndev, u8 pipe, u8 event, pipe 82 include/net/nfc/nci_core.h void (*hci_cmd_received)(struct nci_dev *ndev, u8 pipe, u8 cmd, pipe 161 include/net/nfc/nci_core.h u8 pipe; pipe 306 include/net/nfc/nci_core.h int nci_hci_open_pipe(struct nci_dev *ndev, u8 pipe); pipe 308 include/net/nfc/nci_core.h u8 dest_gate, u8 pipe); pipe 342 include/net/tcp.h struct pipe_inode_info *pipe, size_t len, pipe 376 include/net/tls.h struct pipe_inode_info *pipe, pipe 96 include/sound/vx_core.h struct vx_pipe *pipe, int count); pipe 98 include/sound/vx_core.h struct vx_pipe *pipe, int count); pipe 276 include/sound/vx_core.h struct vx_pipe *pipe, int count) pipe 278 include/sound/vx_core.h chip->ops->dma_write(chip, runtime, pipe, count); pipe 282 include/sound/vx_core.h struct vx_pipe *pipe, int count) pipe 284 include/sound/vx_core.h chip->ops->dma_read(chip, runtime, pipe, count); pipe 81 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 196 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 220 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 237 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 249 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 257 include/uapi/drm/etnaviv_drm.h __u32 pipe; /* in */ pipe 673 include/uapi/drm/i915_drm.h int pipe; pipe 1351 include/uapi/drm/i915_drm.h __u32 pipe; pipe 111 include/uapi/drm/lima_drm.h __u32 pipe; /* in, which pipe to use, GP/PP */ pipe 81 include/uapi/drm/msm_drm.h __u32 pipe; /* in, MSM_PIPE_x */ pipe 231 include/uapi/sound/skl-tplg-interface.h struct skl_dfw_v4_pipe pipe; pipe 1175 kernel/relay.c static void relay_pipe_buf_release(struct pipe_inode_info *pipe, pipe 1200 kernel/relay.c struct pipe_inode_info *pipe, pipe 1228 kernel/relay.c if (splice_grow_spd(pipe, &spd)) pipe 1278 kernel/relay.c ret = *nonpad_ret = splice_to_pipe(pipe, &spd); pipe 1292 kernel/relay.c struct pipe_inode_info *pipe, pipe 1304 kernel/relay.c ret = subbuf_splice_actor(in, ppos, pipe, len, flags, &nonpad_ret); pipe 6165 kernel/trace/trace.c struct pipe_inode_info *pipe, pipe 6184 kernel/trace/trace.c if (splice_grow_spd(pipe, &spd)) pipe 6191 kernel/trace/trace.c ppos, pipe, len, flags); pipe 6237 kernel/trace/trace.c ret = splice_to_pipe(pipe, &spd); pipe 6831 kernel/trace/trace.c struct pipe_inode_info *pipe, size_t len, unsigned int flags); pipe 7363 kernel/trace/trace.c static void buffer_pipe_buf_release(struct pipe_inode_info *pipe, pipe 7372 kernel/trace/trace.c static bool buffer_pipe_buf_get(struct pipe_inode_info *pipe, pipe 7407 kernel/trace/trace.c struct pipe_inode_info *pipe, size_t len, pipe 7439 kernel/trace/trace.c if (splice_grow_spd(pipe, &spd)) pipe 7507 kernel/trace/trace.c ret = splice_to_pipe(pipe, &spd); pipe 483 kernel/trace/trace.h struct pipe_inode_info *pipe, pipe 327 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 329 lib/iov_iter.c int next = pipe->curbuf + pipe->nrbufs; pipe 332 lib/iov_iter.c if (unlikely(!pipe->nrbufs)) pipe 334 lib/iov_iter.c if (unlikely(idx != ((next - 1) & (pipe->buffers - 1)))) pipe 337 lib/iov_iter.c p = &pipe->bufs[idx]; pipe 341 lib/iov_iter.c if (idx != (next & (pipe->buffers - 1))) pipe 348 lib/iov_iter.c pipe->curbuf, pipe->nrbufs, pipe->buffers); pipe 349 lib/iov_iter.c for (idx = 0; idx < pipe->buffers; idx++) pipe 351 lib/iov_iter.c pipe->bufs[idx].ops, pipe 352 lib/iov_iter.c pipe->bufs[idx].page, pipe 353 lib/iov_iter.c pipe->bufs[idx].offset, pipe 354 lib/iov_iter.c pipe->bufs[idx].len); pipe 362 lib/iov_iter.c static inline int next_idx(int idx, struct pipe_inode_info *pipe) pipe 364 lib/iov_iter.c return (idx + 1) & (pipe->buffers - 1); pipe 370 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 386 lib/iov_iter.c buf = &pipe->bufs[idx]; pipe 394 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 395 lib/iov_iter.c buf = &pipe->bufs[idx]; pipe 397 lib/iov_iter.c if (idx == pipe->curbuf && pipe->nrbufs) pipe 399 lib/iov_iter.c pipe->nrbufs++; pipe 487 lib/iov_iter.c if (off && (!allocated(&i->pipe->bufs[idx]) || off == PAGE_SIZE)) { pipe 488 lib/iov_iter.c idx = next_idx(idx, i->pipe); pipe 498 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 515 lib/iov_iter.c pipe->bufs[idx].len += size; pipe 518 lib/iov_iter.c pipe->bufs[idx].len = PAGE_SIZE; pipe 519 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 521 lib/iov_iter.c while (idx != pipe->curbuf || !pipe->nrbufs) { pipe 525 lib/iov_iter.c pipe->nrbufs++; pipe 526 lib/iov_iter.c pipe->bufs[idx].ops = &default_pipe_buf_ops; pipe 527 lib/iov_iter.c pipe->bufs[idx].page = page; pipe 528 lib/iov_iter.c pipe->bufs[idx].offset = 0; pipe 530 lib/iov_iter.c pipe->bufs[idx].len = left; pipe 533 lib/iov_iter.c pipe->bufs[idx].len = PAGE_SIZE; pipe 535 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 543 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 553 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { pipe 555 lib/iov_iter.c memcpy_to_page(pipe->bufs[idx].page, off, addr, chunk); pipe 575 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 587 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), r = 0) { pipe 589 lib/iov_iter.c char *p = kmap_atomic(pipe->bufs[idx].page); pipe 647 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 657 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { pipe 661 lib/iov_iter.c rem = memcpy_mcsafe_to_page(pipe->bufs[idx].page, off, addr, pipe 927 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 938 lib/iov_iter.c for ( ; n; idx = next_idx(idx, pipe), off = 0) { pipe 940 lib/iov_iter.c memzero_page(pipe->bufs[idx].page, off, chunk); pipe 989 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 990 lib/iov_iter.c if (pipe->nrbufs) { pipe 993 lib/iov_iter.c int nrbufs = (idx - pipe->curbuf) & (pipe->buffers - 1); pipe 995 lib/iov_iter.c pipe->bufs[idx].len = off - pipe->bufs[idx].offset; pipe 996 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 999 lib/iov_iter.c while (pipe->nrbufs > nrbufs) { pipe 1000 lib/iov_iter.c pipe_buf_release(pipe, &pipe->bufs[idx]); pipe 1001 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 1002 lib/iov_iter.c pipe->nrbufs--; pipe 1009 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 1017 lib/iov_iter.c left += off - pipe->bufs[idx].offset; pipe 1019 lib/iov_iter.c buf = &pipe->bufs[idx]; pipe 1023 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 1055 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 1059 lib/iov_iter.c size_t n = off - pipe->bufs[idx].offset; pipe 1070 lib/iov_iter.c idx = pipe->buffers - 1; pipe 1071 lib/iov_iter.c off = pipe->bufs[idx].offset + pipe->bufs[idx].len; pipe 1158 lib/iov_iter.c struct pipe_inode_info *pipe, pipe 1162 lib/iov_iter.c WARN_ON(pipe->nrbufs == pipe->buffers); pipe 1164 lib/iov_iter.c i->pipe = pipe; pipe 1165 lib/iov_iter.c i->idx = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); pipe 1196 lib/iov_iter.c if (size && i->iov_offset && allocated(&i->pipe->bufs[i->idx])) pipe 1237 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 1245 lib/iov_iter.c get_page(*pages++ = pipe->bufs[idx].page); pipe 1246 lib/iov_iter.c idx = next_idx(idx, pipe); pipe 1269 lib/iov_iter.c npages = ((i->pipe->curbuf - idx - 1) & (i->pipe->buffers - 1)) + 1; pipe 1338 lib/iov_iter.c npages = ((i->pipe->curbuf - idx - 1) & (i->pipe->buffers - 1)) + 1; pipe 1562 lib/iov_iter.c struct pipe_inode_info *pipe = i->pipe; pipe 1571 lib/iov_iter.c npages = ((pipe->curbuf - idx - 1) & (pipe->buffers - 1)) + 1; pipe 2308 net/core/skbuff.c struct pipe_inode_info *pipe, struct page *page, pipe 2339 net/core/skbuff.c struct pipe_inode_info *pipe) pipe 2358 net/core/skbuff.c if (spd_fill_page(spd, pipe, page, &flen, poff, pipe 2373 net/core/skbuff.c static bool __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, pipe 2390 net/core/skbuff.c sk, pipe)) pipe 2401 net/core/skbuff.c offset, len, spd, false, sk, pipe)) pipe 2414 net/core/skbuff.c if (__skb_splice_bits(iter, pipe, offset, len, spd, sk)) pipe 2426 net/core/skbuff.c struct pipe_inode_info *pipe, unsigned int tlen, pipe 2440 net/core/skbuff.c __skb_splice_bits(skb, pipe, &offset, &tlen, &spd, sk); pipe 2443 net/core/skbuff.c ret = splice_to_pipe(pipe, &spd); pipe 306 net/ipv4/tcp.c struct pipe_inode_info *pipe; pipe 743 net/ipv4/tcp.c ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, pipe 774 net/ipv4/tcp.c struct pipe_inode_info *pipe, size_t len, pipe 779 net/ipv4/tcp.c .pipe = pipe, pipe 1173 net/kcm/kcmsock.c struct pipe_inode_info *pipe, size_t len, pipe 1201 net/kcm/kcmsock.c copied = skb_splice_bits(skb, sk, stm->offset, pipe, len, flags); pipe 19 net/nfc/hci/command.c static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 23 net/nfc/hci/command.c pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, pipe 29 net/nfc/hci/command.c return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, pipe 55 net/nfc/hci/command.c static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 65 net/nfc/hci/command.c pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, pipe 71 net/nfc/hci/command.c hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe, pipe 94 net/nfc/hci/command.c u8 pipe; pipe 98 net/nfc/hci/command.c pipe = hdev->gate2pipe[gate]; pipe 99 net/nfc/hci/command.c if (pipe == NFC_HCI_INVALID_PIPE) pipe 102 net/nfc/hci/command.c return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event, pipe 115 net/nfc/hci/command.c u8 pipe; pipe 119 net/nfc/hci/command.c pipe = hdev->gate2pipe[gate]; pipe 120 net/nfc/hci/command.c if (pipe == NFC_HCI_INVALID_PIPE) pipe 123 net/nfc/hci/command.c return nfc_hci_execute_cmd(hdev, pipe, cmd, param, param_len, skb); pipe 131 net/nfc/hci/command.c u8 pipe; pipe 135 net/nfc/hci/command.c pipe = hdev->gate2pipe[gate]; pipe 136 net/nfc/hci/command.c if (pipe == NFC_HCI_INVALID_PIPE) pipe 139 net/nfc/hci/command.c return nfc_hci_execute_cmd_async(hdev, pipe, cmd, param, param_len, pipe 186 net/nfc/hci/command.c static int nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) pipe 191 net/nfc/hci/command.c pr_debug("pipe=%d\n", pipe); pipe 193 net/nfc/hci/command.c r = nfc_hci_execute_cmd(hdev, pipe, NFC_HCI_ANY_OPEN_PIPE, pipe 206 net/nfc/hci/command.c static int nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) pipe 210 net/nfc/hci/command.c return nfc_hci_execute_cmd(hdev, pipe, NFC_HCI_ANY_CLOSE_PIPE, pipe 220 net/nfc/hci/command.c u8 pipe; pipe 235 net/nfc/hci/command.c pipe = resp->pipe; pipe 238 net/nfc/hci/command.c pr_debug("pipe created=%d\n", pipe); pipe 240 net/nfc/hci/command.c return pipe; pipe 243 net/nfc/hci/command.c static int nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe) pipe 248 net/nfc/hci/command.c NFC_HCI_ADM_DELETE_PIPE, &pipe, 1, NULL); pipe 272 net/nfc/hci/command.c u8 pipe = hdev->gate2pipe[gate]; pipe 276 net/nfc/hci/command.c if (pipe == NFC_HCI_INVALID_PIPE) pipe 279 net/nfc/hci/command.c r = nfc_hci_close_pipe(hdev, pipe); pipe 283 net/nfc/hci/command.c if (pipe != NFC_HCI_LINK_MGMT_PIPE && pipe != NFC_HCI_ADMIN_PIPE) { pipe 284 net/nfc/hci/command.c r = nfc_hci_delete_pipe(hdev, pipe); pipe 312 net/nfc/hci/command.c u8 pipe) pipe 319 net/nfc/hci/command.c if (pipe == NFC_HCI_DO_NOT_CREATE_PIPE) pipe 325 net/nfc/hci/command.c if (pipe != NFC_HCI_INVALID_PIPE) pipe 330 net/nfc/hci/command.c pipe = NFC_HCI_LINK_MGMT_PIPE; pipe 333 net/nfc/hci/command.c pipe = NFC_HCI_ADMIN_PIPE; pipe 336 net/nfc/hci/command.c pipe = nfc_hci_create_pipe(hdev, dest_host, dest_gate, &r); pipe 337 net/nfc/hci/command.c if (pipe == NFC_HCI_INVALID_PIPE) pipe 344 net/nfc/hci/command.c r = nfc_hci_open_pipe(hdev, pipe); pipe 347 net/nfc/hci/command.c if (nfc_hci_delete_pipe(hdev, pipe) < 0) { pipe 354 net/nfc/hci/command.c hdev->pipes[pipe].gate = dest_gate; pipe 355 net/nfc/hci/command.c hdev->pipes[pipe].dest_host = dest_host; pipe 356 net/nfc/hci/command.c hdev->gate2pipe[dest_gate] = pipe; pipe 132 net/nfc/hci/core.c u8 pipe; pipe 137 net/nfc/hci/core.c pipe = skb->data[0]; pipe 144 net/nfc/hci/core.c nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, skb); pipe 181 net/nfc/hci/core.c void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, pipe 190 net/nfc/hci/core.c pr_debug("from pipe %x cmd %x\n", pipe, cmd); pipe 192 net/nfc/hci/core.c if (pipe >= NFC_HCI_MAX_PIPES) { pipe 197 net/nfc/hci/core.c gate = hdev->pipes[pipe].gate; pipe 207 net/nfc/hci/core.c if (create_info->pipe >= NFC_HCI_MAX_PIPES) { pipe 217 net/nfc/hci/core.c hdev->gate2pipe[create_info->dest_gate] = create_info->pipe; pipe 218 net/nfc/hci/core.c hdev->pipes[create_info->pipe].gate = create_info->dest_gate; pipe 219 net/nfc/hci/core.c hdev->pipes[create_info->pipe].dest_host = pipe 235 net/nfc/hci/core.c if (delete_info->pipe >= NFC_HCI_MAX_PIPES) { pipe 240 net/nfc/hci/core.c hdev->pipes[delete_info->pipe].gate = NFC_HCI_INVALID_GATE; pipe 241 net/nfc/hci/core.c hdev->pipes[delete_info->pipe].dest_host = NFC_HCI_INVALID_HOST; pipe 258 net/nfc/hci/core.c hdev->ops->cmd_received(hdev, pipe, cmd, skb); pipe 261 net/nfc/hci/core.c nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_RESPONSE, pipe 381 net/nfc/hci/core.c void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, pipe 387 net/nfc/hci/core.c if (pipe >= NFC_HCI_MAX_PIPES) { pipe 388 net/nfc/hci/core.c pr_err("Discarded event %x to invalid pipe %x\n", event, pipe); pipe 392 net/nfc/hci/core.c gate = hdev->pipes[pipe].gate; pipe 394 net/nfc/hci/core.c pr_err("Discarded event %x to unopened pipe %x\n", event, pipe); pipe 399 net/nfc/hci/core.c r = hdev->ops->event_received(hdev, pipe, event, skb); pipe 455 net/nfc/hci/core.c gates->gate, gates->pipe); pipe 474 net/nfc/hci/core.c hdev->init_data.gates[0].pipe); pipe 860 net/nfc/hci/core.c u8 pipe; pipe 872 net/nfc/hci/core.c pipe = packet->header & NFC_HCI_FRAGMENT; pipe 888 net/nfc/hci/core.c skb_put_u8(hcp_skb, pipe); pipe 910 net/nfc/hci/core.c pipe = packet->header; pipe 914 net/nfc/hci/core.c nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); pipe 13 net/nfc/hci/hci.h u8 pipe; pipe 53 net/nfc/hci/hci.h u8 pipe; pipe 57 net/nfc/hci/hci.h u8 pipe; pipe 70 net/nfc/hci/hci.h int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, pipe 76 net/nfc/hci/hci.h void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, pipe 21 net/nfc/hci/hcp.c int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, pipe 72 net/nfc/hci/hcp.c packet->header = pipe; pipe 119 net/nfc/hci/hcp.c void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, pipe 127 net/nfc/hci/hcp.c nfc_hci_cmd_received(hdev, pipe, instruction, skb); pipe 130 net/nfc/hci/hcp.c nfc_hci_event_received(hdev, pipe, instruction, skb); pipe 20 net/nfc/nci/hci.c u8 pipe; pipe 37 net/nfc/nci/hci.c u8 pipe; pipe 41 net/nfc/nci/hci.c u8 pipe; pipe 141 net/nfc/nci/hci.c static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, pipe 148 net/nfc/nci/hci.c u8 cb = pipe; pipe 204 net/nfc/nci/hci.c nci_hci_send_data(ndev, data->pipe, data->cmd, pipe 211 net/nfc/nci/hci.c u8 pipe = ndev->hci_dev->gate2pipe[gate]; pipe 213 net/nfc/nci/hci.c if (pipe == NCI_HCI_INVALID_PIPE) pipe 216 net/nfc/nci/hci.c return nci_hci_send_data(ndev, pipe, pipe 230 net/nfc/nci/hci.c u8 pipe = ndev->hci_dev->gate2pipe[gate]; pipe 232 net/nfc/nci/hci.c if (pipe == NCI_HCI_INVALID_PIPE) pipe 240 net/nfc/nci/hci.c data.pipe = pipe; pipe 275 net/nfc/nci/hci.c static void nci_hci_event_received(struct nci_dev *ndev, u8 pipe, pipe 279 net/nfc/nci/hci.c ndev->ops->hci_event_received(ndev, pipe, event, skb); pipe 282 net/nfc/nci/hci.c static void nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, pipe 285 net/nfc/nci/hci.c u8 gate = ndev->hci_dev->pipes[pipe].gate; pipe 292 net/nfc/nci/hci.c pr_debug("from gate %x pipe %x cmd %x\n", gate, pipe, cmd); pipe 302 net/nfc/nci/hci.c new_pipe = create_info->pipe; pipe 331 net/nfc/nci/hci.c if (delete_info->pipe >= NCI_HCI_MAX_PIPES) { pipe 336 net/nfc/nci/hci.c ndev->hci_dev->pipes[delete_info->pipe].gate = pipe 338 net/nfc/nci/hci.c ndev->hci_dev->pipes[delete_info->pipe].host = pipe 357 net/nfc/nci/hci.c ndev->ops->hci_cmd_received(ndev, pipe, cmd, skb); pipe 360 net/nfc/nci/hci.c nci_hci_send_data(ndev, pipe, status, NULL, 0); pipe 365 net/nfc/nci/hci.c static void nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, pipe 386 net/nfc/nci/hci.c static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, pipe 391 net/nfc/nci/hci.c nci_hci_resp_received(ndev, pipe, instruction, skb); pipe 394 net/nfc/nci/hci.c nci_hci_cmd_received(ndev, pipe, instruction, skb); pipe 397 net/nfc/nci/hci.c nci_hci_event_received(ndev, pipe, instruction, skb); pipe 415 net/nfc/nci/hci.c u8 pipe, type, instruction; pipe 418 net/nfc/nci/hci.c pipe = NCI_HCP_MSG_GET_PIPE(skb->data[0]); pipe 425 net/nfc/nci/hci.c nci_hci_hcp_message_rx(hdev->ndev, pipe, pipe 435 net/nfc/nci/hci.c u8 pipe, type; pipe 455 net/nfc/nci/hci.c pipe = NCI_HCP_MSG_GET_PIPE(packet->header); pipe 471 net/nfc/nci/hci.c skb_put_u8(hcp_skb, pipe); pipe 493 net/nfc/nci/hci.c pipe = NCI_HCP_MSG_GET_PIPE(packet->header); pipe 495 net/nfc/nci/hci.c nci_hci_hcp_message_rx(ndev, pipe, type, pipe 503 net/nfc/nci/hci.c int nci_hci_open_pipe(struct nci_dev *ndev, u8 pipe) pipe 513 net/nfc/nci/hci.c data.pipe = pipe; pipe 528 net/nfc/nci/hci.c u8 pipe; pipe 546 net/nfc/nci/hci.c pipe = resp->pipe; pipe 549 net/nfc/nci/hci.c pr_debug("pipe created=%d\n", pipe); pipe 551 net/nfc/nci/hci.c return pipe; pipe 554 net/nfc/nci/hci.c static int nci_hci_delete_pipe(struct nci_dev *ndev, u8 pipe) pipe 559 net/nfc/nci/hci.c NCI_HCI_ADM_DELETE_PIPE, &pipe, 1, NULL); pipe 570 net/nfc/nci/hci.c u8 pipe = ndev->hci_dev->gate2pipe[gate]; pipe 574 net/nfc/nci/hci.c if (pipe == NCI_HCI_INVALID_PIPE) pipe 589 net/nfc/nci/hci.c data.pipe = pipe; pipe 617 net/nfc/nci/hci.c u8 pipe = ndev->hci_dev->gate2pipe[gate]; pipe 621 net/nfc/nci/hci.c if (pipe == NCI_HCI_INVALID_PIPE) pipe 629 net/nfc/nci/hci.c data.pipe = pipe; pipe 653 net/nfc/nci/hci.c u8 dest_host, u8 dest_gate, u8 pipe) pipe 658 net/nfc/nci/hci.c if (pipe == NCI_HCI_DO_NOT_OPEN_PIPE) pipe 664 net/nfc/nci/hci.c if (pipe != NCI_HCI_INVALID_PIPE) pipe 669 net/nfc/nci/hci.c pipe = NCI_HCI_LINK_MGMT_PIPE; pipe 672 net/nfc/nci/hci.c pipe = NCI_HCI_ADMIN_PIPE; pipe 675 net/nfc/nci/hci.c pipe = nci_hci_create_pipe(ndev, dest_host, dest_gate, &r); pipe 676 net/nfc/nci/hci.c if (pipe == NCI_HCI_INVALID_PIPE) pipe 683 net/nfc/nci/hci.c r = nci_hci_open_pipe(ndev, pipe); pipe 686 net/nfc/nci/hci.c if (nci_hci_delete_pipe(ndev, pipe) < 0) { pipe 695 net/nfc/nci/hci.c ndev->hci_dev->pipes[pipe].gate = dest_gate; pipe 696 net/nfc/nci/hci.c ndev->hci_dev->pipes[pipe].host = dest_host; pipe 697 net/nfc/nci/hci.c ndev->hci_dev->gate2pipe[dest_gate] = pipe; pipe 711 net/nfc/nci/hci.c gates->gate, gates->pipe); pipe 744 net/nfc/nci/hci.c ndev->hci_dev->init_data.gates[0].pipe); pipe 1899 net/smc/af_smc.c struct pipe_inode_info *pipe, size_t len, pipe 1925 net/smc/af_smc.c pipe, len, flags); pipe 1935 net/smc/af_smc.c rc = smc_rx_recvmsg(smc, NULL, pipe, len, flags); pipe 108 net/smc/smc_rx.c static void smc_rx_pipe_buf_release(struct pipe_inode_info *pipe, pipe 132 net/smc/smc_rx.c static int smc_rx_pipe_buf_nosteal(struct pipe_inode_info *pipe, pipe 151 net/smc/smc_rx.c static int smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, pipe 175 net/smc/smc_rx.c bytes = splice_to_pipe(pipe, &spd); pipe 284 net/smc/smc_rx.c struct pipe_inode_info *pipe, size_t len, int flags) pipe 314 net/smc/smc_rx.c if (read_done >= target || (pipe && read_done)) pipe 402 net/smc/smc_rx.c rc = smc_rx_splice(pipe, rcvbuf_base + pipe 23 net/smc/smc_rx.h struct pipe_inode_info *pipe, size_t len, int flags); pipe 128 net/socket.c struct pipe_inode_info *pipe, size_t len, pipe 939 net/socket.c struct pipe_inode_info *pipe, size_t len, pipe 945 net/socket.c return generic_file_splice_read(file, ppos, pipe, len, flags); pipe 947 net/socket.c return sock->ops->splice_read(sock, ppos, pipe, len, flags); pipe 61 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe; pipe 277 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe; pipe 326 net/sunrpc/auth_gss/auth_gss.c __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) pipe 329 net/sunrpc/auth_gss/auth_gss.c list_for_each_entry(pos, &pipe->in_downcall, list) { pipe 347 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = gss_msg->pipe; pipe 350 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 351 net/sunrpc/auth_gss/auth_gss.c old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); pipe 354 net/sunrpc/auth_gss/auth_gss.c list_add(&gss_msg->list, &pipe->in_downcall); pipe 357 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 373 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = gss_msg->pipe; pipe 377 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 380 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 407 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = gss_msg->pipe; pipe 409 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 411 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 548 net/sunrpc/auth_gss/auth_gss.c gss_msg->pipe = gss_auth->gss_pipe[vers]->pipe; pipe 587 net/sunrpc/auth_gss/auth_gss.c res = rpc_queue_upcall(gss_new->pipe, &gss_new->msg); pipe 613 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe; pipe 630 net/sunrpc/auth_gss/auth_gss.c pipe = gss_msg->pipe; pipe 631 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 643 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 656 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe; pipe 686 net/sunrpc/auth_gss/auth_gss.c pipe = gss_msg->pipe; pipe 689 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 693 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 704 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 722 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = RPC_I(file_inode(filp))->pipe; pipe 759 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 760 net/sunrpc/auth_gss/auth_gss.c gss_msg = __gss_find_upcall(pipe, uid, NULL); pipe 762 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 766 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 794 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 796 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 844 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = RPC_I(inode)->pipe; pipe 848 net/sunrpc/auth_gss/auth_gss.c spin_lock(&pipe->lock); pipe 849 net/sunrpc/auth_gss/auth_gss.c list_for_each_entry(gss_msg, &pipe->in_downcall, list) { pipe 856 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 860 net/sunrpc/auth_gss/auth_gss.c spin_unlock(&pipe->lock); pipe 884 net/sunrpc/auth_gss/auth_gss.c struct rpc_pipe *pipe = gss_pipe->pipe; pipe 886 net/sunrpc/auth_gss/auth_gss.c if (pipe->dentry != NULL) { pipe 887 net/sunrpc/auth_gss/auth_gss.c rpc_unlink(pipe->dentry); pipe 888 net/sunrpc/auth_gss/auth_gss.c pipe->dentry = NULL; pipe 898 net/sunrpc/auth_gss/auth_gss.c dentry = rpc_mkpipe_dentry(dir, p->name, p->clnt, p->pipe); pipe 901 net/sunrpc/auth_gss/auth_gss.c p->pipe->dentry = dentry; pipe 920 net/sunrpc/auth_gss/auth_gss.c p->pipe = rpc_mkpipe_data(upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); pipe 921 net/sunrpc/auth_gss/auth_gss.c if (IS_ERR(p->pipe)) { pipe 922 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(p->pipe); pipe 1000 net/sunrpc/auth_gss/auth_gss.c rpc_destroy_pipe_data(p->pipe); pipe 86 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe = pipe 91 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 92 net/sunrpc/rpc_pipe.c destroy_msg = pipe->ops->destroy_msg; pipe 93 net/sunrpc/rpc_pipe.c if (pipe->nreaders == 0) { pipe 94 net/sunrpc/rpc_pipe.c list_splice_init(&pipe->pipe, &free_list); pipe 95 net/sunrpc/rpc_pipe.c pipe->pipelen = 0; pipe 97 net/sunrpc/rpc_pipe.c dentry = dget(pipe->dentry); pipe 98 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 135 net/sunrpc/rpc_pipe.c rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg) pipe 140 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 141 net/sunrpc/rpc_pipe.c if (pipe->nreaders) { pipe 142 net/sunrpc/rpc_pipe.c list_add_tail(&msg->list, &pipe->pipe); pipe 143 net/sunrpc/rpc_pipe.c pipe->pipelen += msg->len; pipe 145 net/sunrpc/rpc_pipe.c } else if (pipe->flags & RPC_PIPE_WAIT_FOR_OPEN) { pipe 146 net/sunrpc/rpc_pipe.c if (list_empty(&pipe->pipe)) pipe 148 net/sunrpc/rpc_pipe.c &pipe->queue_timeout, pipe 150 net/sunrpc/rpc_pipe.c list_add_tail(&msg->list, &pipe->pipe); pipe 151 net/sunrpc/rpc_pipe.c pipe->pipelen += msg->len; pipe 154 net/sunrpc/rpc_pipe.c dentry = dget(pipe->dentry); pipe 155 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 173 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe = RPC_I(inode)->pipe; pipe 178 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 179 net/sunrpc/rpc_pipe.c need_release = pipe->nreaders != 0 || pipe->nwriters != 0; pipe 180 net/sunrpc/rpc_pipe.c pipe->nreaders = 0; pipe 181 net/sunrpc/rpc_pipe.c list_splice_init(&pipe->in_upcall, &free_list); pipe 182 net/sunrpc/rpc_pipe.c list_splice_init(&pipe->pipe, &free_list); pipe 183 net/sunrpc/rpc_pipe.c pipe->pipelen = 0; pipe 184 net/sunrpc/rpc_pipe.c pipe->dentry = NULL; pipe 185 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 186 net/sunrpc/rpc_pipe.c rpc_purge_list(&RPC_I(inode)->waitq, &free_list, pipe->ops->destroy_msg, -EPIPE); pipe 187 net/sunrpc/rpc_pipe.c pipe->nwriters = 0; pipe 188 net/sunrpc/rpc_pipe.c if (need_release && pipe->ops->release_pipe) pipe 189 net/sunrpc/rpc_pipe.c pipe->ops->release_pipe(inode); pipe 190 net/sunrpc/rpc_pipe.c cancel_delayed_work_sync(&pipe->queue_timeout); pipe 192 net/sunrpc/rpc_pipe.c RPC_I(inode)->pipe = NULL; pipe 215 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe; pipe 220 net/sunrpc/rpc_pipe.c pipe = RPC_I(inode)->pipe; pipe 221 net/sunrpc/rpc_pipe.c if (pipe == NULL) pipe 223 net/sunrpc/rpc_pipe.c first_open = pipe->nreaders == 0 && pipe->nwriters == 0; pipe 224 net/sunrpc/rpc_pipe.c if (first_open && pipe->ops->open_pipe) { pipe 225 net/sunrpc/rpc_pipe.c res = pipe->ops->open_pipe(inode); pipe 230 net/sunrpc/rpc_pipe.c pipe->nreaders++; pipe 232 net/sunrpc/rpc_pipe.c pipe->nwriters++; pipe 242 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe; pipe 247 net/sunrpc/rpc_pipe.c pipe = RPC_I(inode)->pipe; pipe 248 net/sunrpc/rpc_pipe.c if (pipe == NULL) pipe 252 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 255 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 256 net/sunrpc/rpc_pipe.c pipe->ops->destroy_msg(msg); pipe 259 net/sunrpc/rpc_pipe.c pipe->nwriters --; pipe 261 net/sunrpc/rpc_pipe.c pipe->nreaders --; pipe 262 net/sunrpc/rpc_pipe.c if (pipe->nreaders == 0) { pipe 264 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 265 net/sunrpc/rpc_pipe.c list_splice_init(&pipe->pipe, &free_list); pipe 266 net/sunrpc/rpc_pipe.c pipe->pipelen = 0; pipe 267 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 269 net/sunrpc/rpc_pipe.c pipe->ops->destroy_msg, -EAGAIN); pipe 272 net/sunrpc/rpc_pipe.c last_close = pipe->nwriters == 0 && pipe->nreaders == 0; pipe 273 net/sunrpc/rpc_pipe.c if (last_close && pipe->ops->release_pipe) pipe 274 net/sunrpc/rpc_pipe.c pipe->ops->release_pipe(inode); pipe 284 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe; pipe 289 net/sunrpc/rpc_pipe.c pipe = RPC_I(inode)->pipe; pipe 290 net/sunrpc/rpc_pipe.c if (pipe == NULL) { pipe 296 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 297 net/sunrpc/rpc_pipe.c if (!list_empty(&pipe->pipe)) { pipe 298 net/sunrpc/rpc_pipe.c msg = list_entry(pipe->pipe.next, pipe 301 net/sunrpc/rpc_pipe.c list_move(&msg->list, &pipe->in_upcall); pipe 302 net/sunrpc/rpc_pipe.c pipe->pipelen -= msg->len; pipe 306 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 311 net/sunrpc/rpc_pipe.c res = pipe->ops->upcall(filp, msg, buf, len); pipe 314 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 316 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 317 net/sunrpc/rpc_pipe.c pipe->ops->destroy_msg(msg); pipe 332 net/sunrpc/rpc_pipe.c if (RPC_I(inode)->pipe != NULL) pipe 333 net/sunrpc/rpc_pipe.c res = RPC_I(inode)->pipe->ops->downcall(filp, buf, len); pipe 348 net/sunrpc/rpc_pipe.c if (rpci->pipe == NULL) pipe 350 net/sunrpc/rpc_pipe.c else if (filp->private_data || !list_empty(&rpci->pipe->pipe)) pipe 360 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe; pipe 366 net/sunrpc/rpc_pipe.c pipe = RPC_I(inode)->pipe; pipe 367 net/sunrpc/rpc_pipe.c if (pipe == NULL) { pipe 371 net/sunrpc/rpc_pipe.c spin_lock(&pipe->lock); pipe 372 net/sunrpc/rpc_pipe.c len = pipe->pipelen; pipe 378 net/sunrpc/rpc_pipe.c spin_unlock(&pipe->lock); pipe 542 net/sunrpc/rpc_pipe.c init_pipe(struct rpc_pipe *pipe) pipe 544 net/sunrpc/rpc_pipe.c pipe->nreaders = 0; pipe 545 net/sunrpc/rpc_pipe.c pipe->nwriters = 0; pipe 546 net/sunrpc/rpc_pipe.c INIT_LIST_HEAD(&pipe->in_upcall); pipe 547 net/sunrpc/rpc_pipe.c INIT_LIST_HEAD(&pipe->in_downcall); pipe 548 net/sunrpc/rpc_pipe.c INIT_LIST_HEAD(&pipe->pipe); pipe 549 net/sunrpc/rpc_pipe.c pipe->pipelen = 0; pipe 550 net/sunrpc/rpc_pipe.c INIT_DELAYED_WORK(&pipe->queue_timeout, pipe 552 net/sunrpc/rpc_pipe.c pipe->ops = NULL; pipe 553 net/sunrpc/rpc_pipe.c spin_lock_init(&pipe->lock); pipe 554 net/sunrpc/rpc_pipe.c pipe->dentry = NULL; pipe 557 net/sunrpc/rpc_pipe.c void rpc_destroy_pipe_data(struct rpc_pipe *pipe) pipe 559 net/sunrpc/rpc_pipe.c kfree(pipe); pipe 565 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe; pipe 567 net/sunrpc/rpc_pipe.c pipe = kzalloc(sizeof(struct rpc_pipe), GFP_KERNEL); pipe 568 net/sunrpc/rpc_pipe.c if (!pipe) pipe 570 net/sunrpc/rpc_pipe.c init_pipe(pipe); pipe 571 net/sunrpc/rpc_pipe.c pipe->ops = ops; pipe 572 net/sunrpc/rpc_pipe.c pipe->flags = flags; pipe 573 net/sunrpc/rpc_pipe.c return pipe; pipe 581 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe) pipe 591 net/sunrpc/rpc_pipe.c rpci->pipe = pipe; pipe 802 net/sunrpc/rpc_pipe.c void *private, struct rpc_pipe *pipe) pipe 809 net/sunrpc/rpc_pipe.c if (pipe->ops->upcall == NULL) pipe 811 net/sunrpc/rpc_pipe.c if (pipe->ops->downcall == NULL) pipe 819 net/sunrpc/rpc_pipe.c private, pipe); pipe 1411 net/sunrpc/rpc_pipe.c struct rpc_pipe *pipe = sn->gssd_dummy; pipe 1413 net/sunrpc/rpc_pipe.c return pipe->nreaders || pipe->nwriters; pipe 1479 net/sunrpc/rpc_pipe.c rpci->pipe = NULL; pipe 1950 net/tls/tls_sw.c struct pipe_inode_info *pipe, pipe 1990 net/tls/tls_sw.c copied = skb_splice_bits(skb, sk, rxm->offset, pipe, chunk, flags); pipe 2198 net/unix/af_unix.c struct pipe_inode_info *pipe; pipe 2432 net/unix/af_unix.c state->pipe, chunk, state->splice_flags); pipe 2436 net/unix/af_unix.c struct pipe_inode_info *pipe, pipe 2442 net/unix/af_unix.c .pipe = pipe, pipe 298 net/vmw_vsock/hyperv_transport.c conn_from_host = chan->offermsg.offer.u.pipe.user_def[0]; pipe 226 sound/drivers/vx/vx_cmd.h static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) pipe 230 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= (((u32)pipe & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD; pipe 46 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe) pipe 48 sound/drivers/vx/vx_pcm.c int offset = pipe->hw_ptr; pipe 51 sound/drivers/vx/vx_pcm.c if (++offset >= pipe->buffer_bytes) { pipe 56 sound/drivers/vx/vx_pcm.c if (++offset >= pipe->buffer_bytes) { pipe 61 sound/drivers/vx/vx_pcm.c if (++offset >= pipe->buffer_bytes) { pipe 65 sound/drivers/vx/vx_pcm.c pipe->hw_ptr = offset; pipe 91 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe) pipe 94 sound/drivers/vx/vx_pcm.c if (! (pipe->differed_type & DC_DIFFERED_DELAY)) pipe 101 sound/drivers/vx/vx_pcm.c vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); pipe 104 sound/drivers/vx/vx_pcm.c if (pipe->differed_type & DC_NOTIFY_DELAY) pipe 108 sound/drivers/vx/vx_pcm.c if (pipe->differed_type & DC_MULTIPLE_DELAY) pipe 112 sound/drivers/vx/vx_pcm.c if (pipe->differed_type & DC_STREAM_TIME_DELAY) pipe 124 sound/drivers/vx/vx_pcm.c static int vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, pipe 129 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, pipe->is_capture ? pipe 131 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= pipe->number << FIELD_SIZE; pipe 134 sound/drivers/vx/vx_pcm.c vx_set_differed_time(chip, &rmh, pipe); pipe 151 sound/drivers/vx/vx_pcm.c static int vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, pipe 174 sound/drivers/vx/vx_pcm.c return vx_set_stream_format(chip, pipe, header); pipe 210 sound/drivers/vx/vx_pcm.c static int vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) pipe 216 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 219 sound/drivers/vx/vx_pcm.c *state = (rmh.Stat[0] & (1 << pipe->number)) ? 1 : 0; pipe 235 sound/drivers/vx/vx_pcm.c static int vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) pipe 241 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 242 sound/drivers/vx/vx_pcm.c if (pipe->is_capture) pipe 259 sound/drivers/vx/vx_pcm.c static int vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) pipe 265 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 280 sound/drivers/vx/vx_pcm.c static int vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) pipe 285 sound/drivers/vx/vx_pcm.c if (pipe->is_capture) pipe 287 sound/drivers/vx/vx_pcm.c rmh.Cmd[1] = 1 << pipe->number; pipe 319 sound/drivers/vx/vx_pcm.c static int vx_toggle_pipe(struct vx_core *chip, struct vx_pipe *pipe, int state) pipe 324 sound/drivers/vx/vx_pcm.c if (vx_get_pipe_state(chip, pipe, &cur_state) < 0) pipe 335 sound/drivers/vx/vx_pcm.c err = vx_pipe_can_start(chip, pipe); pipe 345 sound/drivers/vx/vx_pcm.c if ((err = vx_conf_pipe(chip, pipe)) < 0) pipe 356 sound/drivers/vx/vx_pcm.c err = vx_get_pipe_state(chip, pipe, &cur_state); pipe 372 sound/drivers/vx/vx_pcm.c static int vx_stop_pipe(struct vx_core *chip, struct vx_pipe *pipe) pipe 376 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 395 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe; pipe 414 sound/drivers/vx/vx_pcm.c pipe = kzalloc(sizeof(*pipe), GFP_KERNEL); pipe 415 sound/drivers/vx/vx_pcm.c if (! pipe) { pipe 424 sound/drivers/vx/vx_pcm.c pipe->number = audioid; pipe 425 sound/drivers/vx/vx_pcm.c pipe->is_capture = capture; pipe 426 sound/drivers/vx/vx_pcm.c pipe->channels = num_audio; pipe 427 sound/drivers/vx/vx_pcm.c pipe->differed_type = 0; pipe 428 sound/drivers/vx/vx_pcm.c pipe->pcx_time = 0; pipe 429 sound/drivers/vx/vx_pcm.c pipe->data_mode = data_mode; pipe 430 sound/drivers/vx/vx_pcm.c *pipep = pipe; pipe 440 sound/drivers/vx/vx_pcm.c static int vx_free_pipe(struct vx_core *chip, struct vx_pipe *pipe) pipe 445 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 448 sound/drivers/vx/vx_pcm.c kfree(pipe); pipe 458 sound/drivers/vx/vx_pcm.c static int vx_start_stream(struct vx_core *chip, struct vx_pipe *pipe) pipe 463 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); pipe 464 sound/drivers/vx/vx_pcm.c vx_set_differed_time(chip, &rmh, pipe); pipe 474 sound/drivers/vx/vx_pcm.c static int vx_stop_stream(struct vx_core *chip, struct vx_pipe *pipe) pipe 479 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); pipe 515 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe = NULL; pipe 527 sound/drivers/vx/vx_pcm.c pipe = chip->playback_pipes[audio]; pipe 528 sound/drivers/vx/vx_pcm.c if (! pipe) { pipe 530 sound/drivers/vx/vx_pcm.c err = vx_alloc_pipe(chip, 0, audio, 2, &pipe); /* stereo playback */ pipe 533 sound/drivers/vx/vx_pcm.c chip->playback_pipes[audio] = pipe; pipe 536 sound/drivers/vx/vx_pcm.c pipe->references++; pipe 538 sound/drivers/vx/vx_pcm.c pipe->substream = subs; pipe 539 sound/drivers/vx/vx_pcm.c chip->playback_pipes[audio] = pipe; pipe 543 sound/drivers/vx/vx_pcm.c runtime->private_data = pipe; pipe 558 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe; pipe 563 sound/drivers/vx/vx_pcm.c pipe = subs->runtime->private_data; pipe 565 sound/drivers/vx/vx_pcm.c if (--pipe->references == 0) { pipe 566 sound/drivers/vx/vx_pcm.c chip->playback_pipes[pipe->number] = NULL; pipe 567 sound/drivers/vx/vx_pcm.c vx_free_pipe(chip, pipe); pipe 581 sound/drivers/vx/vx_pcm.c static int vx_notify_end_of_buffer(struct vx_core *chip, struct vx_pipe *pipe) pipe 589 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, 0, pipe->number); pipe 611 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe, int size) pipe 615 sound/drivers/vx/vx_pcm.c space = vx_query_hbuffer_size(chip, pipe); pipe 632 sound/drivers/vx/vx_pcm.c vx_pseudo_dma_write(chip, runtime, pipe, size); pipe 633 sound/drivers/vx/vx_pcm.c err = vx_notify_end_of_buffer(chip, pipe); pipe 649 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe) pipe 656 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); pipe 662 sound/drivers/vx/vx_pcm.c update = (int)(count - pipe->cur_count); pipe 663 sound/drivers/vx/vx_pcm.c pipe->cur_count = count; pipe 664 sound/drivers/vx/vx_pcm.c pipe->position += update; pipe 665 sound/drivers/vx/vx_pcm.c if (pipe->position >= (int)runtime->buffer_size) pipe 666 sound/drivers/vx/vx_pcm.c pipe->position %= runtime->buffer_size; pipe 667 sound/drivers/vx/vx_pcm.c pipe->transferred += update; pipe 677 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe, int nchunks) pipe 682 sound/drivers/vx/vx_pcm.c if (! pipe->prepared || (chip->chip_status & VX_STAT_IS_STALE)) pipe 685 sound/drivers/vx/vx_pcm.c if ((err = vx_pcm_playback_transfer_chunk(chip, runtime, pipe, pipe 697 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe) pipe 702 sound/drivers/vx/vx_pcm.c if (pipe->running && ! (chip->chip_status & VX_STAT_IS_STALE)) { pipe 703 sound/drivers/vx/vx_pcm.c if ((err = vx_update_pipe_position(chip, runtime, pipe)) < 0) pipe 705 sound/drivers/vx/vx_pcm.c if (pipe->transferred >= (int)runtime->period_size) { pipe 706 sound/drivers/vx/vx_pcm.c pipe->transferred %= runtime->period_size; pipe 718 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe = subs->runtime->private_data; pipe 727 sound/drivers/vx/vx_pcm.c if (! pipe->is_capture) pipe 728 sound/drivers/vx/vx_pcm.c vx_pcm_playback_transfer(chip, subs, pipe, 2); pipe 729 sound/drivers/vx/vx_pcm.c err = vx_start_stream(chip, pipe); pipe 734 sound/drivers/vx/vx_pcm.c err = vx_toggle_pipe(chip, pipe, 1); pipe 737 sound/drivers/vx/vx_pcm.c vx_stop_stream(chip, pipe); pipe 741 sound/drivers/vx/vx_pcm.c pipe->running = 1; pipe 745 sound/drivers/vx/vx_pcm.c vx_toggle_pipe(chip, pipe, 0); pipe 746 sound/drivers/vx/vx_pcm.c vx_stop_pipe(chip, pipe); pipe 747 sound/drivers/vx/vx_pcm.c vx_stop_stream(chip, pipe); pipe 749 sound/drivers/vx/vx_pcm.c pipe->running = 0; pipe 752 sound/drivers/vx/vx_pcm.c if ((err = vx_toggle_pipe(chip, pipe, 0)) < 0) pipe 756 sound/drivers/vx/vx_pcm.c if ((err = vx_toggle_pipe(chip, pipe, 1)) < 0) pipe 771 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe = runtime->private_data; pipe 772 sound/drivers/vx/vx_pcm.c return pipe->position; pipe 800 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe = runtime->private_data; pipe 808 sound/drivers/vx/vx_pcm.c if (data_mode != pipe->data_mode && ! pipe->is_capture) { pipe 814 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, 0, pipe->number, 0); pipe 818 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, 0, pipe->number, pipe->channels); pipe 823 sound/drivers/vx/vx_pcm.c pipe->data_mode = data_mode; pipe 833 sound/drivers/vx/vx_pcm.c if ((err = vx_set_format(chip, pipe, runtime)) < 0) pipe 837 sound/drivers/vx/vx_pcm.c pipe->align = 2; /* 16bit word */ pipe 839 sound/drivers/vx/vx_pcm.c pipe->align = 4; /* 32bit word */ pipe 842 sound/drivers/vx/vx_pcm.c pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); pipe 843 sound/drivers/vx/vx_pcm.c pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); pipe 844 sound/drivers/vx/vx_pcm.c pipe->hw_ptr = 0; pipe 847 sound/drivers/vx/vx_pcm.c vx_update_pipe_position(chip, runtime, pipe); pipe 849 sound/drivers/vx/vx_pcm.c pipe->transferred = 0; pipe 850 sound/drivers/vx/vx_pcm.c pipe->position = 0; pipe 852 sound/drivers/vx/vx_pcm.c pipe->prepared = 1; pipe 905 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe; pipe 916 sound/drivers/vx/vx_pcm.c err = vx_alloc_pipe(chip, 1, audio, 2, &pipe); pipe 919 sound/drivers/vx/vx_pcm.c pipe->substream = subs; pipe 920 sound/drivers/vx/vx_pcm.c chip->capture_pipes[audio] = pipe; pipe 944 sound/drivers/vx/vx_pcm.c pipe->monitoring_pipe = pipe_out_monitoring; /* default value NULL */ pipe 948 sound/drivers/vx/vx_pcm.c runtime->private_data = pipe; pipe 963 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe; pipe 968 sound/drivers/vx/vx_pcm.c pipe = subs->runtime->private_data; pipe 969 sound/drivers/vx/vx_pcm.c chip->capture_pipes[pipe->number] = NULL; pipe 971 sound/drivers/vx/vx_pcm.c pipe_out_monitoring = pipe->monitoring_pipe; pipe 980 sound/drivers/vx/vx_pcm.c chip->playback_pipes[pipe->number] = NULL; pipe 981 sound/drivers/vx/vx_pcm.c pipe->monitoring_pipe = NULL; pipe 985 sound/drivers/vx/vx_pcm.c vx_free_pipe(chip, pipe); pipe 997 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe) pipe 1002 sound/drivers/vx/vx_pcm.c if (!pipe->running || (chip->chip_status & VX_STAT_IS_STALE)) pipe 1009 sound/drivers/vx/vx_pcm.c space = vx_query_hbuffer_size(chip, pipe); pipe 1024 sound/drivers/vx/vx_pcm.c if ((pipe->hw_ptr % pipe->align) == 0) pipe 1028 sound/drivers/vx/vx_pcm.c vx_pcm_read_per_bytes(chip, runtime, pipe); pipe 1033 sound/drivers/vx/vx_pcm.c int align = pipe->align * 3; pipe 1036 sound/drivers/vx/vx_pcm.c vx_pseudo_dma_read(chip, runtime, pipe, space); pipe 1044 sound/drivers/vx/vx_pcm.c vx_pcm_read_per_bytes(chip, runtime, pipe); pipe 1052 sound/drivers/vx/vx_pcm.c vx_pcm_read_per_bytes(chip, runtime, pipe); pipe 1056 sound/drivers/vx/vx_pcm.c pipe->transferred += size; pipe 1057 sound/drivers/vx/vx_pcm.c if (pipe->transferred >= pipe->period_bytes) { pipe 1058 sound/drivers/vx/vx_pcm.c pipe->transferred %= pipe->period_bytes; pipe 1075 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe = runtime->private_data; pipe 1076 sound/drivers/vx/vx_pcm.c return bytes_to_frames(runtime, pipe->hw_ptr); pipe 1101 sound/drivers/vx/vx_pcm.c struct vx_pipe *pipe; pipe 1136 sound/drivers/vx/vx_pcm.c pipe = chip->playback_pipes[p]; pipe 1137 sound/drivers/vx/vx_pcm.c if (pipe && pipe->substream) { pipe 1138 sound/drivers/vx/vx_pcm.c vx_pcm_playback_update(chip, pipe->substream, pipe); pipe 1139 sound/drivers/vx/vx_pcm.c vx_pcm_playback_transfer(chip, pipe->substream, pipe, buf); pipe 1146 sound/drivers/vx/vx_pcm.c pipe = chip->capture_pipes[i]; pipe 1147 sound/drivers/vx/vx_pcm.c if (pipe && pipe->substream) pipe 1148 sound/drivers/vx/vx_pcm.c vx_pcm_capture_update(chip, pipe->substream, pipe); pipe 126 sound/hda/hdac_component.c int port, pipe; pipe 136 sound/hda/hdac_component.c pipe = dev_id; pipe 137 sound/hda/hdac_component.c return acomp->ops->sync_audio_rate(acomp->dev, port, pipe, rate); pipe 167 sound/hda/hdac_component.c int port, pipe; pipe 178 sound/hda/hdac_component.c pipe = dev_id; pipe 179 sound/hda/hdac_component.c return acomp->ops->get_eld(acomp->dev, port, pipe, audio_enabled, pipe 97 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe = runtime->private_data; pipe 99 sound/pci/echoaudio/echoaudio.c if (pipe->sgpage.area) pipe 100 sound/pci/echoaudio/echoaudio.c snd_dma_free_pages(&pipe->sgpage); pipe 101 sound/pci/echoaudio/echoaudio.c kfree(pipe); pipe 263 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe; pipe 272 sound/pci/echoaudio/echoaudio.c pipe = kzalloc(sizeof(struct audiopipe), GFP_KERNEL); pipe 273 sound/pci/echoaudio/echoaudio.c if (!pipe) pipe 275 sound/pci/echoaudio/echoaudio.c pipe->index = -1; /* Not configured yet */ pipe 278 sound/pci/echoaudio/echoaudio.c memcpy(&pipe->hw, &pcm_hardware_skel, sizeof(struct snd_pcm_hardware)); pipe 280 sound/pci/echoaudio/echoaudio.c pipe->constr.list = channels_list; pipe 281 sound/pci/echoaudio/echoaudio.c pipe->constr.mask = 0; pipe 283 sound/pci/echoaudio/echoaudio.c pipe->constr.count = i; pipe 284 sound/pci/echoaudio/echoaudio.c if (pipe->hw.channels_max > max_channels) pipe 285 sound/pci/echoaudio/echoaudio.c pipe->hw.channels_max = max_channels; pipe 287 sound/pci/echoaudio/echoaudio.c pipe->hw.rate_max = 48000; pipe 288 sound/pci/echoaudio/echoaudio.c pipe->hw.rates &= SNDRV_PCM_RATE_8000_48000; pipe 291 sound/pci/echoaudio/echoaudio.c runtime->hw = pipe->hw; pipe 292 sound/pci/echoaudio/echoaudio.c runtime->private_data = pipe; pipe 299 sound/pci/echoaudio/echoaudio.c &pipe->constr)) < 0) pipe 328 sound/pci/echoaudio/echoaudio.c PAGE_SIZE, &pipe->sgpage)) < 0) { pipe 520 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe; pipe 523 sound/pci/echoaudio/echoaudio.c pipe = (struct audiopipe *) substream->runtime->private_data; pipe 529 sound/pci/echoaudio/echoaudio.c if (pipe->index >= 0) { pipe 530 sound/pci/echoaudio/echoaudio.c dev_dbg(chip->card->dev, "hwp_ie free(%d)\n", pipe->index); pipe 531 sound/pci/echoaudio/echoaudio.c err = free_pipes(chip, pipe); pipe 533 sound/pci/echoaudio/echoaudio.c chip->substream[pipe->index] = NULL; pipe 536 sound/pci/echoaudio/echoaudio.c err = allocate_pipes(chip, pipe, pipe_index, interleave); pipe 555 sound/pci/echoaudio/echoaudio.c free_pipes(chip, pipe); pipe 557 sound/pci/echoaudio/echoaudio.c pipe->index = -1; pipe 561 sound/pci/echoaudio/echoaudio.c sglist_init(chip, pipe); pipe 572 sound/pci/echoaudio/echoaudio.c sglist_add_mapping(chip, pipe, addr, rest); pipe 573 sound/pci/echoaudio/echoaudio.c sglist_add_irq(chip, pipe); pipe 577 sound/pci/echoaudio/echoaudio.c sglist_add_mapping(chip, pipe, addr, pipe 590 sound/pci/echoaudio/echoaudio.c sglist_wrap(chip, pipe); pipe 596 sound/pci/echoaudio/echoaudio.c pipe->last_counter = 0; pipe 597 sound/pci/echoaudio/echoaudio.c pipe->position = 0; pipe 660 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe; pipe 663 sound/pci/echoaudio/echoaudio.c pipe = (struct audiopipe *) substream->runtime->private_data; pipe 666 sound/pci/echoaudio/echoaudio.c if (pipe->index >= 0) { pipe 667 sound/pci/echoaudio/echoaudio.c dev_dbg(chip->card->dev, "pcm_hw_free(%d)\n", pipe->index); pipe 668 sound/pci/echoaudio/echoaudio.c free_pipes(chip, pipe); pipe 669 sound/pci/echoaudio/echoaudio.c chip->substream[pipe->index] = NULL; pipe 670 sound/pci/echoaudio/echoaudio.c pipe->index = -1; pipe 728 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe; pipe 749 sound/pci/echoaudio/echoaudio.c pipe = chip->substream[i]->runtime->private_data; pipe 750 sound/pci/echoaudio/echoaudio.c switch (pipe->state) { pipe 753 sound/pci/echoaudio/echoaudio.c pipe->last_counter = 0; pipe 754 sound/pci/echoaudio/echoaudio.c pipe->position = 0; pipe 755 sound/pci/echoaudio/echoaudio.c *pipe->dma_counter = 0; pipe 758 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_STARTED; pipe 772 sound/pci/echoaudio/echoaudio.c pipe = chip->substream[i]->runtime->private_data; pipe 773 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_STOPPED; pipe 781 sound/pci/echoaudio/echoaudio.c pipe = chip->substream[i]->runtime->private_data; pipe 782 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_PAUSED; pipe 799 sound/pci/echoaudio/echoaudio.c struct audiopipe *pipe = runtime->private_data; pipe 802 sound/pci/echoaudio/echoaudio.c cnt = le32_to_cpu(*pipe->dma_counter); pipe 803 sound/pci/echoaudio/echoaudio.c pipe->position += cnt - pipe->last_counter; pipe 804 sound/pci/echoaudio/echoaudio.c pipe->last_counter = cnt; pipe 806 sound/pci/echoaudio/echoaudio.c pos = bytes_to_frames(substream->runtime, pipe->position); pipe 809 sound/pci/echoaudio/echoaudio.c pipe->position -= frames_to_bytes(substream->runtime, bufsize); pipe 434 sound/pci/echoaudio/echoaudio.h static int free_pipes(struct echoaudio *chip, struct audiopipe *pipe); pipe 1056 sound/pci/echoaudio/echoaudio_dsp.c static int allocate_pipes(struct echoaudio *chip, struct audiopipe *pipe, pipe 1080 sound/pci/echoaudio/echoaudio_dsp.c pipe->index = pipe_index; pipe 1081 sound/pci/echoaudio/echoaudio_dsp.c pipe->interleave = interleave; pipe 1082 sound/pci/echoaudio/echoaudio_dsp.c pipe->state = PIPE_STATE_STOPPED; pipe 1087 sound/pci/echoaudio/echoaudio_dsp.c pipe->dma_counter = (__le32 *)&chip->comm_page->position[pipe_index]; pipe 1088 sound/pci/echoaudio/echoaudio_dsp.c *pipe->dma_counter = 0; pipe 1094 sound/pci/echoaudio/echoaudio_dsp.c static int free_pipes(struct echoaudio *chip, struct audiopipe *pipe) pipe 1099 sound/pci/echoaudio/echoaudio_dsp.c if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) pipe 1101 sound/pci/echoaudio/echoaudio_dsp.c if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) pipe 1104 sound/pci/echoaudio/echoaudio_dsp.c for (channel_mask = i = 0; i < pipe->interleave; i++) pipe 1105 sound/pci/echoaudio/echoaudio_dsp.c channel_mask |= 1 << (pipe->index + i); pipe 1118 sound/pci/echoaudio/echoaudio_dsp.c static int sglist_init(struct echoaudio *chip, struct audiopipe *pipe) pipe 1120 sound/pci/echoaudio/echoaudio_dsp.c pipe->sglist_head = 0; pipe 1121 sound/pci/echoaudio/echoaudio_dsp.c memset(pipe->sgpage.area, 0, PAGE_SIZE); pipe 1122 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->sglist_addr[pipe->index].addr = pipe 1123 sound/pci/echoaudio/echoaudio_dsp.c cpu_to_le32(pipe->sgpage.addr); pipe 1129 sound/pci/echoaudio/echoaudio_dsp.c static int sglist_add_mapping(struct echoaudio *chip, struct audiopipe *pipe, pipe 1132 sound/pci/echoaudio/echoaudio_dsp.c int head = pipe->sglist_head; pipe 1133 sound/pci/echoaudio/echoaudio_dsp.c struct sg_entry *list = (struct sg_entry *)pipe->sgpage.area; pipe 1138 sound/pci/echoaudio/echoaudio_dsp.c pipe->sglist_head++; pipe 1148 sound/pci/echoaudio/echoaudio_dsp.c static inline int sglist_add_irq(struct echoaudio *chip, struct audiopipe *pipe) pipe 1150 sound/pci/echoaudio/echoaudio_dsp.c return sglist_add_mapping(chip, pipe, 0, 0); pipe 1155 sound/pci/echoaudio/echoaudio_dsp.c static inline int sglist_wrap(struct echoaudio *chip, struct audiopipe *pipe) pipe 1157 sound/pci/echoaudio/echoaudio_dsp.c return sglist_add_mapping(chip, pipe, pipe->sgpage.addr, 0); pipe 32 sound/pci/echoaudio/indigo_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 134 sound/pci/echoaudio/indigo_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 139 sound/pci/echoaudio/indigo_dsp.c if (snd_BUG_ON(pipe >= num_pipes_out(chip) || pipe 146 sound/pci/echoaudio/indigo_dsp.c chip->vmixer_gain[output][pipe] = gain; pipe 147 sound/pci/echoaudio/indigo_dsp.c index = output * num_pipes_out(chip) + pipe; pipe 151 sound/pci/echoaudio/indigo_dsp.c "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); pipe 77 sound/pci/echoaudio/indigo_express_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 82 sound/pci/echoaudio/indigo_express_dsp.c if (snd_BUG_ON(pipe >= num_pipes_out(chip) || pipe 89 sound/pci/echoaudio/indigo_express_dsp.c chip->vmixer_gain[output][pipe] = gain; pipe 90 sound/pci/echoaudio/indigo_express_dsp.c index = output * num_pipes_out(chip) + pipe; pipe 94 sound/pci/echoaudio/indigo_express_dsp.c "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); pipe 32 sound/pci/echoaudio/indigodj_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 134 sound/pci/echoaudio/indigodj_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 139 sound/pci/echoaudio/indigodj_dsp.c if (snd_BUG_ON(pipe >= num_pipes_out(chip) || pipe 146 sound/pci/echoaudio/indigodj_dsp.c chip->vmixer_gain[output][pipe] = gain; pipe 147 sound/pci/echoaudio/indigodj_dsp.c index = output * num_pipes_out(chip) + pipe; pipe 151 sound/pci/echoaudio/indigodj_dsp.c "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); pipe 31 sound/pci/echoaudio/indigodjx_dsp.c u16 pipe, int gain); pipe 32 sound/pci/echoaudio/indigoio_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 104 sound/pci/echoaudio/indigoio_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 109 sound/pci/echoaudio/indigoio_dsp.c if (snd_BUG_ON(pipe >= num_pipes_out(chip) || pipe 116 sound/pci/echoaudio/indigoio_dsp.c chip->vmixer_gain[output][pipe] = gain; pipe 117 sound/pci/echoaudio/indigoio_dsp.c index = output * num_pipes_out(chip) + pipe; pipe 121 sound/pci/echoaudio/indigoio_dsp.c "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); pipe 31 sound/pci/echoaudio/indigoiox_dsp.c u16 pipe, int gain); pipe 35 sound/pci/echoaudio/mia_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 168 sound/pci/echoaudio/mia_dsp.c static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, pipe 173 sound/pci/echoaudio/mia_dsp.c if (snd_BUG_ON(pipe >= num_pipes_out(chip) || pipe 180 sound/pci/echoaudio/mia_dsp.c chip->vmixer_gain[output][pipe] = gain; pipe 181 sound/pci/echoaudio/mia_dsp.c index = output * num_pipes_out(chip) + pipe; pipe 185 sound/pci/echoaudio/mia_dsp.c "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); pipe 2721 sound/pci/hda/patch_hdmi.c static void intel_pin_eld_notify(void *audio_ptr, int port, int pipe) pipe 2725 sound/pci/hda/patch_hdmi.c int dev_id = pipe; pipe 414 sound/pci/lx6464es/lx_core.c #define PIPE_INFO_TO_CMD(capture, pipe) \ pipe 415 sound/pci/lx6464es/lx_core.c ((u32)((u32)(pipe) | ((capture) ? ID_IS_CAPTURE : 0L)) << ID_OFFSET) pipe 420 sound/pci/lx6464es/lx_core.c int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, pipe 424 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 441 sound/pci/lx6464es/lx_core.c int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) pipe 444 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 457 sound/pci/lx6464es/lx_core.c int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, pipe 461 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 510 sound/pci/lx6464es/lx_core.c int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) pipe 513 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 526 sound/pci/lx6464es/lx_core.c static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) pipe 529 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 543 sound/pci/lx6464es/lx_core.c int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture) pipe 547 sound/pci/lx6464es/lx_core.c err = lx_pipe_wait_for_idle(chip, pipe, is_capture); pipe 551 sound/pci/lx6464es/lx_core.c err = lx_pipe_toggle_state(chip, pipe, is_capture); pipe 556 sound/pci/lx6464es/lx_core.c int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture) pipe 560 sound/pci/lx6464es/lx_core.c err = lx_pipe_wait_for_start(chip, pipe, is_capture); pipe 564 sound/pci/lx6464es/lx_core.c err = lx_pipe_toggle_state(chip, pipe, is_capture); pipe 570 sound/pci/lx6464es/lx_core.c int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, pipe 574 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 597 sound/pci/lx6464es/lx_core.c int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate) pipe 600 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 618 sound/pci/lx6464es/lx_core.c static int lx_pipe_wait_for_state(struct lx6464es *chip, u32 pipe, pipe 627 sound/pci/lx6464es/lx_core.c int err = lx_pipe_state(chip, pipe, is_capture, ¤t_state); pipe 641 sound/pci/lx6464es/lx_core.c int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture) pipe 643 sound/pci/lx6464es/lx_core.c return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_RUN); pipe 646 sound/pci/lx6464es/lx_core.c int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture) pipe 648 sound/pci/lx6464es/lx_core.c return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_IDLE); pipe 652 sound/pci/lx6464es/lx_core.c int lx_stream_set_state(struct lx6464es *chip, u32 pipe, pipe 656 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 671 sound/pci/lx6464es/lx_core.c u32 pipe, int is_capture) pipe 674 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 702 sound/pci/lx6464es/lx_core.c int lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, pipe 706 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 721 sound/pci/lx6464es/lx_core.c int lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, pipe 725 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 743 sound/pci/lx6464es/lx_core.c int lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, pipe 748 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 791 sound/pci/lx6464es/lx_core.c int lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, pipe 795 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 813 sound/pci/lx6464es/lx_core.c int lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, pipe 817 sound/pci/lx6464es/lx_core.c u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); pipe 105 sound/pci/lx6464es/lx_core.h int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, pipe 107 sound/pci/lx6464es/lx_core.h int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture); pipe 108 sound/pci/lx6464es/lx_core.h int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, pipe 110 sound/pci/lx6464es/lx_core.h int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate); pipe 111 sound/pci/lx6464es/lx_core.h int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture); pipe 112 sound/pci/lx6464es/lx_core.h int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture); pipe 113 sound/pci/lx6464es/lx_core.h int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture); pipe 115 sound/pci/lx6464es/lx_core.h int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture); pipe 116 sound/pci/lx6464es/lx_core.h int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture); pipe 120 sound/pci/lx6464es/lx_core.h u32 pipe, int is_capture); pipe 121 sound/pci/lx6464es/lx_core.h int lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, pipe 123 sound/pci/lx6464es/lx_core.h int lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, pipe 126 sound/pci/lx6464es/lx_core.h int lx_stream_set_state(struct lx6464es *chip, u32 pipe, pipe 129 sound/pci/lx6464es/lx_core.h static inline int lx_stream_start(struct lx6464es *chip, u32 pipe, pipe 133 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_RUN); pipe 136 sound/pci/lx6464es/lx_core.h static inline int lx_stream_pause(struct lx6464es *chip, u32 pipe, pipe 140 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_PAUSE); pipe 143 sound/pci/lx6464es/lx_core.h static inline int lx_stream_stop(struct lx6464es *chip, u32 pipe, pipe 147 sound/pci/lx6464es/lx_core.h return lx_stream_set_state(chip, pipe, is_capture, SSTATE_STOP); pipe 151 sound/pci/lx6464es/lx_core.h int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, pipe 153 sound/pci/lx6464es/lx_core.h int lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, pipe 156 sound/pci/lx6464es/lx_core.h int lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, pipe 158 sound/pci/lx6464es/lx_core.h int lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, pipe 60 sound/pci/mixart/mixart.c struct mixart_pipe *pipe, int start) pipe 68 sound/pci/mixart/mixart.c switch(pipe->status) { pipe 102 sound/pci/mixart/mixart.c group_state.pipe_uid[0] = pipe->group_uid; pipe 109 sound/pci/mixart/mixart.c request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ pipe 149 sound/pci/mixart/mixart.c pipe->status = PIPE_RUNNING; pipe 152 sound/pci/mixart/mixart.c pipe->status = PIPE_STOPPED; pipe 159 sound/pci/mixart/mixart.c struct mixart_pipe *pipe, unsigned int rate) pipe 166 sound/pci/mixart/mixart.c switch(pipe->status) { pipe 189 sound/pci/mixart/mixart.c clock_properties.uid_caller[0] = pipe->group_uid; pipe 206 sound/pci/mixart/mixart.c if(rate) pipe->status = PIPE_CLOCK_SET; pipe 207 sound/pci/mixart/mixart.c else pipe->status = PIPE_RUNNING; pipe 221 sound/pci/mixart/mixart.c struct mixart_pipe *pipe; pipe 226 sound/pci/mixart/mixart.c pipe = &(chip->pipe_in_ana); /* analog inputs */ pipe 228 sound/pci/mixart/mixart.c pipe = &(chip->pipe_in_dig); /* digital inputs */ pipe 234 sound/pci/mixart/mixart.c pipe = &(chip->pipe_out_ana); /* analog outputs */ pipe 236 sound/pci/mixart/mixart.c pipe = &(chip->pipe_out_dig); /* digital outputs */ pipe 243 sound/pci/mixart/mixart.c if( (monitoring == 0) && (pipe->references >= stream_count) ) { pipe 248 sound/pci/mixart/mixart.c if( pipe->status == PIPE_UNDEFINED ) { pipe 272 sound/pci/mixart/mixart.c buf->sgroup_req.connector = pipe->uid_left_connector; /* the left connector */ pipe 314 sound/pci/mixart/mixart.c pipe->group_uid = buf->sgroup_resp.group; /* id of the pipe, as returned by embedded */ pipe 315 sound/pci/mixart/mixart.c pipe->stream_count = buf->sgroup_resp.stream_count; pipe 318 sound/pci/mixart/mixart.c pipe->status = PIPE_STOPPED; pipe 322 sound/pci/mixart/mixart.c if(monitoring) pipe->monitoring = 1; pipe 323 sound/pci/mixart/mixart.c else pipe->references++; pipe 325 sound/pci/mixart/mixart.c return pipe; pipe 330 sound/pci/mixart/mixart.c struct mixart_pipe *pipe, int monitoring) pipe 334 sound/pci/mixart/mixart.c if(pipe->status == PIPE_UNDEFINED) pipe 338 sound/pci/mixart/mixart.c pipe->monitoring = 0; pipe 340 sound/pci/mixart/mixart.c pipe->references--; pipe 342 sound/pci/mixart/mixart.c if((pipe->references <= 0) && (pipe->monitoring == 0)) { pipe 348 sound/pci/mixart/mixart.c err = mixart_set_clock( mgr, pipe, 0); pipe 355 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(mgr, pipe, 0); pipe 362 sound/pci/mixart/mixart.c request.data = &pipe->group_uid; /* the streaming group ! */ pipe 363 sound/pci/mixart/mixart.c request.size = sizeof(pipe->group_uid); pipe 373 sound/pci/mixart/mixart.c pipe->group_uid = (struct mixart_uid){0,0}; pipe 374 sound/pci/mixart/mixart.c pipe->stream_count = 0; pipe 375 sound/pci/mixart/mixart.c pipe->status = PIPE_UNDEFINED; pipe 392 sound/pci/mixart/mixart.c stream_state_req.stream_info.stream_desc.uid_pipe = stream->pipe->group_uid; pipe 495 sound/pci/mixart/mixart.c if(stream->pipe->references == 1) { pipe 496 sound/pci/mixart/mixart.c if( mixart_set_clock(chip->mgr, stream->pipe, subs->runtime->rate) ) pipe 569 sound/pci/mixart/mixart.c stream_param.stream_desc[0].uid_pipe = stream->pipe->group_uid; pipe 716 sound/pci/mixart/mixart.c struct mixart_pipe *pipe; pipe 747 sound/pci/mixart/mixart.c pipe = snd_mixart_add_ref_pipe(chip, pcm_number, 0, 0); pipe 749 sound/pci/mixart/mixart.c if (pipe == NULL) { pipe 755 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(chip->mgr, pipe, 1); pipe 758 sound/pci/mixart/mixart.c snd_mixart_kill_ref_pipe(chip->mgr, pipe, 0); pipe 763 sound/pci/mixart/mixart.c stream->pipe = pipe; pipe 795 sound/pci/mixart/mixart.c struct mixart_pipe *pipe; pipe 828 sound/pci/mixart/mixart.c pipe = snd_mixart_add_ref_pipe(chip, pcm_number, 1, 0); pipe 830 sound/pci/mixart/mixart.c if (pipe == NULL) { pipe 836 sound/pci/mixart/mixart.c err = mixart_set_pipe_state(chip->mgr, pipe, 1); pipe 839 sound/pci/mixart/mixart.c snd_mixart_kill_ref_pipe(chip->mgr, pipe, 0); pipe 844 sound/pci/mixart/mixart.c stream->pipe = pipe; pipe 887 sound/pci/mixart/mixart.c if (snd_mixart_kill_ref_pipe(mgr, stream->pipe, 0 ) < 0) { pipe 894 sound/pci/mixart/mixart.c stream->pipe = NULL; pipe 121 sound/pci/mixart/mixart.h struct mixart_pipe *pipe; pipe 205 sound/pci/mixart/mixart.h int snd_mixart_kill_ref_pipe(struct mixart_mgr *mgr, struct mixart_pipe *pipe, int monitoring); pipe 163 sound/pci/mixart/mixart_hwdep.c struct mixart_pipe *pipe; pipe 166 sound/pci/mixart/mixart_hwdep.c pipe = &mgr->chip[k/2]->pipe_out_ana; pipe 168 sound/pci/mixart/mixart_hwdep.c pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_out_dig; pipe 171 sound/pci/mixart/mixart_hwdep.c pipe->uid_right_connector = connector->uid[k]; /* odd */ pipe 173 sound/pci/mixart/mixart_hwdep.c pipe->uid_left_connector = connector->uid[k]; /* even */ pipe 207 sound/pci/mixart/mixart_hwdep.c struct mixart_pipe *pipe; pipe 210 sound/pci/mixart/mixart_hwdep.c pipe = &mgr->chip[k/2]->pipe_in_ana; pipe 212 sound/pci/mixart/mixart_hwdep.c pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_in_dig; pipe 215 sound/pci/mixart/mixart_hwdep.c pipe->uid_right_connector = connector->uid[k]; /* odd */ pipe 217 sound/pci/mixart/mixart_hwdep.c pipe->uid_left_connector = connector->uid[k]; /* even */ pipe 717 sound/pci/mixart/mixart_mixer.c struct mixart_pipe *pipe; pipe 724 sound/pci/mixart/mixart_mixer.c pipe = &chip->pipe_out_dig; /* AES playback */ pipe 727 sound/pci/mixart/mixart_mixer.c pipe = &chip->pipe_out_ana; /* analog playback */ pipe 731 sound/pci/mixart/mixart_mixer.c if(pipe->status == PIPE_UNDEFINED) pipe 734 sound/pci/mixart/mixart_mixer.c set_level.stream_level.desc.uid_pipe = pipe->group_uid; pipe 765 sound/pci/mixart/mixart_mixer.c struct mixart_pipe *pipe; pipe 772 sound/pci/mixart/mixart_mixer.c pipe = &chip->pipe_in_dig; pipe 775 sound/pci/mixart/mixart_mixer.c pipe = &chip->pipe_in_ana; pipe 779 sound/pci/mixart/mixart_mixer.c if(pipe->status == PIPE_UNDEFINED) pipe 784 sound/pci/mixart/mixart_mixer.c set_level.level[0].connector = pipe->uid_left_connector; pipe 785 sound/pci/mixart/mixart_mixer.c set_level.level[1].connector = pipe->uid_right_connector; pipe 517 sound/pci/pcxhr/pcxhr.c stream->pipe->is_capture ? 1 : 1<<stream->substream->number; pipe 520 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, pipe 521 sound/pci/pcxhr/pcxhr.c stream->pipe->first_audio, 0, stream_mask); pipe 588 sound/pci/pcxhr/pcxhr.c is_capture = stream->pipe->is_capture; pipe 593 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, pipe 640 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, pipe 670 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 0, 0, pipe 671 sound/pci/pcxhr/pcxhr.c 1<<stream->pipe->first_audio); pipe 683 sound/pci/pcxhr/pcxhr.c struct pcxhr_pipe **pipe) pipe 686 sound/pci/pcxhr/pcxhr.c *pipe = stream->pipe; pipe 695 sound/pci/pcxhr/pcxhr.c struct pcxhr_pipe *pipe; pipe 711 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(&chip->capture_stream[j], &pipe)) pipe 712 sound/pci/pcxhr/pcxhr.c capture_mask |= (1 << pipe->first_audio); pipe 715 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(&chip->playback_stream[j], &pipe)) { pipe 716 sound/pci/pcxhr/pcxhr.c playback_mask |= (1 << pipe->first_audio); pipe 749 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(stream, &pipe)) { pipe 756 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(stream, &pipe)) { pipe 768 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(stream, &pipe)) pipe 773 sound/pci/pcxhr/pcxhr.c if (pcxhr_stream_scheduled_get_pipe(stream, &pipe)) pipe 847 sound/pci/pcxhr/pcxhr.c stream->pipe->is_capture ? 'C' : 'P', pipe 848 sound/pci/pcxhr/pcxhr.c stream->pipe->first_audio); pipe 128 sound/pci/pcxhr/pcxhr.h struct pcxhr_pipe *pipe; pipe 1006 sound/pci/pcxhr/pcxhr_core.c enum pcxhr_async_err_src err_src, int pipe, pipe 1023 sound/pci/pcxhr/pcxhr_core.c is_capture ? "Record" : "Play", pipe, err); pipe 1074 sound/pci/pcxhr/pcxhr_core.c int pipe = prmh->stat[i] & MASK_FIRST_FIELD; pipe 1082 sound/pci/pcxhr/pcxhr_core.c pipe); pipe 1089 sound/pci/pcxhr/pcxhr_core.c pipe, is_capture); pipe 1097 sound/pci/pcxhr/pcxhr_core.c pipe, pipe 1107 sound/pci/pcxhr/pcxhr_core.c pipe, pipe 1122 sound/pci/pcxhr/pcxhr_core.c stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number; pipe 1126 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, pipe 1127 sound/pci/pcxhr/pcxhr_core.c stream->pipe->first_audio, 0, stream_mask); pipe 1139 sound/pci/pcxhr/pcxhr_core.c stream->pipe->is_capture ? 'C' : 'P', pipe 154 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_pipe *pipe, pipe 173 sound/pci/pcxhr/pcxhr_hwdep.c pipe->is_capture = is_capture; pipe 174 sound/pci/pcxhr/pcxhr_hwdep.c pipe->first_audio = pin; pipe 190 sound/pci/pcxhr/pcxhr_hwdep.c pipe->status = PCXHR_PIPE_DEFINED; pipe 199 sound/pci/pcxhr/pcxhr_hwdep.c static int pcxhr_dsp_free_pipe( struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe) pipe 206 sound/pci/pcxhr/pcxhr_hwdep.c if (pipe->is_capture) pipe 207 sound/pci/pcxhr/pcxhr_hwdep.c capture_mask = (1 << pipe->first_audio); pipe 209 sound/pci/pcxhr/pcxhr_hwdep.c playback_mask = (1 << pipe->first_audio); pipe 217 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio, pipe 223 sound/pci/pcxhr/pcxhr_hwdep.c pipe->status = PCXHR_PIPE_UNDEFINED; pipe 233 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_pipe *pipe; pipe 239 sound/pci/pcxhr/pcxhr_hwdep.c pipe = &chip->playback_pipe; pipe 240 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_allocate_pipe( mgr, pipe, 0, i*2); pipe 244 sound/pci/pcxhr/pcxhr_hwdep.c chip->playback_stream[j].pipe = pipe; pipe 247 sound/pci/pcxhr/pcxhr_hwdep.c pipe = &chip->capture_pipe[j]; pipe 248 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_dsp_allocate_pipe(mgr, pipe, 1, i*2 + j); pipe 251 sound/pci/pcxhr/pcxhr_hwdep.c chip->capture_stream[j].pipe = pipe; pipe 250 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_pipe *pipe = &chip->playback_pipe; pipe 264 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_set_pipe_cmd_params(&rmh, 0, pipe->first_audio, 0, 1<<idx); pipe 294 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_pipe *pipe; pipe 297 sound/pci/pcxhr/pcxhr_mixer.c pipe = &chip->capture_pipe[0]; pipe 299 sound/pci/pcxhr/pcxhr_mixer.c pipe = &chip->playback_pipe; pipe 304 sound/pci/pcxhr/pcxhr_mixer.c 1 << (channel + pipe->first_audio)); pipe 246 sound/pci/vx222/vx222_ops.c struct vx_pipe *pipe, int count) pipe 249 sound/pci/vx222/vx222_ops.c int offset = pipe->hw_ptr; pipe 259 sound/pci/vx222/vx222_ops.c if (offset + count >= pipe->buffer_bytes) { pipe 260 sound/pci/vx222/vx222_ops.c int length = pipe->buffer_bytes - offset; pipe 269 sound/pci/vx222/vx222_ops.c pipe->hw_ptr = 0; pipe 271 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; pipe 285 sound/pci/vx222/vx222_ops.c struct vx_pipe *pipe, int count) pipe 287 sound/pci/vx222/vx222_ops.c int offset = pipe->hw_ptr; pipe 297 sound/pci/vx222/vx222_ops.c if (offset + count >= pipe->buffer_bytes) { pipe 298 sound/pci/vx222/vx222_ops.c int length = pipe->buffer_bytes - offset; pipe 305 sound/pci/vx222/vx222_ops.c pipe->hw_ptr = 0; pipe 307 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; pipe 352 sound/pcmcia/vx/vxp_ops.c struct vx_pipe *pipe, int count) pipe 355 sound/pcmcia/vx/vxp_ops.c int offset = pipe->hw_ptr; pipe 359 sound/pcmcia/vx/vxp_ops.c if (offset + count >= pipe->buffer_bytes) { pipe 360 sound/pcmcia/vx/vxp_ops.c int length = pipe->buffer_bytes - offset; pipe 369 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr = 0; pipe 371 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; pipe 391 sound/pcmcia/vx/vxp_ops.c struct vx_pipe *pipe, int count) pipe 395 sound/pcmcia/vx/vxp_ops.c int offset = pipe->hw_ptr; pipe 401 sound/pcmcia/vx/vxp_ops.c if (offset + count >= pipe->buffer_bytes) { pipe 402 sound/pcmcia/vx/vxp_ops.c int length = pipe->buffer_bytes - offset; pipe 409 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr = 0; pipe 411 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; pipe 1591 sound/soc/codecs/hdac_hdmi.c static void hdac_hdmi_eld_notify_cb(void *aptr, int port, int pipe) pipe 1613 sound/soc/codecs/hdac_hdmi.c pin_nid, pipe); pipe 1633 sound/soc/codecs/hdac_hdmi.c if (pipe == -1) { pipe 1640 sound/soc/codecs/hdac_hdmi.c if (pin->ports[i].id == pipe) { pipe 287 sound/soc/intel/atom/sst-atom-controls.c const char *pipe, struct sst_ids *ids) pipe 293 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(&drv->pdev->dev, "Enter: widget=%s\n", pipe); pipe 299 sound/soc/intel/atom/sst-atom-controls.c algo->kctl->id.name, pipe); pipe 110 sound/soc/intel/skylake/skl-debug.c "Pages %#x\n", mconfig->pipe->ppl_id, pipe 111 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->pipe_priority, mconfig->pipe->conn_type, pipe 112 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->memory_pages); pipe 116 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->host_dma_id, pipe 117 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->link_dma_id); pipe 121 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->ch, pipe 122 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->s_freq, pipe 123 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->s_fmt); pipe 127 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->linktype, pipe 128 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->stream); pipe 132 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->state, pipe 133 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->passthru ? "true" : "false"); pipe 503 sound/soc/intel/skylake/skl-messages.c struct skl_pipe_params *params = mconfig->pipe->p_params; pipe 983 sound/soc/intel/skylake/skl-messages.c if (mconfig->pipe->state != SKL_PIPE_CREATED) { pipe 985 sound/soc/intel/skylake/skl-messages.c mconfig->pipe->state, mconfig->pipe->ppl_id); pipe 998 sound/soc/intel/skylake/skl-messages.c msg.ppl_instance_id = mconfig->pipe->ppl_id; pipe 1191 sound/soc/intel/skylake/skl-messages.c static int skl_set_pipe_state(struct skl_dev *skl, struct skl_pipe *pipe, pipe 1196 sound/soc/intel/skylake/skl-messages.c return skl_ipc_set_pipeline_state(&skl->ipc, pipe->ppl_id, state); pipe 1205 sound/soc/intel/skylake/skl-messages.c int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe) pipe 1209 sound/soc/intel/skylake/skl-messages.c dev_dbg(skl->dev, "%s: pipe_id = %d\n", __func__, pipe->ppl_id); pipe 1211 sound/soc/intel/skylake/skl-messages.c ret = skl_ipc_create_pipeline(&skl->ipc, pipe->memory_pages, pipe 1212 sound/soc/intel/skylake/skl-messages.c pipe->pipe_priority, pipe->ppl_id, pipe 1213 sound/soc/intel/skylake/skl-messages.c pipe->lp_mode); pipe 1219 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_CREATED; pipe 1230 sound/soc/intel/skylake/skl-messages.c int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe) pipe 1234 sound/soc/intel/skylake/skl-messages.c dev_dbg(skl->dev, "%s: pipe = %d\n", __func__, pipe->ppl_id); pipe 1237 sound/soc/intel/skylake/skl-messages.c if (pipe->state < SKL_PIPE_CREATED) pipe 1241 sound/soc/intel/skylake/skl-messages.c if (pipe->state >= SKL_PIPE_STARTED) { pipe 1242 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_PAUSED); pipe 1248 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_PAUSED; pipe 1252 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_RESET); pipe 1258 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_RESET; pipe 1260 sound/soc/intel/skylake/skl-messages.c ret = skl_ipc_delete_pipeline(&skl->ipc, pipe->ppl_id); pipe 1266 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_INVALID; pipe 1276 sound/soc/intel/skylake/skl-messages.c int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe) pipe 1280 sound/soc/intel/skylake/skl-messages.c dev_dbg(skl->dev, "%s: pipe = %d\n", __func__, pipe->ppl_id); pipe 1283 sound/soc/intel/skylake/skl-messages.c if (pipe->state < SKL_PIPE_CREATED) pipe 1287 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_PAUSED); pipe 1293 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_PAUSED; pipe 1295 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_RUNNING); pipe 1301 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_STARTED; pipe 1310 sound/soc/intel/skylake/skl-messages.c int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe) pipe 1314 sound/soc/intel/skylake/skl-messages.c dev_dbg(skl->dev, "In %s pipe=%d\n", __func__, pipe->ppl_id); pipe 1317 sound/soc/intel/skylake/skl-messages.c if (pipe->state < SKL_PIPE_PAUSED) pipe 1320 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_PAUSED); pipe 1326 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_PAUSED; pipe 1335 sound/soc/intel/skylake/skl-messages.c int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe) pipe 1340 sound/soc/intel/skylake/skl-messages.c if (pipe->state < SKL_PIPE_PAUSED) pipe 1343 sound/soc/intel/skylake/skl-messages.c ret = skl_set_pipe_state(skl, pipe, PPL_RESET); pipe 1349 sound/soc/intel/skylake/skl-messages.c pipe->state = SKL_PIPE_RESET; pipe 288 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->state == SKL_PIPE_CREATED || pipe 289 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->state == SKL_PIPE_PAUSED)) { pipe 291 sound/soc/intel/skylake/skl-pcm.c ret = skl_reset_pipe(skl, mconfig->pipe); pipe 297 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->p_params); pipe 399 sound/soc/intel/skylake/skl-pcm.c ret = skl_reset_pipe(skl, mconfig->pipe); pipe 517 sound/soc/intel/skylake/skl-pcm.c return skl_run_pipe(skl, mconfig->pipe); pipe 528 sound/soc/intel/skylake/skl-pcm.c ret = skl_stop_pipe(skl, mconfig->pipe); pipe 609 sound/soc/intel/skylake/skl-pcm.c if (mconfig && !mconfig->pipe->passthru && pipe 611 sound/soc/intel/skylake/skl-pcm.c skl_reset_pipe(skl, mconfig->pipe); pipe 1389 sound/soc/intel/skylake/skl-pcm.c list_for_each_entry(m, &p->pipe->w_list, node) { pipe 347 sound/soc/intel/skylake/skl-topology.c struct skl_pipe_params *params = m_cfg->pipe->p_params; pipe 348 sound/soc/intel/skylake/skl-topology.c int p_conn_type = m_cfg->pipe->conn_type; pipe 450 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_module_prepare(struct skl_dev *skl, struct skl_pipe *pipe, pipe 455 sound/soc/intel/skylake/skl-topology.c return skl_pcm_host_dma_prepare(skl->dev, pipe->p_params); pipe 458 sound/soc/intel/skylake/skl-topology.c return skl_pcm_link_dma_prepare(skl->dev, pipe->p_params); pipe 470 sound/soc/intel/skylake/skl-topology.c skl_tplg_init_pipe_modules(struct skl_dev *skl, struct skl_pipe *pipe) pipe 478 sound/soc/intel/skylake/skl-topology.c list_for_each_entry(w_module, &pipe->w_list, node) { pipe 491 sound/soc/intel/skylake/skl-topology.c cfg_idx = mconfig->pipe->cur_config_idx; pipe 505 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_module_prepare(skl, pipe, w, mconfig); pipe 549 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe) pipe 555 sound/soc/intel/skylake/skl-topology.c list_for_each_entry(w_module, &pipe->w_list, node) { pipe 591 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe = mconfig->pipe; pipe 592 sound/soc/intel/skylake/skl-topology.c struct skl_pipe_params *params = pipe->p_params; pipe 593 sound/soc/intel/skylake/skl-topology.c struct skl_path_config *pconfig = &pipe->configs[0]; pipe 598 sound/soc/intel/skylake/skl-topology.c if (pipe->nr_cfgs == 0) { pipe 599 sound/soc/intel/skylake/skl-topology.c pipe->cur_config_idx = 0; pipe 603 sound/soc/intel/skylake/skl-topology.c if (pipe->conn_type == SKL_PIPE_CONN_TYPE_NONE) { pipe 605 sound/soc/intel/skylake/skl-topology.c pipe->cur_config_idx = 0; pipe 606 sound/soc/intel/skylake/skl-topology.c pipe->memory_pages = pconfig->mem_pages; pipe 611 sound/soc/intel/skylake/skl-topology.c if ((pipe->conn_type == SKL_PIPE_CONN_TYPE_FE && pipe 612 sound/soc/intel/skylake/skl-topology.c pipe->direction == SNDRV_PCM_STREAM_PLAYBACK) || pipe 613 sound/soc/intel/skylake/skl-topology.c (pipe->conn_type == SKL_PIPE_CONN_TYPE_BE && pipe 614 sound/soc/intel/skylake/skl-topology.c pipe->direction == SNDRV_PCM_STREAM_CAPTURE)) pipe 617 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < pipe->nr_cfgs; i++) { pipe 618 sound/soc/intel/skylake/skl-topology.c pconfig = &pipe->configs[i]; pipe 626 sound/soc/intel/skylake/skl-topology.c pipe->cur_config_idx = i; pipe 627 sound/soc/intel/skylake/skl-topology.c pipe->memory_pages = pconfig->mem_pages; pipe 635 sound/soc/intel/skylake/skl-topology.c params->ch, params->s_freq, params->s_fmt, pipe->ppl_id); pipe 652 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *s_pipe = mconfig->pipe; pipe 664 sound/soc/intel/skylake/skl-topology.c ret = skl_create_pipeline(skl, mconfig->pipe); pipe 990 sound/soc/intel/skylake/skl-topology.c if (sink_mconfig->pipe->state != SKL_PIPE_STARTED) { pipe 991 sound/soc/intel/skylake/skl-topology.c if (sink_mconfig->pipe->conn_type != pipe 994 sound/soc/intel/skylake/skl-topology.c sink_mconfig->pipe); pipe 1035 sound/soc/intel/skylake/skl-topology.c if (src_mconfig->pipe->conn_type != SKL_PIPE_CONN_TYPE_FE) pipe 1036 sound/soc/intel/skylake/skl-topology.c return skl_run_pipe(skl, src_mconfig->pipe); pipe 1107 sound/soc/intel/skylake/skl-topology.c if (src_mconfig->pipe->state != SKL_PIPE_STARTED) pipe 1120 sound/soc/intel/skylake/skl-topology.c if (sink_mconfig->pipe->conn_type != SKL_PIPE_CONN_TYPE_FE) pipe 1121 sound/soc/intel/skylake/skl-topology.c ret = skl_run_pipe(skl, sink_mconfig->pipe); pipe 1142 sound/soc/intel/skylake/skl-topology.c ret = skl_stop_pipe(skl, sink_mconfig->pipe); pipe 1172 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *s_pipe = mconfig->pipe; pipe 1219 sound/soc/intel/skylake/skl-topology.c skl_delete_pipe(skl, mconfig->pipe); pipe 1243 sound/soc/intel/skylake/skl-topology.c ret = skl_stop_pipe(skl, src_mconfig->pipe); pipe 1498 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe = mcfg->pipe; pipe 1500 sound/soc/intel/skylake/skl-topology.c if (pipe->passthru) { pipe 1503 sound/soc/intel/skylake/skl-topology.c pipe->p_params->link_dma_id = params->link_dma_id; pipe 1504 sound/soc/intel/skylake/skl-topology.c pipe->p_params->link_index = params->link_index; pipe 1505 sound/soc/intel/skylake/skl-topology.c pipe->p_params->link_bps = params->link_bps; pipe 1509 sound/soc/intel/skylake/skl-topology.c pipe->p_params->host_dma_id = params->host_dma_id; pipe 1510 sound/soc/intel/skylake/skl-topology.c pipe->p_params->host_bps = params->host_bps; pipe 1516 sound/soc/intel/skylake/skl-topology.c pipe->p_params->s_fmt = params->s_fmt; pipe 1517 sound/soc/intel/skylake/skl-topology.c pipe->p_params->ch = params->ch; pipe 1518 sound/soc/intel/skylake/skl-topology.c pipe->p_params->s_freq = params->s_freq; pipe 1519 sound/soc/intel/skylake/skl-topology.c pipe->p_params->stream = params->stream; pipe 1520 sound/soc/intel/skylake/skl-topology.c pipe->p_params->format = params->format; pipe 1523 sound/soc/intel/skylake/skl-topology.c memcpy(pipe->p_params, params, sizeof(*params)); pipe 1540 sound/soc/intel/skylake/skl-topology.c u8 cfg_idx = mconfig->pipe->cur_config_idx; pipe 1859 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe, u32 tkn, pipe 1867 sound/soc/intel/skylake/skl-topology.c fmt = &pipe->configs[conf_idx].in_fmt; pipe 1871 sound/soc/intel/skylake/skl-topology.c fmt = &pipe->configs[conf_idx].out_fmt; pipe 1879 sound/soc/intel/skylake/skl-topology.c config = &pipe->configs[conf_idx]; pipe 1907 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe, u32 tkn, pipe 1913 sound/soc/intel/skylake/skl-topology.c pipe->conn_type = tkn_val; pipe 1917 sound/soc/intel/skylake/skl-topology.c pipe->pipe_priority = tkn_val; pipe 1921 sound/soc/intel/skylake/skl-topology.c pipe->memory_pages = tkn_val; pipe 1925 sound/soc/intel/skylake/skl-topology.c pipe->lp_mode = tkn_val; pipe 1929 sound/soc/intel/skylake/skl-topology.c pipe->direction = tkn_val; pipe 1933 sound/soc/intel/skylake/skl-topology.c pipe->nr_cfgs = tkn_val; pipe 1953 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe; pipe 1957 sound/soc/intel/skylake/skl-topology.c if (ppl->pipe->ppl_id == tkn_elem->value) { pipe 1958 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = ppl->pipe; pipe 1967 sound/soc/intel/skylake/skl-topology.c pipe = devm_kzalloc(dev, sizeof(*pipe), GFP_KERNEL); pipe 1968 sound/soc/intel/skylake/skl-topology.c if (!pipe) pipe 1975 sound/soc/intel/skylake/skl-topology.c pipe->p_params = params; pipe 1976 sound/soc/intel/skylake/skl-topology.c pipe->ppl_id = tkn_elem->value; pipe 1977 sound/soc/intel/skylake/skl-topology.c INIT_LIST_HEAD(&pipe->w_list); pipe 1979 sound/soc/intel/skylake/skl-topology.c ppl->pipe = pipe; pipe 1982 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = pipe; pipe 1983 sound/soc/intel/skylake/skl-topology.c mconfig->pipe->state = SKL_PIPE_INVALID; pipe 2392 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_fill_pipe_tkn(dev, mconfig->pipe, pipe 2404 sound/soc/intel/skylake/skl-topology.c if (mconfig->pipe->nr_cfgs) { pipe 2405 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_fill_pipe_cfg(dev, mconfig->pipe, pipe 2607 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe; pipe 2611 sound/soc/intel/skylake/skl-topology.c if (ppl->pipe->ppl_id == dfw_pipe->pipe_id) { pipe 2612 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = ppl->pipe; pipe 2621 sound/soc/intel/skylake/skl-topology.c pipe = devm_kzalloc(dev, sizeof(*pipe), GFP_KERNEL); pipe 2622 sound/soc/intel/skylake/skl-topology.c if (!pipe) pipe 2629 sound/soc/intel/skylake/skl-topology.c pipe->ppl_id = dfw_pipe->pipe_id; pipe 2630 sound/soc/intel/skylake/skl-topology.c pipe->memory_pages = dfw_pipe->memory_pages; pipe 2631 sound/soc/intel/skylake/skl-topology.c pipe->pipe_priority = dfw_pipe->pipe_priority; pipe 2632 sound/soc/intel/skylake/skl-topology.c pipe->conn_type = dfw_pipe->conn_type; pipe 2633 sound/soc/intel/skylake/skl-topology.c pipe->state = SKL_PIPE_INVALID; pipe 2634 sound/soc/intel/skylake/skl-topology.c pipe->p_params = params; pipe 2635 sound/soc/intel/skylake/skl-topology.c INIT_LIST_HEAD(&pipe->w_list); pipe 2637 sound/soc/intel/skylake/skl-topology.c ppl->pipe = pipe; pipe 2640 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = pipe; pipe 2712 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_add_pipe_v4(dev, mconfig, skl, &dfw->pipe); pipe 2838 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe; pipe 2843 sound/soc/intel/skylake/skl-topology.c pipe = mconfig->pipe; pipe 2852 sound/soc/intel/skylake/skl-topology.c pipe->state = SKL_PIPE_INVALID; pipe 3513 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe; pipe 3518 sound/soc/intel/skylake/skl-topology.c pipe = mcfg->pipe; pipe 3526 sound/soc/intel/skylake/skl-topology.c list_add_tail(&p_module->node, &pipe->w_list); pipe 3533 sound/soc/intel/skylake/skl-topology.c static void skl_tplg_set_pipe_type(struct skl_dev *skl, struct skl_pipe *pipe) pipe 3540 sound/soc/intel/skylake/skl-topology.c list_for_each_entry(w_module, &pipe->w_list, node) { pipe 3551 sound/soc/intel/skylake/skl-topology.c pipe->passthru = true; pipe 3553 sound/soc/intel/skylake/skl-topology.c pipe->passthru = false; pipe 3596 sound/soc/intel/skylake/skl-topology.c skl_tplg_set_pipe_type(skl, ppl->pipe); pipe 404 sound/soc/intel/skylake/skl-topology.h struct skl_pipe *pipe; pipe 418 sound/soc/intel/skylake/skl-topology.h struct skl_pipe *pipe; pipe 466 sound/soc/intel/skylake/skl-topology.h int skl_create_pipeline(struct skl_dev *skl, struct skl_pipe *pipe); pipe 468 sound/soc/intel/skylake/skl-topology.h int skl_run_pipe(struct skl_dev *skl, struct skl_pipe *pipe); pipe 470 sound/soc/intel/skylake/skl-topology.h int skl_pause_pipe(struct skl_dev *skl, struct skl_pipe *pipe); pipe 472 sound/soc/intel/skylake/skl-topology.h int skl_delete_pipe(struct skl_dev *skl, struct skl_pipe *pipe); pipe 474 sound/soc/intel/skylake/skl-topology.h int skl_stop_pipe(struct skl_dev *skl, struct skl_pipe *pipe); pipe 476 sound/soc/intel/skylake/skl-topology.h int skl_reset_pipe(struct skl_dev *skl, struct skl_pipe *pipe); pipe 296 sound/sparc/dbri.c int pipe; /* Data pipe used */ pipe 812 sound/sparc/dbri.c static inline int pipe_active(struct snd_dbri *dbri, int pipe) pipe 814 sound/sparc/dbri.c return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1)); pipe 822 sound/sparc/dbri.c static void reset_pipe(struct snd_dbri *dbri, int pipe) pipe 828 sound/sparc/dbri.c if (pipe < 0 || pipe > DBRI_MAX_PIPE) { pipe 834 sound/sparc/dbri.c sdp = dbri->pipes[pipe].sdp; pipe 847 sound/sparc/dbri.c desc = dbri->pipes[pipe].first_desc; pipe 853 sound/sparc/dbri.c } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); pipe 855 sound/sparc/dbri.c dbri->pipes[pipe].desc = -1; pipe 856 sound/sparc/dbri.c dbri->pipes[pipe].first_desc = -1; pipe 862 sound/sparc/dbri.c static void setup_pipe(struct snd_dbri *dbri, int pipe, int sdp) pipe 864 sound/sparc/dbri.c if (pipe < 0 || pipe > DBRI_MAX_PIPE) { pipe 882 sound/sparc/dbri.c sdp |= D_PIPE(pipe); pipe 883 sound/sparc/dbri.c dbri->pipes[pipe].sdp = sdp; pipe 884 sound/sparc/dbri.c dbri->pipes[pipe].desc = -1; pipe 885 sound/sparc/dbri.c dbri->pipes[pipe].first_desc = -1; pipe 887 sound/sparc/dbri.c reset_pipe(dbri, pipe); pipe 893 sound/sparc/dbri.c static void link_time_slot(struct snd_dbri *dbri, int pipe, pipe 900 sound/sparc/dbri.c if (pipe < 0 || pipe > DBRI_MAX_PIPE pipe 908 sound/sparc/dbri.c if (dbri->pipes[pipe].sdp == 0 pipe 916 sound/sparc/dbri.c dbri->pipes[prevpipe].nextpipe = pipe; pipe 917 sound/sparc/dbri.c dbri->pipes[pipe].nextpipe = nextpipe; pipe 918 sound/sparc/dbri.c dbri->pipes[pipe].length = length; pipe 922 sound/sparc/dbri.c if (dbri->pipes[pipe].sdp & D_SDP_TO_SER) { pipe 931 sound/sparc/dbri.c val = D_DTS_VO | D_DTS_INS | D_DTS_PRVOUT(prevpipe) | pipe; pipe 937 sound/sparc/dbri.c val = D_DTS_VI | D_DTS_INS | D_DTS_PRVIN(prevpipe) | pipe; pipe 952 sound/sparc/dbri.c static void unlink_time_slot(struct snd_dbri *dbri, int pipe, pipe 959 sound/sparc/dbri.c if (pipe < 0 || pipe > DBRI_MAX_PIPE pipe 970 sound/sparc/dbri.c val = D_DTS_VI | D_DTS_DEL | D_DTS_PRVIN(prevpipe) | pipe; pipe 975 sound/sparc/dbri.c val = D_DTS_VO | D_DTS_DEL | D_DTS_PRVOUT(prevpipe) | pipe; pipe 1002 sound/sparc/dbri.c static void xmit_fixed(struct snd_dbri *dbri, int pipe, unsigned int data) pipe 1007 sound/sparc/dbri.c if (pipe < 16 || pipe > DBRI_MAX_PIPE) { pipe 1012 sound/sparc/dbri.c if (D_SDP_MODE(dbri->pipes[pipe].sdp) == 0) { pipe 1014 sound/sparc/dbri.c "Uninitialized pipe %d\n", pipe); pipe 1018 sound/sparc/dbri.c if (D_SDP_MODE(dbri->pipes[pipe].sdp) != D_SDP_FIXED) { pipe 1019 sound/sparc/dbri.c printk(KERN_ERR "DBRI: xmit_fixed: Non-fixed pipe %d\n", pipe); pipe 1023 sound/sparc/dbri.c if (!(dbri->pipes[pipe].sdp & D_SDP_TO_SER)) { pipe 1025 sound/sparc/dbri.c pipe); pipe 1031 sound/sparc/dbri.c if (dbri->pipes[pipe].sdp & D_SDP_MSB) pipe 1032 sound/sparc/dbri.c data = reverse_bytes(data, dbri->pipes[pipe].length); pipe 1036 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_SSP, 0, pipe); pipe 1047 sound/sparc/dbri.c static void recv_fixed(struct snd_dbri *dbri, int pipe, volatile __u32 *ptr) pipe 1049 sound/sparc/dbri.c if (pipe < 16 || pipe > DBRI_MAX_PIPE) { pipe 1055 sound/sparc/dbri.c if (D_SDP_MODE(dbri->pipes[pipe].sdp) != D_SDP_FIXED) { pipe 1057 sound/sparc/dbri.c "non-fixed pipe %d\n", pipe); pipe 1061 sound/sparc/dbri.c if (dbri->pipes[pipe].sdp & D_SDP_TO_SER) { pipe 1063 sound/sparc/dbri.c "transmit pipe %d\n", pipe); pipe 1067 sound/sparc/dbri.c dbri->pipes[pipe].recv_fixed_ptr = ptr; pipe 1096 sound/sparc/dbri.c if (info->pipe < 0 || info->pipe > 15) { pipe 1101 sound/sparc/dbri.c if (dbri->pipes[info->pipe].sdp == 0) { pipe 1103 sound/sparc/dbri.c info->pipe); pipe 1111 sound/sparc/dbri.c if (!(dbri->pipes[info->pipe].sdp & D_SDP_TO_SER)) { pipe 1113 sound/sparc/dbri.c "Called on receive pipe %d\n", info->pipe); pipe 1117 sound/sparc/dbri.c if (dbri->pipes[info->pipe].sdp & D_SDP_TO_SER) { pipe 1120 sound/sparc/dbri.c info->pipe); pipe 1126 sound/sparc/dbri.c if (pipe_active(dbri, info->pipe)) { pipe 1128 sound/sparc/dbri.c "Called on active pipe %d\n", info->pipe); pipe 1137 sound/sparc/dbri.c desc = dbri->pipes[info->pipe].first_desc; pipe 1144 sound/sparc/dbri.c desc != dbri->pipes[info->pipe].first_desc); pipe 1146 sound/sparc/dbri.c dbri->pipes[info->pipe].desc = -1; pipe 1147 sound/sparc/dbri.c dbri->pipes[info->pipe].first_desc = -1; pipe 1207 sound/sparc/dbri.c dbri->pipes[info->pipe].first_desc = first_desc; pipe 1208 sound/sparc/dbri.c dbri->pipes[info->pipe].desc = first_desc; pipe 1722 sound/sparc/dbri.c if (info->pipe >= 0) { pipe 1723 sound/sparc/dbri.c first_td = dbri->pipes[info->pipe].first_desc; pipe 1731 sound/sparc/dbri.c dbri->pipes[info->pipe].sdp pipe 1738 sound/sparc/dbri.c dbri->pipes[info->pipe].desc = first_td; pipe 1744 sound/sparc/dbri.c if (info->pipe >= 0) { pipe 1745 sound/sparc/dbri.c first_td = dbri->pipes[info->pipe].first_desc; pipe 1753 sound/sparc/dbri.c dbri->pipes[info->pipe].sdp pipe 1760 sound/sparc/dbri.c dbri->pipes[info->pipe].desc = first_td; pipe 1781 sound/sparc/dbri.c static void transmission_complete_intr(struct snd_dbri *dbri, int pipe) pipe 1784 sound/sparc/dbri.c int td = dbri->pipes[pipe].desc; pipe 1789 sound/sparc/dbri.c printk(KERN_ERR "DBRI: invalid td on pipe %d\n", pipe); pipe 1803 sound/sparc/dbri.c dbri->pipes[pipe].desc = td; pipe 1812 sound/sparc/dbri.c static void reception_complete_intr(struct snd_dbri *dbri, int pipe) pipe 1815 sound/sparc/dbri.c int rd = dbri->pipes[pipe].desc; pipe 1819 sound/sparc/dbri.c printk(KERN_ERR "DBRI: invalid rd on pipe %d\n", pipe); pipe 1823 sound/sparc/dbri.c dbri->pipes[pipe].desc = dbri->next_desc[rd]; pipe 1880 sound/sparc/dbri.c int pipe = channel; pipe 1881 sound/sparc/dbri.c int td = dbri->pipes[pipe].desc; pipe 1886 sound/sparc/dbri.c dbri->pipes[pipe].sdp pipe 2058 sound/sparc/dbri.c info->pipe = -1; pipe 2149 sound/sparc/dbri.c if (info->pipe != -1) { pipe 2150 sound/sparc/dbri.c reset_pipe(dbri, info->pipe); pipe 2151 sound/sparc/dbri.c info->pipe = -1; pipe 2165 sound/sparc/dbri.c info->pipe = 4; /* Send pipe */ pipe 2167 sound/sparc/dbri.c info->pipe = 6; /* Receive pipe */ pipe 2199 sound/sparc/dbri.c reset_pipe(dbri, info->pipe); pipe 2493 sound/sparc/dbri.c int pipe; pipe 2496 sound/sparc/dbri.c for (pipe = 0; pipe < 32; pipe++) { pipe 2497 sound/sparc/dbri.c if (pipe_active(dbri, pipe)) { pipe 2498 sound/sparc/dbri.c struct dbri_pipe *pptr = &dbri->pipes[pipe]; pipe 2502 sound/sparc/dbri.c pipe, pipe 26 sound/usb/6fire/comm.c urb->pipe = usb_sndintpipe(rt->chip->dev, COMM_EP); pipe 169 sound/usb/6fire/comm.c urb->pipe = usb_rcvintpipe(chip->dev, COMM_EP); pipe 576 sound/usb/6fire/pcm.c urb->instance.pipe = in ? usb_rcvisocpipe(chip->dev, ep) pipe 712 sound/usb/caiaq/audio.c unsigned int pipe; pipe 714 sound/usb/caiaq/audio.c pipe = (dir == SNDRV_PCM_STREAM_PLAYBACK) ? pipe 748 sound/usb/caiaq/audio.c urbs[i]->pipe = pipe; pipe 86 sound/usb/card.h unsigned int pipe; /* the data i/o pipe */ pipe 122 sound/usb/endpoint.c usb_pipeout(ep->pipe); pipe 375 sound/usb/endpoint.c if (usb_pipeout(ep->pipe)) { pipe 478 sound/usb/endpoint.c ep->pipe = usb_sndisocpipe(chip->dev, ep_num); pipe 480 sound/usb/endpoint.c ep->pipe = usb_rcvisocpipe(chip->dev, ep_num); pipe 616 sound/usb/endpoint.c usb_pipeout(ep->pipe)); pipe 703 sound/usb/endpoint.c if (usb_pipein(ep->pipe) || pipe 779 sound/usb/endpoint.c u->urb->pipe = ep->pipe; pipe 817 sound/usb/endpoint.c u->urb->pipe = ep->pipe; pipe 966 sound/usb/endpoint.c if (usb_pipeout(ep->pipe)) { pipe 67 sound/usb/helper.c int snd_usb_pipe_sanity_check(struct usb_device *dev, unsigned int pipe) pipe 74 sound/usb/helper.c ep = usb_pipe_endpoint(dev, pipe); pipe 75 sound/usb/helper.c if (!ep || usb_pipetype(pipe) != pipetypes[usb_endpoint_type(&ep->desc)]) pipe 84 sound/usb/helper.c int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, pipe 92 sound/usb/helper.c if (snd_usb_pipe_sanity_check(dev, pipe)) pipe 106 sound/usb/helper.c err = usb_control_msg(dev, pipe, request, requesttype, pipe 114 sound/usb/helper.c snd_usb_ctl_msg_quirk(dev, pipe, request, requesttype, pipe 10 sound/usb/helper.h int snd_usb_pipe_sanity_check(struct usb_device *dev, unsigned int pipe); pipe 11 sound/usb/helper.h int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, pipe 280 sound/usb/line6/capture.c urb->pipe = pipe 508 sound/usb/line6/driver.c int pipe; pipe 513 sound/usb/line6/driver.c pipe = usb_rcvintpipe(line6->usbdev, pipe 516 sound/usb/line6/driver.c pipe = usb_rcvbulkpipe(line6->usbdev, pipe 519 sound/usb/line6/driver.c ep = usbdev->ep_in[usb_pipeendpoint(pipe)]; pipe 425 sound/usb/line6/playback.c urb->pipe = pipe 393 sound/usb/midi.c err = usb_bulk_msg(ep->umidi->dev, ep->urbs[0].urb->pipe, pipe 1282 sound/usb/midi.c unsigned int pipe; pipe 1301 sound/usb/midi.c pipe = usb_rcvintpipe(umidi->dev, ep_info->in_ep); pipe 1303 sound/usb/midi.c pipe = usb_rcvbulkpipe(umidi->dev, ep_info->in_ep); pipe 1304 sound/usb/midi.c length = usb_maxpacket(umidi->dev, pipe, 0); pipe 1314 sound/usb/midi.c pipe, buffer, length, pipe 1319 sound/usb/midi.c pipe, buffer, length, pipe 1369 sound/usb/midi.c unsigned int pipe; pipe 1388 sound/usb/midi.c pipe = usb_sndintpipe(umidi->dev, ep_info->out_ep); pipe 1390 sound/usb/midi.c pipe = usb_sndbulkpipe(umidi->dev, ep_info->out_ep); pipe 1393 sound/usb/midi.c ep->max_transfer = usb_maxpacket(umidi->dev, pipe, 1); pipe 1426 sound/usb/midi.c pipe, buffer, ep->max_transfer, pipe 1431 sound/usb/midi.c pipe, buffer, ep->max_transfer, pipe 1110 sound/usb/misc/ua101.c urb->urb.pipe = stream->usb_pipe; pipe 1971 sound/usb/mixer_scarlett_gen2.c unsigned int pipe = usb_rcvintpipe(dev, pipe 1981 sound/usb/mixer_scarlett_gen2.c if (snd_usb_pipe_sanity_check(dev, pipe)) pipe 1992 sound/usb/mixer_scarlett_gen2.c usb_fill_int_urb(mixer->urb, dev, pipe, pipe 1564 sound/usb/quirks.c void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe, pipe 39 sound/usb/quirks.h void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe, pipe 89 sound/usb/usx2y/us122l.c static int us122l_ctl_msg(struct usb_device *dev, unsigned int pipe, pipe 102 sound/usb/usx2y/us122l.c err = usb_control_msg(dev, pipe, request, requesttype, pipe 48 sound/usb/usx2y/usb_stream.c struct usb_device *dev, int pipe) pipe 52 sound/usb/usx2y/usb_stream.c use_packsize : usb_maxpacket(dev, pipe, usb_pipeout(pipe)); pipe 61 sound/usb/usx2y/usb_stream.c urb->pipe = pipe; pipe 65 sound/usb/usx2y/usb_stream.c if (usb_pipeout(pipe)) pipe 291 sound/usb/usx2y/usbusx2yaudio.c subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", pipe 396 sound/usb/usx2y/usbusx2yaudio.c unsigned int pipe; pipe 400 sound/usb/usx2y/usbusx2yaudio.c pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : pipe 402 sound/usb/usx2y/usbusx2yaudio.c subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); pipe 434 sound/usb/usx2y/usbusx2yaudio.c (*purb)->pipe = pipe; pipe 470 sound/usb/usx2y/usbusx2yaudio.c if (usb_pipein(urb->pipe)) { pipe 227 sound/usb/usx2y/usx2yhwdeppcm.c subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", pipe 303 sound/usb/usx2y/usx2yhwdeppcm.c unsigned int pipe; pipe 307 sound/usb/usx2y/usx2yhwdeppcm.c pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : pipe 309 sound/usb/usx2y/usx2yhwdeppcm.c subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); pipe 332 sound/usb/usx2y/usx2yhwdeppcm.c (*purb)->pipe = pipe; pipe 424 sound/usb/usx2y/usx2yhwdeppcm.c if (usb_pipein(urb->pipe)) { pipe 36 sound/x86/intel_hdmi_audio.c #define for_each_pipe(card_ctx, pipe) \ pipe 37 sound/x86/intel_hdmi_audio.c for ((pipe) = 0; (pipe) < (card_ctx)->num_pipes; (pipe)++) pipe 192 sound/x86/intel_hdmi_audio.c static u32 had_config_offset(int pipe) pipe 194 sound/x86/intel_hdmi_audio.c switch (pipe) { pipe 207 sound/x86/intel_hdmi_audio.c int pipe, u32 reg) pipe 209 sound/x86/intel_hdmi_audio.c return ioread32(card_ctx->mmio_start + had_config_offset(pipe) + reg); pipe 213 sound/x86/intel_hdmi_audio.c int pipe, u32 reg, u32 val) pipe 215 sound/x86/intel_hdmi_audio.c iowrite32(val, card_ctx->mmio_start + had_config_offset(pipe) + reg); pipe 223 sound/x86/intel_hdmi_audio.c *val = had_read_register_raw(ctx->card_ctx, ctx->pipe, reg); pipe 229 sound/x86/intel_hdmi_audio.c had_write_register_raw(ctx->card_ctx, ctx->pipe, reg, val); pipe 1518 sound/x86/intel_hdmi_audio.c int pipe, port; pipe 1520 sound/x86/intel_hdmi_audio.c for_each_pipe(card_ctx, pipe) { pipe 1522 sound/x86/intel_hdmi_audio.c audio_stat[pipe] = had_read_register_raw(card_ctx, pipe, pipe 1526 sound/x86/intel_hdmi_audio.c if (audio_stat[pipe]) pipe 1527 sound/x86/intel_hdmi_audio.c had_write_register_raw(card_ctx, pipe, pipe 1528 sound/x86/intel_hdmi_audio.c AUD_HDMI_STATUS, audio_stat[pipe]); pipe 1533 sound/x86/intel_hdmi_audio.c int pipe = ctx->pipe; pipe 1535 sound/x86/intel_hdmi_audio.c if (pipe < 0) pipe 1538 sound/x86/intel_hdmi_audio.c if (audio_stat[pipe] & HDMI_AUDIO_BUFFER_DONE) pipe 1540 sound/x86/intel_hdmi_audio.c if (audio_stat[pipe] & HDMI_AUDIO_UNDERRUN) pipe 1572 sound/x86/intel_hdmi_audio.c if (ppdata->pipe < 0) { pipe 1585 sound/x86/intel_hdmi_audio.c ctx->pipe = -1; pipe 1607 sound/x86/intel_hdmi_audio.c ctx->pipe = ppdata->pipe; pipe 1749 sound/x86/intel_hdmi_audio.c ctx->pipe = -1; pipe 115 sound/x86/intel_hdmi_audio.h int pipe; /* can change dynamically */ pipe 673 tools/include/uapi/drm/i915_drm.h int pipe; pipe 1351 tools/include/uapi/drm/i915_drm.h __u32 pipe; pipe 42 tools/lib/subcmd/run-command.c if (pipe(fdin) < 0) { pipe 54 tools/lib/subcmd/run-command.c if (pipe(fdout) < 0) { pipe 66 tools/lib/subcmd/run-command.c if (pipe(fderr) < 0) { pipe 56 tools/perf/bench/sched-messaging.c if (pipe(fds) == 0) pipe 96 tools/perf/bench/sched-pipe.c BUG_ON(pipe(pipe_1)); pipe 97 tools/perf/bench/sched-pipe.c BUG_ON(pipe(pipe_2)); pipe 3644 tools/perf/builtin-script.c if (pipe(live_pipe) < 0) { pipe 478 tools/perf/tests/code-reading.c if (pipe(pipefd) < 0) { pipe 84 tools/perf/tests/mmap-thread-lookup.c if (pipe(td->ready)) pipe 1930 tools/perf/util/annotate.c if (pipe(stdout_fd) < 0) { pipe 1277 tools/perf/util/evlist.c if (pipe(child_ready_pipe) < 0) { pipe 1282 tools/perf/util/evlist.c if (pipe(go_pipe) < 0) { pipe 24 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pipe(pipe_c2p), test_name, pipe 28 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pipe(pipe_p2c), test_name, pipe 953 tools/testing/selftests/cgroup/test_memcontrol.c if (pipe(args.ctl)) pipe 50 tools/testing/selftests/kcmp/kcmp_test.c if (pipe(pipefd)) { pipe 400 tools/testing/selftests/net/tls.c ASSERT_GE(pipe(p), 0); pipe 415 tools/testing/selftests/net/tls.c ASSERT_GE(pipe(p), 0); pipe 416 tools/testing/selftests/net/tls.c ASSERT_GE(pipe(p2), 0); pipe 435 tools/testing/selftests/net/tls.c ASSERT_GE(pipe(p), 0); pipe 454 tools/testing/selftests/net/tls.c ASSERT_GE(pipe(p), 0); pipe 34 tools/testing/selftests/nsfs/owner.c if (pipe(pfd)) pipe 167 tools/testing/selftests/powerpc/benchmarks/context_switch.c if (pipe(pipe_fd1) || pipe(pipe_fd2)) pipe 45 tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c FAIL_IF(pipe(p2c) == -1 || pipe(c2p) == -1); pipe 41 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c union pipe read_pipe, write_pipe; pipe 52 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 53 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 39 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test.c union pipe read_pipe, write_pipe; pipe 50 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 51 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 349 tools/testing/selftests/powerpc/pmu/ebb/ebb.c int ebb_child(union pipe read_pipe, union pipe write_pipe) pipe 74 tools/testing/selftests/powerpc/pmu/ebb/ebb.h int ebb_child(union pipe read_pipe, union pipe write_pipe); pipe 23 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c static int victim_child(union pipe read_pipe, union pipe write_pipe) pipe 46 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c union pipe read_pipe, write_pipe; pipe 52 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 53 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 23 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c static int victim_child(union pipe read_pipe, union pipe write_pipe) pipe 53 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c union pipe read_pipe, write_pipe; pipe 59 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 60 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 39 tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test.c union pipe read_pipe, write_pipe; pipe 50 tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 51 tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 40 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c union pipe read_pipe, write_pipe; pipe 47 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 48 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 38 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c union pipe read_pipe, write_pipe; pipe 45 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c FAIL_IF(pipe(read_pipe.fds) == -1); pipe 46 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c FAIL_IF(pipe(write_pipe.fds) == -1); pipe 33 tools/testing/selftests/powerpc/pmu/lib.c int sync_with_child(union pipe read_pipe, union pipe write_pipe) pipe 45 tools/testing/selftests/powerpc/pmu/lib.c int wait_for_parent(union pipe read_pipe) pipe 55 tools/testing/selftests/powerpc/pmu/lib.c int notify_parent(union pipe write_pipe) pipe 64 tools/testing/selftests/powerpc/pmu/lib.c int notify_parent_of_error(union pipe write_pipe) pipe 97 tools/testing/selftests/powerpc/pmu/lib.c static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) pipe 118 tools/testing/selftests/powerpc/pmu/lib.c union pipe read_pipe, write_pipe; pipe 126 tools/testing/selftests/powerpc/pmu/lib.c if (pipe(read_pipe.fds) == -1) pipe 129 tools/testing/selftests/powerpc/pmu/lib.c if (pipe(write_pipe.fds) == -1) pipe 25 tools/testing/selftests/powerpc/pmu/lib.h extern int sync_with_child(union pipe read_pipe, union pipe write_pipe); pipe 26 tools/testing/selftests/powerpc/pmu/lib.h extern int wait_for_parent(union pipe read_pipe); pipe 27 tools/testing/selftests/powerpc/pmu/lib.h extern int notify_parent(union pipe write_pipe); pipe 28 tools/testing/selftests/powerpc/pmu/lib.h extern int notify_parent_of_error(union pipe write_pipe); pipe 275 tools/testing/selftests/proc/proc-pid-vm.c if (pipe(pipefd) == -1) { pipe 65 tools/testing/selftests/proc/setns-dcache.c if (pipe(fd) == -1) { pipe 64 tools/testing/selftests/proc/setns-sysvipc.c if (pipe(fd) == -1) { pipe 1443 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pipe(pipefd)); pipe 2766 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pipe(pipefd)); pipe 3008 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pipe(pipefd)); pipe 1069 tools/testing/selftests/x86/protection_keys.c pipe_ret = pipe(pipe_fds); pipe 164 tools/virtio/vringh_test.c pipe(to_guest); pipe 165 tools/virtio/vringh_test.c pipe(to_host);