/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | ak4118.c | 157 int dif; in ak4118_set_dai_fmt_master() local 161 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_master() 164 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; in ak4118_set_dai_fmt_master() 167 dif = AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_master() 173 return dif; in ak4118_set_dai_fmt_master() 179 int dif; in ak4118_set_dai_fmt_slave() local 183 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | in ak4118_set_dai_fmt_slave() 187 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_slave() 193 return dif; in ak4118_set_dai_fmt_slave() 201 int dif; in ak4118_set_dai_fmt() local [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 58 const int dif, const int sdif); 67 const int dif, const int sdif, in __inet6_lookup() argument 72 dif, sdif); in __inet6_lookup() 78 daddr, hnum, dif, sdif); in __inet6_lookup() 103 const int dif); 111 const int dif, const int sdif) in inet6_match() argument 121 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match()
|
D | inet_hashtables.h | 252 const int dif, const int sdif); 258 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 261 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 295 int dif, int sdif) in INET_MATCH() argument 303 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in INET_MATCH() 314 const int dif, const int sdif); 320 const int dif) in inet_lookup_established() argument 323 ntohs(dport), dif, 0); in inet_lookup_established() 331 const int dif, const int sdif, in __inet_lookup() argument 338 daddr, hnum, dif, sdif); in __inet_lookup() [all …]
|
D | raw.h | 25 __be32 laddr, int dif, int sdif); 75 int dif, int sdif) in raw_sk_bound_dev_eq() argument 79 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 81 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
D | inet_sock.h | 145 int dif, int sdif) in inet_bound_dev_eq() argument 149 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 153 int dif, int sdif) in inet_sk_bound_dev_eq() argument 157 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 159 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
D | udp.h | 260 int dif, int sdif) in udp_sk_bound_dev_eq() argument 264 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 266 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 313 __be32 daddr, __be16 dport, int dif); 315 __be32 daddr, __be16 dport, int dif, int sdif, 322 int dif); 326 int dif, int sdif, struct udp_table *tbl,
|
D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
D | ipv6_stubs.h | 80 int dif, int sdif, struct udp_table *tbl,
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() argument 74 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 79 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 97 const int dif, const int sdif) in compute_score() argument 106 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 139 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 147 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 192 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument 211 dif, sdif); in inet6_lookup_listener() 221 dif, sdif); in inet6_lookup_listener() [all …]
|
D | udp.c | 104 int dif, int sdif) in compute_score() argument 133 dev_match = udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif); in compute_score() 167 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 177 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 221 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 235 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 260 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 296 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 301 dif, 0, &udp_table, NULL); in udp6_lib_lookup() 763 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument [all …]
|
D | exthdrs.c | 1194 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1197 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1199 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1201 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1203 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sd_dif.c | 33 int dif, dix; in sd_dif_config_host() local 35 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 39 dif = 0; dix = 1; in sd_dif_config_host() 65 if (dif && type) { in sd_dif_config_host()
|
D | sd.c | 342 unsigned int dif, dix; in protection_mode_show() local 344 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show() 348 dif = 0; in protection_mode_show() 352 if (!dif && !dix) in protection_mode_show() 355 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show() 723 static unsigned int sd_prot_op(bool write, bool dix, bool dif) in sd_prot_op() argument 737 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op() 782 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument 785 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd() 796 if (dif != T10_PI_TYPE3_PROTECTION) { /* DIX/DIF Type 0, 1, 2 */ in sd_setup_protect_cmnd() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_ptp.c | 256 s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2; in qed_ptp_hw_adjfreq() local 284 dif = ppb * approx_dev - val * 1000000000; in qed_ptp_hw_adjfreq() 285 dif2 = dif + 16 * ppb; in qed_ptp_hw_adjfreq() 287 if (dif < 0) in qed_ptp_hw_adjfreq() 288 dif = -dif; in qed_ptp_hw_adjfreq() 293 if (dif * (approx_dev + 16) > dif2 * approx_dev) { in qed_ptp_hw_adjfreq() 296 dif = dif2; in qed_ptp_hw_adjfreq() 300 if (best_dif * approx_dev > dif * best_approx_dev) { in qed_ptp_hw_adjfreq() 301 best_dif = dif; in qed_ptp_hw_adjfreq()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
D | ninet_hashtables.h | 50 const u16 hnum, const int dif); 58 const unsigned short hnum, const int dif, const int sdif); 67 const int dif, bool *refcounted) in __ninet_lookup() argument 70 sport, daddr, hnum, dif); in __ninet_lookup() 76 daddr, hnum, dif, 0); in __ninet_lookup()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 161 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 162 domain->sig.dif.ref_tag = t10_pi_ref_tag(sc->request); in iser_set_dif_domain() 167 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 168 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 169 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 171 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 182 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 188 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 194 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 196 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | ninet_hashtables.c | 310 const int dif) in __ninet_lookup_established() argument 325 if (!ninet_match(sk, net, saddr, daddr, ports, dif)) in __ninet_lookup_established() 332 if (unlikely(!ninet_match(sk, net, saddr, daddr, ports, dif))) { in __ninet_lookup_established() 349 const int dif, int sdif) in nip_tcp_compute_score() argument 361 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in nip_tcp_compute_score() 377 const int dif, const int sdif) in ninet_lhash2_lookup() argument 391 score = nip_tcp_compute_score(sk, net, hnum, daddr, dif, sdif); in ninet_lhash2_lookup() 417 const unsigned short hnum, const int dif, const int sdif) in ninet_lookup_listener() argument 427 dif, sdif); in ninet_lookup_listener() 436 dif, sdif); in ninet_lookup_listener()
|
D | udp.c | 146 int dif, int sdif) in nip_udp_compute_score() argument 186 bool dev_match = dif == sk->sk_bound_dev_if || sdif == sk->sk_bound_dev_if; in nip_udp_compute_score() 203 int dif, int sdif, in nip_udp_lib_lookup2() argument 212 int score = nip_udp_compute_score(sk, net, saddr, sport, daddr, hnum, dif, sdif); in nip_udp_lib_lookup2() 226 int dif, int sdif, struct udp_table *udptable, in __nip_udp_lib_lookup() argument 241 daddr, hnum, dif, sdif, in __nip_udp_lib_lookup() 253 &nip_any_addr, hnum, dif, sdif, in __nip_udp_lib_lookup()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | inet_hashtables.c | 243 const int dif, const int sdif) in compute_score() argument 252 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 292 const int dif, const int sdif) in inet_lhash2_lookup() argument 300 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 343 const int dif, const int sdif) in __inet_lookup_listener() argument 362 dif, sdif); in __inet_lookup_listener() 372 dif, sdif); in __inet_lookup_listener() 405 const int dif, const int sdif) in __inet_lookup_established() argument 422 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established() 426 ports, dif, sdif))) { in __inet_lookup_established() [all …]
|
D | udp.c | 360 int dif, int sdif) in compute_score() argument 390 dif, sdif); in compute_score() 433 int dif, int sdif, in udp4_lib_lookup2() argument 444 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 486 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 500 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 525 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 561 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 566 dif, 0, &udp_table, NULL); in udp4_lib_lookup() 577 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument [all …]
|
D | ping.c | 175 int dif, sdif; in ping_lookup() local 178 dif = inet_iif(skb); in ping_lookup() 181 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 184 dif = inet6_iif(skb); in ping_lookup() 187 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 229 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup() 415 int dif = sk->sk_bound_dev_if; in ping_bind() local 431 sk->sk_bound_dev_if = dif; in ping_bind()
|
D | raw.c | 122 int dif, int sdif) in __raw_v4_lookup() argument 130 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in __raw_v4_lookup() 172 int dif = inet_iif(skb); in raw_v4_input() local 185 iph->saddr, iph->daddr, dif, sdif); in raw_v4_input() 200 dif, sdif); in raw_v4_input() 299 int dif = skb->dev->ifindex; in raw_icmp_error() local 307 dif, sdif)) != NULL) { in raw_icmp_error()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | wr.c | 556 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); in mlx5_fill_inl_bsf() 557 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); in mlx5_fill_inl_bsf() 560 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? in mlx5_fill_inl_bsf() 563 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 566 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 567 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 574 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 599 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); in mlx5_set_bsf() 612 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() 616 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type) in mlx5_set_bsf() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | signature.h | 76 struct ib_t10_dif_domain dif; member
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip.c | 46 __be32 raddr, int dif, u32 tunnel_id) in __l2tp_ip_bind_lookup() argument 57 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip_bind_lookup()
|