/linux-6.6.21/drivers/media/platform/ti/omap3isp/ |
D | isph3a_af.c | 26 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 …]
|
/linux-6.6.21/net/netfilter/ |
D | x_tables.c | 91 u_int8_t af = target->family; in xt_register_target() local 93 mutex_lock(&xt[af].mutex); in xt_register_target() 94 list_add(&target->list, &xt[af].target); in xt_register_target() 95 mutex_unlock(&xt[af].mutex); in xt_register_target() 103 u_int8_t af = target->family; in xt_unregister_target() local 105 mutex_lock(&xt[af].mutex); in xt_unregister_target() 107 mutex_unlock(&xt[af].mutex); in xt_unregister_target() 141 u_int8_t af = match->family; in xt_register_match() local 143 mutex_lock(&xt[af].mutex); in xt_register_match() 144 list_add(&match->list, &xt[af].match); in xt_register_match() [all …]
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_proto_ah_esp.c | 40 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 …]
|
D | ip_vs_proto_udp.c | 28 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 …]
|
D | ip_vs_ftp.c | 100 __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 …]
|
D | ip_vs_conn.c | 106 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument 111 if (af == AF_INET6) in ip_vs_conn_hashkey() 139 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param() 146 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn() 273 cp->af == p->af && in __ip_vs_conn_in_get() 274 ip_vs_addr_equal(p->af, p->caddr, &cp->caddr) && in __ip_vs_conn_in_get() 275 ip_vs_addr_equal(p->af, p->vaddr, &cp->vaddr) && in __ip_vs_conn_in_get() 305 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get() 306 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_conn_in_get() 314 int af, const struct sk_buff *skb, in ip_vs_conn_fill_param_proto() argument [all …]
|
D | ip_vs_core.c | 236 ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist() 279 if (svc->af == AF_INET6) in ip_vs_sched_persist() 288 IP_VS_DBG_ADDR(svc->af, src_addr), ntohs(src_port), in ip_vs_sched_persist() 289 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist() 290 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 371 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 397 ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, in ip_vs_sched_persist() 400 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 480 IP_VS_DBG_PKT(12, svc->af, pp, skb, iph->off, in ip_vs_schedule() 492 svc->af, skb, iph); in ip_vs_schedule() [all …]
|
D | ip_vs_proto_tcp.c | 32 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 …]
|
D | ip_vs_lblc.c | 90 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 …]
|
D | ip_vs_sh.c | 84 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()
|
D | ip_vs_lblcr.c | 200 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 …]
|
D | ip_vs_ctl.c | 314 ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_svc_hashkey() argument 322 if (af == AF_INET6) in ip_vs_svc_hashkey() 360 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash() 408 __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, in __ip_vs_service_find() argument 415 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find() 418 if ((svc->af == af) in __ip_vs_service_find() 419 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find() 436 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument 445 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find() 457 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 | 71 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()
|
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() 238 unsigned int hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, 0) in ip_vs_mh_get() 255 ihash = ip_vs_mh_hashkey(svc->af, addr, port, in ip_vs_mh_get_fallback() 264 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_mh_get_fallback() 271 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback() 280 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_mh_get_fallback() 311 IP_VS_DBG_ADDR(svc->af, &svc->addr), in ip_vs_mh_reassign() [all …]
|
D | ip_vs_pe_sip.c | 74 retc = ip_vs_fill_iph_skb(p->af, skb, false, &iph); in ip_vs_sip_fill_param() 113 if (ct->af == p->af && in ip_vs_sip_ct_match() 114 ip_vs_addr_equal(p->af, p->caddr, &ct->caddr) && in ip_vs_sip_ct_match() 117 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match() 129 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_sip_ct_match()
|
/linux-6.6.21/net/sctp/ |
D | bind_addr.c | 222 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 …]
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
D | ia_css_s3a.host.c | 108 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 …]
|
/linux-6.6.21/include/net/ |
D | ip_vs.h | 71 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off() argument 78 if (af == AF_INET6) { in ip_vs_fill_iph_skb_off() 115 ip_vs_fill_iph_skb_icmp(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_icmp() argument 123 return ip_vs_fill_iph_skb_off(af, skb, offset, hdr_flags, iphdr); in ip_vs_fill_iph_skb_icmp() 127 ip_vs_fill_iph_skb(int af, const struct sk_buff *skb, bool inverse, in ip_vs_fill_iph_skb() argument 135 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb() 151 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy() argument 155 if (af == AF_INET6) in ip_vs_addr_copy() 162 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set() argument 166 if (af == AF_INET6) { in ip_vs_addr_set() [all …]
|
/linux-6.6.21/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-6.6.21/include/linux/netfilter/ |
D | x_tables.h | 238 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(struct net *net, u8 af, const char *name); 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-6.6.21/fs/afs/ |
D | file.c | 97 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() argument 105 wbk->key = af->key; in afs_cache_wb_key() 116 af->wb = wbk; in afs_cache_wb_key() 122 af->wb = p; in afs_cache_wb_key() 133 struct afs_file *af; in afs_open() local 145 af = kzalloc(sizeof(*af), GFP_KERNEL); in afs_open() 146 if (!af) { in afs_open() 150 af->key = key; in afs_open() 157 ret = afs_cache_wb_key(vnode, af); in afs_open() 167 file->private_data = af; in afs_open() [all …]
|
/linux-6.6.21/tools/net/ynl/generated/ |
D | fou-user.h | 130 __u32 af:1; member 140 __u8 af; member 156 static inline void fou_del_req_set_af(struct fou_del_req *req, __u8 af) in fou_del_req_set_af() argument 158 req->_present.af = 1; in fou_del_req_set_af() 159 req->af = af; in fou_del_req_set_af() 220 __u32 af:1; member 230 __u8 af; member 246 static inline void fou_get_req_set_af(struct fou_get_req *req, __u8 af) in fou_get_req_set_af() argument 248 req->_present.af = 1; in fou_get_req_set_af() 249 req->af = af; in fou_get_req_set_af()
|
/linux-6.6.21/lib/zlib_dfltcc/ |
D | dfltcc.c | 30 memmove(&dfltcc_state->af, &dfltcc_state->param, sizeof(dfltcc_state->af)); in dfltcc_reset_state() 32 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset_state()
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm8737.c | 332 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 …]
|
/linux-6.6.21/include/linux/soc/pxa/ |
D | mfp.h | 405 #define MFP_CFG(pin, af) \ argument 407 (MFP_PIN(MFP_PIN_##pin) | MFP_##af)) 409 #define MFP_CFG_DRV(pin, af, drv) \ argument 411 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv)) 413 #define MFP_CFG_LPM(pin, af, lpm) \ argument 415 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_LPM_##lpm)) 417 #define MFP_CFG_X(pin, af, drv, lpm) \ argument 419 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_##drv | MFP_LPM_##lpm))
|