/Linux-v5.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 …]
|
/Linux-v5.10/net/ipv6/ |
D | inet6_hashtables.c | 57 const int dif, const int sdif) in __inet6_lookup_established() argument 74 if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 79 if (unlikely(!INET6_MATCH(sk, net, 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() 166 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 176 daddr, hnum, dif, sdif); in udp6_lib_lookup2() 220 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 234 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 259 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 295 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 300 dif, 0, &udp_table, NULL); in udp6_lib_lookup() 762 int dif, int sdif, unsigned short hnum) in __udp_v6_is_mcast_sock() argument [all …]
|
D | exthdrs.c | 1195 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options() local 1198 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options() 1200 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options() 1202 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options() 1204 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
|
/Linux-v5.10/include/net/ |
D | inet_hashtables.h | 201 int dif, int sdif) in inet_sk_bound_dev_eq() argument 205 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 207 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 263 const int dif, const int sdif); 269 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 272 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 330 const int dif, const int sdif); 336 const int dif) in inet_lookup_established() argument 339 ntohs(dport), dif, 0); in inet_lookup_established() 347 const int dif, const int sdif, in __inet_lookup() argument [all …]
|
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);
|
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 | udp.h | 259 int dif, int sdif) in udp_sk_bound_dev_eq() argument 263 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 265 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 312 __be32 daddr, __be16 dport, int dif); 314 __be32 daddr, __be16 dport, int dif, int sdif, 321 int dif); 325 int dif, int sdif, struct udp_table *tbl,
|
D | rawv6.h | 10 const struct in6_addr *rmt_addr, int dif, int sdif);
|
D | inet_sock.h | 143 int dif, int sdif) in inet_bound_dev_eq() argument 147 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
|
D | ipv6_stubs.h | 79 int dif, int sdif, struct udp_table *tbl,
|
/Linux-v5.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 …]
|
/Linux-v5.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()
|
/Linux-v5.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()
|
/Linux-v5.10/net/ipv4/ |
D | inet_hashtables.c | 234 const int dif, const int sdif) in compute_score() argument 243 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 281 const int dif, const int sdif) in inet_lhash2_lookup() argument 289 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 332 const int dif, const int sdif) in __inet_lookup_listener() argument 351 dif, sdif); in __inet_lookup_listener() 361 dif, sdif); in __inet_lookup_listener() 394 const int dif, const int sdif) in __inet_lookup_established() argument 412 saddr, daddr, ports, dif, sdif))) { in __inet_lookup_established() 417 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() 432 int dif, int sdif, in udp4_lib_lookup2() argument 443 daddr, hnum, dif, sdif); in udp4_lib_lookup2() 485 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument 499 daddr, hnum, dif, sdif, in __udp4_lib_lookup() 524 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 560 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 565 dif, 0, &udp_table, NULL); in udp4_lib_lookup() 576 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument [all …]
|
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()
|
D | ping.c | 175 int dif = skb->dev->ifindex; in ping_lookup() local 179 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 183 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 223 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in ping_lookup() 397 int dif = sk->sk_bound_dev_if; in ping_bind() local 413 sk->sk_bound_dev_if = dif; in ping_bind()
|
/Linux-v5.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 …]
|
/Linux-v5.10/include/rdma/ |
D | signature.h | 76 struct ib_t10_dif_domain dif; member
|
/Linux-v5.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()
|
D | l2tp_ip6.c | 57 int dif, u32 tunnel_id) in __l2tp_ip6_bind_lookup() argument 69 if (sk->sk_bound_dev_if && dif && sk->sk_bound_dev_if != dif) in __l2tp_ip6_bind_lookup()
|
/Linux-v5.10/drivers/nvme/target/ |
D | rdma.c | 580 domain->sig.dif.bg_type = IB_T10DIF_CRC; in nvmet_rdma_set_sig_domain() 581 domain->sig.dif.pi_interval = 1 << bi->interval_exp; in nvmet_rdma_set_sig_domain() 582 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvmet_rdma_set_sig_domain() 584 domain->sig.dif.ref_remap = true; in nvmet_rdma_set_sig_domain() 586 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.apptag); in nvmet_rdma_set_sig_domain() 587 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.appmask); in nvmet_rdma_set_sig_domain() 588 domain->sig.dif.app_escape = true; in nvmet_rdma_set_sig_domain() 590 domain->sig.dif.ref_escape = true; in nvmet_rdma_set_sig_domain()
|
/Linux-v5.10/include/linux/ |
D | igmp.h | 128 int dif, int sdif);
|