Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 25 of 147) sorted by relevance

123456

/linux-6.1.9/drivers/md/bcache/
Dstats.c94 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, in bch_cache_accounting_add_kobjs() argument
97 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
99 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, in bch_cache_accounting_add_kobjs()
101 ret = ret ?: kobject_add(&acc->hour.kobj, parent, in bch_cache_accounting_add_kobjs()
103 ret = ret ?: kobject_add(&acc->day.kobj, parent, in bch_cache_accounting_add_kobjs()
108 void bch_cache_accounting_clear(struct cache_accounting *acc) in bch_cache_accounting_clear() argument
110 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
111 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
112 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear()
113 acc->total.cache_bypass_misses = 0; in bch_cache_accounting_clear()
[all …]
Dstats.h45 void bch_cache_accounting_init(struct cache_accounting *acc,
48 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc,
51 void bch_cache_accounting_clear(struct cache_accounting *acc);
53 void bch_cache_accounting_destroy(struct cache_accounting *acc);
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-css-params.c1728 struct imgu_abi_acc_param *acc) in imgu_css_cfg_acc_stripe() argument
1738 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe()
1742 if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, in imgu_css_cfg_acc_stripe()
1743 &scaler_chroma, acc->stripe.block_stripes)) in imgu_css_cfg_acc_stripe()
1757 acc->stripe.num_of_stripes = stripes; in imgu_css_cfg_acc_stripe()
1758 acc->stripe.input_frame.width = in imgu_css_cfg_acc_stripe()
1760 acc->stripe.input_frame.height = in imgu_css_cfg_acc_stripe()
1762 acc->stripe.input_frame.bayer_order = in imgu_css_cfg_acc_stripe()
1766 acc->stripe.bds_out_stripes[i].height = in imgu_css_cfg_acc_stripe()
1768 acc->stripe.bds_out_stripes[0].offset = 0; in imgu_css_cfg_acc_stripe()
[all …]
/linux-6.1.9/drivers/soc/ti/
Dknav_qmss_acc.c24 struct knav_acc_channel *acc) in __knav_acc_notify() argument
44 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify()
68 atomic_inc(&kq->acc->retrigger_count); in knav_acc_set_notify()
69 mask = BIT(kq->acc->channel % 32); in knav_acc_set_notify()
70 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); in knav_acc_set_notify()
72 kq->acc->name); in knav_acc_set_notify()
79 struct knav_acc_channel *acc; in knav_acc_int_handler() local
94 acc = range->acc; in knav_acc_int_handler()
102 acc += queue; in knav_acc_int_handler()
105 channel = acc->channel; in knav_acc_int_handler()
[all …]
/linux-6.1.9/fs/cachefiles/
Dkey.c41 unsigned int acc, i, n, nle, nbe, keylen = object->cookie->key_len; in cachefiles_cook_key() local
116 acc = *key++; in cachefiles_cook_key()
118 acc |= *key++ << 8; in cachefiles_cook_key()
120 acc |= *key++ << 16; in cachefiles_cook_key()
123 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
124 acc >>= 6; in cachefiles_cook_key()
125 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
126 acc >>= 6; in cachefiles_cook_key()
127 name[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
128 acc >>= 6; in cachefiles_cook_key()
[all …]
/linux-6.1.9/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.c24 static void inv_update_acc(struct inv_icm42600_timestamp_acc *acc, uint32_t val) in inv_update_acc() argument
29 acc->values[acc->idx++] = val; in inv_update_acc()
30 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
31 acc->idx = 0; in inv_update_acc()
34 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
35 if (acc->values[i] == 0) in inv_update_acc()
37 sum += acc->values[i]; in inv_update_acc()
40 acc->val = div_u64(sum, i); in inv_update_acc()
/linux-6.1.9/drivers/fsi/
Dfsi-scom.c387 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() argument
389 acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> in raw_convert_status()
391 acc->intf_errors = 0; in raw_convert_status()
394 acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; in raw_convert_status()
396 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status()
398 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status()
400 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status()
405 struct scom_access acc; in scom_raw_read() local
409 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read()
412 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read()
[all …]
/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace-spe.c32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get()
35 return membuf_write(&to, &target->thread.acc, in evr_get()
51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set()
56 &target->thread.acc, in evr_set()
/linux-6.1.9/drivers/nvme/host/
Dfc.h38 struct fcnvme_ls_acc_hdr *acc = buf; in nvme_fc_format_rsp_hdr() local
40 acc->w0.ls_cmd = ls_cmd; in nvme_fc_format_rsp_hdr()
41 acc->desc_list_len = desc_len; in nvme_fc_format_rsp_hdr()
42 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvme_fc_format_rsp_hdr()
43 acc->rqst.desc_len = in nvme_fc_format_rsp_hdr()
45 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvme_fc_format_rsp_hdr()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-mmio.h67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument
72 .access_flags = acc, \
79 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument
84 .access_flags = acc, \
89 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument
94 .access_flags = acc, \
/linux-6.1.9/lib/
Dxxhash.c156 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) in xxh64_round() argument
158 acc += input * PRIME64_2; in xxh64_round()
159 acc = xxh_rotl64(acc, 31); in xxh64_round()
160 acc *= PRIME64_1; in xxh64_round()
161 return acc; in xxh64_round()
164 static uint64_t xxh64_merge_round(uint64_t acc, uint64_t val) in xxh64_merge_round() argument
167 acc ^= val; in xxh64_merge_round()
168 acc = acc * PRIME64_1 + PRIME64_4; in xxh64_merge_round()
169 return acc; in xxh64_merge_round()
/linux-6.1.9/arch/arm/boot/dts/
Dqcom-apq8084.dtsi34 enable-method = "qcom,kpss-acc-v2";
36 qcom,acc = <&acc0>;
45 enable-method = "qcom,kpss-acc-v2";
47 qcom,acc = <&acc1>;
56 enable-method = "qcom,kpss-acc-v2";
58 qcom,acc = <&acc2>;
67 enable-method = "qcom,kpss-acc-v2";
69 qcom,acc = <&acc3>;
355 compatible = "qcom,kpss-acc-v2";
361 compatible = "qcom,kpss-acc-v2";
[all …]
Dalphascale-asm9260.dtsi26 clocks = <&acc CLKID_SYS_CPU>;
43 acc: clock-controller@80040000 { label
60 clocks = <&acc CLKID_AHB_TIMER0>;
Dorion5x-rd88f5182-nas.dts50 devbus,acc-first-ps = <186000>;
51 devbus,acc-next-ps = <186000>;
72 devbus,acc-first-ps = <186000>;
73 devbus,acc-next-ps = <186000>;
Dqcom-ipq4019.dtsi49 enable-method = "qcom,kpss-acc-v2";
51 qcom,acc = <&acc0>;
63 enable-method = "qcom,kpss-acc-v2";
65 qcom,acc = <&acc1>;
77 enable-method = "qcom,kpss-acc-v2";
79 qcom,acc = <&acc2>;
91 enable-method = "qcom,kpss-acc-v2";
93 qcom,acc = <&acc3>;
329 compatible = "qcom,kpss-acc-v2";
334 compatible = "qcom,kpss-acc-v2";
[all …]
Dqcom-msm8960.dtsi24 enable-method = "qcom,kpss-acc-v1";
28 qcom,acc = <&acc0>;
34 enable-method = "qcom,kpss-acc-v1";
38 qcom,acc = <&acc1>;
206 compatible = "qcom,kpss-acc-v1";
211 compatible = "qcom,kpss-acc-v1";
/linux-6.1.9/drivers/staging/fbtft/
Dfb_ssd1351.c123 int i, acc = 0; in set_gamma() local
132 acc += curves[i]; in set_gamma()
133 tmp[i] = acc; in set_gamma()
134 if (acc > 180) { in set_gamma()
137 i, acc); in set_gamma()
Dfb_ssd1331.c134 int i, acc = 0; in set_gamma() local
143 acc += curves[i]; in set_gamma()
144 tmp[i] = acc; in set_gamma()
145 if (acc > 180) { in set_gamma()
/linux-6.1.9/tools/lib/bpf/
Drelo_core.c72 const struct bpf_core_accessor *acc, in is_flex_arr() argument
78 if (!acc->name || arr->nelems > 0) in is_flex_arr()
82 t = btf_type_by_id(btf, acc->type_id); in is_flex_arr()
83 return acc->idx == btf_vlen(t) - 1; in is_flex_arr()
268 struct bpf_core_accessor *acc; in bpf_core_parse_spec() local
310 acc = &spec->spec[0]; in bpf_core_parse_spec()
311 acc->type_id = id; in bpf_core_parse_spec()
312 acc->idx = access_idx; in bpf_core_parse_spec()
322 acc->name = btf__name_by_offset(btf, name_off); in bpf_core_parse_spec()
340 acc = &spec->spec[spec->len]; in bpf_core_parse_spec()
[all …]
/linux-6.1.9/security/
Ddevice_cgroup.c250 static void set_access(char *acc, short access) in set_access() argument
253 memset(acc, 0, ACCLEN); in set_access()
255 acc[idx++] = 'r'; in set_access()
257 acc[idx++] = 'w'; in set_access()
259 acc[idx++] = 'm'; in set_access()
285 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local
295 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show()
299 maj, min, acc); in devcgroup_seq_show()
302 set_access(acc, ex->access); in devcgroup_seq_show()
306 maj, min, acc); in devcgroup_seq_show()
/linux-6.1.9/drivers/vfio/pci/hisilicon/
DMakefile2 obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisi-acc-vfio-pci.o
3 hisi-acc-vfio-pci-y := hisi_acc_vfio_pci.o
/linux-6.1.9/Documentation/devicetree/bindings/arm/msm/
Dqcom,kpss-acc.txt14 "qcom,kpss-acc-v1"
15 "qcom,kpss-acc-v2"
43 compatible = "qcom,kpss-acc-v2";
/linux-6.1.9/drivers/nvme/target/
Dfc.c1649 struct fcnvme_ls_cr_assoc_acc *acc = &iod->rspbuf->rsp_cr_assoc; in nvmet_fc_ls_create_association() local
1653 memset(acc, 0, sizeof(*acc)); in nvmet_fc_ls_create_association()
1697 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_association()
1698 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_association()
1714 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association()
1716 nvme_fc_format_rsp_hdr(acc, FCNVME_LS_ACC, in nvmet_fc_ls_create_association()
1720 acc->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); in nvmet_fc_ls_create_association()
1721 acc->associd.desc_len = in nvmet_fc_ls_create_association()
1724 acc->associd.association_id = in nvmet_fc_ls_create_association()
1726 acc->connectid.desc_tag = cpu_to_be32(FCNVME_LSDESC_CONN_ID); in nvmet_fc_ls_create_association()
[all …]
/linux-6.1.9/drivers/power/supply/
Dcpcap-battery.c258 s64 acc; in cpcap_battery_cc_raw_div() local
263 acc = accumulator; in cpcap_battery_cc_raw_div()
264 acc -= (s64)sample * offset; in cpcap_battery_cc_raw_div()
265 acc *= ddata->cc_lsb; in cpcap_battery_cc_raw_div()
266 acc *= -1; in cpcap_battery_cc_raw_div()
267 acc = div_s64(acc, divider); in cpcap_battery_cc_raw_div()
269 return acc; in cpcap_battery_cc_raw_div()
442 int value, acc, error; in cpcap_battery_cc_get_avg_current() local
452 acc = sign_extend32(value, 13); in cpcap_battery_cc_get_avg_current()
455 acc = (s16)value; in cpcap_battery_cc_get_avg_current()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dalphascale,acc.txt103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
111 clocks = <&acc CLKID_AHB_TIMER0>;

123456