Home
last modified time | relevance | path

Searched refs:src_info (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
Drga-hw.c167 union rga_src_info src_info; in rga_cmd_set_trans_info() local
189 src_info.val = dest[(RGA_SRC_INFO - RGA_MODE_BASE_REG) >> 2]; in rga_cmd_set_trans_info()
198 src_info.data.format = ctx->in.fmt->hw_format; in rga_cmd_set_trans_info()
199 src_info.data.swap = ctx->in.fmt->color_swap; in rga_cmd_set_trans_info()
212 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info()
215 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info()
233 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_X; in rga_cmd_set_trans_info()
236 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_Y; in rga_cmd_set_trans_info()
240 src_info.data.rot_mode = RGA_SRC_ROT_MODE_90_DEGREE; in rga_cmd_set_trans_info()
243 src_info.data.rot_mode = RGA_SRC_ROT_MODE_180_DEGREE; in rga_cmd_set_trans_info()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Ddatagram.c596 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl() local
599 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl()
600 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_common_ctl()
602 src_info.ipi6_ifindex = in ip6_datagram_recv_common_ctl()
605 &src_info.ipi6_addr); in ip6_datagram_recv_common_ctl()
608 if (src_info.ipi6_ifindex >= 0) in ip6_datagram_recv_common_ctl()
610 sizeof(src_info), &src_info); in ip6_datagram_recv_common_ctl()
690 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl() local
692 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_specific_ctl()
693 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_specific_ctl()
[all …]
Dipv6_sockglue.c1173 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local
1174 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt()
1176 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt()
1177 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
1189 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local
1190 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt()
1192 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : in do_ipv6_getsockopt()
1194 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
/kernel/linux/linux-5.10/drivers/dma/
Dste_dma40_ll.c58 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg()
59 l1 |= d40_width_to_bits(cfg->src_info.data_width) in d40_log_cfg()
78 if (cfg->src_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg()
102 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg()
104 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg()
112 src |= d40_width_to_bits(cfg->src_info.data_width) in d40_phy_cfg()
123 if (cfg->src_info.big_endian) in d40_phy_cfg()
Dste_dma40.c86 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
87 .src_info.psize = STEDMA40_PSIZE_PHY_1,
88 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
100 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
101 .src_info.psize = STEDMA40_PSIZE_LOG_1,
102 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
1729 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) * in d40_validate_conf()
1730 conf->src_info.data_width != in d40_validate_conf()
2116 struct stedma40_half_channel_info *src_info = &cfg->src_info; in d40_prep_sg_log() local
2124 src_info->data_width, in d40_prep_sg_log()
[all …]
/kernel/linux/linux-5.10/sound/soc/ux500/
Dux500_pcm.c74 dma_cfg->src_info.data_width = mem_data_width; in ux500_pcm_request_chan()
77 dma_cfg->src_info.data_width = per_data_width; in ux500_pcm_request_chan()
/kernel/linux/linux-5.10/include/linux/platform_data/
Ddma-ste-dma40.h114 struct stedma40_half_channel_info src_info; member
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c256 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()