/linux-6.12.1/sound/soc/codecs/ |
D | ak4118.c | 156 int dif; in ak4118_set_dai_fmt_provider() local 160 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 163 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; in ak4118_set_dai_fmt_provider() 166 dif = AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 172 return dif; in ak4118_set_dai_fmt_provider() 178 int dif; in ak4118_set_dai_fmt_consumer() local 182 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | in ak4118_set_dai_fmt_consumer() 186 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_consumer() 192 return dif; in ak4118_set_dai_fmt_consumer() 200 int dif; in ak4118_set_dai_fmt() local [all …]
|
D | ak4613.c | 217 u8 dif; member 278 .dif = _dif, \ 631 priv->ctrl1 = (tdm << 6) | (iface->dif << 3); in ak4613_dai_hw_params()
|
/linux-6.12.1/net/ipv6/ |
D | inet6_hashtables.c | 55 const int dif, const int sdif) in __inet6_lookup_established() argument 72 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 77 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 95 const int dif, const int sdif) in compute_score() argument 104 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 155 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 162 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 183 const u16 hnum, const int dif, in inet6_lookup_run_sk_lookup() argument 190 daddr, hnum, dif, &sk); in inet6_lookup_run_sk_lookup() 207 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument [all …]
|
D | udp.c | 120 int dif, int sdif) in compute_score() argument 150 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score() 166 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() argument 179 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2() 223 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 237 daddr, hnum, dif, sdif, in __udp6_lib_lookup() 246 saddr, sport, daddr, hnum, dif, in __udp6_lib_lookup() 264 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup() 304 const struct in6_addr *daddr, __be16 dport, int dif) in udp6_lib_lookup() argument 309 dif, 0, net->ipv4.udp_table, NULL); in udp6_lib_lookup() [all …]
|
/linux-6.12.1/fs/erofs/ |
D | super.c | 160 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() argument 171 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device() 176 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device() 177 if (!dif->path) in erofs_init_device() 182 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 185 dif->fscache = fscache; in erofs_init_device() 188 filp_open(dif->path, O_RDONLY | O_LARGEFILE, 0) : in erofs_init_device() 189 bdev_file_open_by_path(dif->path, in erofs_init_device() 195 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(file), in erofs_init_device() 196 &dif->dax_part_off, NULL, NULL); in erofs_init_device() [all …]
|
D | data.c | 187 struct erofs_device_info *dif) in erofs_fill_from_devinfo() argument 191 if (dif->file) { in erofs_fill_from_devinfo() 192 if (S_ISBLK(file_inode(dif->file)->i_mode)) in erofs_fill_from_devinfo() 193 map->m_bdev = file_bdev(dif->file); in erofs_fill_from_devinfo() 195 map->m_fp = dif->file; in erofs_fill_from_devinfo() 197 map->m_daxdev = dif->dax_dev; in erofs_fill_from_devinfo() 198 map->m_dax_part_off = dif->dax_part_off; in erofs_fill_from_devinfo() 199 map->m_fscache = dif->fscache; in erofs_fill_from_devinfo() 205 struct erofs_device_info *dif; in erofs_map_dev() local 217 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() [all …]
|
/linux-6.12.1/net/sctp/ |
D | input.c | 54 int dif, int sdif); 59 int dif, int sdif); 65 int dif, int sdif); 102 int dif, sdif; in sctp_rcv() local 147 dif = af->skb_iif(skb); in sctp_rcv() 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv() 168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); in sctp_rcv() 474 int dif = inet_iif(skb); in sctp_err_lookup() local 490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); in sctp_err_lookup() 844 int dif, int sdif) in __sctp_rcv_lookup_endpoint() argument [all …]
|
D | endpointola.c | 250 int dif, int sdif) in sctp_endpoint_is_match() argument 256 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match()
|
/linux-6.12.1/include/net/ |
D | inet6_hashtables.h | 48 const u16 hnum, const int dif, 74 const int dif, const int sdif); 82 const u16 hnum, const int dif, 92 const int dif, const int sdif, in __inet6_lookup() argument 97 dif, sdif); in __inet6_lookup() 103 daddr, hnum, dif, sdif); in __inet6_lookup() 174 const int dif); 182 const int dif, const int sdif) in inet6_match() argument 192 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match()
|
D | inet_hashtables.h | 313 const int dif, const int sdif); 319 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 322 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 356 int dif, int sdif) in inet_match() argument 364 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match() 375 const int dif, const int sdif); 395 __be32 daddr, u16 hnum, const int dif, 402 const int dif) in inet_lookup_established() argument 405 ntohs(dport), dif, 0); in inet_lookup_established() 413 const int dif, const int sdif, in __inet_lookup() argument [all …]
|
D | raw.h | 26 __be32 raddr, __be32 laddr, int dif, int sdif); 89 int dif, int sdif) in raw_sk_bound_dev_eq() argument 93 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 95 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
D | udp.h | 250 int dif, int sdif) in udp_sk_bound_dev_eq() argument 254 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 256 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 301 __be32 daddr, __be16 dport, int dif); 304 __be32 daddr, __be16 dport, int dif, int sdif, 311 int dif); 315 int dif, int sdif, struct udp_table *tbl,
|
D | inet_sock.h | 146 int dif, int sdif) in inet_bound_dev_eq() argument 150 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 155 int dif, int sdif) in inet_sk_bound_dev_eq() argument 159 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 161 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
D | rawv6.h | 11 const struct in6_addr *rmt_addr, int dif, int sdif);
|
/linux-6.12.1/drivers/scsi/ |
D | sd_dif.c | 32 int dif, dix; in sd_dif_config_host() local 36 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 40 dif = 0; dix = 1; in sd_dif_config_host() 57 if (dif && type) { in sd_dif_config_host()
|
/linux-6.12.1/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-6.12.1/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 180 domain->sig.dif.pi_interval = scsi_prot_interval(sc); in iser_set_dif_domain() 181 domain->sig.dif.ref_tag = t10_pi_ref_tag(scsi_cmd_to_rq(sc)); in iser_set_dif_domain() 186 domain->sig.dif.apptag_check_mask = 0xffff; in iser_set_dif_domain() 187 domain->sig.dif.app_escape = true; in iser_set_dif_domain() 188 domain->sig.dif.ref_escape = true; in iser_set_dif_domain() 190 domain->sig.dif.ref_remap = true; in iser_set_dif_domain() 201 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 207 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs() 213 sig_attrs->wire.sig.dif.bg_type = IB_T10DIF_CRC; in iser_set_sig_attrs() 215 sig_attrs->mem.sig.dif.bg_type = sc->prot_flags & SCSI_PROT_IP_CHECKSUM ? in iser_set_sig_attrs()
|
/linux-6.12.1/drivers/clk/ |
D | clk-renesas-pcie.c | 172 u8 dif = rs9_calc_dif(rs9, idx); in rs9_get_output_config() local 179 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 191 rs9->clk_dif_sr &= ~dif; in rs9_get_output_config() 193 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 264 u8 dif = rs9_calc_dif(rs9, i); in rs9_update_config() local 266 if (rs9->clk_dif_sr & dif) in rs9_update_config() 269 regmap_update_bits(rs9->regmap, RS9_REG_SR, dif, in rs9_update_config() 270 rs9->clk_dif_sr & dif); in rs9_update_config()
|
/linux-6.12.1/net/ipv4/ |
D | inet_hashtables.c | 315 const int dif, const int sdif) in compute_score() argument 324 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 382 const int dif, const int sdif) in inet_lhash2_lookup() argument 389 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 408 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument 415 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup() 431 const int dif, const int sdif) in __inet_lookup_listener() argument 441 saddr, sport, daddr, hnum, dif, in __inet_lookup_listener() 452 dif, sdif); in __inet_lookup_listener() 462 dif, sdif); in __inet_lookup_listener() [all …]
|
D | udp.c | 372 int dif, int sdif) in compute_score() argument 402 dif, sdif); in compute_score() 427 int dif, int sdif, in udp4_lib_lookup2() argument 441 sport, 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() 508 saddr, sport, daddr, hnum, dif, in __udp4_lib_lookup() 526 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup() 566 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument 571 dif, 0, net->ipv4.udp_table, NULL); in udp4_lib_lookup() [all …]
|
D | ping.c | 172 int dif, sdif; in ping_lookup() local 175 dif = inet_iif(skb); in ping_lookup() 178 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup() 181 dif = inet6_iif(skb); in ping_lookup() 184 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup() 224 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup() 420 int dif = sk->sk_bound_dev_if; in ping_bind() local 436 sk->sk_bound_dev_if = dif; in ping_bind()
|
D | raw.c | 120 __be32 raddr, __be32 laddr, int dif, int sdif) in raw_v4_match() argument 127 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in raw_v4_match() 168 int dif = inet_iif(skb); in raw_v4_input() local 176 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input() 275 int dif = skb->dev->ifindex; in raw_icmp_error() local 289 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | wr.c | 335 inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag); in mlx5_fill_inl_bsf() 336 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag); in mlx5_fill_inl_bsf() 339 inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ? in mlx5_fill_inl_bsf() 342 if (domain->sig.dif.ref_remap) in mlx5_fill_inl_bsf() 345 if (domain->sig.dif.app_escape) { in mlx5_fill_inl_bsf() 346 if (domain->sig.dif.ref_escape) in mlx5_fill_inl_bsf() 353 cpu_to_be16(domain->sig.dif.apptag_check_mask); in mlx5_fill_inl_bsf() 378 basic->mem.bs_selector = bs_selector(mem->sig.dif.pi_interval); in mlx5_set_bsf() 391 if (mem->sig.dif.pi_interval == wire->sig.dif.pi_interval && in mlx5_set_bsf() 395 if (mem->sig.dif.bg_type == wire->sig.dif.bg_type) in mlx5_set_bsf() [all …]
|
/linux-6.12.1/include/rdma/ |
D | signature.h | 76 struct ib_t10_dif_domain dif; member
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 43 unsigned long now, then, dif; in ionic_txq_poke_doorbell() local 58 dif = now - then; in ionic_txq_poke_doorbell() 60 if (dif > q->dbell_deadline) { in ionic_txq_poke_doorbell() 74 unsigned long now, then, dif; in ionic_rxq_poke_doorbell() local 83 dif = now - then; in ionic_rxq_poke_doorbell() 85 if (dif > q->dbell_deadline) { in ionic_rxq_poke_doorbell() 91 dif = 2 * q->dbell_deadline; in ionic_rxq_poke_doorbell() 92 if (dif > IONIC_RX_MAX_DOORBELL_DEADLINE) in ionic_rxq_poke_doorbell() 93 dif = IONIC_RX_MAX_DOORBELL_DEADLINE; in ionic_rxq_poke_doorbell() 95 q->dbell_deadline = dif; in ionic_rxq_poke_doorbell()
|