Home
last modified time | relevance | path

Searched full:acc (Results 1 – 25 of 228) sorted by relevance

12345678910

/Linux-v5.10/drivers/soc/ti/
Dknav_qmss_acc.c24 struct knav_acc_channel *acc) in __knav_acc_notify() argument
38 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", in __knav_acc_notify()
44 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify()
46 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", 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()
[all …]
/Linux-v5.10/drivers/staging/media/ipu3/
Dipu3-css-params.c1219 * DDR address + accelerator's config set index(acc's address).
1731 struct imgu_abi_acc_param *acc) in imgu_css_cfg_acc_stripe() argument
1741 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe()
1745 if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, in imgu_css_cfg_acc_stripe()
1746 &scaler_chroma, acc->stripe.block_stripes)) in imgu_css_cfg_acc_stripe()
1760 acc->stripe.num_of_stripes = stripes; in imgu_css_cfg_acc_stripe()
1761 acc->stripe.input_frame.width = in imgu_css_cfg_acc_stripe()
1763 acc->stripe.input_frame.height = in imgu_css_cfg_acc_stripe()
1765 acc->stripe.input_frame.bayer_order = in imgu_css_cfg_acc_stripe()
1769 acc->stripe.bds_out_stripes[i].height = in imgu_css_cfg_acc_stripe()
[all …]
/Linux-v5.10/drivers/md/bcache/
Dstats.c28 * get a cache hit, we increment a single atomic_t in acc->collector, and when
96 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, in bch_cache_accounting_add_kobjs() argument
99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs()
101 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, in bch_cache_accounting_add_kobjs()
103 ret = ret ?: kobject_add(&acc->hour.kobj, parent, in bch_cache_accounting_add_kobjs()
105 ret = ret ?: kobject_add(&acc->day.kobj, parent, in bch_cache_accounting_add_kobjs()
110 void bch_cache_accounting_clear(struct cache_accounting *acc) in bch_cache_accounting_clear() argument
112 acc->total.cache_hits = 0; in bch_cache_accounting_clear()
113 acc->total.cache_misses = 0; in bch_cache_accounting_clear()
114 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear()
[all …]
Dstats.h46 void bch_cache_accounting_init(struct cache_accounting *acc,
49 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc,
52 void bch_cache_accounting_clear(struct cache_accounting *acc);
54 void bch_cache_accounting_destroy(struct cache_accounting *acc);
/Linux-v5.10/fs/cachefiles/
Dkey.c36 unsigned int acc; in cachefiles_cook_key() local
89 acc = *(uint16_t *) raw; in cachefiles_cook_key()
92 key[len + 1] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
93 acc >>= 6; in cachefiles_cook_key()
94 key[len] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
125 acc = *raw++; in cachefiles_cook_key()
126 acc |= *raw++ << 8; in cachefiles_cook_key()
127 acc |= *raw++ << 16; in cachefiles_cook_key()
129 _debug("acc: %06x", acc); in cachefiles_cook_key()
131 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Datomisp_acc.c79 list_for_each_entry(acc_fw, &asd->acc.fw, list) in acc_get_fw()
91 list_for_each_entry(atomisp_map, &asd->acc.memory_maps, list) { in acc_get_map()
114 ida_destroy(&isp->asd[i].acc.ida); in atomisp_acc_cleanup()
123 if (asd->acc.pipeline) in atomisp_acc_release()
127 list_for_each_entry_safe(acc_fw, ta, &asd->acc.fw, list) { in atomisp_acc_release()
129 ida_free(&asd->acc.ida, acc_fw->handle); in atomisp_acc_release()
134 list_for_each_entry_safe(atomisp_map, tm, &asd->acc.memory_maps, list) { in atomisp_acc_release()
167 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_load_to_pipe()
179 handle = ida_alloc(&asd->acc.ida, GFP_KERNEL); in atomisp_acc_load_to_pipe()
207 list_add_tail(&acc_fw->list, &asd->acc.fw); in atomisp_acc_load_to_pipe()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/arm/msm/
Dqcom,kpss-acc.txt1 Krait Processor Sub-system (KPSS) Application Clock Controller (ACC)
3 The KPSS ACC provides clock, power domain, and reset control to a Krait CPU.
4 There is one ACC register region per CPU within the KPSS remapped region as
5 well as an alias register region that remaps accesses to the ACC associated
14 "qcom,kpss-acc-v1"
15 "qcom,kpss-acc-v2"
43 compatible = "qcom,kpss-acc-v2";
/Linux-v5.10/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()
142 "Bad CR_ASSOC ACC Length",
144 "Bad CR_CONN ACC Length",
146 "Bad Disconnect ACC Length",
154 "ACC (2)",
/Linux-v5.10/arch/arm/mm/
Dproc-macros.S125 * 0xxx 0 0 0 no acc no acc
126 * 100x 1 0 1 r/o no acc
127 * 10x0 1 0 1 r/o no acc
128 * 1011 0 0 1 r/w no acc
198 * 0xxx 0x00 no acc no acc
199 * 100x 0x00 r/o no acc
200 * 10x0 0x00 r/o no acc
201 * 1011 0x55 r/w no acc
241 * 0xxx 00 no acc no acc
242 * 100x 00 r/o no acc
[all …]
/Linux-v5.10/drivers/fsi/
Dfsi-scom.c427 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() argument
429 acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> in raw_convert_status()
431 acc->intf_errors = 0; in raw_convert_status()
434 acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; in raw_convert_status()
436 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status()
438 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status()
440 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status()
445 struct scom_access acc; in scom_raw_read() local
449 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read()
452 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read()
[all …]
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/clock/
Dalphascale,acc.txt3 The ACC (Alphascale Clock Controller) is responsible of choising proper
6 Required properties for the ACC node:
8 - reg: must contain the ACC register base and size
103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
111 clocks = <&acc CLKID_AHB_TIMER0>;
/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace-spe.c14 * u64 acc;
32 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-v5.10/drivers/pinctrl/
Dpinctrl-u300.c288 PINCTRL_PIN(99, "PIO ACC APP I2C DATA"),
289 PINCTRL_PIN(100, "PIO ACC APP I2C CLK"),
328 PINCTRL_PIN(138, "PIO ACC SPI DO"),
329 PINCTRL_PIN(139, "PIO ACC SPI DI"),
330 PINCTRL_PIN(140, "PIO ACC SPI CS0 N"),
331 PINCTRL_PIN(141, "PIO ACC SPI CS1 N"),
332 PINCTRL_PIN(142, "PIO ACC SPI CS2 N"),
333 PINCTRL_PIN(143, "PIO ACC SPI CLK"),
528 PINCTRL_PIN(337, "PIO ACC GPIO 33"),
529 PINCTRL_PIN(338, "PIO ACC GPIO 32"),
[all …]
/Linux-v5.10/kernel/bpf/
Dtnum.c114 /* half-multiply add: acc += (unknown * mask * value).
117 static struct tnum hma(struct tnum acc, u64 value, u64 mask) in hma() argument
121 acc = tnum_add(acc, TNUM(0, value)); in hma()
125 return acc; in hma()
130 struct tnum acc; in tnum_mul() local
134 acc = hma(TNUM(pi, 0), a.mask, b.mask | b.value); in tnum_mul()
135 return hma(acc, b.mask, a.value); in tnum_mul()
/Linux-v5.10/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>;
350 compatible = "qcom,kpss-acc-v2";
356 compatible = "qcom,kpss-acc-v2";
[all …]
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>;
316 compatible = "qcom,kpss-acc-v2";
321 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.dts55 devbus,acc-first-ps = <186000>;
56 devbus,acc-next-ps = <186000>;
77 devbus,acc-first-ps = <186000>;
78 devbus,acc-next-ps = <186000>;
/Linux-v5.10/drivers/staging/kpc2000/
Dkpc2000_i2c.c451 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_QUICK\n"); in i801_access()
458 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BYTE\n"); in i801_access()
467 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BYTE_DATA\n"); in i801_access()
477 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_WORD_DATA\n"); in i801_access()
489 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BLOCK_DATA\n"); in i801_access()
497 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_I2C_BLOCK_DATA\n"); in i801_access()
514 " [acc] Unsupported transaction %d\n", size); in i801_access()
519 dev_dbg(&priv->adapter.dev, " [acc] hwpec: yes\n"); in i801_access()
522 dev_dbg(&priv->adapter.dev, " [acc] hwpec: no\n"); in i801_access()
528 dev_dbg(&priv->adapter.dev, " [acc] block: yes\n"); in i801_access()
[all …]
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/memory-controllers/
Dmvebu-devbus.txt52 - devbus,acc-first-ps: Defines the time delay from the negation of
57 - devbus,acc-next-ps: Defines the time delay between the cycle that
65 This parameter has no affect on <acc-first-ps> parameter
67 to a value smaller than <acc-first-ps>.
143 devbus,acc-first-ps = <124000>;
144 devbus,acc-next-ps = <248000>;
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/arm/
Dcpus.yaml207 - qcom,kpss-acc-v1
208 - qcom,kpss-acc-v2
279 value of "qcom,kpss-acc-v1" or "qcom,kpss-acc-v2"
283 qcom,acc:
286 Specifies the ACC* node associated with this CPU.
289 value of "qcom,kpss-acc-v1" or "qcom,kpss-acc-v2"
291 * arm/msm/qcom,kpss-acc.txt
/Linux-v5.10/drivers/power/supply/
Dcpcap-battery.c240 s64 acc; in cpcap_battery_cc_raw_div() local
245 acc = accumulator; in cpcap_battery_cc_raw_div()
246 acc -= (s64)sample * offset; in cpcap_battery_cc_raw_div()
247 acc *= ddata->cc_lsb; in cpcap_battery_cc_raw_div()
248 acc *= -1; in cpcap_battery_cc_raw_div()
249 acc = div_s64(acc, divider); in cpcap_battery_cc_raw_div()
251 return acc; in cpcap_battery_cc_raw_div()
342 int value, acc, error; in cpcap_battery_cc_get_avg_current() local
352 acc = sign_extend32(value, 13); in cpcap_battery_cc_get_avg_current()
355 acc = (s16)value; in cpcap_battery_cc_get_avg_current()
[all …]

12345678910