Home
last modified time | relevance | path

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

123

/linux/sound/soc/codecs/
H A Dak4118.c156 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...]
H A Dak4613.c217 u8 dif; member
278 .dif = _dif, \
629 * < tdm > < iface->dif > in ak4613_dai_hw_params()
631 priv->ctrl1 = (tdm << 6) | (iface->dif << 3); in ak4613_dai_hw_params()
/linux/net/ipv6/
H A Dinet6_hashtables.c89 const int dif, const int sdif) in __inet6_lookup_established() argument
106 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
111 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established()
129 const int dif, const int sdif) in compute_score() argument
139 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
190 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument
197 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
218 const u16 hnum, const int dif, in inet6_lookup_run_sk_lookup() argument
225 daddr, hnum, dif, &sk); in inet6_lookup_run_sk_lookup()
243 const int dif, const int sdif) in inet6_lookup_listener() argument
[all …]
H A Dexthdrs.c1236 long dif = (char *)opt2 - (char *)opt; in ipv6_dup_options()
1238 *((char **)&opt2->hopopt) += dif; in ipv6_dup_options()
1240 *((char **)&opt2->dst0opt) += dif; in ipv6_dup_options()
1242 *((char **)&opt2->dst1opt) += dif; in ipv6_dup_options()
1244 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
1239 long dif = (char *)opt2 - (char *)opt; ipv6_dup_options() local
/linux/fs/erofs/
H A Dsuper.c126 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() argument
137 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device()
142 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device()
143 if (!dif->path) in erofs_init_device()
149 filp_open(dif->path, O_RDONLY | O_LARGEFILE, 0) : in erofs_init_device()
150 bdev_file_open_by_path(dif->path, in erofs_init_device()
159 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(file), in erofs_init_device()
160 &dif->dax_part_off, NULL, NULL); in erofs_init_device()
165 if (!dif->dax_dev && test_opt(&sbi->opt, DAX_ALWAYS)) { in erofs_init_device()
167 dif in erofs_init_device()
196 struct erofs_device_info *dif; erofs_scan_devices() local
455 struct erofs_device_info *dif; erofs_fc_parse_param() local
846 struct erofs_device_info *dif = ptr; erofs_release_device_info() local
[all...]
/linux/net/sctp/
H A Dinput.c54 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, in in __sctp_rcv_lookup_endpoint() argument
984 sctp_sk_bound_dev_eq(struct net * net,int bound_dev_if,int dif,int sdif) sctp_sk_bound_dev_eq() argument
999 sctp_addrs_lookup_transport(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_addrs_lookup_transport() argument
1057 __sctp_lookup_association(struct net * net,const union sctp_addr * local,const union sctp_addr * peer,struct sctp_transport ** pt,int dif,int sdif) __sctp_lookup_association() argument
1079 sctp_lookup_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,struct sctp_transport ** transportp,int dif,int sdif) sctp_lookup_association() argument
1094 sctp_has_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_has_association() argument
1127 __sctp_rcv_init_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_init_lookup() argument
1194 __sctp_rcv_asconf_lookup(struct net * net,struct sctp_chunkhdr * ch,const union sctp_addr * laddr,__be16 peer_port,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_asconf_lookup() argument
1231 __sctp_rcv_walk_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_walk_lookup() argument
1300 __sctp_rcv_lookup_harder(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup_harder() argument
1335 __sctp_rcv_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * paddr,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup() argument
[all...]
H A Dendpointola.c251 int dif, int sdif) in sctp_endpoint_is_match() argument
257 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match()
/linux/include/net/
H A Dinet6_hashtables.h49 const u16 hnum, const int dif,
74 const int dif, const int sdif);
82 const u16 hnum, const int dif,
91 const int dif, const int sdif, in __inet6_lookup() argument
96 dif, sdif); in __inet6_lookup()
102 daddr, hnum, dif, sdif); in __inet6_lookup()
170 const int dif);
176 const int dif, const int sdif) in inet6_match() argument
186 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match()
H A Dinet_hashtables.h315 const int dif, const int sdif);
321 int dif, int sdif) in inet_lookup_listener() argument
324 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
358 int dif, int sdif) in inet_match() argument
366 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match()
376 const int dif, const int sdif);
396 __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()
412 const int dif, const int sdif, in __inet_lookup() argument
[all …]
H A Drawv6.h11 const struct in6_addr *rmt_addr, int dif, int sdif);
/linux/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/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()
58 if (dif && type) { in sd_dif_config_host()
H A Dsd.c519 unsigned int dif, dix; in protection_mode_show() local
521 dif = scsi_host_dif_capable(sdp->host, sdkp->protection_type); in protection_mode_show()
525 dif = 0; in protection_mode_show()
529 if (!dif && !dix) in protection_mode_show()
532 return sprintf(buf, "%s%u\n", dix ? "dix" : "dif", dif); in protection_mode_show()
864 static unsigned int sd_prot_op(bool write, bool dix, bool dif) in sd_prot_op() argument
878 return ops[write << 2 | dix << 1 | dif]; in sd_prot_op()
923 unsigned int dix, unsigned int dif) in sd_setup_protect_cmnd() argument
927 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd()
938 if (dif != T10_PI_TYPE3_PROTECTION) { /* DIX/DIF Type 0, 1, 2 */ in sd_setup_protect_cmnd()
[all …]
/linux/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/net/ipv4/
H A Dinet_hashtables.c354 const int dif, const int sdif) in compute_score()
363 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
421 const int dif, const int sdif) in inet_lhash2_lookup()
428 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
447 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup()
454 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup()
469 const int dif, const int sdif) in __inet_lookup_listener()
479 saddr, sport, daddr, hnum, dif, in __inet_lookup_listener()
491 dif, sdif); in __inet_lookup_listener()
501 dif, sdi in __inet_lookup_listener()
356 compute_score(struct sock * sk,const struct net * net,const unsigned short hnum,const __be32 daddr,const int dif,const int sdif) compute_score() argument
423 inet_lhash2_lookup(const struct net * net,struct inet_listen_hashbucket * ilb2,struct sk_buff * skb,int doff,const __be32 saddr,__be16 sport,const __be32 daddr,const unsigned short hnum,const int dif,const int sdif) inet_lhash2_lookup() argument
449 inet_lookup_run_sk_lookup(const struct net * net,int protocol,struct sk_buff * skb,int doff,__be32 saddr,__be16 sport,__be32 daddr,u16 hnum,const int dif,inet_ehashfn_t * ehashfn) inet_lookup_run_sk_lookup() argument
471 __inet_lookup_listener(const struct net * net,struct sk_buff * skb,int doff,const __be32 saddr,__be16 sport,const __be32 daddr,const unsigned short hnum,const int dif,const int sdif) __inet_lookup_listener() argument
535 __inet_lookup_established(const struct net * net,const __be32 saddr,const __be16 sport,const __be32 daddr,const u16 hnum,const int dif,const int sdif) __inet_lookup_established() argument
590 int dif = sk->sk_bound_dev_if; __inet_check_established() local
675 const int dif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local
[all...]
H A Dudp.c364 unsigned short hnum, int dif, int sdif) in compute_score() argument
394 dif, sdif); in compute_score()
437 int dif, int sdif, in udp4_lib_lookup1() argument
447 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
461 int dif, int sdif, in udp4_lib_lookup2() argument
475 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
519 int dif, int sdif, in udp4_lib_lookup4() argument
537 int dif, int sdif, in udp4_lib_lookup4() argument
556 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4()
669 int dif, int sdif, struct sk_buff *skb) in __udp4_lib_lookup() argument
[all …]
H A Draw.c118 __be32 raddr, __be32 laddr, int dif, int sdif)
125 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in raw_v4_match()
166 int dif = inet_iif(skb); in raw_v4_input()
174 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input()
273 int dif = skb->dev->ifindex; in raw_icmp_error()
287 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
120 raw_v4_match(struct net * net,const struct sock * sk,unsigned short num,__be32 raddr,__be32 laddr,int dif,int sdif) raw_v4_match() argument
168 int dif = inet_iif(skb); raw_v4_input() local
275 int dif = skb->dev->ifindex; raw_icmp_error() local
/linux/drivers/infiniband/hw/mlx5/
H A Dwr.c335 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/include/rdma/
H A Dsignature.h76 struct ib_t10_dif_domain dif; member
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c47 unsigned long now, then, dif; in ionic_txq_poke_doorbell() local
62 dif = now - then; in ionic_txq_poke_doorbell()
64 if (dif > q->dbell_deadline) { in ionic_txq_poke_doorbell()
78 unsigned long now, then, dif; in ionic_rxq_poke_doorbell() local
87 dif = now - then; in ionic_rxq_poke_doorbell()
89 if (dif > q->dbell_deadline) { in ionic_rxq_poke_doorbell()
95 dif = 2 * q->dbell_deadline; in ionic_rxq_poke_doorbell()
96 if (dif > IONIC_RX_MAX_DOORBELL_DEADLINE) in ionic_rxq_poke_doorbell()
97 dif = IONIC_RX_MAX_DOORBELL_DEADLINE; in ionic_rxq_poke_doorbell()
99 q->dbell_deadline = dif; in ionic_rxq_poke_doorbell()
H A Dionic_main.c344 unsigned long now, then, dif; in ionic_adminq_poke_doorbell() local
356 dif = now - then; in ionic_adminq_poke_doorbell()
358 if (dif > q->dbell_deadline) { in ionic_adminq_poke_doorbell()
/linux/drivers/nvme/target/
H A Drdma.c574 domain->sig.dif.bg_type = IB_T10DIF_CRC; in nvmet_rdma_set_sig_domain()
575 domain->sig.dif.pi_interval = 1 << bi->interval_exp; in nvmet_rdma_set_sig_domain()
576 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvmet_rdma_set_sig_domain()
578 domain->sig.dif.ref_remap = true; in nvmet_rdma_set_sig_domain()
580 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.lbat); in nvmet_rdma_set_sig_domain()
581 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.lbatm); in nvmet_rdma_set_sig_domain()
582 domain->sig.dif.app_escape = true; in nvmet_rdma_set_sig_domain()
584 domain->sig.dif.ref_escape = true; in nvmet_rdma_set_sig_domain()
/linux/Documentation/translations/sp_SP/process/
H A Dmanagement-style.rst19 El estilo de gestión es muy personal y mucho más difícil de cuantificar
98 - admitir que eras un idiota es más difícil de lo que parece. A todos
158 personas es bastante fácil, y desalienarlas es difícil. Por lo tanto,
174 razón), más difícil termina siendo disculparse después.
231 En realidad, no es tan difícil aceptar la culpa, especialmente si la gente
/linux/drivers/nvme/host/
H A Drdma.c1356 domain->sig.dif.bg_type = IB_T10DIF_CRC; in nvme_rdma_set_sig_domain()
1357 domain->sig.dif.pi_interval = 1 << bi->interval_exp; in nvme_rdma_set_sig_domain()
1358 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvme_rdma_set_sig_domain()
1360 domain->sig.dif.ref_remap = true; in nvme_rdma_set_sig_domain()
1362 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.lbat); in nvme_rdma_set_sig_domain()
1363 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.lbatm); in nvme_rdma_set_sig_domain()
1364 domain->sig.dif.app_escape = true; in nvme_rdma_set_sig_domain()
1366 domain->sig.dif.ref_escape = true;
/linux/drivers/media/pci/zoran/
H A Dzoran_device.c801 unsigned int dif; in zoran_reap_stat_com() local
844 dif = (seq - zr->jpg_seq_num) & 0xff; in zoran_reap_stat_com()
845 zr->jpg_seq_num += dif; in zoran_reap_stat_com()

123