Home
last modified time | relevance | path

Searched refs:rcomp (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/crypto/
Dcrypto_user_stat.c67 struct crypto_stat_compress rcomp; in crypto_report_comp() local
69 memset(&rcomp, 0, sizeof(rcomp)); in crypto_report_comp()
71 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp()
72 rcomp.stat_compress_cnt = atomic64_read(&alg->stats.compress.compress_cnt); in crypto_report_comp()
73 rcomp.stat_compress_tlen = atomic64_read(&alg->stats.compress.compress_tlen); in crypto_report_comp()
74 rcomp.stat_decompress_cnt = atomic64_read(&alg->stats.compress.decompress_cnt); in crypto_report_comp()
75 rcomp.stat_decompress_tlen = atomic64_read(&alg->stats.compress.decompress_tlen); in crypto_report_comp()
76 rcomp.stat_err_cnt = atomic64_read(&alg->stats.compress.err_cnt); in crypto_report_comp()
78 return nla_put(skb, CRYPTOCFGA_STAT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
Dcrypto_user_base.c90 struct crypto_report_comp rcomp; in crypto_report_comp() local
92 memset(&rcomp, 0, sizeof(rcomp)); in crypto_report_comp()
94 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp()
96 return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_paired_singles.c629 bool rcomp; in kvmppc_emulate_paired_single() local
650 rcomp = (inst & 1) ? true : false; in kvmppc_emulate_paired_single()
767 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
776 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
783 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
790 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
797 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
802 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
811 WARN_ON(rcomp); in kvmppc_emulate_paired_single()
847 emulated = kvmppc_ps_two_in(vcpu, rcomp, ax_rd, in kvmppc_emulate_paired_single()
[all …]
/linux-6.1.9/drivers/power/supply/
Dmax17040_battery.c153 u16 rcomp; member
174 static int max17040_set_rcomp(struct max17040_chip *chip, u16 rcomp) in max17040_set_rcomp() argument
179 return regmap_update_bits(chip->regmap, MAX17040_CONFIG, mask, rcomp); in max17040_set_rcomp()
229 u8 rcomp[2]; in max17040_get_of_data() local
246 chip->rcomp = MAX17040_RCOMP_DEFAULT; in max17040_get_of_data()
249 rcomp, rcomp_len)) in max17040_get_of_data()
250 chip->rcomp = rcomp_len == 2 ? rcomp[0] << 8 | rcomp[1] : in max17040_get_of_data()
251 rcomp[0] << 8; in max17040_get_of_data()
481 max17040_set_rcomp(chip, chip->rcomp); in max17040_probe()
Dab8500_fg.c941 int rcomp; in ab8500_load_comp_fg_bat_voltage() local
973 rcomp = ab8500_fg_battery_resistance(di, vbat_uv); in ab8500_load_comp_fg_bat_voltage()
974 vbat_uv = vbat_uv - (di->inst_curr_ua * rcomp) / 1000; in ab8500_load_comp_fg_bat_voltage()
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/
Dmaxim,max17040.yaml46 maxim,rcomp:
52 max17040,41 have 2 byte rcomp, default to 0x97 0x00.
53 All other devices have one byte rcomp, default to 0x97.
78 maxim,rcomp = /bits/ 8 <0x56>;
/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c133 struct compressor *rcomp; /* receive decompressor 94 */ member
1494 ppp->rcomp->decomp_stat(ppp->rc_state, &cstats.d); in ppp_net_siocdevprivate()
2532 switch(ppp->rcomp->compress_proto) { in ppp_decompress_frame()
2548 len = ppp->rcomp->decompress(ppp->rc_state, skb->data - 2, in ppp_decompress_frame()
2570 if (ppp->rcomp->incomp) in ppp_decompress_frame()
2571 ppp->rcomp->incomp(ppp->rc_state, skb->data - 2, in ppp_decompress_frame()
3063 ocomp = ppp->rcomp; in ppp_set_compress()
3065 ppp->rcomp = cp; in ppp_set_compress()
3137 if (ppp->rcomp->decomp_init(ppp->rc_state, dp, len, in ppp_ccp_peek()
3158 ppp->rcomp->decomp_reset(ppp->rc_state); in ppp_ccp_peek()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dqcom-msm8974-lge-nexus5-hammerhead.dts77 maxim,rcomp = /bits/ 8 <0x4d>;
Dqcom-msm8974pro-samsung-klte.dts301 maxim,rcomp = /bits/ 8 <0x56>;