Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dak4118.c157 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 …]
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dinet6_hashtables.c57 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 …]
H A Dudp.c104 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 …]
H A Dexthdrs.c1194 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()
/OK3568_Linux_fs/kernel/include/net/
H A Dinet6_hashtables.h48 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()
H A Dinet_hashtables.h252 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 …]
H A Draw.h25 __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()
H A Dinet_sock.h145 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()
H A Dudp.h260 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,
H A Drawv6.h10 const struct in6_addr *rmt_addr, int dif, int sdif);
H A Dipv6_stubs.h79 int dif, int sdif, struct udp_table *tbl,
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsd_dif.c33 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()
H A Dsd.c342 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/iser/
H A Diser_memory.c161 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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dinet_hashtables.c234 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()
283 const int dif, const int sdif) in inet_lhash2_lookup() argument
291 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
334 const int dif, const int sdif) in __inet_lookup_listener() argument
353 dif, sdif); in __inet_lookup_listener()
363 dif, sdif); in __inet_lookup_listener()
396 const int dif, const int sdif) in __inet_lookup_established() argument
413 if (likely(INET_MATCH(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established()
417 ports, dif, sdif))) { in __inet_lookup_established()
[all …]
H A Dudp.c361 int dif, int sdif) in compute_score() argument
391 dif, sdif); in compute_score()
434 int dif, int sdif, in udp4_lib_lookup2() argument
445 daddr, hnum, dif, sdif); in udp4_lib_lookup2()
487 __be16 sport, __be32 daddr, __be16 dport, int dif, in __udp4_lib_lookup() argument
501 daddr, hnum, dif, sdif, in __udp4_lib_lookup()
526 htonl(INADDR_ANY), hnum, dif, sdif, in __udp4_lib_lookup()
562 __be32 daddr, __be16 dport, int dif) in udp4_lib_lookup() argument
567 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
578 int dif, int sdif, unsigned short hnum) in __udp_is_mcast_sock() argument
[all …]
H A Dping.c175 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()
H A Draw.c122 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dwr.c556 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 …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dg72x.c199 int dif; in step_size() local
206 dif = state_ptr->yu - y; in step_size()
208 if (dif > 0) in step_size()
209 y += (dif * al) >> 6; in step_size()
210 else if (dif < 0) in step_size()
211 y += (dif * al + 0x3F) >> 6; in step_size()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/mcpp/files/
H A Dice-mcpp.patch1 diff -r -c -N ../mcpp-2.7.2-old/noconfig/vc2010.dif ./noconfig/vc2010.dif
2 *** ../mcpp-2.7.2-old/noconfig/vc2010.dif Wed Dec 31 20:30:00 1969
3 --- ./noconfig/vc2010.dif Fri May 14 12:47:22 2010
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/
H A Dget_module_deps3.py80 dif = core_deps variable
83 dif = module_deps-core_deps variable
87 for item in dif:
/OK3568_Linux_fs/kernel/include/rdma/
H A Dsignature.h76 struct ib_t10_dif_domain dif; member
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_ip.c46 __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()

12