Searched refs:src_info (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga-hw.c | 159 union rga_src_info src_info; in rga_cmd_set_trans_info() local 173 src_info.val = dest[(RGA_SRC_INFO - RGA_MODE_BASE_REG) >> 2]; in rga_cmd_set_trans_info() 182 src_info.data.format = ctx->in.fmt->hw_format; in rga_cmd_set_trans_info() 183 src_info.data.swap = ctx->in.fmt->color_swap; in rga_cmd_set_trans_info() 196 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info() 199 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info() 217 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_X; in rga_cmd_set_trans_info() 220 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_Y; in rga_cmd_set_trans_info() 224 src_info.data.rot_mode = RGA_SRC_ROT_MODE_90_DEGREE; in rga_cmd_set_trans_info() 227 src_info.data.rot_mode = RGA_SRC_ROT_MODE_180_DEGREE; in rga_cmd_set_trans_info() [all …]
|
/linux/net/ipv6/ |
H A D | datagram.c | 602 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl() local 605 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl() 606 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_common_ctl() 608 src_info.ipi6_ifindex = in ip6_datagram_recv_common_ctl() 611 &src_info.ipi6_addr); in ip6_datagram_recv_common_ctl() 614 if (src_info.ipi6_ifindex >= 0) in ip6_datagram_recv_common_ctl() 616 sizeof(src_info), &src_info); in ip6_datagram_recv_common_ctl() 696 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl() local 698 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_specific_ctl() 699 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_specific_ctl() [all …]
|
H A D | ipv6_sockglue.c | 1158 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1160 src_info.ipi6_ifindex = mcast_oif ? : in do_ipv6_getsockopt() 1162 src_info.ipi6_addr = mcast_oif ? sk->sk_v6_daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt() 1163 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1177 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1179 src_info.ipi6_ifindex = mcast_oif ? : in do_ipv6_getsockopt() 1181 src_info.ipi6_addr = mcast_oif ? sk->sk_v6_daddr : in do_ipv6_getsockopt() 1183 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
|
/linux/drivers/dma/ |
H A D | ste_dma40_ll.c | 59 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg() 60 l1 |= d40_width_to_bits(cfg->src_info.data_width) in d40_log_cfg() 79 if (cfg->src_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg() 103 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg() 105 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg() 113 src |= d40_width_to_bits(cfg->src_info.data_width) in d40_phy_cfg() 124 if (cfg->src_info.big_endian) in d40_phy_cfg()
|
H A D | ste_dma40.c | 113 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 114 .src_info.psize = STEDMA40_PSIZE_PHY_1, 115 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, 127 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 128 .src_info.psize = STEDMA40_PSIZE_LOG_1, 129 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, 1751 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) * in d40_validate_conf() 1752 conf->src_info.data_width != in d40_validate_conf() 2138 struct stedma40_half_channel_info *src_info = &cfg->src_info; in d40_prep_sg_log() local 2146 src_info->data_width, in d40_prep_sg_log() [all …]
|
H A D | ste_dma40.h | 103 struct stedma40_half_channel_info src_info; member
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-isp.c | 437 const struct rkisp1_mbus_info *src_info; in rkisp1_isp_start() local 458 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); in rkisp1_isp_start() 460 if (src_info->pixel_enc != V4L2_PIXEL_ENC_BAYER) in rkisp1_isp_start() 607 const struct rkisp1_mbus_info *src_info; in rkisp1_isp_set_src_fmt() local 628 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); in rkisp1_isp_set_src_fmt() 629 if (!src_info || !(src_info->direction & RKISP1_ISP_SD_SRC)) { in rkisp1_isp_set_src_fmt() 631 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); in rkisp1_isp_set_src_fmt() 635 src_info->pixel_enc == V4L2_PIXEL_ENC_BAYER) { in rkisp1_isp_set_src_fmt() 637 src_info = sink_info; in rkisp1_isp_set_src_fmt() 656 src_info->pixel_enc == V4L2_PIXEL_ENC_YUV) in rkisp1_isp_set_src_fmt() [all …]
|
/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 239 const struct mxc_isi_bus_format_info *src_info; in mxc_isi_pipe_enable() local 273 src_info = mxc_isi_bus_format_by_code(src_fmt->code, in mxc_isi_pipe_enable() 285 sink_info->encoding, src_info->encoding); in mxc_isi_pipe_enable() 830 const struct mxc_isi_bus_format_info *src_info; in mxc_isi_pipe_acquire() local 845 src_info = mxc_isi_bus_format_by_code(src_fmt->code, in mxc_isi_pipe_acquire() 850 sink_info->encoding == src_info->encoding; in mxc_isi_pipe_acquire()
|
/linux/net/ipv4/ |
H A D | ip_sockglue.c | 256 struct in6_pktinfo *src_info; in ip_cmsg_send() local 258 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*src_info))) in ip_cmsg_send() 260 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send() 261 if (!ipv6_addr_v4mapped(&src_info->ipi6_addr)) in ip_cmsg_send() 263 if (src_info->ipi6_ifindex) in ip_cmsg_send() 264 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send() 265 ipc->addr = src_info->ipi6_addr.s6_addr32[3]; in ip_cmsg_send()
|