Home
last modified time | relevance | path

Searched refs:af (Results 1 – 25 of 140) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Disph3a_af.c26 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument
38 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs()
41 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
44 if (!af->update) in h3a_af_setup_regs()
51 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs()
60 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs()
67 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs()
82 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
91 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dx_tables.c71 u_int8_t af = target->family; in xt_register_target() local
73 mutex_lock(&xt[af].mutex); in xt_register_target()
74 list_add(&target->list, &xt[af].target); in xt_register_target()
75 mutex_unlock(&xt[af].mutex); in xt_register_target()
83 u_int8_t af = target->family; in xt_unregister_target() local
85 mutex_lock(&xt[af].mutex); in xt_unregister_target()
87 mutex_unlock(&xt[af].mutex); in xt_unregister_target()
121 u_int8_t af = match->family; in xt_register_match() local
123 mutex_lock(&xt[af].mutex); in xt_register_match()
124 list_add(&match->list, &xt[af].match); in xt_register_match()
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_proto_ah_esp.c40 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument
45 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto()
55 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument
61 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get()
72 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get()
73 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get()
81 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument
87 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get()
94 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_out_get()
[all …]
Dip_vs_proto_udp.c28 udp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp);
31 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument
56 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
59 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
93 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument
99 if (af == AF_INET6) in udp_fast_csum_update()
115 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument
121 if (af == AF_INET6) in udp_partial_csum_update()
145 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler()
158 if (!udp_csum_check(cp->af, skb, pp)) in udp_snat_handler()
[all …]
Dip_vs_ftp.c100 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport() argument
190 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport()
192 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport()
202 if (af == AF_INET6) { in ip_vs_ftp_get_addrport()
284 &from, &port, cp->af, in ip_vs_ftp_out()
305 &from, &port, cp->af, in ip_vs_ftp_out()
310 IP_VS_DBG_ADDR(cp->af, &from), ntohs(port), in ip_vs_ftp_out()
311 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out()
320 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out()
329 cp->af, ipvsh->protocol, &cp->caddr, in ip_vs_ftp_out()
[all …]
Dip_vs_conn.c107 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument
112 if (af == AF_INET6) in ip_vs_conn_hashkey()
140 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param()
147 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn()
274 cp->af == p->af && in __ip_vs_conn_in_get()
275 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get()
276 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get()
306 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get()
307 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_conn_in_get()
315 int af, const struct sk_buff *skb, in ip_vs_conn_fill_param_proto() argument
[all …]
Dip_vs_proto_tcp.c32 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp);
35 tcp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in tcp_conn_schedule() argument
68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule()
71 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule()
105 tcp_fast_csum_update(int af, struct tcphdr *tcph, in tcp_fast_csum_update() argument
111 if (af == AF_INET6) in tcp_fast_csum_update()
126 tcp_partial_csum_update(int af, struct tcphdr *tcph, in tcp_partial_csum_update() argument
132 if (af == AF_INET6) in tcp_partial_csum_update()
156 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler()
169 if (!tcp_csum_check(cp->af, skb, pp)) in tcp_snat_handler()
[all …]
Dip_vs_core.c248 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist()
291 if (svc->af == AF_INET6) in ip_vs_sched_persist()
300 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist()
301 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist()
302 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist()
383 ct = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, in ip_vs_sched_persist()
409 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist()
412 cp = ip_vs_conn_new(&param, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist()
492 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule()
504 svc->af, skb, iph); in ip_vs_schedule()
[all …]
Dip_vs_lblc.c90 int af; /* address family */ member
150 ip_vs_lblc_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblc_hashkey() argument
155 if (af == AF_INET6) in ip_vs_lblc_hashkey()
170 unsigned int hash = ip_vs_lblc_hashkey(en->af, &en->addr); in ip_vs_lblc_hash()
179 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() argument
182 unsigned int hash = ip_vs_lblc_hashkey(af, addr); in ip_vs_lblc_get()
186 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblc_get()
199 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new() argument
203 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new()
213 en->af = af; in ip_vs_lblc_new()
[all …]
Dip_vs_sh.c84 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey() argument
90 if (af == AF_INET6) in ip_vs_sh_hashkey()
107 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get()
129 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback()
137 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback()
144 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback()
152 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback()
191 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign()
337 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_sh_schedule()
338 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_schedule()
Dip_vs_ctl.c273 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey() argument
281 if (af == AF_INET6) in ip_vs_svc_hashkey()
319 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash()
367 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument
374 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find()
377 if ((svc->af == af) in __ip_vs_service_find()
378 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find()
395 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument
404 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find()
416 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument
[all …]
Dip_vs_lblcr.c200 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_dest_set_min()
246 IP_VS_DBG_ADDR(most->af, &most->addr), ntohs(most->port), in ip_vs_dest_set_max()
260 int af; /* address family */ member
313 ip_vs_lblcr_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblcr_hashkey() argument
318 if (af == AF_INET6) in ip_vs_lblcr_hashkey()
333 unsigned int hash = ip_vs_lblcr_hashkey(en->af, &en->addr); in ip_vs_lblcr_hash()
342 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() argument
345 unsigned int hash = ip_vs_lblcr_hashkey(af, addr); in ip_vs_lblcr_get()
349 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblcr_get()
362 u16 af, struct ip_vs_dest *dest) in ip_vs_lblcr_new() argument
[all …]
Dip_vs_dh.c71 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_dh_hashkey() argument
76 if (af == AF_INET6) in ip_vs_dh_hashkey()
88 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) in ip_vs_dh_get() argument
90 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get()
222 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); in ip_vs_dh_schedule()
232 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule()
233 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
Dip_vs_mh.c89 ip_vs_mh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_mh_hashkey() argument
96 if (af == AF_INET6) in ip_vs_mh_hashkey()
143 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate()
146 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr, in ip_vs_mh_permutate()
239 unsigned int hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, 0) in ip_vs_mh_get()
256 ihash = ip_vs_mh_hashkey(svc->af, addr, port, in ip_vs_mh_get_fallback()
265 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_mh_get_fallback()
272 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback()
281 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_mh_get_fallback()
312 IP_VS_DBG_ADDR(svc->af, &svc->addr), in ip_vs_mh_reassign()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dbind_addr.c222 struct sctp_af *af; in sctp_bind_addrs_to_raw() local
247 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw()
248 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw()
271 struct sctp_af *af; in sctp_raw_to_bind_addrs() local
278 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs()
279 if (unlikely(!af) || in sctp_raw_to_bind_addrs()
280 !af->from_addr_param(&addr, rawaddr, htons(port), 0)) { in sctp_raw_to_bind_addrs()
346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
404 struct sctp_af *af; in sctp_bind_addr_state() local
406 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_bind_addr_state()
[all …]
/kernel/linux/linux-5.10/include/net/
Dip_vs.h68 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument
75 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off()
112 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument
120 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp()
124 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument
132 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb()
148 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument
152 if (af == AF_INET6) in ip_vs_addr_copy()
159 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument
163 if (af == AF_INET6) { in ip_vs_addr_set()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a.host.c108 ia_css_af_encode(&to->af, from, sizeof(to->af)); in ia_css_s3a_encode()
168 const struct sh_css_isp_af_params *af, in ia_css_af_dump() argument
172 "af_fir1[0]", af->fir1[0]); in ia_css_af_dump()
174 "af_fir1[1]", af->fir1[1]); in ia_css_af_dump()
176 "af_fir1[2]", af->fir1[2]); in ia_css_af_dump()
178 "af_fir1[3]", af->fir1[3]); in ia_css_af_dump()
180 "af_fir1[4]", af->fir1[4]); in ia_css_af_dump()
182 "af_fir1[5]", af->fir1[5]); in ia_css_af_dump()
184 "af_fir1[6]", af->fir1[6]); in ia_css_af_dump()
186 "af_fir2[0]", af->fir2[0]); in ia_css_af_dump()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c243 struct alternate_functions af = pct->soc->alternate_functions[gpio]; in abx500_set_mode() local
256 if (((alt_setting == ABX500_ALT_A) && (af.gpiosel_bit == UNUSED)) || in abx500_set_mode()
257 ((alt_setting == ABX500_ALT_B) && (af.alt_bit1 == UNUSED)) || in abx500_set_mode()
258 ((alt_setting == ABX500_ALT_C) && (af.alt_bit2 == UNUSED))) { in abx500_set_mode()
276 if (af.alt_bit1 != UNUSED) in abx500_set_mode()
291 if (af.alt_bit1 != UNUSED) { in abx500_set_mode()
299 af.alt_bit1, in abx500_set_mode()
300 !!(af.alta_val & BIT(0))); in abx500_set_mode()
304 if (af.alt_bit2 != UNUSED) in abx500_set_mode()
307 af.alt_bit2, in abx500_set_mode()
[all …]
/kernel/linux/linux-5.10/include/linux/netfilter/
Dx_tables.h235 u_int8_t af; /* address/protocol family */ member
319 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision);
320 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision);
321 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision);
322 int xt_find_revision(u8 af, const char *name, u8 revision, int target,
325 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af,
327 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af,
331 int xt_proto_init(struct net *net, u_int8_t af);
332 void xt_proto_fini(struct net *net, u_int8_t af);
509 void xt_compat_lock(u_int8_t af);
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-mmp/
Dmfp.h29 #define MFP_CFG(pin, af) \ argument
30 (MFP_LPM_FLOAT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_MEDIUM)
32 #define MFP_CFG_DRV(pin, af, drv) \ argument
33 (MFP_LPM_FLOAT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_##drv)
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dmioa701.h5 #define MIO_CFG_IN(pin, af) \ argument
7 (MFP_PIN(pin) | MFP_##af | MFP_DIR_IN))
9 #define MIO_CFG_OUT(pin, af, state) \ argument
11 (MFP_PIN(pin) | MFP_##af | MFP_DIR_OUT | MFP_LPM_##state))
/kernel/linux/linux-5.10/lib/zlib_dfltcc/
Ddfltcc.c39 memmove(&dfltcc_state->af, param, sizeof(dfltcc_state->af)); in dfltcc_reset()
41 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8737.c332 u16 af = 0; in wm8737_hw_params() local
359 af |= 0x8; in wm8737_hw_params()
362 af |= 0x10; in wm8737_hw_params()
365 af |= 0x18; in wm8737_hw_params()
371 snd_soc_component_update_bits(component, WM8737_AUDIO_FORMAT, WM8737_WL_MASK, af); in wm8737_hw_params()
404 u16 af = 0; in wm8737_set_dai_fmt() local
408 af |= WM8737_MS; in wm8737_set_dai_fmt()
418 af |= 0x2; in wm8737_set_dai_fmt()
423 af |= 0x1; in wm8737_set_dai_fmt()
426 af |= 0x3; in wm8737_set_dai_fmt()
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dfile.c81 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument
89 wbk->key = af->key; in afs_cache_wb_key()
100 af->wb = wbk; in afs_cache_wb_key()
106 af->wb = p; in afs_cache_wb_key()
117 struct afs_file *af; in afs_open() local
129 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open()
130 if (!af) { in afs_open()
134 af->key = key; in afs_open()
141 ret = afs_cache_wb_key(vnode, af); in afs_open()
149 file->private_data = af; in afs_open()
[all …]
/kernel/linux/linux-5.10/arch/arm/plat-pxa/include/plat/
Dmfp.h407 #define MFP_CFG(pin, af) \ argument
409 (MFP_PIN(MFP_PIN_##pin) | MFP_##af))
411 #define MFP_CFG_DRV(pin, af, drv) \ argument
413 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv))
415 #define MFP_CFG_LPM(pin, af, lpm) \ argument
417 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm))
419 #define MFP_CFG_X(pin, af, drv, lpm) \ argument
421 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))

123456