Home
last modified time | relevance | path

Searched full:dif (Results 1 – 25 of 145) sorted by relevance

123456

/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-dif.h3 * cx231xx-dif.h - driver for Conexant Cx23100/101/102 USB video capture devices
22 /* BEGIN - DIF BPF register values from 30_quant.dat*/
42 /* END - DIF BPF register values from 30_quant.dat*/
46 /* BEGIN - DIF BPF register values from 31_quant.dat*/
66 /* END - DIF BPF register values from 31_quant.dat*/
70 /* BEGIN - DIF BPF register values from 32_quant.dat*/
90 /* END - DIF BPF register values from 32_quant.dat*/
94 /* BEGIN - DIF BPF register values from 33_quant.dat*/
114 /* END - DIF BPF register values from 33_quant.dat*/
118 /* BEGIN - DIF BPF register values from 34_quant.dat*/
[all …]
/linux/fs/erofs/
H A Dsuper.c160 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 …]
H A Ddata.c187 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/net/ipv6/
H A Dinet6_hashtables.c55 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 …]
H A Dudp.c120 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/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 …]
/linux/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);
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 …]
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 Dudp.h250 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,
H A Dinet_sock.h146 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()
/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, int sdif) in __sctp_rcv_lookup_endpoint() argument
[all …]
/linux/drivers/clk/
H A Dclk-renesas-pcie.c162 * On 9FGV0241, the DIF OE0 is BIT(1) and DIF OE(1) is BIT(2), in rs9_calc_dif()
163 * on 9FGV0441 and 9FGV0841 the DIF OE0 is BIT(0) and so on. in rs9_calc_dif()
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()
181 snprintf(name, 5, "DIF%d", idx); 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()
[all …]
/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/include/rdma/
H A Dsignature.h25 * @IB_SIG_TYPE_T10_DIF: Type T10-DIF
33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
43 * struct ib_t10_dif_domain - Parameters specific for T10-DIF
45 * @bg_type: T10-DIF block guard type (CRC|CSUM)
76 struct ib_t10_dif_domain dif; member
/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/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/include/uapi/linux/
H A Didxd.h223 /* DIF check or strip */
233 /* DIF insert */
243 /* DIF update */
334 /* DIF check & strip */
341 /* DIF insert */
349 /* DIF update */
/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/net/ipv4/
H A Dinet_hashtables.c315 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 …]
H A Dping.c172 int dif, sdif; in ping_lookup() local
175 dif = inet_iif(skb); in ping_lookup()
177 pr_debug("try to find: num = %d, daddr = %pI4, dif = %d\n", in ping_lookup()
178 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup()
181 dif = inet6_iif(skb); in ping_lookup()
183 pr_debug("try to find: num = %d, daddr = %pI6c, dif = %d\n", in ping_lookup()
184 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup()
199 pr_debug("found: %p: num=%d, daddr=%pI4, dif=%d\n", sk, in ping_lookup()
210 pr_debug("found: %p: num=%d, daddr=%pI6c, dif=%d\n", sk, in ping_lookup()
224 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && in ping_lookup()
[all …]
/linux/block/
H A Dblk-integrity.c184 return "T10-DIF-TYPE1-IP"; in blk_integrity_profile_name()
185 return "T10-DIF-TYPE3-IP"; in blk_integrity_profile_name()
188 return "T10-DIF-TYPE1-CRC"; in blk_integrity_profile_name()
189 return "T10-DIF-TYPE3-CRC"; in blk_integrity_profile_name()
192 return "EXT-DIF-TYPE1-CRC64"; in blk_integrity_profile_name()
193 return "EXT-DIF-TYPE3-CRC64"; in blk_integrity_profile_name()
/linux/drivers/scsi/qla2xxx/
H A Dqla_dfs.c357 /* DIF stats */ in qla_dfs_tgt_counters_show()
358 seq_printf(s, "DIF Inp Bytes = %lld\n", in qla_dfs_tgt_counters_show()
360 seq_printf(s, "DIF Outp Bytes = %lld\n", in qla_dfs_tgt_counters_show()
362 seq_printf(s, "DIF Inp Req = %lld\n", in qla_dfs_tgt_counters_show()
364 seq_printf(s, "DIF Outp Req = %lld\n", in qla_dfs_tgt_counters_show()
366 seq_printf(s, "DIF Guard err = %d\n", in qla_dfs_tgt_counters_show()
368 seq_printf(s, "DIF Ref tag err = %d\n", in qla_dfs_tgt_counters_show()
370 seq_printf(s, "DIF App tag err = %d\n", in qla_dfs_tgt_counters_show()
/linux/Documentation/devicetree/bindings/dma/
H A Datmel-xdma.txt15 - bit 14: DIF, destination interface identifier, used to get the peripheral
37 - bit 14: DIF, destination interface identifier, used to get the peripheral
/linux/drivers/scsi/qedf/
H A Ddrv_scsi_fw_funcs.h36 /* Enable Connection error upon DIF error (segments with DIF errors are

123456