/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | isph3a_af.c | 29 static void h3a_af_setup_regs(struct ispstat *af, void *priv) in h3a_af_setup_regs() argument 41 if (af->state == ISPSTAT_DISABLED) in h3a_af_setup_regs() 44 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 47 if (!af->update) in h3a_af_setup_regs() 54 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs() 63 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs() 70 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 74 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | x_tables.c | 75 u_int8_t af = target->family; in xt_register_target() local 77 mutex_lock(&xt[af].mutex); in xt_register_target() 78 list_add(&target->list, &xt[af].target); in xt_register_target() 79 mutex_unlock(&xt[af].mutex); in xt_register_target() 87 u_int8_t af = target->family; in xt_unregister_target() local 89 mutex_lock(&xt[af].mutex); in xt_unregister_target() 91 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 125 u_int8_t af = match->family; in xt_register_match() local 127 mutex_lock(&xt[af].mutex); in xt_register_match() 128 list_add(&match->list, &xt[af].match); in xt_register_match() [all …]
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_proto_ah_esp.c | 44 ah_esp_conn_fill_param_proto(struct netns_ipvs *ipvs, int af, in ah_esp_conn_fill_param_proto() argument 49 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 53 ip_vs_conn_fill_param(ipvs, af, IPPROTO_UDP, in ah_esp_conn_fill_param_proto() 59 ah_esp_conn_in_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_in_get() argument 65 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_in_get() 76 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_in_get() 77 IP_VS_DBG_ADDR(af, &iph->daddr)); in ah_esp_conn_in_get() 85 ah_esp_conn_out_get(struct netns_ipvs *ipvs, int af, const struct sk_buff *skb, in ah_esp_conn_out_get() argument 91 ah_esp_conn_fill_param_proto(ipvs, af, iph, &p); in ah_esp_conn_out_get() 98 IP_VS_DBG_ADDR(af, &iph->saddr), in ah_esp_conn_out_get() [all …]
|
D | ip_vs_proto_udp.c | 32 udp_conn_schedule(struct netns_ipvs *ipvs, int af, struct sk_buff *skb, in udp_conn_schedule() argument 57 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 60 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 94 udp_fast_csum_update(int af, struct udphdr *uhdr, in udp_fast_csum_update() argument 100 if (af == AF_INET6) in udp_fast_csum_update() 116 udp_partial_csum_update(int af, struct udphdr *uhdr, in udp_partial_csum_update() argument 122 if (af == AF_INET6) in udp_partial_csum_update() 146 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 159 if (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in udp_snat_handler() 181 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr, in udp_snat_handler() [all …]
|
D | ip_vs_ftp.c | 106 __u16 af, char **start, char **end) in ip_vs_ftp_get_addrport() argument 196 if (af == AF_INET6 && *s != '2') in ip_vs_ftp_get_addrport() 198 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport() 208 if (af == AF_INET6) { in ip_vs_ftp_get_addrport() 290 &from, &port, cp->af, in ip_vs_ftp_out() 311 &from, &port, cp->af, in ip_vs_ftp_out() 316 IP_VS_DBG_ADDR(cp->af, &from), ntohs(port), in ip_vs_ftp_out() 317 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out() 326 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out() 335 cp->af, ipvsh->protocol, &cp->caddr, in ip_vs_ftp_out() [all …]
|
D | ip_vs_conn.c | 112 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument 117 if (af == AF_INET6) in ip_vs_conn_hashkey() 145 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param() 152 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn() 279 cp->af == p->af && in __ip_vs_conn_in_get() 280 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get() 281 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get() 311 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get() 312 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_conn_in_get() 320 int af, const struct sk_buff *skb, in ip_vs_conn_fill_param_proto() argument [all …]
|
D | ip_vs_core.c | 227 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist() 270 if (svc->af == AF_INET6) in ip_vs_sched_persist() 279 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist() 280 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist() 281 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 362 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 388 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist() 391 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 471 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule() 481 cp = pp->conn_in_get(svc->ipvs, svc->af, skb, iph); in ip_vs_schedule() [all …]
|
D | ip_vs_lblc.c | 95 int af; /* address family */ member 155 ip_vs_lblc_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblc_hashkey() argument 160 if (af == AF_INET6) in ip_vs_lblc_hashkey() 175 unsigned int hash = ip_vs_lblc_hashkey(en->af, &en->addr); in ip_vs_lblc_hash() 184 ip_vs_lblc_get(int af, struct ip_vs_lblc_table *tbl, in ip_vs_lblc_get() argument 187 unsigned int hash = ip_vs_lblc_hashkey(af, addr); in ip_vs_lblc_get() 191 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblc_get() 204 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new() argument 208 en = ip_vs_lblc_get(af, tbl, daddr); in ip_vs_lblc_new() 218 en->af = af; in ip_vs_lblc_new() [all …]
|
D | ip_vs_proto_tcp.c | 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 (pp->csum_check && !pp->csum_check(cp->af, skb, pp)) in tcp_snat_handler() 187 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr, in tcp_snat_handler() [all …]
|
D | ip_vs_sh.c | 89 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey() argument 95 if (af == AF_INET6) in ip_vs_sh_hashkey() 112 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get() 134 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0); in ip_vs_sh_get_fallback() 142 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 149 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset); in ip_vs_sh_get_fallback() 157 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback() 196 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign() 342 IP_VS_DBG_ADDR(svc->af, hash_addr), in ip_vs_sh_schedule() 343 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_schedule()
|
D | ip_vs_lblcr.c | 205 IP_VS_DBG_ADDR(least->af, &least->addr), in ip_vs_dest_set_min() 251 IP_VS_DBG_ADDR(most->af, &most->addr), ntohs(most->port), in ip_vs_dest_set_max() 265 int af; /* address family */ member 318 ip_vs_lblcr_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_lblcr_hashkey() argument 323 if (af == AF_INET6) in ip_vs_lblcr_hashkey() 338 unsigned int hash = ip_vs_lblcr_hashkey(en->af, &en->addr); in ip_vs_lblcr_hash() 347 ip_vs_lblcr_get(int af, struct ip_vs_lblcr_table *tbl, in ip_vs_lblcr_get() argument 350 unsigned int hash = ip_vs_lblcr_hashkey(af, addr); in ip_vs_lblcr_get() 354 if (ip_vs_addr_equal(af, &en->addr, addr)) in ip_vs_lblcr_get() 367 u16 af, struct ip_vs_dest *dest) in ip_vs_lblcr_new() argument [all …]
|
D | ip_vs_ctl.c | 266 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey() argument 274 if (af == AF_INET6) in ip_vs_svc_hashkey() 312 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash() 360 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument 367 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find() 370 if ((svc->af == af) in __ip_vs_service_find() 371 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find() 388 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument 397 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find() 409 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument [all …]
|
D | ip_vs_dh.c | 76 static inline unsigned int ip_vs_dh_hashkey(int af, const union nf_inet_addr *addr) in ip_vs_dh_hashkey() argument 81 if (af == AF_INET6) in ip_vs_dh_hashkey() 93 ip_vs_dh_get(int af, struct ip_vs_dh_state *s, const union nf_inet_addr *addr) in ip_vs_dh_get() argument 95 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 227 dest = ip_vs_dh_get(svc->af, s, &iph->daddr); in ip_vs_dh_schedule() 237 IP_VS_DBG_ADDR(svc->af, &iph->daddr), in ip_vs_dh_schedule() 238 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule()
|
D | ip_vs_mh.c | 89 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 …]
|
D | ip_vs_pe_sip.c | 73 retc = ip_vs_fill_iph_skb(p->af, skb, false, &iph); in ip_vs_sip_fill_param() 112 if (ct->af == p->af && in ip_vs_sip_ct_match() 113 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && in ip_vs_sip_ct_match() 116 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match() 128 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_sip_ct_match()
|
/Linux-v4.19/net/sctp/ |
D | bind_addr.c | 231 struct sctp_af *af; in sctp_bind_addrs_to_raw() local 256 af = sctp_get_af_specific(addr->a.v4.sin_family); in sctp_bind_addrs_to_raw() 257 len = af->to_addr_param(&addr->a, &rawaddr); in sctp_bind_addrs_to_raw() 280 struct sctp_af *af; in sctp_raw_to_bind_addrs() local 287 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs() 288 if (unlikely(!af)) { in sctp_raw_to_bind_addrs() 294 af->from_addr_param(&addr, rawaddr, htons(port), 0); in sctp_raw_to_bind_addrs() 382 struct sctp_af *af; in sctp_bind_addr_state() local 385 af = sctp_get_af_specific(addr->sa.sa_family); in sctp_bind_addr_state() 386 if (unlikely(!af)) in sctp_bind_addr_state() [all …]
|
D | input.c | 108 struct sctp_af *af; in sctp_rcv() local 147 af = sctp_get_af_specific(family); in sctp_rcv() 148 if (unlikely(!af)) in sctp_rcv() 150 SCTP_INPUT_CB(skb)->af = af; in sctp_rcv() 153 af->from_skb(&src, skb, 1); in sctp_rcv() 154 af->from_skb(&dest, skb, 0); in sctp_rcv() 167 if (!af->addr_valid(&src, NULL, skb) || in sctp_rcv() 168 !af->addr_valid(&dest, NULL, skb)) in sctp_rcv() 184 if (sk->sk_bound_dev_if && (sk->sk_bound_dev_if != af->skb_iif(skb))) { in sctp_rcv() 485 struct sctp_af *af; in sctp_err_lookup() local [all …]
|
/Linux-v4.19/include/net/ |
D | ip_vs.h | 70 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument 77 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 114 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument 122 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp() 126 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument 134 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb() 150 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument 154 if (af == AF_INET6) in ip_vs_addr_copy() 161 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument 165 if (af == AF_INET6) { in ip_vs_addr_set() [all …]
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 235 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_target *xt_find_target(u8 af, const char *name, u8 revision); 321 struct xt_match *xt_request_find_match(u8 af, const char *name, u8 revision); 322 struct xt_target *xt_request_find_target(u8 af, const char *name, u8 revision); 323 int xt_find_revision(u8 af, const char *name, u8 revision, int target, 326 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, 328 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, 332 int xt_proto_init(struct net *net, u_int8_t af); 333 void xt_proto_fini(struct net *net, u_int8_t af); [all …]
|
/Linux-v4.19/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 247 struct alternate_functions af = pct->soc->alternate_functions[gpio]; in abx500_set_mode() local 260 if (((alt_setting == ABX500_ALT_A) && (af.gpiosel_bit == UNUSED)) || in abx500_set_mode() 261 ((alt_setting == ABX500_ALT_B) && (af.alt_bit1 == UNUSED)) || in abx500_set_mode() 262 ((alt_setting == ABX500_ALT_C) && (af.alt_bit2 == UNUSED))) { in abx500_set_mode() 280 if (af.alt_bit1 != UNUSED) in abx500_set_mode() 295 if (af.alt_bit1 != UNUSED) { in abx500_set_mode() 303 af.alt_bit1, in abx500_set_mode() 304 !!(af.alta_val & BIT(0))); in abx500_set_mode() 308 if (af.alt_bit2 != UNUSED) in abx500_set_mode() 311 af.alt_bit2, in abx500_set_mode() [all …]
|
/Linux-v4.19/arch/arm/mach-mmp/ |
D | mfp.h | 29 #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)
|
/Linux-v4.19/fs/afs/ |
D | file.c | 84 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument 92 wbk->key = af->key; in afs_cache_wb_key() 103 af->wb = wbk; in afs_cache_wb_key() 109 af->wb = p; in afs_cache_wb_key() 120 struct afs_file *af; in afs_open() local 132 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open() 133 if (!af) { in afs_open() 137 af->key = key; in afs_open() 144 ret = afs_cache_wb_key(vnode, af); in afs_open() 152 file->private_data = af; in afs_open() [all …]
|
/Linux-v4.19/arch/arm/mach-pxa/ |
D | mioa701.h | 5 #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))
|
/Linux-v4.19/sound/soc/codecs/ |
D | wm8737.c | 335 u16 af = 0; in wm8737_hw_params() local 362 af |= 0x8; in wm8737_hw_params() 365 af |= 0x10; in wm8737_hw_params() 368 af |= 0x18; in wm8737_hw_params() 374 snd_soc_component_update_bits(component, WM8737_AUDIO_FORMAT, WM8737_WL_MASK, af); in wm8737_hw_params() 407 u16 af = 0; in wm8737_set_dai_fmt() local 411 af |= WM8737_MS; in wm8737_set_dai_fmt() 421 af |= 0x2; in wm8737_set_dai_fmt() 426 af |= 0x1; in wm8737_set_dai_fmt() 429 af |= 0x3; in wm8737_set_dai_fmt() [all …]
|
/Linux-v4.19/arch/arm/plat-pxa/include/plat/ |
D | mfp.h | 410 #define MFP_CFG(pin, af) \ argument 412 (MFP_PIN(MFP_PIN_##pin) | MFP_##af)) 414 #define MFP_CFG_DRV(pin, af, drv) \ argument 416 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv)) 418 #define MFP_CFG_LPM(pin, af, lpm) \ argument 420 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 422 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 424 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|