/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | pipe.c | 11 #include "pipe.h" 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() 75 __usbhsp_pipe_xxx_set(struct usbhs_pipe *pipe, u16 dcp_reg, u16 pipe_reg, u16 mask, u16 val) __usbhsp_pipe_xxx_set() argument 87 __usbhsp_pipe_xxx_get(struct usbhs_pipe *pipe, u16 dcp_reg, u16 pipe_reg) __usbhsp_pipe_xxx_get() argument 101 usbhsp_pipe_cfg_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_cfg_set() argument 106 usbhsp_pipe_cfg_get(struct usbhs_pipe *pipe) usbhsp_pipe_cfg_get() argument 114 usbhsp_pipe_trn_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_trn_set() argument 150 usbhsp_pipe_tre_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_tre_set() argument 190 usbhsp_pipe_buf_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_buf_set() argument 201 usbhsp_pipe_maxp_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_maxp_set() argument 209 usbhsp_pipe_select(struct usbhs_pipe *pipe) usbhsp_pipe_select() argument 231 usbhsp_pipe_barrier(struct usbhs_pipe *pipe) usbhsp_pipe_barrier() argument 269 usbhs_pipe_is_accessible(struct usbhs_pipe *pipe) usbhs_pipe_is_accessible() argument 280 usbhs_pipe_contains_transmittable_data(struct usbhs_pipe *pipe) usbhs_pipe_contains_transmittable_data() argument 298 __usbhsp_pid_try_nak_if_stall(struct usbhs_pipe *pipe) __usbhsp_pid_try_nak_if_stall() argument 317 usbhs_pipe_disable(struct usbhs_pipe *pipe) usbhs_pipe_disable() argument 337 usbhs_pipe_enable(struct usbhs_pipe *pipe) usbhs_pipe_enable() argument 345 usbhs_pipe_stall(struct usbhs_pipe *pipe) usbhs_pipe_stall() argument 365 usbhs_pipe_is_stall(struct usbhs_pipe *pipe) usbhs_pipe_is_stall() argument 372 usbhs_pipe_set_trans_count_if_bulk(struct usbhs_pipe *pipe, int len) usbhs_pipe_set_trans_count_if_bulk() argument 400 usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, int dir_in, u16 *pipecfg) usbhsp_setup_pipecfg() argument 469 usbhsp_setup_pipebuff(struct usbhs_pipe *pipe) usbhsp_setup_pipebuff() argument 502 usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel, u16 epnum, u16 maxp) usbhs_pipe_config_update() argument 535 usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe) usbhs_pipe_get_maxpacket() argument 545 usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe) usbhs_pipe_is_dir_in() argument 550 usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe) usbhs_pipe_is_dir_host() argument 555 usbhs_pipe_is_running(struct usbhs_pipe *pipe) usbhs_pipe_is_running() argument 560 usbhs_pipe_running(struct usbhs_pipe *pipe, int running) usbhs_pipe_running() argument 568 usbhs_pipe_data_sequence(struct usbhs_pipe *pipe, int sequence) usbhs_pipe_data_sequence() argument 593 usbhs_pipe_get_data_sequence(struct usbhs_pipe *pipe) usbhs_pipe_get_data_sequence() argument 598 usbhs_pipe_clear(struct usbhs_pipe *pipe) usbhs_pipe_clear() argument 609 usbhs_pipe_clear_without_sequence(struct usbhs_pipe *pipe, int needs_bfre, int bfre_enable) usbhs_pipe_clear_without_sequence() argument 622 usbhs_pipe_config_change_bfre(struct usbhs_pipe *pipe, int enable) usbhs_pipe_config_change_bfre() argument 637 struct usbhs_pipe *pos, *pipe; usbhsp_get_pipe() local 666 usbhsp_put_pipe(struct usbhs_pipe *pipe) usbhsp_put_pipe() argument 676 struct usbhs_pipe *pipe; usbhs_pipe_init() local 697 struct usbhs_pipe *pipe; usbhs_pipe_malloc() local 747 usbhs_pipe_free(struct usbhs_pipe *pipe) usbhs_pipe_free() argument 754 usbhs_pipe_select_fifo(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhs_pipe_select_fifo() argument 771 struct usbhs_pipe *pipe; usbhs_dcp_malloc() local 786 usbhs_dcp_control_transfer_done(struct usbhs_pipe *pipe) usbhs_dcp_control_transfer_done() argument 798 usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out) usbhs_dcp_dir_for_host() argument 810 struct usbhs_pipe *pipe; usbhs_pipe_probe() local [all...] |
H A D | fifo.c | 13 #include "pipe.h" 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() 92 __usbhsf_pkt_get(struct usbhs_pipe *pipe) __usbhsf_pkt_get() argument 106 usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) usbhs_pkt_pop() argument 156 usbhsf_pkt_handler(struct usbhs_pipe *pipe, int type) usbhsf_pkt_handler() argument 206 usbhs_pkt_start(struct usbhs_pipe *pipe) usbhs_pkt_start() argument 230 usbhsf_tx_irq_ctrl(struct usbhs_pipe *pipe, int enable) usbhsf_tx_irq_ctrl() argument 247 usbhsf_rx_irq_ctrl(struct usbhs_pipe *pipe, int enable) usbhsf_rx_irq_ctrl() argument 255 usbhsf_send_terminator(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_send_terminator() argument 273 usbhsf_fifo_clear(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_fifo_clear() argument 305 usbhsf_fifo_unselect(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_fifo_unselect() argument 314 usbhsf_fifo_select(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo, int write) usbhsf_fifo_select() argument 357 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_to_write() local 386 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_to_read() local 414 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_done() local 442 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dcp_data_stage_try_push() local 464 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dcp_data_stage_prepare_pop() local 502 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_pio_try_push() local 620 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_prepare_pop() local 649 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_pio_try_pop() local 794 __usbhsf_dma_ctrl(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo, u16 dreqe) __usbhsf_dma_ctrl() argument 805 struct usbhs_pipe *pipe = pkt->pipe; __usbhsf_dma_map_ctrl() local 818 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_xfer_preparing() local 862 struct usbhs_pipe *pipe = pkt->pipe; xfer_work() local 876 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_prepare_push() local 943 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_push_done() local 988 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_prepare_pop_with_usb_dmac() local 1061 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_try_pop_with_rx_irq() local 1139 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_pop_done_with_rx_irq() local 1164 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dma_calc_received_size() local 1182 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_pop_done_with_usb_dmac() local 1317 struct usbhs_pipe *pipe; usbhsf_irq_empty() local 1347 struct usbhs_pipe *pipe; usbhsf_irq_ready() local 1378 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_complete() local 1390 usbhs_fifo_clear_dcp(struct usbhs_pipe *pipe) usbhs_fifo_clear_dcp() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | pipe.c | 11 #include "pipe.h" 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() 75 __usbhsp_pipe_xxx_set(struct usbhs_pipe *pipe, u16 dcp_reg, u16 pipe_reg, u16 mask, u16 val) __usbhsp_pipe_xxx_set() argument 87 __usbhsp_pipe_xxx_get(struct usbhs_pipe *pipe, u16 dcp_reg, u16 pipe_reg) __usbhsp_pipe_xxx_get() argument 101 usbhsp_pipe_cfg_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_cfg_set() argument 106 usbhsp_pipe_cfg_get(struct usbhs_pipe *pipe) usbhsp_pipe_cfg_get() argument 114 usbhsp_pipe_trn_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_trn_set() argument 150 usbhsp_pipe_tre_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_tre_set() argument 190 usbhsp_pipe_buf_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_buf_set() argument 201 usbhsp_pipe_maxp_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_maxp_set() argument 209 usbhsp_pipe_select(struct usbhs_pipe *pipe) usbhsp_pipe_select() argument 231 usbhsp_pipe_barrier(struct usbhs_pipe *pipe) usbhsp_pipe_barrier() argument 269 usbhs_pipe_is_accessible(struct usbhs_pipe *pipe) usbhs_pipe_is_accessible() argument 280 usbhs_pipe_contains_transmittable_data(struct usbhs_pipe *pipe) usbhs_pipe_contains_transmittable_data() argument 298 __usbhsp_pid_try_nak_if_stall(struct usbhs_pipe *pipe) __usbhsp_pid_try_nak_if_stall() argument 317 usbhs_pipe_disable(struct usbhs_pipe *pipe) usbhs_pipe_disable() argument 337 usbhs_pipe_enable(struct usbhs_pipe *pipe) usbhs_pipe_enable() argument 345 usbhs_pipe_stall(struct usbhs_pipe *pipe) usbhs_pipe_stall() argument 365 usbhs_pipe_is_stall(struct usbhs_pipe *pipe) usbhs_pipe_is_stall() argument 372 usbhs_pipe_set_trans_count_if_bulk(struct usbhs_pipe *pipe, int len) usbhs_pipe_set_trans_count_if_bulk() argument 400 usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, int dir_in, u16 *pipecfg) usbhsp_setup_pipecfg() argument 469 usbhsp_setup_pipebuff(struct usbhs_pipe *pipe) usbhsp_setup_pipebuff() argument 502 usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel, u16 epnum, u16 maxp) usbhs_pipe_config_update() argument 535 usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe) usbhs_pipe_get_maxpacket() argument 545 usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe) usbhs_pipe_is_dir_in() argument 550 usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe) usbhs_pipe_is_dir_host() argument 555 usbhs_pipe_is_running(struct usbhs_pipe *pipe) usbhs_pipe_is_running() argument 560 usbhs_pipe_running(struct usbhs_pipe *pipe, int running) usbhs_pipe_running() argument 568 usbhs_pipe_data_sequence(struct usbhs_pipe *pipe, int sequence) usbhs_pipe_data_sequence() argument 593 usbhs_pipe_get_data_sequence(struct usbhs_pipe *pipe) usbhs_pipe_get_data_sequence() argument 598 usbhs_pipe_clear(struct usbhs_pipe *pipe) usbhs_pipe_clear() argument 609 usbhs_pipe_clear_without_sequence(struct usbhs_pipe *pipe, int needs_bfre, int bfre_enable) usbhs_pipe_clear_without_sequence() argument 622 usbhs_pipe_config_change_bfre(struct usbhs_pipe *pipe, int enable) usbhs_pipe_config_change_bfre() argument 637 struct usbhs_pipe *pos, *pipe; usbhsp_get_pipe() local 666 usbhsp_put_pipe(struct usbhs_pipe *pipe) usbhsp_put_pipe() argument 676 struct usbhs_pipe *pipe; usbhs_pipe_init() local 697 struct usbhs_pipe *pipe; usbhs_pipe_malloc() local 747 usbhs_pipe_free(struct usbhs_pipe *pipe) usbhs_pipe_free() argument 754 usbhs_pipe_select_fifo(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhs_pipe_select_fifo() argument 771 struct usbhs_pipe *pipe; usbhs_dcp_malloc() local 786 usbhs_dcp_control_transfer_done(struct usbhs_pipe *pipe) usbhs_dcp_control_transfer_done() argument 798 usbhs_dcp_dir_for_host(struct usbhs_pipe *pipe, int dir_out) usbhs_dcp_dir_for_host() argument 810 struct usbhs_pipe *pipe; usbhs_pipe_probe() local [all...] |
H A D | fifo.c | 13 #include "pipe.h" 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() 92 __usbhsf_pkt_get(struct usbhs_pipe *pipe) __usbhsf_pkt_get() argument 106 usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) usbhs_pkt_pop() argument 156 usbhsf_pkt_handler(struct usbhs_pipe *pipe, int type) usbhsf_pkt_handler() argument 208 usbhs_pkt_start(struct usbhs_pipe *pipe) usbhs_pkt_start() argument 232 usbhsf_tx_irq_ctrl(struct usbhs_pipe *pipe, int enable) usbhsf_tx_irq_ctrl() argument 249 usbhsf_rx_irq_ctrl(struct usbhs_pipe *pipe, int enable) usbhsf_rx_irq_ctrl() argument 257 usbhsf_send_terminator(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_send_terminator() argument 275 usbhsf_fifo_clear(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_fifo_clear() argument 307 usbhsf_fifo_unselect(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo) usbhsf_fifo_unselect() argument 316 usbhsf_fifo_select(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo, int write) usbhsf_fifo_select() argument 359 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_to_write() local 388 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_to_read() local 416 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dcp_dir_switch_done() local 444 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dcp_data_stage_try_push() local 466 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dcp_data_stage_prepare_pop() local 504 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_pio_try_push() local 622 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_prepare_pop() local 651 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_pio_try_pop() local 796 __usbhsf_dma_ctrl(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo, u16 dreqe) __usbhsf_dma_ctrl() argument 807 struct usbhs_pipe *pipe = pkt->pipe; __usbhsf_dma_map_ctrl() local 820 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_xfer_preparing() local 864 struct usbhs_pipe *pipe = pkt->pipe; xfer_work() local 878 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_prepare_push() local 945 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_push_done() local 990 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_prepare_pop_with_usb_dmac() local 1063 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_try_pop_with_rx_irq() local 1141 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_pop_done_with_rx_irq() local 1166 struct usbhs_pipe *pipe = pkt->pipe; usbhs_dma_calc_received_size() local 1184 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_pop_done_with_usb_dmac() local 1319 struct usbhs_pipe *pipe; usbhsf_irq_empty() local 1349 struct usbhs_pipe *pipe; usbhsf_irq_ready() local 1380 struct usbhs_pipe *pipe = pkt->pipe; usbhsf_dma_complete() local 1392 usbhs_fifo_clear_dcp(struct usbhs_pipe *pipe) usbhs_fifo_clear_dcp() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-hw.c | 16 static inline u32 mxc_isi_read(struct mxc_isi_pipe *pipe, u32 reg) in mxc_isi_read() argument 18 return readl(pipe->regs + reg); in mxc_isi_read() 21 static inline void mxc_isi_write(struct mxc_isi_pipe *pipe, u32 reg, u32 val) in mxc_isi_write() argument 23 writel(val, pipe->regs + reg); in mxc_isi_write() 30 void mxc_isi_channel_set_inbuf(struct mxc_isi_pipe *pipe, dma_addr_t dma_addr) in mxc_isi_channel_set_inbuf() argument 32 mxc_isi_write(pipe, CHNL_IN_BUF_ADDR, lower_32_bits(dma_addr)); in mxc_isi_channel_set_inbuf() 33 if (pipe->isi->pdata->has_36bit_dma) in mxc_isi_channel_set_inbuf() 34 mxc_isi_write(pipe, CHNL_IN_BUF_XTND_ADDR, in mxc_isi_channel_set_inbuf() 38 void mxc_isi_channel_set_outbuf(struct mxc_isi_pipe *pipe, in mxc_isi_channel_set_outbuf() argument 44 val = mxc_isi_read(pipe, CHNL_OUT_BUF_CTR in mxc_isi_channel_set_outbuf() 83 mxc_isi_channel_m2m_start(struct mxc_isi_pipe *pipe) mxc_isi_channel_m2m_start() argument 118 mxc_isi_channel_set_scaling(struct mxc_isi_pipe *pipe, enum mxc_isi_encoding encoding, const struct v4l2_area *in_size, const struct v4l2_area *out_size, bool *bypass) mxc_isi_channel_set_scaling() argument 169 mxc_isi_channel_set_crop(struct mxc_isi_pipe *pipe, const struct v4l2_area *src, const struct v4l2_rect *dst) mxc_isi_channel_set_crop() argument 208 mxc_isi_channel_set_csc(struct mxc_isi_pipe *pipe, enum mxc_isi_encoding in_encoding, enum mxc_isi_encoding out_encoding, bool *bypass) mxc_isi_channel_set_csc() argument 259 mxc_isi_channel_set_alpha(struct mxc_isi_pipe *pipe, u8 alpha) mxc_isi_channel_set_alpha() argument 270 mxc_isi_channel_set_flip(struct mxc_isi_pipe *pipe, bool hflip, bool vflip) mxc_isi_channel_set_flip() argument 285 mxc_isi_channel_set_panic_threshold(struct mxc_isi_pipe *pipe) mxc_isi_channel_set_panic_threshold() argument 304 mxc_isi_channel_set_control(struct mxc_isi_pipe *pipe, enum mxc_isi_input_id input, bool bypass) mxc_isi_channel_set_control() argument 353 mxc_isi_channel_config(struct mxc_isi_pipe *pipe, enum mxc_isi_input_id input, const struct v4l2_area *in_size, const struct v4l2_area *scale, const struct v4l2_rect *crop, enum mxc_isi_encoding in_encoding, enum mxc_isi_encoding out_encoding) mxc_isi_channel_config() argument 384 mxc_isi_channel_set_input_format(struct mxc_isi_pipe *pipe, const struct mxc_isi_format_info *info, const struct v4l2_pix_format_mplane *format) mxc_isi_channel_set_input_format() argument 396 mxc_isi_channel_set_output_format(struct mxc_isi_pipe *pipe, const struct mxc_isi_format_info *info, struct v4l2_pix_format_mplane *format) mxc_isi_channel_set_output_format() argument 419 mxc_isi_channel_irq_status(struct mxc_isi_pipe *pipe, bool clear) mxc_isi_channel_irq_status() argument 430 mxc_isi_channel_irq_clear(struct mxc_isi_pipe *pipe) mxc_isi_channel_irq_clear() argument 435 mxc_isi_channel_irq_enable(struct mxc_isi_pipe *pipe) mxc_isi_channel_irq_enable() argument 464 mxc_isi_channel_irq_disable(struct mxc_isi_pipe *pipe) mxc_isi_channel_irq_disable() argument 473 mxc_isi_channel_sw_reset(struct mxc_isi_pipe *pipe, bool enable_clk) mxc_isi_channel_sw_reset() argument 480 __mxc_isi_channel_get(struct mxc_isi_pipe *pipe) __mxc_isi_channel_get() argument 486 mxc_isi_channel_get(struct mxc_isi_pipe *pipe) mxc_isi_channel_get() argument 493 __mxc_isi_channel_put(struct mxc_isi_pipe *pipe) __mxc_isi_channel_put() argument 499 mxc_isi_channel_put(struct mxc_isi_pipe *pipe) mxc_isi_channel_put() argument 506 mxc_isi_channel_enable(struct mxc_isi_pipe *pipe) mxc_isi_channel_enable() argument 521 mxc_isi_channel_disable(struct mxc_isi_pipe *pipe) mxc_isi_channel_disable() argument 539 mxc_isi_channel_acquire(struct mxc_isi_pipe *pipe, mxc_isi_pipe_irq_t irq_handler, bool bypass) mxc_isi_channel_acquire() argument 575 mxc_isi_channel_release(struct mxc_isi_pipe *pipe) mxc_isi_channel_release() argument 592 mxc_isi_channel_chain(struct mxc_isi_pipe *pipe, bool bypass) mxc_isi_channel_chain() argument 634 mxc_isi_channel_unchain(struct mxc_isi_pipe *pipe) mxc_isi_channel_unchain() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_dpi.c | 39 int pipe); 41 static void mdfld_wait_for_HS_DATA_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_DATA_FIFO() argument 43 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_DATA_FIFO() 59 static void mdfld_wait_for_HS_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_CTRL_FIFO() argument 61 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_CTRL_FIFO() 76 static void mdfld_wait_for_DPI_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_DPI_CTRL_FIFO() argument 78 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_DPI_CTRL_FIFO() 94 static void mdfld_wait_for_SPL_PKG_SENT(struct drm_device *dev, u32 pipe) in mdfld_wait_for_SPL_PKG_SENT() argument 96 u32 intr_stat_reg = MIPI_INTR_STAT_REG(pipe); in mdfld_wait_for_SPL_PKG_SENT() 115 int pipe) in dsi_set_device_ready_state() 114 dsi_set_device_ready_state(struct drm_device *dev, int state, int pipe) dsi_set_device_ready_state() argument 120 dsi_set_pipe_plane_enable_state(struct drm_device *dev, int state, int pipe) dsi_set_pipe_plane_enable_state() argument 177 mdfld_dsi_configure_down(struct mdfld_dsi_encoder *dsi_encoder, int pipe) mdfld_dsi_configure_down() argument 198 mdfld_dsi_configure_up(struct mdfld_dsi_encoder *dsi_encoder, int pipe) mdfld_dsi_configure_up() argument 233 mdfld_dsi_tpo_ic_init(struct mdfld_dsi_config *dsi_config, u32 pipe) mdfld_dsi_tpo_ic_init() argument 470 mdfld_dsi_dpi_controller_init(struct mdfld_dsi_config *dsi_config, int pipe) mdfld_dsi_dpi_controller_init() argument 572 mdfld_dsi_dpi_turn_on(struct mdfld_dsi_dpi_output *output, int pipe) mdfld_dsi_dpi_turn_on() argument 601 mdfld_dsi_dpi_shut_down(struct mdfld_dsi_dpi_output *output, int pipe) mdfld_dsi_dpi_shut_down() argument 644 int pipe = mdfld_dsi_encoder_get_pipe(dsi_encoder); mdfld_dsi_dpi_set_power() local 727 mipi_set_properties(struct mdfld_dsi_config *dsi_config, int pipe) mipi_set_properties() argument 745 mdfld_mipi_set_video_timing(struct mdfld_dsi_config *dsi_config, int pipe) mdfld_mipi_set_video_timing() argument 774 mdfld_mipi_config(struct mdfld_dsi_config *dsi_config, int pipe) mdfld_mipi_config() argument 796 mdfld_set_pipe_timing(struct mdfld_dsi_config *dsi_config, int pipe) mdfld_set_pipe_timing() argument 827 int pipe = mdfld_dsi_encoder_get_pipe(dsi_encoder); mdfld_dsi_dpi_mode_set() local 947 int pipe; mdfld_dsi_dpi_init() local [all...] |
H A D | mdfld_dsi_output.h | 75 #define CHECK_PIPE(pipe) ({ \ 76 const typeof(pipe) __pipe = (pipe); \ 80 #define CHECK_PIPE(pipe) (pipe) 86 #define REG_OFFSET(pipe) (CHECK_PIPE(pipe) * 0x400) 89 #define MIPI_DEVICE_READY_REG(pipe) (0xb000 + REG_OFFSET(pipe)) 90 #define MIPI_INTR_STAT_REG(pipe) ( 232 int pipe; global() member [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | pipe.c | 3 * linux/fs/pipe.c 35 * New pipe buffers will be restricted to this size while the user is exceeding 36 * their pipe buffer quota. The general pipe use case needs at least two 38 * than two, then a write to a non-empty pipe may block even if the pipe is not 41 * pipe before reading tokens: https://lore.kernel.org/lkml/1628086770.5rn8p04n6j.none@localhost/. 43 * Users can reduce their pipe buffers with F_SETPIPE_SZ below this at their 44 * own risk, namely: pipe writes to non-full pipes may block until the pipe i 78 pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) pipe_lock_nested() argument 84 pipe_lock(struct pipe_inode_info *pipe) pipe_lock() argument 93 pipe_unlock(struct pipe_inode_info *pipe) pipe_unlock() argument 100 __pipe_lock(struct pipe_inode_info *pipe) __pipe_lock() argument 105 __pipe_unlock(struct pipe_inode_info *pipe) __pipe_unlock() argument 124 anon_pipe_buf_release(struct pipe_inode_info *pipe, struct pipe_buffer *buf) anon_pipe_buf_release() argument 140 anon_pipe_buf_try_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf) anon_pipe_buf_try_steal() argument 164 generic_pipe_buf_try_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_try_steal() argument 192 generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_get() argument 206 generic_pipe_buf_release(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_release() argument 220 pipe_readable(const struct pipe_inode_info *pipe) pipe_readable() argument 234 struct pipe_inode_info *pipe = filp->private_data; pipe_read() local 404 pipe_writable(const struct pipe_inode_info *pipe) pipe_writable() argument 418 struct pipe_inode_info *pipe = filp->private_data; pipe_write() local 606 struct pipe_inode_info *pipe = filp->private_data; pipe_ioctl() local 649 struct pipe_inode_info *pipe = filp->private_data; pipe_poll() local 696 put_pipe_info(struct inode *inode, struct pipe_inode_info *pipe) put_pipe_info() argument 714 struct pipe_inode_info *pipe = file->private_data; pipe_release() local 738 struct pipe_inode_info *pipe = filp->private_data; pipe_fasync() local 781 struct pipe_inode_info *pipe; alloc_pipe_info() local 827 free_pipe_info(struct pipe_inode_info *pipe) free_pipe_info() argument 871 struct pipe_inode_info *pipe; get_pipe_inode() local 1042 pipe_wait_readable(struct pipe_inode_info *pipe) pipe_wait_readable() argument 1049 pipe_wait_writable(struct pipe_inode_info *pipe) pipe_wait_writable() argument 1068 wait_for_partner(struct pipe_inode_info *pipe, unsigned int *cnt) wait_for_partner() argument 1085 wake_up_partner(struct pipe_inode_info *pipe) wake_up_partner() argument 1092 struct pipe_inode_info *pipe; fifo_open() local 1250 pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) pipe_resize_ring() argument 1319 pipe_set_size(struct pipe_inode_info *pipe, unsigned long arg) pipe_set_size() argument 1373 struct pipe_inode_info *pipe = file->private_data; get_pipe_info() local 1384 struct pipe_inode_info *pipe; pipe_fcntl() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | pipe.c | 3 * linux/fs/pipe.c 36 * New pipe buffers will be restricted to this size while the user is exceeding 37 * their pipe buffer quota. The general pipe use case needs at least two 39 * than two, then a write to a non-empty pipe may block even if the pipe is not 42 * pipe before reading tokens: https://lore.kernel.org/lkml/1628086770.5rn8p04n6j.none@localhost/. 44 * Users can reduce their pipe buffers with F_SETPIPE_SZ below this at their 45 * own risk, namely: pipe writes to non-full pipes may block until the pipe i 79 pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) pipe_lock_nested() argument 85 pipe_lock(struct pipe_inode_info *pipe) pipe_lock() argument 94 pipe_unlock(struct pipe_inode_info *pipe) pipe_unlock() argument 101 __pipe_lock(struct pipe_inode_info *pipe) __pipe_lock() argument 106 __pipe_unlock(struct pipe_inode_info *pipe) __pipe_unlock() argument 125 anon_pipe_buf_release(struct pipe_inode_info *pipe, struct pipe_buffer *buf) anon_pipe_buf_release() argument 141 anon_pipe_buf_try_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf) anon_pipe_buf_try_steal() argument 165 generic_pipe_buf_try_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_try_steal() argument 193 generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_get() argument 207 generic_pipe_buf_release(struct pipe_inode_info *pipe, struct pipe_buffer *buf) generic_pipe_buf_release() argument 221 pipe_readable(const struct pipe_inode_info *pipe) pipe_readable() argument 235 struct pipe_inode_info *pipe = filp->private_data; pipe_read() local 406 pipe_writable(const struct pipe_inode_info *pipe) pipe_writable() argument 420 struct pipe_inode_info *pipe = filp->private_data; pipe_write() local 608 struct pipe_inode_info *pipe = filp->private_data; pipe_ioctl() local 651 struct pipe_inode_info *pipe = filp->private_data; pipe_poll() local 698 put_pipe_info(struct inode *inode, struct pipe_inode_info *pipe) put_pipe_info() argument 716 struct pipe_inode_info *pipe = file->private_data; pipe_release() local 740 struct pipe_inode_info *pipe = filp->private_data; pipe_fasync() local 783 struct pipe_inode_info *pipe; alloc_pipe_info() local 829 free_pipe_info(struct pipe_inode_info *pipe) free_pipe_info() argument 873 struct pipe_inode_info *pipe; get_pipe_inode() local 1047 pipe_wait_readable(struct pipe_inode_info *pipe) pipe_wait_readable() argument 1054 pipe_wait_writable(struct pipe_inode_info *pipe) pipe_wait_writable() argument 1073 wait_for_partner(struct pipe_inode_info *pipe, unsigned int *cnt) wait_for_partner() argument 1090 wake_up_partner(struct pipe_inode_info *pipe) wake_up_partner() argument 1097 struct pipe_inode_info *pipe; fifo_open() local 1255 pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) pipe_resize_ring() argument 1324 pipe_set_size(struct pipe_inode_info *pipe, unsigned int arg) pipe_set_size() argument 1377 struct pipe_inode_info *pipe = file->private_data; get_pipe_info() local 1388 struct pipe_inode_info *pipe; pipe_fcntl() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_context.c | 33 #include "pipe/p_format.h" 34 #include "pipe/p_screen.h" 98 struct pipe_context *pipe = tr_ctx->pipe; in dump_fb_state() local 103 trace_dump_arg(ptr, pipe); in dump_fb_state() 122 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_draw_vbo() local 129 trace_dump_arg(ptr, pipe); in trace_context_draw_vbo() 140 pipe->draw_vbo(pipe, inf in trace_context_draw_vbo() 155 struct pipe_context *pipe = tr_ctx->pipe; trace_context_draw_vertex_state() local 185 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_query() local 223 struct pipe_context *pipe = tr_ctx->pipe; trace_context_destroy_query() local 245 struct pipe_context *pipe = tr_ctx->pipe; trace_context_begin_query() local 267 struct pipe_context *pipe = tr_ctx->pipe; trace_context_end_query() local 293 struct pipe_context *pipe = tr_ctx->pipe; trace_context_get_query_result() local 334 struct pipe_context *pipe = tr_ctx->pipe; trace_context_get_query_result_resource() local 362 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_active_query_state() local 380 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_blend_state() local 409 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_blend_state() local 434 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_blend_state() local 460 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_sampler_state() local 486 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_sampler_states() local 510 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_sampler_state() local 528 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_rasterizer_state() local 557 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_rasterizer_state() local 582 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_rasterizer_state() local 608 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_depth_stencil_alpha_state() local 637 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_depth_stencil_alpha_state() local 662 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_depth_stencil_alpha_state() local 738 struct pipe_context *pipe = tr_ctx->pipe; trace_context_link_shader() local 752 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_compute_state() local 769 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_compute_state() local 783 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_compute_state() local 798 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_vertex_elements_state() local 825 struct pipe_context *pipe = tr_ctx->pipe; trace_context_bind_vertex_elements_state() local 843 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_vertex_elements_state() local 861 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_blend_color() local 879 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_stencil_ref() local 897 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_clip_state() local 914 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_sample_mask() local 933 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_constant_buffer() local 954 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_framebuffer_state() local 976 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_inlinable_constants() local 996 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_polygon_stipple() local 1013 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_min_samples() local 1033 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_scissor_states() local 1055 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_viewport_states() local 1076 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_sampler_view() local 1119 struct pipe_context *pipe = tr_ctx->pipe; trace_context_sampler_view_destroy() local 1147 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_surface() local 1177 struct pipe_context *pipe = tr_ctx->pipe; trace_context_surface_destroy() local 1203 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_sampler_views() local 1248 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_vertex_buffers() local 1277 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_stream_output_target() local 1304 struct pipe_context *pipe = tr_ctx->pipe; trace_context_stream_output_target_destroy() local 1324 struct pipe_context *pipe = tr_ctx->pipe; trace_context_set_stream_output_targets() local 1349 struct pipe_context *pipe = tr_ctx->pipe; trace_context_resource_copy_region() local 1376 struct pipe_context *pipe = tr_ctx->pipe; trace_context_blit() local 1395 struct pipe_context *pipe = tr_ctx->pipe; trace_context_flush_resource() local 1417 struct pipe_context *pipe = tr_ctx->pipe; trace_context_clear() local 1448 struct pipe_context *pipe = tr_ctx->pipe; trace_context_clear_render_target() local 1480 struct pipe_context *pipe = tr_ctx->pipe; trace_context_clear_depth_stencil() local 1513 struct pipe_context *pipe = tr_ctx->pipe; trace_context_clear_buffer() local 1539 struct pipe_context *pipe = tr_ctx->pipe; trace_context_clear_texture() local 1575 struct pipe_context *pipe = tr_ctx->pipe; trace_context_flush() local 1603 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_fence_fd() local 1625 struct pipe_context *pipe = tr_ctx->pipe; trace_context_fence_server_sync() local 1643 struct pipe_context *pipe = tr_ctx->pipe; trace_context_fence_server_signal() local 1666 struct pipe_context *pipe = tr_ctx->pipe; trace_context_generate_mipmap() local 1694 struct pipe_context *pipe = tr_ctx->pipe; trace_context_destroy() local 1720 struct pipe_context *pipe = tr_context->pipe; trace_context_transfer_map() local 1760 struct pipe_context *pipe = tr_context->pipe; trace_context_transfer_flush_region() local 2159 struct pipe_context *pipe = tr_ctx->pipe; trace_context_launch_grid() local 2178 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_texture_handle() local 2200 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_texture_handle() local 2215 struct pipe_context *pipe = tr_ctx->pipe; trace_context_make_texture_handle_resident() local 2230 struct pipe_context *pipe = tr_ctx->pipe; trace_context_create_image_handle() local 2251 struct pipe_context *pipe = tr_ctx->pipe; trace_context_delete_image_handle() local 2267 struct pipe_context *pipe = tr_ctx->pipe; trace_context_make_image_handle_resident() local 2280 trace_context_create(struct trace_screen *tr_scr, struct pipe_context *pipe) trace_context_create() argument 2429 trace_context_check(const struct pipe_context *pipe) trace_context_check() argument 2439 trace_get_possibly_threaded_context(struct pipe_context *pipe) trace_get_possibly_threaded_context() argument [all...] |
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_pipe.c | 37 struct fd_pipe *pipe; in fd_pipe_new2() local 41 ERROR_MSG("invalid pipe id: %d", id); in fd_pipe_new2() 50 pipe = dev->funcs->pipe_new(dev, id, prio); in fd_pipe_new2() 51 if (!pipe) { in fd_pipe_new2() 56 pipe->dev = fd_device_ref(dev); in fd_pipe_new2() 57 pipe->id = id; in fd_pipe_new2() 58 p_atomic_set(&pipe->refcnt, 1); in fd_pipe_new2() 60 fd_pipe_get_param(pipe, FD_GPU_ID, &val); in fd_pipe_new2() 61 pipe->dev_id.gpu_id = val; in fd_pipe_new2() 63 fd_pipe_get_param(pipe, FD_CHIP_I in fd_pipe_new2() 95 fd_pipe_ref(struct fd_pipe *pipe) fd_pipe_ref() argument 104 fd_pipe_ref_locked(struct fd_pipe *pipe) fd_pipe_ref_locked() argument 112 fd_pipe_del(struct fd_pipe *pipe) fd_pipe_del() argument 120 fd_pipe_del_locked(struct fd_pipe *pipe) fd_pipe_del_locked() argument 135 fd_pipe_purge(struct fd_pipe *pipe) fd_pipe_purge() argument 162 fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, uint64_t *value) fd_pipe_get_param() argument 168 fd_pipe_set_param(struct fd_pipe *pipe, enum fd_param_id param, uint64_t value) fd_pipe_set_param() argument 174 fd_pipe_dev_id(struct fd_pipe *pipe) fd_pipe_dev_id() argument 180 fd_pipe_wait(struct fd_pipe *pipe, const struct fd_fence *fence) fd_pipe_wait() argument 186 fd_pipe_wait_timeout(struct fd_pipe *pipe, const struct fd_fence *fence, uint64_t timeout) fd_pipe_wait_timeout() argument 198 fd_pipe_emit_fence(struct fd_pipe *pipe, struct fd_ringbuffer *ring) fd_pipe_emit_fence() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_simple_kms_helper.c | 89 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_mode_valid() local 91 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid() 92 if (!pipe->funcs || !pipe->funcs->mode_valid) in drm_simple_kms_crtc_mode_valid() 96 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid() 120 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local 122 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable() 123 if (!pipe->funcs || !pipe in drm_simple_kms_crtc_enable() 133 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_disable() local 151 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_reset() local 162 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_duplicate_state() local 173 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_destroy_state() local 184 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_enable_vblank() local 195 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_disable_vblank() local 220 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_atomic_check() local 249 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_atomic_update() local 261 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_prepare_fb() local 279 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_cleanup_fb() local 291 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_begin_fb_access() local 303 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_end_fb_access() local 330 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_reset() local 341 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_duplicate_state() local 353 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_destroy_state() local 386 drm_simple_display_pipe_attach_bridge(struct drm_simple_display_pipe *pipe, struct drm_bridge *bridge) drm_simple_display_pipe_attach_bridge() argument 417 drm_simple_display_pipe_init(struct drm_device *dev, struct drm_simple_display_pipe *pipe, const struct drm_simple_display_pipe_funcs *funcs, const uint32_t *formats, unsigned int format_count, const uint64_t *format_modifiers, struct drm_connector *connector) drm_simple_display_pipe_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_simple_kms_helper.c | 78 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_mode_valid() local 80 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid() 81 if (!pipe->funcs || !pipe->funcs->mode_valid) in drm_simple_kms_crtc_mode_valid() 85 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid() 105 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local 107 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable() 108 if (!pipe->funcs || !pipe in drm_simple_kms_crtc_enable() 118 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_disable() local 136 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_enable_vblank() local 147 struct drm_simple_display_pipe *pipe; drm_simple_kms_crtc_disable_vblank() local 170 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_atomic_check() local 197 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_atomic_update() local 209 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_prepare_fb() local 221 struct drm_simple_display_pipe *pipe; drm_simple_kms_plane_cleanup_fb() local 268 drm_simple_display_pipe_attach_bridge(struct drm_simple_display_pipe *pipe, struct drm_bridge *bridge) drm_simple_display_pipe_attach_bridge() argument 299 drm_simple_display_pipe_init(struct drm_device *dev, struct drm_simple_display_pipe *pipe, const struct drm_simple_display_pipe_funcs *funcs, const uint32_t *formats, unsigned int format_count, const uint64_t *format_modifiers, struct drm_connector *connector) drm_simple_display_pipe_init() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
H A D | dd_context.c | 52 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_query() local 55 query = pipe->create_query(pipe, query_type, index); in dd_context_create_query() 65 pipe->destroy_query(pipe, query); in dd_context_create_query() 77 struct pipe_context *pipe = dd_context(_pipe)->pipe; in dd_context_create_batch_query() local 80 query = pipe->create_batch_query(pipe, num_querie in dd_context_create_batch_query() 103 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_destroy_query() local 113 struct pipe_context *pipe = dctx->pipe; dd_context_begin_query() local 122 struct pipe_context *pipe = dctx->pipe; dd_context_end_query() local 132 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_get_query_result() local 140 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_set_active_query_state() local 151 struct pipe_context *pipe = dctx->pipe; dd_context_render_condition() local 222 struct pipe_context *pipe = dctx->pipe; dd_context_bind_sampler_states() local 247 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_vertex_elements_state() local 320 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_compute_state() local 367 struct pipe_context *pipe = dctx->pipe; dd_context_set_constant_buffer() local 380 struct pipe_context *pipe = dctx->pipe; dd_context_set_scissor_states() local 393 struct pipe_context *pipe = dctx->pipe; dd_context_set_viewport_states() local 405 struct pipe_context *pipe = dctx->pipe; dd_context_set_tess_state() local 418 struct pipe_context *pipe = dctx->pipe; dd_context_set_patch_vertices() local 429 struct pipe_context *pipe = dctx->pipe; dd_context_set_window_rectangles() local 444 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_surface() local 458 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_surface_destroy() local 468 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_sampler_view() local 482 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_sampler_view_destroy() local 493 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_stream_output_target() local 508 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_stream_output_target_destroy() local 527 struct pipe_context *pipe = dctx->pipe; dd_context_set_sampler_views() local 545 struct pipe_context *pipe = dctx->pipe; dd_context_set_shader_images() local 563 struct pipe_context *pipe = dctx->pipe; dd_context_set_shader_buffers() local 579 struct pipe_context *pipe = dctx->pipe; dd_context_set_vertex_buffers() local 597 struct pipe_context *pipe = dctx->pipe; dd_context_set_stream_output_targets() local 612 struct pipe_context *pipe = dctx->pipe; dd_context_fence_server_sync() local 625 struct pipe_context *pipe = dctx->pipe; dd_context_create_fence_fd() local 645 struct pipe_context *pipe = dctx->pipe; dd_context_destroy() local 680 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_texture_barrier() local 688 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_memory_barrier() local 698 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_resource_commit() local 708 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_set_compute_resources() local 718 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_set_global_binding() local 727 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_get_sample_position() local 737 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_invalidate_resource() local 745 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_get_device_reset_status() local 754 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_set_device_reset_callback() local 764 struct pipe_context *pipe = dctx->pipe; dd_context_emit_string_marker() local 774 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_dump_debug_state() local 784 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_texture_handle() local 792 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_delete_texture_handle() local 801 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_make_texture_handle_resident() local 810 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_create_image_handle() local 818 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_delete_image_handle() local 828 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_make_image_handle_resident() local 838 struct pipe_context *pipe = dd_context(_pipe)->pipe; dd_context_set_context_param() local 844 dd_context_create(struct dd_screen *dscreen, struct pipe_context *pipe) dd_context_create() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.c | 17 struct komeda_pipeline *pipe; in komeda_pipeline_add() local 25 if (size < sizeof(*pipe)) { in komeda_pipeline_add() 30 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add() 31 if (!pipe) in komeda_pipeline_add() 34 pipe->mdev = mdev; in komeda_pipeline_add() 35 pipe->id = mdev->n_pipelines; in komeda_pipeline_add() 36 pipe->funcs = funcs; in komeda_pipeline_add() 38 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add() 41 return pipe; in komeda_pipeline_add() 45 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() 44 komeda_pipeline_destroy(struct komeda_dev *mdev, struct komeda_pipeline *pipe) komeda_pipeline_destroy() argument 67 komeda_pipeline_get_component_pos(struct komeda_pipeline *pipe, int id) komeda_pipeline_get_component_pos() argument 124 komeda_pipeline_get_component(struct komeda_pipeline *pipe, int id) komeda_pipeline_get_component() argument 137 komeda_pipeline_get_first_component(struct komeda_pipeline *pipe, u32 comp_mask) komeda_pipeline_get_first_component() argument 160 komeda_component_add(struct komeda_pipeline *pipe, size_t comp_sz, u32 id, u32 hw_id, const struct komeda_component_funcs *funcs, u8 max_active_inputs, u32 supported_inputs, u8 max_active_outputs, u32 __iomem *reg, const char *name_fmt, ...) komeda_component_add() argument 246 komeda_pipeline_dump(struct komeda_pipeline *pipe) komeda_pipeline_dump() argument 271 struct komeda_pipeline *pipe = c->pipeline; komeda_component_verify_inputs() local 290 komeda_get_layer_split_right_layer(struct komeda_pipeline *pipe, struct komeda_layer *left) komeda_get_layer_split_right_layer() argument 302 komeda_pipeline_assemble(struct komeda_pipeline *pipe) komeda_pipeline_assemble() argument 343 struct komeda_pipeline *pipe; komeda_assemble_pipelines() local 356 komeda_pipeline_dump_register(struct komeda_pipeline *pipe, struct seq_file *sf) komeda_pipeline_dump_register() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.c | 19 struct komeda_pipeline *pipe; in komeda_pipeline_add() local 27 if (size < sizeof(*pipe)) { in komeda_pipeline_add() 32 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add() 33 if (!pipe) in komeda_pipeline_add() 36 pipe->mdev = mdev; in komeda_pipeline_add() 37 pipe->id = mdev->n_pipelines; in komeda_pipeline_add() 38 pipe->funcs = funcs; in komeda_pipeline_add() 40 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add() 43 return pipe; in komeda_pipeline_add() 47 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() 46 komeda_pipeline_destroy(struct komeda_dev *mdev, struct komeda_pipeline *pipe) komeda_pipeline_destroy() argument 69 komeda_pipeline_get_component_pos(struct komeda_pipeline *pipe, int id) komeda_pipeline_get_component_pos() argument 126 komeda_pipeline_get_component(struct komeda_pipeline *pipe, int id) komeda_pipeline_get_component() argument 139 komeda_pipeline_get_first_component(struct komeda_pipeline *pipe, u32 comp_mask) komeda_pipeline_get_first_component() argument 163 komeda_component_add(struct komeda_pipeline *pipe, size_t comp_sz, u32 id, u32 hw_id, const struct komeda_component_funcs *funcs, u8 max_active_inputs, u32 supported_inputs, u8 max_active_outputs, u32 __iomem *reg, const char *name_fmt, ...) komeda_component_add() argument 249 komeda_pipeline_dump(struct komeda_pipeline *pipe) komeda_pipeline_dump() argument 274 struct komeda_pipeline *pipe = c->pipeline; komeda_component_verify_inputs() local 293 komeda_get_layer_split_right_layer(struct komeda_pipeline *pipe, struct komeda_layer *left) komeda_get_layer_split_right_layer() argument 305 komeda_pipeline_assemble(struct komeda_pipeline *pipe) komeda_pipeline_assemble() argument 346 struct komeda_pipeline *pipe; komeda_assemble_pipelines() local 359 komeda_pipeline_dump_register(struct komeda_pipeline *pipe, struct seq_file *sf) komeda_pipeline_dump_register() argument [all...] |
/kernel/linux/linux-5.10/sound/drivers/vx/ |
H A D | vx_pcm.c | 15 * pipe->transferred is the counter of data which has been already transferred. 25 * the current point of read buffer is kept in pipe->hw_ptr. note that 46 struct vx_pipe *pipe) in vx_pcm_read_per_bytes() 48 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes() 51 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 56 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 61 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 64 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes() 82 * @pipe: the pipe t 45 vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe) vx_pcm_read_per_bytes() argument 89 vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, struct vx_pipe *pipe) vx_set_differed_time() argument 123 vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, unsigned int data) vx_set_stream_format() argument 150 vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, struct snd_pcm_runtime *runtime) vx_set_format() argument 209 vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) vx_get_pipe_state() argument 234 vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) vx_query_hbuffer_size() argument 258 vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) vx_pipe_can_start() argument 279 vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_conf_pipe() argument 318 vx_toggle_pipe(struct vx_core *chip, struct vx_pipe *pipe, int state) vx_toggle_pipe() argument 371 vx_stop_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_stop_pipe() argument 394 struct vx_pipe *pipe; vx_alloc_pipe() local 439 vx_free_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_free_pipe() argument 457 vx_start_stream(struct vx_core *chip, struct vx_pipe *pipe) vx_start_stream() argument 473 vx_stop_stream(struct vx_core *chip, struct vx_pipe *pipe) vx_stop_stream() argument 514 struct vx_pipe *pipe = NULL; vx_pcm_playback_open() local 556 struct vx_pipe *pipe; vx_pcm_playback_close() local 579 vx_notify_end_of_buffer(struct vx_core *chip, struct vx_pipe *pipe) vx_notify_end_of_buffer() argument 607 vx_pcm_playback_transfer_chunk(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int size) vx_pcm_playback_transfer_chunk() argument 645 vx_update_pipe_position(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe) vx_update_pipe_position() argument 673 vx_pcm_playback_transfer(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe, int nchunks) vx_pcm_playback_transfer() argument 693 vx_pcm_playback_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) vx_pcm_playback_update() argument 716 struct vx_pipe *pipe = subs->runtime->private_data; vx_pcm_trigger() local 769 struct vx_pipe *pipe = runtime->private_data; vx_pcm_playback_pointer() local 780 struct vx_pipe *pipe = runtime->private_data; vx_pcm_prepare() local 881 struct vx_pipe *pipe; vx_pcm_capture_open() local 939 struct vx_pipe *pipe; vx_pcm_capture_close() local 972 vx_pcm_capture_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) vx_pcm_capture_update() argument 1051 struct vx_pipe *pipe = runtime->private_data; vx_pcm_capture_pointer() local 1073 struct vx_pipe *pipe; vx_pcm_update_intr() local [all...] |
/kernel/linux/linux-6.6/sound/drivers/vx/ |
H A D | vx_pcm.c | 15 * pipe->transferred is the counter of data which has been already transferred. 25 * the current point of read buffer is kept in pipe->hw_ptr. note that 46 struct vx_pipe *pipe) in vx_pcm_read_per_bytes() 48 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes() 51 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 56 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 61 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 64 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes() 82 * @pipe: the pipe t 45 vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe) vx_pcm_read_per_bytes() argument 89 vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, struct vx_pipe *pipe) vx_set_differed_time() argument 123 vx_set_stream_format(struct vx_core *chip, struct vx_pipe *pipe, unsigned int data) vx_set_stream_format() argument 150 vx_set_format(struct vx_core *chip, struct vx_pipe *pipe, struct snd_pcm_runtime *runtime) vx_set_format() argument 209 vx_get_pipe_state(struct vx_core *chip, struct vx_pipe *pipe, int *state) vx_get_pipe_state() argument 234 vx_query_hbuffer_size(struct vx_core *chip, struct vx_pipe *pipe) vx_query_hbuffer_size() argument 258 vx_pipe_can_start(struct vx_core *chip, struct vx_pipe *pipe) vx_pipe_can_start() argument 279 vx_conf_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_conf_pipe() argument 318 vx_toggle_pipe(struct vx_core *chip, struct vx_pipe *pipe, int state) vx_toggle_pipe() argument 373 vx_stop_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_stop_pipe() argument 396 struct vx_pipe *pipe; vx_alloc_pipe() local 441 vx_free_pipe(struct vx_core *chip, struct vx_pipe *pipe) vx_free_pipe() argument 459 vx_start_stream(struct vx_core *chip, struct vx_pipe *pipe) vx_start_stream() argument 475 vx_stop_stream(struct vx_core *chip, struct vx_pipe *pipe) vx_stop_stream() argument 516 struct vx_pipe *pipe = NULL; vx_pcm_playback_open() local 558 struct vx_pipe *pipe; vx_pcm_playback_close() local 581 vx_notify_end_of_buffer(struct vx_core *chip, struct vx_pipe *pipe) vx_notify_end_of_buffer() argument 609 vx_pcm_playback_transfer_chunk(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int size) vx_pcm_playback_transfer_chunk() argument 647 vx_update_pipe_position(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe) vx_update_pipe_position() argument 675 vx_pcm_playback_transfer(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe, int nchunks) vx_pcm_playback_transfer() argument 696 vx_pcm_playback_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) vx_pcm_playback_update() argument 720 struct vx_pipe *pipe = subs->runtime->private_data; vx_pcm_trigger() local 775 struct vx_pipe *pipe = runtime->private_data; vx_pcm_playback_pointer() local 786 struct vx_pipe *pipe = runtime->private_data; vx_pcm_prepare() local 890 struct vx_pipe *pipe; vx_pcm_capture_open() local 948 struct vx_pipe *pipe; vx_pcm_capture_close() local 981 vx_pcm_capture_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) vx_pcm_capture_update() argument 1060 struct vx_pipe *pipe = runtime->private_data; vx_pcm_capture_pointer() local 1082 struct vx_pipe *pipe; vx_pcm_update_intr() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | skl_watermark_regs.h | 13 #define PIPE_MBUS_DBOX_CTL(pipe) _MMIO_PIPE(pipe, _PIPEA_MBUS_DBOX_CTL, \ 41 #define MBUS_JOIN_PIPE_SELECT(pipe) REG_FIELD_PREP(MBUS_JOIN_PIPE_SELECT_MASK, pipe) 74 #define _CUR_WM_0(pipe) _PIPE(pipe, _CUR_WM_A_0, _CUR_WM_B_0) 75 #define CUR_WM(pipe, level) _MMIO(_CUR_WM_0(pipe) + ((4) * (level))) 76 #define CUR_WM_SAGV(pipe) _MMIO_PIPE(pipe, _CUR_WM_SAGV_ [all...] |
H A D | intel_vdsc_regs.h | 31 #define ICL_PIPE_DSS_CTL1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ 45 #define ICL_PIPE_DSS_CTL2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ 54 #define MTL_DSC0_PICTURE_PARAMETER_SET_17(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ 57 #define MTL_DSC1_PICTURE_PARAMETER_SET_17(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ 66 #define MTL_DSC0_PICTURE_PARAMETER_SET_18(pipe) _MMIO_PIPE((pipe) [all...] |
/third_party/mesa3d/src/freedreno/drm/msm/ |
H A D | msm_pipe.c | 33 query_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_param() argument 35 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param() 37 .pipe = msm_pipe->pipe, in query_param() 43 drmCommandWriteRead(pipe->dev->fd, DRM_MSM_GET_PARAM, &req, sizeof(req)); in query_param() 53 query_queue_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_queue_param() argument 55 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_queue_param() 64 ret = drmCommandWriteRead(pipe->dev->fd, DRM_MSM_SUBMITQUEUE_QUERY, &req, in query_queue_param() 73 msm_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, in msm_pipe_get_param() argument 76 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param() 110 set_param(struct fd_pipe *pipe, uint32_t param, uint64_t value) set_param() argument 124 msm_pipe_set_param(struct fd_pipe *pipe, enum fd_param_id param, uint64_t value) msm_pipe_set_param() argument 136 msm_pipe_wait(struct fd_pipe *pipe, const struct fd_fence *fence, uint64_t timeout) msm_pipe_wait() argument 156 open_submitqueue(struct fd_pipe *pipe, uint32_t prio) open_submitqueue() argument 186 close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) close_submitqueue() argument 196 msm_pipe_destroy(struct fd_pipe *pipe) msm_pipe_destroy() argument 225 get_param(struct fd_pipe *pipe, uint32_t param) get_param() argument 244 struct fd_pipe *pipe = NULL; msm_pipe_new() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drm.c | 33 static void vsp1_du_pipeline_frame_end(struct vsp1_pipeline *pipe, in vsp1_du_pipeline_frame_end() argument 36 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_frame_end() 64 struct vsp1_pipeline *pipe, in vsp1_du_insert_uif() 116 struct vsp1_pipeline *pipe, in vsp1_du_pipeline_setup_rpf() 190 ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURCE, in vsp1_du_pipeline_setup_rpf() 191 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf() 198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf() 205 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf() 211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf() 218 BRX_NAME(pipe in vsp1_du_pipeline_setup_rpf() 63 vsp1_du_insert_uif(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe, struct vsp1_entity *uif, struct vsp1_entity *prev, unsigned int prev_pad, struct vsp1_entity *next, unsigned int next_pad) vsp1_du_insert_uif() argument 115 vsp1_du_pipeline_setup_rpf(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe, struct vsp1_rwpf *rpf, struct vsp1_entity *uif, unsigned int brx_input) vsp1_du_pipeline_setup_rpf() argument 228 vsp1_du_pipeline_setup_brx(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_brx() argument 367 vsp1_du_pipeline_setup_inputs(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_inputs() argument 480 vsp1_du_pipeline_setup_output(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_output() argument 540 vsp1_du_pipeline_configure(struct vsp1_pipeline *pipe) vsp1_du_pipeline_configure() argument 649 struct vsp1_pipeline *pipe; vsp1_du_setup_lif() local 886 struct vsp1_pipeline *pipe = &drm_pipe->pipe; vsp1_du_atomic_flush() local 956 struct vsp1_pipeline *pipe = &drm_pipe->pipe; vsp1_drm_init() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_blitter.c | 35 #include "pipe/p_context.h" 36 #include "pipe/p_defines.h" 38 #include "pipe/p_shader_tokens.h" 39 #include "pipe/p_state.h" 163 struct blitter_context *util_blitter_create(struct pipe_context *pipe) in util_blitter_create() argument 177 ctx->base.pipe = pipe; in util_blitter_create() 180 ctx->bind_fs_state = pipe->bind_fs_state; in util_blitter_create() 181 ctx->delete_fs_state = pipe->delete_fs_state; in util_blitter_create() 197 pipe in util_blitter_create() 382 struct pipe_context *pipe = ctx->base.pipe; bind_vs_pos_only() local 408 struct pipe_context *pipe = ctx->base.pipe; get_vs_passthrough_pos_generic() local 424 struct pipe_context *pipe = ctx->base.pipe; get_vs_passthrough_pos() local 442 struct pipe_context *pipe = ctx->base.pipe; get_vs_layered() local 452 struct pipe_context *pipe = ctx->base.pipe; bind_fs_empty() local 464 struct pipe_context *pipe = ctx->base.pipe; bind_fs_write_one_cbuf() local 478 struct pipe_context *pipe = ctx->base.pipe; bind_fs_clear_all_cbufs() local 491 struct pipe_context *pipe = blitter->pipe; util_blitter_destroy() local 642 struct pipe_context *pipe = ctx->base.pipe; util_blitter_restore_vertex_states() local 705 struct pipe_context *pipe = ctx->base.pipe; util_blitter_restore_fragment_states() local 752 struct pipe_context *pipe = ctx->base.pipe; blitter_disable_render_cond() local 762 struct pipe_context *pipe = ctx->base.pipe; util_blitter_restore_render_cond() local 775 struct pipe_context *pipe = ctx->base.pipe; util_blitter_restore_fb_state() local 790 struct pipe_context *pipe = ctx->base.pipe; util_blitter_restore_textures_internal() local 831 struct pipe_context *pipe = blitter->pipe; util_blitter_restore_constant_buffer_state() local 979 struct pipe_context *pipe = ctx->base.pipe; blitter_get_fs_texfetch_col() local 1088 struct pipe_context *pipe = ctx->base.pipe; blitter_get_fs_pack_color_zs() local 1125 struct pipe_context *pipe = ctx->base.pipe; blitter_get_fs_texfetch_depth() local 1170 struct pipe_context *pipe = ctx->base.pipe; blitter_get_fs_texfetch_depthstencil() local 1216 struct pipe_context *pipe = ctx->base.pipe; blitter_get_fs_texfetch_stencil() local 1266 struct pipe_context *pipe = blitter->pipe; util_blitter_cache_all_shaders() local 1377 struct pipe_context *pipe = ctx->base.pipe; blitter_set_common_draw_rect_state() local 1400 struct pipe_context *pipe = ctx->base.pipe; blitter_draw() local 1477 struct pipe_context *pipe = ctx->base.pipe; get_clear_blend_state() local 1516 struct pipe_context *pipe = ctx->base.pipe; util_blitter_common_clear_setup() local 1558 struct pipe_context *pipe = ctx->base.pipe; util_blitter_clear_custom() local 1646 util_blitter_get_next_surface_layer(struct pipe_context *pipe, struct pipe_surface *surf) util_blitter_get_next_surface_layer() argument 1781 struct pipe_context *pipe = ctx->base.pipe; util_blitter_copy_texture() local 1860 struct pipe_context *pipe = ctx->base.pipe; do_blits() local 2018 struct pipe_context *pipe = ctx->base.pipe; util_blitter_blit_generic() local 2245 struct pipe_context *pipe = ctx->base.pipe; util_blitter_blit() local 2279 struct pipe_context *pipe = ctx->base.pipe; util_blitter_generate_mipmap() local 2386 struct pipe_context *pipe = ctx->base.pipe; util_blitter_clear_render_target() local 2455 struct pipe_context *pipe = ctx->base.pipe; util_blitter_clear_depth_stencil() local 2534 struct pipe_context *pipe = ctx->base.pipe; util_blitter_custom_depth_stencil() local 2595 struct pipe_context *pipe = ctx->base.pipe; util_blitter_clear_buffer() local 2669 struct pipe_context *pipe = ctx->base.pipe; util_blitter_custom_resolve_color() local 2730 struct pipe_context *pipe = ctx->base.pipe; util_blitter_custom_color() local 2793 struct pipe_context *pipe = ctx->base.pipe; util_blitter_custom_shader() local 2885 struct pipe_context *pipe = ctx->base.pipe; util_blitter_stencil_fallback() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_drm.c | 33 static void vsp1_du_pipeline_frame_end(struct vsp1_pipeline *pipe, in vsp1_du_pipeline_frame_end() argument 36 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_frame_end() 64 struct vsp1_pipeline *pipe, in vsp1_du_insert_uif() 116 struct vsp1_pipeline *pipe, in vsp1_du_pipeline_setup_rpf() 190 ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURCE, in vsp1_du_pipeline_setup_rpf() 191 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf() 198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf() 205 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf() 211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf() 218 BRX_NAME(pipe in vsp1_du_pipeline_setup_rpf() 63 vsp1_du_insert_uif(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe, struct vsp1_entity *uif, struct vsp1_entity *prev, unsigned int prev_pad, struct vsp1_entity *next, unsigned int next_pad) vsp1_du_insert_uif() argument 115 vsp1_du_pipeline_setup_rpf(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe, struct vsp1_rwpf *rpf, struct vsp1_entity *uif, unsigned int brx_input) vsp1_du_pipeline_setup_rpf() argument 228 vsp1_du_pipeline_setup_brx(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_brx() argument 367 vsp1_du_pipeline_setup_inputs(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_inputs() argument 476 vsp1_du_pipeline_setup_output(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_output() argument 535 vsp1_du_pipeline_configure(struct vsp1_pipeline *pipe) vsp1_du_pipeline_configure() argument 644 struct vsp1_pipeline *pipe; vsp1_du_setup_lif() local 876 struct vsp1_pipeline *pipe = &drm_pipe->pipe; vsp1_du_atomic_flush() local 946 struct vsp1_pipeline *pipe = &drm_pipe->pipe; vsp1_drm_init() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 129 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_merge_pipes_for_subvp() local 131 // For now merge all pipes for SubVP since pipe split case isn't supported yet in dcn32_merge_pipes_for_subvp() 134 if (pipe->prev_odm_pipe) { in dcn32_merge_pipes_for_subvp() 135 /*split off odm pipe*/ in dcn32_merge_pipes_for_subvp() 136 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp() 137 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp() 138 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp() 140 pipe in dcn32_merge_pipes_for_subvp() 174 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_all_pipes_have_stream_and_plane() local 191 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_in_use() local 216 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_any_surfaces_rotated() local 227 dcn32_is_center_timing(struct pipe_ctx *pipe) dcn32_is_center_timing() argument 248 dcn32_is_psr_capable(struct pipe_ctx *pipe) dcn32_is_psr_capable() argument 356 struct pipe_ctx *pipe; dcn32_set_det_allocations() local 414 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_save_mall_state() local 442 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_restore_mall_state() local 607 dcn32_check_native_scaling_for_res(struct pipe_ctx *pipe, unsigned int width, unsigned int height) dcn32_check_native_scaling_for_res() argument 647 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_drr_admissable() local 705 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_vblank_admissable() local [all...] |