Home
last modified time | relevance | path

Searched refs:dif (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.15/sound/soc/codecs/
H A Dak4118.c156 int dif; in ak4118_set_dai_fmt_provider() local
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
192 return dif; in ak4118_set_dai_fmt_consumer()
200 int dif; in ak4118_set_dai_fmt() local
205 dif = ak4118_set_dai_fmt_provider(ak4118, format); in ak4118_set_dai_fmt()
208 dif = ak4118_set_dai_fmt_consumer(ak4118, format); in ak4118_set_dai_fmt()
216 if (dif < 0) { in ak4118_set_dai_fmt()
217 ret = dif; in ak4118_set_dai_fmt()
[all …]
H A Dak4613.c217 u8 dif; member
278 .dif = _dif, \
631 priv->ctrl1 = (tdm << 6) | (iface->dif << 3); in ak4613_dai_hw_params()
/linux-6.15/fs/erofs/
H A Dsuper.c154 if (!dif->path) in erofs_init_device()
178 dif->file = file; in erofs_init_device()
227 dif = kzalloc(sizeof(*dif), GFP_KERNEL); in erofs_scan_devices()
228 if (!dif) { in erofs_scan_devices()
235 kfree(dif); in erofs_scan_devices()
462 dif = kzalloc(sizeof(*dif), GFP_KERNEL); in erofs_fc_parse_param()
463 if (!dif) in erofs_fc_parse_param()
467 kfree(dif); in erofs_fc_parse_param()
475 kfree(dif); in erofs_fc_parse_param()
736 if (dif->file) in erofs_release_device_info()
[all …]
H A Ddata.c166 map->m_dif = dif; in erofs_fill_from_devinfo()
168 if (dif->file && S_ISBLK(file_inode(dif->file)->i_mode)) in erofs_fill_from_devinfo()
169 map->m_bdev = file_bdev(dif->file); in erofs_fill_from_devinfo()
175 struct erofs_device_info *dif; in erofs_map_dev() local
184 if (!dif) { in erofs_map_dev()
189 map->m_pa += erofs_pos(sb, dif->uniaddr); in erofs_map_dev()
193 erofs_fill_from_devinfo(map, sb, dif); in erofs_map_dev()
197 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
198 if (!dif->uniaddr) in erofs_map_dev()
201 startoff = erofs_pos(sb, dif->uniaddr); in erofs_map_dev()
[all …]
/linux-6.15/net/ipv6/
H A Dinet6_hashtables.c55 const int dif, const int sdif) in __inet6_lookup_established() argument
95 const int dif, const int sdif) in compute_score() argument
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()
217 saddr, sport, daddr, hnum, dif, in inet6_lookup_listener()
228 dif, sdif); in inet6_lookup_listener()
238 dif, sdif); in inet6_lookup_listener()
251 const int dif) in inet6_lookup() argument
274 const int dif = sk->sk_bound_dev_if; in __inet6_check_established() local
288 ports, dif, sdif)) in __inet6_check_established()
[all …]
H A Dudp.c131 int dif, int sdif) in compute_score() argument
358 dif, sdif, udptable); in __udp6_lib_lookup()
365 daddr, hnum, dif, sdif, in __udp6_lib_lookup()
374 saddr, sport, daddr, hnum, dif, in __udp6_lib_lookup()
391 &in6addr_any, hnum, dif, sdif, in __udp6_lib_lookup()
443 dif, 0, net->ipv4.udp_table, NULL); in udp6_lib_lookup()
986 int dif = inet6_iif(skb); in __udp6_lib_mcast_deliver() local
1002 uh->source, saddr, dif, sdif, in __udp6_lib_mcast_deliver()
1198 int dif, int sdif) in __udp6_lib_demux_lookup() argument
1227 int dif = skb->dev->ifindex; in udp_v6_early_demux() local
[all …]
/linux-6.15/net/sctp/
H A Dinput.c59 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()
474 int dif = inet_iif(skb); in sctp_err_lookup() local
844 int dif, int sdif) in __sctp_rcv_lookup_endpoint() argument
999 int dif, int sdif) in sctp_addrs_lookup_transport() argument
1057 int dif, int sdif) in __sctp_lookup_association() argument
1094 int dif, int sdif) in sctp_has_association() argument
1127 int dif, int sdif) in __sctp_rcv_init_lookup() argument
[all …]
H A Dendpointola.c250 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.15/include/net/
H A Dinet6_hashtables.h48 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()
H A Dinet_hashtables.h313 const int dif, const int sdif);
322 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
356 int dif, int sdif) in inet_match() argument
375 const int dif, const int sdif);
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
420 daddr, hnum, dif, sdif); in __inet_lookup()
426 sport, daddr, hnum, dif, sdif); in __inet_lookup()
434 const int dif) in inet_lookup() argument
[all …]
H A Draw.h26 __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()
H A Dinet_sock.h147 int dif, int sdif) in inet_bound_dev_eq() argument
151 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq()
156 int dif, int sdif) in inet_sk_bound_dev_eq() argument
160 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
162 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
H A Dudp.h375 int dif, int sdif) in udp_sk_bound_dev_eq() argument
379 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
381 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
426 __be32 daddr, __be16 dport, int dif);
429 __be32 daddr, __be16 dport, int dif, int sdif,
436 int dif);
440 int dif, int sdif, struct udp_table *tbl,
H A Drawv6.h11 const struct in6_addr *rmt_addr, int dif, int sdif);
/linux-6.15/drivers/scsi/
H A Dsd_dif.c32 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.15/drivers/net/ethernet/qlogic/qed/
H A Dqed_ptp.c256 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.15/drivers/infiniband/ulp/iser/
H A Diser_memory.c180 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.15/drivers/clk/
H A Dclk-renesas-pcie.c172 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.15/net/ipv4/
H A Dinet_hashtables.c315 const int dif, const int sdif) in compute_score() argument
382 const int dif, const int sdif) in inet_lhash2_lookup() argument
415 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup()
452 dif, sdif); in __inet_lookup_listener()
462 dif, sdif); in __inet_lookup_listener()
495 const int dif, const int sdif) in __inet_lookup_established() argument
516 ports, dif, sdif))) { in __inet_lookup_established()
548 int dif = sk->sk_bound_dev_if; in __inet_check_established() local
634 const int dif = sk->sk_bound_dev_if; in inet_ehash_lookup_by_sk() local
646 ports, dif, sdif))) { in inet_ehash_lookup_by_sk()
[all …]
H A Dudp.c371 int dif, int sdif) in compute_score() argument
401 dif, sdif); in compute_score()
445 int dif, int sdif, in udp4_lib_lookup1() argument
469 int dif, int sdif, in udp4_lib_lookup2() argument
527 int dif, int sdif, in udp4_lib_lookup4() argument
545 int dif, int sdif, in udp4_lib_lookup4() argument
691 dif, sdif, udptable); in __udp4_lib_lookup()
698 daddr, hnum, dif, sdif, in __udp4_lib_lookup()
2752 int dif, int sdif) in __udp4_lib_mcast_demux_lookup() argument
2787 int dif, int sdif) in __udp4_lib_demux_lookup() argument
[all …]
H A Dping.c172 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()
H A Draw.c120 __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.15/drivers/infiniband/hw/mlx5/
H A Dwr.c342 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()
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()
397 if (mem->sig.dif.app_tag == wire->sig.dif.app_tag) in mlx5_set_bsf()
399 if (mem->sig.dif.ref_tag == wire->sig.dif.ref_tag) in mlx5_set_bsf()
403 bs_selector(wire->sig.dif.pi_interval); in mlx5_set_bsf()
480 u16 block_size = sig_attrs->mem.sig.dif.pi_interval; in set_sig_data_segment()
[all …]
/linux-6.15/include/rdma/
H A Dsignature.h76 struct ib_t10_dif_domain dif; member
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c43 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()

123