| /linux/drivers/usb/renesas_usbhs/ |
| H A D | pipe.c | 33 char *usbhs_pipe_name(struct usbhs_pipe *pipe) in usbhs_pipe_name() argument 35 return usbhsp_pipe_name[usbhs_pipe_type(pipe)]; in usbhs_pipe_name() 50 static void usbhsp_pipectrl_set(struct usbhs_pipe *pipe, u16 mask, u16 val) in usbhsp_pipectrl_set() argument 52 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_set() 53 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_set() 55 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_set() 61 static u16 usbhsp_pipectrl_get(struct usbhs_pipe *pipe) in usbhsp_pipectrl_get() argument 63 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_get() 64 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_get() 66 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_get() [all …]
|
| H A D | fifo.c | 17 #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */ 32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle() 45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument 50 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push() 62 if (!pipe->handler) { in usbhs_pkt_push() 64 pipe->handler = &usbhsf_null_handler; in usbhs_pkt_push() 67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push() 74 pkt->pipe = pipe; in usbhs_pkt_push() 76 pkt->handler = pipe->handler; in usbhs_pkt_push() 92 struct usbhs_pkt *__usbhsf_pkt_get(struct usbhs_pipe *pipe) in __usbhsf_pkt_get() argument [all …]
|
| H A D | pipe.h | 38 struct usbhs_pipe *pipe; member 50 ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \ 67 char *usbhs_pipe_name(struct usbhs_pipe *pipe); 70 void usbhs_pipe_free(struct usbhs_pipe *pipe); 73 int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); 74 int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); 75 int usbhs_pipe_is_running(struct usbhs_pipe *pipe); 76 void usbhs_pipe_running(struct usbhs_pipe *pipe, int running); 81 int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); 82 void usbhs_pipe_clear(struct usbhs_pipe *pipe); [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_color_regs.h | 33 #define PALETTE(dev_priv, pipe, i) _MMIO(DISPLAY_MMIO_BASE(dev_priv) + \ argument 34 _PICK_EVEN_2RANGES(pipe, 2, \ 42 #define PIPEGCMAX(dev_priv, pipe, i) _MMIO_PIPE2(dev_priv, pipe, _PIPEAGCMAX + (i) * 4) /* u1.16 */ argument 48 #define LGC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _LGC_PALETTE_A, _LGC_PALETTE_B) + (i) * 4) argument 65 #define PREC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _PREC_PALETTE_A, _PREC_PALETTE_B) + (i) * 4) argument 69 #define PREC_PIPEGCMAX(pipe, i) _MMIO(_PIPE(pipe, _PIPEAGCMAX, _PIPEBGCMAX) + (i) * 4) /* u1… argument 73 #define GAMMA_MODE(pipe) _MMIO_PIPE(pipe, _GAMMA_MODE_A, _GAMMA_MODE_B) argument 120 #define PIPE_CSC_COEFF_RY_GY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RY_GY, _PIPE_B_CSC_COEFF_RY_G… argument 121 #define PIPE_CSC_COEFF_BY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_BY, _PIPE_B_CSC_COEFF_BY) argument 122 #define PIPE_CSC_COEFF_RU_GU(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RU_GU, _PIPE_B_CSC_COEFF_RU_G… argument [all …]
|
| H A D | skl_universal_plane_regs.h | 11 #define _SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 12 _PLANE((plane), _PIPE((pipe), (reg_1_a), (reg_1_b)), _PIPE((pipe), (reg_2_a), (reg_2_b))) 13 #define _SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 14 (_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b)) + (dw) * 4) 15 #define _MMIO_SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 16 _MMIO(_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b))) 17 #define _MMIO_SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 18 _MMIO(_SKL_PLANE_DW((pipe), (plane), (dw), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b))) 20 #define _SEL_FETCH(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b, reg_5_a, reg_5_b, reg_6_a, reg_… argument 22 _PIPE((pipe), (reg_1_a), (reg_1_b)), \ [all …]
|
| H A D | intel_vdsc_regs.h | 33 #define ICL_PIPE_DSS_CTL1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 49 #define ICL_PIPE_DSS_CTL2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 66 #define ICL_DSC0_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 69 #define ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 72 #define _ICL_DSC0_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 75 #define _ICL_DSC1_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 78 #define _BMG_DSC2_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 81 #define ICL_DSC0_PPS(pipe, pps) _MMIO(_ICL_DSC0_PPS_0(pipe) + ((pps) * 4)) argument 82 #define ICL_DSC1_PPS(pipe, pps) _MMIO(_ICL_DSC1_PPS_0(pipe) + ((pps) * 4)) argument 83 #define BMG_DSC2_PPS(pipe, pps) _MMIO(_BMG_DSC2_PPS_0(pipe) + ((pps) * 4)) argument [all …]
|
| H A D | intel_pipe_crc_regs.h | 12 #define PIPE_CRC_CTL(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_CTL_A) argument 63 #define PIPE_CRC_EXP_GREEN(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_GREEN_A) argument 67 #define PIPE_CRC_EXP_BLUE(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_BLUE_A) argument 71 #define PIPE_CRC_EXP_RES1_I915(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_RES1_A_I9… argument 75 #define PIPE_CRC_EXP_RES2_G4X(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_RES2_A_G4X) argument 79 #define PIPE_CRC_RES_RED(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RED_A) argument 82 #define PIPE_CRC_RES_GREEN(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_GREEN_A) argument 85 #define PIPE_CRC_RES_BLUE(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_BLUE_A) argument 88 #define PIPE_CRC_RES_RES1_I915(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RES1_… argument 91 #define PIPE_CRC_RES_RES2_G4X(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RES2_A… argument [all …]
|
| H A D | intel_sprite_regs.h | 12 #define DVSCNTR(pipe) _MMIO_PIPE(pipe, _DVSACNTR, _DVSBCNTR) argument 37 #define DVSLINOFF(pipe) _MMIO_PIPE(pipe, _DVSALINOFF, _DVSBLINOFF) argument 41 #define DVSSTRIDE(pipe) _MMIO_PIPE(pipe, _DVSASTRIDE, _DVSBSTRIDE) argument 45 #define DVSPOS(pipe) _MMIO_PIPE(pipe, _DVSAPOS, _DVSBPOS) argument 53 #define DVSSIZE(pipe) _MMIO_PIPE(pipe, _DVSASIZE, _DVSBSIZE) argument 61 #define DVSKEYVAL(pipe) _MMIO_PIPE(pipe, _DVSAKEYVAL, _DVSBKEYVAL) argument 65 #define DVSKEYMSK(pipe) _MMIO_PIPE(pipe, _DVSAKEYMSK, _DVSBKEYMSK) argument 69 #define DVSSURF(pipe) _MMIO_PIPE(pipe, _DVSASURF, _DVSBSURF) argument 74 #define DVSKEYMAX(pipe) _MMIO_PIPE(pipe, _DVSAKEYMAXVAL, _DVSBKEYMAXVAL) argument 78 #define DVSTILEOFF(pipe) _MMIO_PIPE(pipe, _DVSATILEOFF, _DVSBTILEOFF) argument [all …]
|
| H A D | intel_cursor_regs.h | 12 #define CURCNTR(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURACNTR) argument 28 #define MCURSOR_PIPE_SEL(pipe) REG_FIELD_PREP(MCURSOR_PIPE_SEL_MASK, (pipe)) argument 44 #define CURBASE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURABASE) argument 47 #define CURPOS(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURAPOS) argument 56 #define CURPOS_ERLY_TPT(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURAPOS_ERLY_TPT) argument 59 #define CURSIZE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURASIZE) argument 66 #define CUR_FBC_CTL(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CUR_FBC_CTL_A) argument 72 #define CUR_CHICKEN(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CUR_CHICKEN_A) argument 75 #define CURSURFLIVE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURASURFLIVE) argument 80 #define CUR_WM(pipe, level) _MMIO(_PIPE((pipe), _CUR_WM_A_0, _CUR_WM_B_0) + (level) * 4) argument [all …]
|
| H A D | intel_audio_regs.h | 20 #define IBX_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _IBX_HDMIW_HDMIEDID_A, \ argument 24 #define IBX_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CNTL_ST_A, \ argument 35 #define CPT_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _CPT_HDMIW_HDMIEDID_A, _CPT_HDMIW_HDMIEDID_B) argument 38 #define CPT_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CNTL_ST_A, _CPT_AUD_CNTL_ST_B) argument 43 #define VLV_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _VLV_HDMIW_HDMIEDID_A, _VLV_HDMIW_HDMIEDID_B) argument 46 #define VLV_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CNTL_ST_A, _VLV_AUD_CNTL_ST_B) argument 51 #define IBX_AUD_CFG(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CONFIG_A, _IBX_AUD_CONFIG_B) argument 54 #define CPT_AUD_CFG(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CONFIG_A, _CPT_AUD_CONFIG_B) argument 57 #define VLV_AUD_CFG(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CONFIG_A, _VLV_AUD_CONFIG_B) argument 137 #define HBLANK_EARLY_ENABLE_ICL(pipe) (0x1 << (20 - (pipe))) argument [all …]
|
| /linux/fs/ |
| H A D | pipe.c | 88 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument 90 if (pipe->files) in pipe_lock() 91 mutex_lock(&pipe->mutex); in pipe_lock() 95 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() argument 97 if (pipe->files) in pipe_unlock() 98 mutex_unlock(&pipe->mutex); in pipe_unlock() 114 static struct page *anon_pipe_get_page(struct pipe_inode_info *pipe) in anon_pipe_get_page() argument 116 for (int i = 0; i < ARRAY_SIZE(pipe->tmp_page); i++) { in anon_pipe_get_page() 117 if (pipe->tmp_page[i]) { in anon_pipe_get_page() 118 struct page *page = pipe->tmp_page[i]; in anon_pipe_get_page() [all …]
|
| H A D | splice.c | 64 static bool page_cache_pipe_buf_try_steal(struct pipe_inode_info *pipe, in page_cache_pipe_buf_try_steal() argument 108 static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, in page_cache_pipe_buf_release() argument 119 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, in page_cache_pipe_buf_confirm() argument 162 static bool user_page_pipe_buf_try_steal(struct pipe_inode_info *pipe, in user_page_pipe_buf_try_steal() argument 169 return generic_pipe_buf_try_steal(pipe, buf); in user_page_pipe_buf_try_steal() 178 static void wakeup_pipe_readers(struct pipe_inode_info *pipe) in wakeup_pipe_readers() argument 181 if (waitqueue_active(&pipe->rd_wait)) in wakeup_pipe_readers() 182 wake_up_interruptible(&pipe->rd_wait); in wakeup_pipe_readers() 183 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); in wakeup_pipe_readers() 197 ssize_t splice_to_pipe(struct pipe_inode_info *pipe, in splice_to_pipe() argument [all …]
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_pipeline.c | 21 struct komeda_pipeline *pipe; in komeda_pipeline_add() local 29 if (size < sizeof(*pipe)) { in komeda_pipeline_add() 34 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add() 35 if (!pipe) in komeda_pipeline_add() 38 pipe->mdev = mdev; in komeda_pipeline_add() 39 pipe->id = mdev->n_pipelines; in komeda_pipeline_add() 40 pipe->funcs = funcs; in komeda_pipeline_add() 42 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add() 45 return pipe; in komeda_pipeline_add() 49 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() argument [all …]
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_protocol_ops.c | 59 struct ipc_pipe *pipe = args->pipe_open.pipe; in ipc_protocol_msg_prepipe_open() local 72 skbr = kcalloc(pipe->nr_of_entries, sizeof(*skbr), GFP_ATOMIC); in ipc_protocol_msg_prepipe_open() 78 pipe->nr_of_entries * sizeof(*tdr), in ipc_protocol_msg_prepipe_open() 79 &pipe->phy_tdr_start, GFP_ATOMIC); in ipc_protocol_msg_prepipe_open() 86 pipe->max_nr_of_queued_entries = pipe->nr_of_entries - 1; in ipc_protocol_msg_prepipe_open() 87 pipe->nr_of_queued_entries = 0; in ipc_protocol_msg_prepipe_open() 88 pipe->tdr_start = tdr; in ipc_protocol_msg_prepipe_open() 89 pipe->skbr_start = skbr; in ipc_protocol_msg_prepipe_open() 90 pipe->old_tail = 0; in ipc_protocol_msg_prepipe_open() 92 ipc_protocol->p_ap_shm->head_array[pipe->pipe_nr] = 0; in ipc_protocol_msg_prepipe_open() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource_helpers.c | 114 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_merge_pipes_for_subvp() local 119 if (pipe->prev_odm_pipe) { in dcn32_merge_pipes_for_subvp() 121 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp() 122 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp() 123 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp() 125 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp() 126 pipe->next_odm_pipe = NULL; in dcn32_merge_pipes_for_subvp() 127 pipe->plane_state = NULL; in dcn32_merge_pipes_for_subvp() 128 pipe->stream = NULL; in dcn32_merge_pipes_for_subvp() 129 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp() [all …]
|
| /linux/include/xen/interface/io/ |
| H A D | usbif.h | 296 #define xenusb_pipeportnum(pipe) ((pipe) & XENUSB_PIPE_PORT_MASK) argument 297 #define xenusb_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument 299 #define xenusb_pipeunlink(pipe) ((pipe) & XENUSB_PIPE_UNLINK) argument 300 #define xenusb_pipesubmit(pipe) (!xenusb_pipeunlink(pipe)) argument 301 #define xenusb_setunlink_pipe(pipe) ((pipe) | XENUSB_PIPE_UNLINK) argument 303 #define xenusb_pipein(pipe) ((pipe) & XENUSB_PIPE_DIR) argument 304 #define xenusb_pipeout(pipe) (!xenusb_pipein(pipe)) argument 306 #define xenusb_pipedevice(pipe) \ argument 307 (((pipe) >> XENUSB_PIPE_DEV_SHIFT) & XENUSB_PIPE_DEV_MASK) 309 #define xenusb_pipeendpoint(pipe) \ argument [all …]
|
| /linux/drivers/platform/goldfish/ |
| H A D | goldfish_pipe.c | 217 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument 220 pipe->command_buffer->cmd = cmd; in goldfish_pipe_cmd_locked() 222 pipe->command_buffer->status = PIPE_ERROR_INVAL; in goldfish_pipe_cmd_locked() 223 writel(pipe->id, pipe->dev->base + PIPE_REG_CMD); in goldfish_pipe_cmd_locked() 224 return pipe->command_buffer->status; in goldfish_pipe_cmd_locked() 227 static int goldfish_pipe_cmd(struct goldfish_pipe *pipe, enum PipeCmdCode cmd) in goldfish_pipe_cmd() argument 231 if (mutex_lock_interruptible(&pipe->lock)) in goldfish_pipe_cmd() 233 status = goldfish_pipe_cmd_locked(pipe, cmd); in goldfish_pipe_cmd() 234 mutex_unlock(&pipe->lock); in goldfish_pipe_cmd() 324 static int transfer_max_buffers(struct goldfish_pipe *pipe, in transfer_max_buffers() argument [all …]
|
| /linux/net/nfc/hci/ |
| H A D | command.c | 19 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async() argument 23 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd_async() 29 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, in nfc_hci_execute_cmd_async() 55 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd() argument 65 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd() 71 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe, in nfc_hci_execute_cmd() 94 u8 pipe; in nfc_hci_send_event() local 98 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event() 99 if (pipe == NFC_HCI_INVALID_PIPE) in nfc_hci_send_event() 102 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event, in nfc_hci_send_event() [all …]
|
| /linux/net/sunrpc/ |
| H A D | rpc_pipe.c | 86 struct rpc_pipe *pipe = in rpc_timeout_upcall_queue() local 91 spin_lock(&pipe->lock); in rpc_timeout_upcall_queue() 92 destroy_msg = pipe->ops->destroy_msg; in rpc_timeout_upcall_queue() 93 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue() 94 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 95 pipe->pipelen = 0; in rpc_timeout_upcall_queue() 97 dentry = dget(pipe->dentry); in rpc_timeout_upcall_queue() 98 spin_unlock(&pipe->lock); in rpc_timeout_upcall_queue() 135 rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg) in rpc_queue_upcall() argument 140 spin_lock(&pipe->lock); in rpc_queue_upcall() [all …]
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_pp.c | 24 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_handle_irq() local 32 pipe->error = true; in lima_pp_handle_irq() 45 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_irq_handler() local 54 if (atomic_dec_and_test(&pipe->task)) in lima_pp_irq_handler() 55 lima_sched_pipe_task_done(pipe); in lima_pp_irq_handler() 66 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_bcast_irq_handler() local 70 if (!pipe->current_task) in lima_pp_bcast_irq_handler() 73 frame = pipe->current_task->frame; in lima_pp_bcast_irq_handler() 76 struct lima_ip *ip = pipe->processor[i]; in lima_pp_bcast_irq_handler() 79 if (pipe->done & (1 << i)) in lima_pp_bcast_irq_handler() [all …]
|
| /linux/include/linux/ |
| H A D | pipe_fs_i.h | 161 static inline bool pipe_has_watch_queue(const struct pipe_inode_info *pipe) in pipe_has_watch_queue() argument 164 return pipe->watch_queue != NULL; in pipe_has_watch_queue() 206 static inline bool pipe_is_full(const struct pipe_inode_info *pipe) in pipe_is_full() argument 208 return pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_is_full() 215 static inline bool pipe_is_empty(const struct pipe_inode_info *pipe) in pipe_is_empty() argument 217 return pipe_empty(pipe->head, pipe->tail); in pipe_is_empty() 224 static inline unsigned int pipe_buf_usage(const struct pipe_inode_info *pipe) in pipe_buf_usage() argument 226 return pipe_occupancy(pipe->head, pipe->tail); in pipe_buf_usage() 234 static inline struct pipe_buffer *pipe_buf(const struct pipe_inode_info *pipe, in pipe_buf() argument 237 return &pipe->bufs[slot & (pipe->ring_size - 1)]; in pipe_buf() [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | usb.c | 80 struct ath6kl_usb_pipe *pipe; member 131 ath6kl_usb_alloc_urb_from_pipe(struct ath6kl_usb_pipe *pipe) in ath6kl_usb_alloc_urb_from_pipe() argument 137 if (!pipe->ar_usb) in ath6kl_usb_alloc_urb_from_pipe() 140 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe() 141 if (!list_empty(&pipe->urb_list_head)) { in ath6kl_usb_alloc_urb_from_pipe() 143 list_first_entry(&pipe->urb_list_head, in ath6kl_usb_alloc_urb_from_pipe() 146 pipe->urb_cnt--; in ath6kl_usb_alloc_urb_from_pipe() 148 spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe() 153 static void ath6kl_usb_free_urb_to_pipe(struct ath6kl_usb_pipe *pipe, in ath6kl_usb_free_urb_to_pipe() argument 159 if (!pipe->ar_usb) in ath6kl_usb_free_urb_to_pipe() [all …]
|
| /linux/include/drm/ |
| H A D | drm_simple_kms_helper.h | 52 enum drm_mode_status (*mode_valid)(struct drm_simple_display_pipe *pipe, 62 void (*enable)(struct drm_simple_display_pipe *pipe, 72 void (*disable)(struct drm_simple_display_pipe *pipe); 91 int (*check)(struct drm_simple_display_pipe *pipe, 109 void (*update)(struct drm_simple_display_pipe *pipe, 125 int (*prepare_fb)(struct drm_simple_display_pipe *pipe, 135 void (*cleanup_fb)(struct drm_simple_display_pipe *pipe, 145 int (*begin_fb_access)(struct drm_simple_display_pipe *pipe, 155 void (*end_fb_access)(struct drm_simple_display_pipe *pipe, 165 int (*enable_vblank)(struct drm_simple_display_pipe *pipe); [all …]
|
| /linux/net/nfc/nci/ |
| H A D | hci.c | 21 u8 pipe; member 38 u8 pipe; member 42 u8 pipe; member 142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() argument 149 u8 cb = pipe; in nci_hci_send_data() 203 nci_hci_send_data(ndev, data->pipe, data->cmd, in nci_hci_send_data_req() 210 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() local 212 if (pipe == NCI_HCI_INVALID_PIPE) in nci_hci_send_event() 215 return nci_hci_send_data(ndev, pipe, in nci_hci_send_event() 229 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() local [all …]
|
| /linux/drivers/rpmsg/ |
| H A D | qcom_glink_smem.c | 65 struct glink_smem_pipe *pipe = to_smem_pipe(np); in glink_smem_rx_avail() local 66 struct qcom_glink_smem *smem = pipe->smem; in glink_smem_rx_avail() 72 if (!pipe->fifo) { in glink_smem_rx_avail() 81 pipe->fifo = fifo; in glink_smem_rx_avail() 82 pipe->native.length = len; in glink_smem_rx_avail() 85 head = le32_to_cpu(*pipe->head); in glink_smem_rx_avail() 86 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_avail() 89 return pipe->native.length - tail + head; in glink_smem_rx_avail() 97 struct glink_smem_pipe *pipe = to_smem_pipe(np); in glink_smem_rx_peek() local 101 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_peek() [all …]
|