Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/md/bcache/
H A Dstats.c110 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
111 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
123 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy()
127 closure_return(&acc->cl); in bch_cache_accounting_destroy()
152 struct cache_accounting *acc = from_timer(acc, t, timer); in scale_accounting() local
158 acc->hour.name += t; \ in scale_accounting()
159 acc->day.name += t; \ in scale_accounting()
160 acc->total.name += t; \ in scale_accounting()
178 add_timer(&acc->timer); in scale_accounting()
180 closure_return(&acc->cl); in scale_accounting()
[all …]
H A Dstats.h44 void bch_cache_accounting_init(struct cache_accounting *acc,
47 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc,
50 void bch_cache_accounting_clear(struct cache_accounting *acc);
52 void bch_cache_accounting_destroy(struct cache_accounting *acc);
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-css-params.c1738 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe()
2119 memset(&acc->shd.shd_lut, 0, sizeof(acc->shd.shd_lut)); in imgu_css_cfg_acc()
2250 memset(&acc->tcc, 0, sizeof(acc->tcc)); in imgu_css_cfg_acc()
2279 memset(&acc->dpc, 0, sizeof(acc->dpc)); in imgu_css_cfg_acc()
2347 acc->anr.search.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc()
2348 acc->anr.stitch.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc()
2389 acc->awb_fr.stripes[i] = acc->awb_fr.config; in imgu_css_cfg_acc()
2476 acc->ae.stripes[i].grid = acc->ae.grid_cfg; in imgu_css_cfg_acc()
2496 acc->ae.grid_cfg.width - acc->ae.stripes[0].grid.width; in imgu_css_cfg_acc()
2547 acc->af.stripes[i].grid_cfg = acc->af.config.grid_cfg; in imgu_css_cfg_acc()
[all …]
/openbmc/linux/drivers/soc/ti/
H A Dknav_qmss_acc.c94 acc = range->acc; in knav_acc_int_handler()
205 acc = range->acc; in knav_range_setup_acc_irq()
209 acc = range->acc + queue; in knav_range_setup_acc_irq()
231 acc->name, acc->name); in knav_range_setup_acc_irq()
246 acc->name, acc->name); in knav_range_setup_acc_irq()
311 acc = range->acc; in knav_acc_setup_cmd()
315 acc = range->acc + queue; in knav_acc_setup_cmd()
342 acc = range->acc + queue; in knav_acc_stop()
360 acc = range->acc + queue; in knav_acc_start()
380 acc = range->acc + queue; in knav_acc_init_range()
[all …]
/openbmc/qemu/accel/
H A Daccel-target.c89 ObjectClass *acc; /* AccelCPUClass */ in accel_init_cpu_interfaces() local
95 acc = object_class_by_name(acc_name); in accel_init_cpu_interfaces()
98 if (acc) { in accel_init_cpu_interfaces()
126 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_cpu_common_realize() local
135 if (acc->cpu_common_realize && !acc->cpu_common_realize(cpu, errp)) { in accel_cpu_common_realize()
145 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_cpu_common_unrealize() local
148 if (acc->cpu_common_unrealize) { in accel_cpu_common_unrealize()
149 acc->cpu_common_unrealize(cpu); in accel_cpu_common_unrealize()
156 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_supported_gdbstub_sstep_flags() local
157 if (acc->gdbstub_supported_sstep_flags) { in accel_supported_gdbstub_sstep_flags()
[all …]
H A Daccel-system.c35 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_init_machine() local
38 *(acc->allowed) = true; in accel_init_machine()
39 ret = acc->init_machine(ms); in accel_init_machine()
42 *(acc->allowed) = false; in accel_init_machine()
45 object_set_accelerator_compat_props(acc->compat_props); in accel_init_machine()
58 AccelClass *acc = ACCEL_GET_CLASS(accel); in accel_setup_post() local
59 if (acc->setup_post) { in accel_setup_post()
60 acc->setup_post(ms, accel); in accel_setup_post()
/openbmc/u-boot/lib/rsa/
H A Drsa-mod-exp.c38 int64_t acc = 0; in subtract_modulus() local
42 acc += (uint64_t)num[i] - key->modulus[i]; in subtract_modulus()
43 num[i] = (uint32_t)acc; in subtract_modulus()
44 acc >>= 32; in subtract_modulus()
187 uint32_t val[key->len], acc[key->len], tmp[key->len]; in pow_mod() local
215 montgomery_mul(key, tmp, acc, acc); /* tmp = acc^2 / R mod n */ in pow_mod()
219 montgomery_mul(key, acc, tmp, a_scaled); in pow_mod()
222 memcpy(acc, tmp, key->len * sizeof(acc[0])); in pow_mod()
227 montgomery_mul(key, tmp, acc, acc); /* tmp = acc^2 / R mod n */ in pow_mod()
229 memcpy(result, acc, key->len * sizeof(result[0])); in pow_mod()
[all …]
/openbmc/linux/fs/cachefiles/
H A 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 …]
/openbmc/qemu/target/mips/tcg/
H A Ddsp_helper.c508 int64_t acc; in mipsdsp_rndrashift_short_acc() local
512 p[0] = (shift == 0) ? (acc << 1) : (acc >> (shift - 1)); in mipsdsp_rndrashift_short_acc()
2142 int64_t acc[2]; in helper_mulsaq_s_w_qh() local
2169 acc[1] += 1; in helper_mulsaq_s_w_qh()
2339 acc = acc + dotp; \
2341 acc = acc - dotp; \
2446 acc[1] = acc[1] + 1; \
2453 acc[1] = acc[1] - 1; \
2575 int64_t acc[2]; in helper_mulsaq_s_l_pw() local
3413 uint64_t acc; in helper_extp() local
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-scom.c392 acc->intf_errors = 0; in raw_convert_status()
397 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status()
399 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status()
401 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status()
406 struct scom_access acc; in scom_raw_read() local
413 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read()
416 raw_convert_status(&acc, status); in scom_raw_read()
425 struct scom_access acc; in scom_raw_write() local
432 if (acc.mask) { in scom_raw_write()
438 mask = acc.mask; in scom_raw_write()
[all …]
/openbmc/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c22 static void inv_update_acc(struct inv_sensors_timestamp_acc *acc, uint32_t val) in inv_update_acc() argument
27 acc->values[acc->idx++] = val; in inv_update_acc()
28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
29 acc->idx = 0; in inv_update_acc()
32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
33 if (acc->values[i] == 0) in inv_update_acc()
35 sum += acc->values[i]; in inv_update_acc()
38 acc->val = div_u64(sum, i); in inv_update_acc()
/openbmc/qemu/target/m68k/
H A Dhelper.c400 uint32_t acc; in HELPER() local
413 acc = regval; in HELPER()
1142 tmp = env->macc[acc]; in HELPER()
1158 env->macc[acc] = result; in HELPER()
1165 val = env->macc[acc]; in HELPER()
1180 env->macc[acc] = val; in HELPER()
1188 sum = env->macc[acc]; in HELPER()
1205 val = env->macc[acc]; in HELPER()
1420 env->macc[acc] = res; in HELPER()
1435 env->macc[acc] = res; in HELPER()
[all …]
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A 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()
/openbmc/linux/drivers/nvme/host/
H A 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()
/openbmc/qemu/target/rx/
H A Dop_helper.c368 int64_t acc; in helper_racw() local
369 acc = env->acc; in helper_racw()
370 acc <<= (imm + 1); in helper_racw()
371 acc += 0x0000000080000000LL; in helper_racw()
372 if (acc > 0x00007fff00000000LL) { in helper_racw()
373 acc = 0x00007fff00000000LL; in helper_racw()
374 } else if (acc < -0x800000000000LL) { in helper_racw()
375 acc = -0x800000000000LL; in helper_racw()
377 acc &= 0xffffffff00000000LL; in helper_racw()
379 env->acc = acc; in helper_racw()
/openbmc/webui-vue/src/store/modules/HardwareStatus/
H A DSensorsStore.js25 const promises = collection.reduce((acc, id) => {
26 acc.push(dispatch('getSensors', id));
27 acc.push(dispatch('getThermalSensors', id));
28 acc.push(dispatch('getPowerSensors', id));
29 return acc;
/openbmc/linux/arch/arm64/kvm/vgic/
H A 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, \
/openbmc/qemu/target/i386/hvf/
H A Dhvf-cpu.c79 AccelCPUClass *acc = ACCEL_CPU_CLASS(oc); in hvf_cpu_accel_class_init() local
81 acc->cpu_target_realize = host_cpu_realizefn; in hvf_cpu_accel_class_init()
82 acc->cpu_instance_init = hvf_cpu_instance_init; in hvf_cpu_accel_class_init()
/openbmc/linux/rust/kernel/init/
H A Dmacros.rs1152 @acc(),
1274 @acc($($acc:tt)*),
1295 $($acc)*
1305 @acc($($acc:tt)*),
1317 $($acc)*
1326 @acc($($acc:tt)*),
1332 @acc($($acc)* $field: ::core::panic!(),),
1339 @acc($($acc:tt)*),
1345 @acc($($acc)* $field: ::core::panic!(),),
/openbmc/linux/drivers/staging/fbtft/
H A 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()
/openbmc/linux/lib/
H A 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()
/openbmc/linux/arch/arm/boot/dts/alphascale/
H A Dalphascale-asm9260.dtsi26 clocks = <&acc CLKID_SYS_CPU>;
43 acc: clock-controller@80040000 { label
60 clocks = <&acc CLKID_AHB_TIMER0>;
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A DMakefile2 obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisi-acc-vfio-pci.o
3 hisi-acc-vfio-pci-y := hisi_acc_vfio_pci.o
/openbmc/linux/tools/lib/bpf/
H A Drelo_core.c78 if (!acc->name || arr->nelems > 0) 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()
340 acc = &spec->spec[spec->len]; in bpf_core_parse_spec()
358 acc->type_id = id; in bpf_core_parse_spec()
359 acc->idx = access_idx; in bpf_core_parse_spec()
360 acc->name = name; in bpf_core_parse_spec()
706 if (!acc->name) { in bpf_core_calc_field_relo()
[all …]
/openbmc/linux/security/
H A 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()

123456789