/openbmc/qemu/hw/nvme/ |
H A D | dif.c | 16 #include "dif.h" 80 NvmeDifTuple *dif = (NvmeDifTuple *)(mbuf + pil); in nvme_dif_pract_generate_dif_crc16() local 87 dif->g16.guard = cpu_to_be16(crc); in nvme_dif_pract_generate_dif_crc16() 88 dif->g16.apptag = cpu_to_be16(apptag); in nvme_dif_pract_generate_dif_crc16() 89 dif->g16.reftag = cpu_to_be32(*reftag); in nvme_dif_pract_generate_dif_crc16() 114 NvmeDifTuple *dif = (NvmeDifTuple *)(mbuf + pil); in nvme_dif_pract_generate_dif_crc64() local 121 dif->g64.guard = cpu_to_be64(crc); in nvme_dif_pract_generate_dif_crc64() 122 dif->g64.apptag = cpu_to_be16(apptag); in nvme_dif_pract_generate_dif_crc64() 124 dif->g64.sr[0] = *reftag >> 40; in nvme_dif_pract_generate_dif_crc64() 125 dif->g64.sr[1] = *reftag >> 32; in nvme_dif_pract_generate_dif_crc64() [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-dif.h | 3 * 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 …]
|
/openbmc/linux/fs/erofs/ |
H A D | super.c | 172 struct erofs_device_info *dif, erofs_off_t *pos) in erofs_init_device() argument 185 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device() 190 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device() 191 if (!dif->path) in erofs_init_device() 196 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device() 199 dif->fscache = fscache; in erofs_init_device() 201 bdev_handle = bdev_open_by_path(dif->path, BLK_OPEN_READ, in erofs_init_device() 205 dif->bdev_handle = bdev_handle; in erofs_init_device() 206 dif->dax_dev = fs_dax_get_by_bdev(bdev_handle->bdev, in erofs_init_device() 207 &dif->dax_part_off, NULL, NULL); in erofs_init_device() [all …]
|
H A D | data.c | 205 struct erofs_device_info *dif; in erofs_map_dev() local 215 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 216 if (!dif) { in erofs_map_dev() 221 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev() 225 map->m_bdev = dif->bdev_handle ? dif->bdev_handle->bdev : NULL; in erofs_map_dev() 226 map->m_daxdev = dif->dax_dev; in erofs_map_dev() 227 map->m_dax_part_off = dif->dax_part_off; in erofs_map_dev() 228 map->m_fscache = dif->fscache; in erofs_map_dev() 232 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() 235 if (!dif->mapped_blkaddr) in erofs_map_dev() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | inet6_hashtables.c | 56 const int dif, const int sdif) in __inet6_lookup_established() argument 73 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established() 78 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established() 96 const int dif, const int sdif) in compute_score() argument 105 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 156 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument 163 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup() 184 const u16 hnum, const int dif, in inet6_lookup_run_sk_lookup() argument 191 daddr, hnum, dif, &sk); in inet6_lookup_run_sk_lookup() 208 const unsigned short hnum, const int dif, const int sdif) in inet6_lookup_listener() argument [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ak4118.c | 157 int dif; in ak4118_set_dai_fmt_provider() local 161 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 164 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1; in ak4118_set_dai_fmt_provider() 167 dif = AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_provider() 173 return dif; in ak4118_set_dai_fmt_provider() 179 int dif; in ak4118_set_dai_fmt_consumer() local 183 dif = AK4118_REG_FORMAT_CTL_DIF0 | AK4118_REG_FORMAT_CTL_DIF1 | in ak4118_set_dai_fmt_consumer() 187 dif = AK4118_REG_FORMAT_CTL_DIF1 | AK4118_REG_FORMAT_CTL_DIF2; in ak4118_set_dai_fmt_consumer() 193 return dif; in ak4118_set_dai_fmt_consumer() 201 int dif; in ak4118_set_dai_fmt() local [all …]
|
/openbmc/linux/include/net/ |
H A D | inet6_hashtables.h | 48 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 D | inet_hashtables.h | 318 const int dif, const int sdif); 324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument 327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 361 int dif, int sdif) in inet_match() argument 369 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif, in inet_match() 380 const int dif, const int sdif); 400 __be32 daddr, u16 hnum, const int dif, 407 const int dif) in inet_lookup_established() argument 410 ntohs(dport), dif, 0); in inet_lookup_established() 418 const int dif, const int sdif, in __inet_lookup() argument [all …]
|
H A D | raw.h | 26 __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 D | inet_sock.h | 146 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() 154 int dif, int sdif) in inet_sk_bound_dev_eq() argument 158 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 160 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
H A D | udp.h | 249 int dif, int sdif) in udp_sk_bound_dev_eq() argument 253 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 255 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 300 __be32 daddr, __be16 dport, int dif); 302 __be32 daddr, __be16 dport, int dif, int sdif, 309 int dif); 313 int dif, int sdif, struct udp_table *tbl,
|
/openbmc/linux/net/sctp/ |
H A D | input.c | 54 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 …]
|
/openbmc/linux/include/rdma/ |
H A D | signature.h | 25 * @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
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ptp.c | 256 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()
|
/openbmc/linux/drivers/scsi/ |
H A D | sd_dif.c | 33 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()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-renesas-pcie.c | 178 u8 dif = rs9_calc_dif(rs9, idx); in rs9_get_output_config() local 185 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 187 snprintf(name, 5, "DIF%d", idx); in rs9_get_output_config() 197 rs9->clk_dif_sr &= ~dif; in rs9_get_output_config() 199 rs9->clk_dif_sr |= dif; in rs9_get_output_config() 270 u8 dif = rs9_calc_dif(rs9, i); in rs9_update_config() local 272 if (rs9->clk_dif_sr & dif) in rs9_update_config() 275 regmap_update_bits(rs9->regmap, RS9_REG_SR, dif, in rs9_update_config() 276 rs9->clk_dif_sr & dif); in rs9_update_config() 346 snprintf(name, 5, "DIF%d", i); in rs9_probe()
|
/openbmc/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_memory.c | 180 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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | idxd.h | 222 /* DIF check or strip */ 232 /* DIF insert */ 242 /* DIF update */ 333 /* DIF check & strip */ 340 /* DIF insert */ 348 /* DIF update */
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 335 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 …]
|
/openbmc/linux/net/ipv4/ |
H A D | inet_hashtables.c | 321 const int dif, const int sdif) in compute_score() argument 330 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score() 388 const int dif, const int sdif) in inet_lhash2_lookup() argument 395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup() 414 __be32 daddr, u16 hnum, const int dif, in inet_lookup_run_sk_lookup() argument 421 daddr, hnum, dif, &sk); in inet_lookup_run_sk_lookup() 437 const int dif, const int sdif) in __inet_lookup_listener() argument 447 saddr, sport, daddr, hnum, dif, in __inet_lookup_listener() 458 dif, sdif); in __inet_lookup_listener() 468 dif, sdif); in __inet_lookup_listener() [all …]
|
H A D | ping.c | 172 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 …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/ |
H A D | get_module_deps3.py | 75 # Get current module dependencies, dif will contain a list of specific deps for this module 80 dif = core_deps variable 83 dif = module_deps-core_deps 87 for item in dif:
|
/openbmc/linux/block/ |
H A D | t10-pi.c | 248 .name = "T10-DIF-TYPE1-CRC", 257 .name = "T10-DIF-TYPE1-IP", 266 .name = "T10-DIF-TYPE3-CRC", 275 .name = "T10-DIF-TYPE3-IP", 457 .name = "EXT-DIF-TYPE1-CRC64", 466 .name = "EXT-DIF-TYPE3-CRC64",
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/mcpp/files/ |
H A D | ice-mcpp.patch | 3 diff -r -c -N ../mcpp-2.7.2-old/noconfig/vc2010.dif ./noconfig/vc2010.dif 4 *** ../mcpp-2.7.2-old/noconfig/vc2010.dif Wed Dec 31 20:30:00 1969 5 --- ./noconfig/vc2010.dif Fri May 14 12:47:22 2010
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | atmel-xdma.txt | 15 - bit 14: DIF, destination interface identifier, used to get the peripheral 37 - bit 14: DIF, destination interface identifier, used to get the peripheral
|