Home
last modified time | relevance | path

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

12345

/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.c137 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() argument
148 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device()
153 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device()
154 if (!dif->path) in erofs_init_device()
159 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device()
162 dif->fscache = fscache; in erofs_init_device()
165 filp_open(dif->path, O_RDONLY | O_LARGEFILE, 0) : in erofs_init_device()
166 bdev_file_open_by_path(dif->path, in erofs_init_device()
175 dif->dax_dev = fs_dax_get_by_bdev(file_bdev(file), in erofs_init_device()
176 &dif->dax_part_off, NULL, NULL); in erofs_init_device()
[all …]
H A Ddata.c176 struct super_block *sb, struct erofs_device_info *dif) in erofs_fill_from_devinfo() argument
179 map->m_dif = dif; in erofs_fill_from_devinfo()
181 if (dif->file && S_ISBLK(file_inode(dif->file)->i_mode)) in erofs_fill_from_devinfo()
182 map->m_bdev = file_bdev(dif->file); in erofs_fill_from_devinfo()
188 struct erofs_device_info *dif; in erofs_map_dev() local
196 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
197 if (!dif) { in erofs_map_dev()
202 map->m_pa += erofs_pos(sb, dif->uniaddr); in erofs_map_dev()
206 erofs_fill_from_devinfo(map, sb, dif); in erofs_map_dev()
210 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
[all …]
/linux/net/ipv6/
H A Dinet6_hashtables.c54 const int dif, const int sdif) in __inet6_lookup_established()
71 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
76 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established()
94 const int dif, const int sdif) in compute_score()
103 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
154 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup()
161 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
182 const u16 hnum, const int dif, in inet6_lookup_run_sk_lookup()
189 daddr, hnum, dif, &sk); in inet6_lookup_run_sk_lookup()
207 const int dif, cons in inet6_lookup_listener() argument
55 __inet6_lookup_established(const struct net * net,struct inet_hashinfo * hashinfo,const struct in6_addr * saddr,const __be16 sport,const struct in6_addr * daddr,const u16 hnum,const int dif,const int sdif) __inet6_lookup_established() argument
95 compute_score(struct sock * sk,const struct net * net,const unsigned short hnum,const struct in6_addr * daddr,const int dif,const int sdif) compute_score() argument
155 inet6_lhash2_lookup(const struct net * net,struct inet_listen_hashbucket * ilb2,struct sk_buff * skb,int doff,const struct in6_addr * saddr,const __be16 sport,const struct in6_addr * daddr,const unsigned short hnum,const int dif,const int sdif) inet6_lhash2_lookup() argument
183 inet6_lookup_run_sk_lookup(const struct net * net,int protocol,struct sk_buff * skb,int doff,const struct in6_addr * saddr,const __be16 sport,const struct in6_addr * daddr,const u16 hnum,const int dif,inet6_ehashfn_t * ehashfn) inet6_lookup_run_sk_lookup() argument
251 inet6_lookup(const struct net * net,struct inet_hashinfo * hashinfo,struct sk_buff * skb,int doff,const struct in6_addr * saddr,const __be16 sport,const struct in6_addr * daddr,const __be16 dport,const int dif) inet6_lookup() argument
274 const int dif = sk->sk_bound_dev_if; __inet6_check_established() local
[all...]
H A Dudp.c133 int dif, int sdif) in compute_score()
163 dev_match = udp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif); in compute_score()
182 * @dif: Destination interface index
198 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup1()
208 saddr, sport, daddr, hnum, dif, sdif); in udp6_lib_lookup1()
222 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2()
235 sport, daddr, hnum, dif, sdif); in udp6_lib_lookup2()
279 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4()
292 unsigned int hnum, int dif, int sdif, in udp6_lib_lookup4()
309 if (inet6_match(net, sk, saddr, daddr, ports, dif, sdi in udp6_lib_lookup4()
132 compute_score(struct sock * sk,const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,unsigned short hnum,int dif,int sdif) compute_score() argument
197 udp6_lib_lookup1(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,unsigned int hnum,int dif,int sdif,const struct udp_table * udptable) udp6_lib_lookup1() argument
221 udp6_lib_lookup2(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,unsigned int hnum,int dif,int sdif,struct udp_hslot * hslot2,struct sk_buff * skb) udp6_lib_lookup2() argument
278 udp6_lib_lookup4(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,unsigned int hnum,int dif,int sdif,struct udp_table * udptable) udp6_lib_lookup4() argument
291 udp6_lib_lookup4(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,unsigned int hnum,int dif,int sdif,struct udp_table * udptable) udp6_lib_lookup4() argument
346 __udp6_lib_lookup(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,__be16 dport,int dif,int sdif,struct udp_table * udptable,struct sk_buff * skb) __udp6_lib_lookup() argument
439 udp6_lib_lookup(const struct net * net,const struct in6_addr * saddr,__be16 sport,const struct in6_addr * daddr,__be16 dport,int dif) udp6_lib_lookup() argument
941 __udp_v6_is_mcast_sock(struct net * net,const struct sock * sk,__be16 loc_port,const struct in6_addr * loc_addr,__be16 rmt_port,const struct in6_addr * rmt_addr,int dif,int sdif,unsigned short hnum) __udp_v6_is_mcast_sock() argument
986 int dif = inet6_iif(skb); __udp6_lib_mcast_deliver() local
1198 __udp6_lib_demux_lookup(struct net * net,__be16 loc_port,const struct in6_addr * loc_addr,__be16 rmt_port,const struct in6_addr * rmt_addr,int dif,int sdif) __udp6_lib_demux_lookup() argument
1227 int dif = skb->dev->ifindex; udp_v6_early_demux() local
[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.h47 const u16 hnum, const int dif,
72 const int dif, const int sdif);
80 const u16 hnum, const int dif,
89 const int dif, const int sdif, in __inet6_lookup()
94 dif, sdif); in __inet6_lookup()
100 daddr, hnum, dif, sdif); in __inet6_lookup()
168 const int dif); in __inet6_lookup_skb()
174 const int dif, const int sdif)
184 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet6_match()
92 __inet6_lookup(const struct net * net,struct inet_hashinfo * hashinfo,struct sk_buff * skb,int doff,const struct in6_addr * saddr,const __be16 sport,const struct in6_addr * daddr,const u16 hnum,const int dif,const int sdif,bool * refcounted) __inet6_lookup() argument
182 inet6_match(const struct net * net,const struct sock * sk,const struct in6_addr * saddr,const struct in6_addr * daddr,const __portpair ports,const int dif,const int sdif) inet6_match() argument
H A Dinet_hashtables.h302 const int dif, const int sdif);
308 int dif, int sdif) in inet_lookup_listener() argument
311 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
345 int dif, int sdif) in inet_match() argument
353 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match()
363 const int dif, const int sdif);
383 __be32 daddr, u16 hnum, const int dif,
389 const int dif) in inet_lookup_established()
392 ntohs(dport), dif, 0); in inet_lookup_established()
399 const int dif, cons in __inet_lookup()
391 inet_lookup_established(struct net * net,struct inet_hashinfo * hashinfo,const __be32 saddr,const __be16 sport,const __be32 daddr,const __be16 dport,const int dif) inet_lookup_established() argument
402 __inet_lookup(struct net * net,struct inet_hashinfo * hashinfo,struct sk_buff * skb,int doff,const __be32 saddr,const __be16 sport,const __be32 daddr,const __be16 dport,const int dif,const int sdif,bool * refcounted) __inet_lookup() argument
423 inet_lookup(struct net * net,struct inet_hashinfo * hashinfo,struct sk_buff * skb,int doff,const __be32 saddr,const __be16 sport,const __be32 daddr,const __be16 dport,const int dif) inet_lookup() argument
[all...]
H A Draw.h26 __be32 raddr, __be32 laddr, int dif, int sdif);
90 int dif, int sdif) in raw_sk_bound_dev_eq()
94 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
96 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
89 raw_sk_bound_dev_eq(struct net * net,int bound_dev_if,int dif,int sdif) raw_sk_bound_dev_eq() argument
H A Dudp.h389 int dif, int sdif)
393 bound_dev_if, dif, sdif); in skb_recv_udp()
395 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in skb_recv_udp()
440 __be32 daddr, __be16 dport, int dif);
443 __be32 daddr, __be16 dport, int dif, int sdif,
450 int dif);
454 int dif, int sdif, struct udp_table *tbl,
375 udp_sk_bound_dev_eq(const struct net * net,int bound_dev_if,int dif,int sdif) udp_sk_bound_dev_eq() argument
/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/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/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/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/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()
58 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.c351 const int dif, const int sdif)
360 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in inet_lookup_reuseport()
418 const int dif, const int sdif) in inet_lookup_run_sk_lookup()
425 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lookup_run_sk_lookup()
444 __be32 daddr, u16 hnum, const int dif, in __inet_lookup_listener()
451 daddr, hnum, dif, &sk); in __inet_lookup_listener()
466 const int dif, const int sdif) in __inet_lookup_listener()
476 saddr, sport, daddr, hnum, dif, in sock_gen_put()
488 dif, sdif); in sock_edemux()
498 dif, sdi in __inet_lookup_established()
316 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
383 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
409 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
432 __inet_lookup_listener(const struct net * net,struct inet_hashinfo * hashinfo,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
496 __inet_lookup_established(const struct net * net,struct inet_hashinfo * hashinfo,const __be32 saddr,const __be16 sport,const __be32 daddr,const u16 hnum,const int dif,const int sdif) __inet_lookup_established() argument
549 int dif = sk->sk_bound_dev_if; __inet_check_established() local
635 const int dif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local
[all...]
H A Dping.c165 int dif, sdif;
168 dif = inet_iif(skb); in ping_lookup()
170 pr_debug("try to find: num = %d, daddr = %pI4, dif = %d\n", in ping_lookup()
171 (int)ident, &ip_hdr(skb)->daddr, dif); in ping_lookup()
174 dif = inet6_iif(skb); in ping_lookup()
176 pr_debug("try to find: num = %d, daddr = %pI6c, dif = %d\n", in ping_lookup()
177 (int)ident, &ipv6_hdr(skb)->daddr, dif); in ping_lookup()
194 pr_debug("found: %p: num=%d, daddr=%pI4, dif=%d\n", sk, in ping_lookup()
205 pr_debug("found: %p: num=%d, daddr=%pI6c, dif=%d\n", sk, in ping_lookup()
219 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif in ping_lookup()
172 int dif, sdif; ping_lookup() local
420 int dif = sk->sk_bound_dev_if; ping_bind() local
[all...]
H A Dudp.c371 int dif, int sdif) in compute_score() argument
401 dif, sdif); in compute_score()
429 * @dif: Destination interface index
445 int dif, int sdif, in udp4_lib_lookup1() argument
455 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
469 int dif, int sdif, in udp4_lib_lookup2() argument
483 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
527 int dif, int sdif, in udp4_lib_lookup4() argument
545 int dif, int sdif, in udp4_lib_lookup4() argument
564 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4()
[all …]
/linux/drivers/scsi/qedf/
H A Ddrv_scsi_fw_funcs.h36 /* Enable Connection error upon DIF error (segments with DIF errors are
/linux/include/scsi/
H A Dscsi_host.h817 * DIF defines the exchange of protection information between
824 SHOST_DIF_TYPE1_PROTECTION = 1 << 0, /* T10 DIF Type 1 */
825 SHOST_DIF_TYPE2_PROTECTION = 1 << 1, /* T10 DIF Type 2 */
826 SHOST_DIF_TYPE3_PROTECTION = 1 << 2, /* T10 DIF Type 3 */
829 SHOST_DIX_TYPE1_PROTECTION = 1 << 4, /* DIX with DIF Type 1 */
830 SHOST_DIX_TYPE2_PROTECTION = 1 << 5, /* DIX with DIF Type 2 */
831 SHOST_DIX_TYPE3_PROTECTION = 1 << 6, /* DIX with DIF Type 3 */
/linux/drivers/s390/scsi/
H A Dzfcp_scsi.c29 module_param_named(dif, enable_dif, bool, 0400);
30 MODULE_PARM_DESC(dif, "Enable DIF data integrity support (default off)");
34 MODULE_PARM_DESC(dix, "Enable experimental DIX (data integrity extension) support which implies DIF
822 * zfcp_scsi_set_prot - Configure DIF/DIX support in scsi_host
823 * @adapter: The adapter where to configure DIF/DIX for the SCSI host
851 * zfcp_scsi_dif_sense_error - Report DIF/DIX error as driver sense error
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_hsi_rdma.h217 /* DIF Block size options */
224 /* DIF CRC initial value */
231 /* RDMA DIF Error Result Structure */
249 /* DIF IO direction */

12345