Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-css-params.c1733 struct imgu_abi_acc_param *acc) in imgu_css_cfg_acc_stripe() argument
1743 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe()
1747 if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, in imgu_css_cfg_acc_stripe()
1748 &scaler_chroma, acc->stripe.block_stripes)) in imgu_css_cfg_acc_stripe()
1762 acc->stripe.num_of_stripes = stripes; in imgu_css_cfg_acc_stripe()
1763 acc->stripe.input_frame.width = in imgu_css_cfg_acc_stripe()
1765 acc->stripe.input_frame.height = in imgu_css_cfg_acc_stripe()
1767 acc->stripe.input_frame.bayer_order = in imgu_css_cfg_acc_stripe()
1771 acc->stripe.bds_out_stripes[i].height = in imgu_css_cfg_acc_stripe()
1773 acc->stripe.bds_out_stripes[0].offset = 0; in imgu_css_cfg_acc_stripe()
[all …]
/Linux-v5.4/drivers/md/bcache/
Dstats.c96 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 memset(&acc->total.cache_hits, in bch_cache_accounting_clear()
117 void bch_cache_accounting_destroy(struct cache_accounting *acc) in bch_cache_accounting_destroy() argument
119 kobject_put(&acc->total.kobj); in bch_cache_accounting_destroy()
120 kobject_put(&acc->five_minute.kobj); in bch_cache_accounting_destroy()
[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.4/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-v5.4/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.4/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.4/drivers/infiniband/hw/cxgb3/
Diwch_provider.h294 static inline u32 iwch_ib_to_tpt_access(int acc) in iwch_ib_to_tpt_access() argument
296 return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | in iwch_ib_to_tpt_access()
297 (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0) | in iwch_ib_to_tpt_access()
298 (acc & IB_ACCESS_LOCAL_WRITE ? TPT_LOCAL_WRITE : 0) | in iwch_ib_to_tpt_access()
299 (acc & IB_ACCESS_MW_BIND ? TPT_MW_BIND : 0) | in iwch_ib_to_tpt_access()
303 static inline u32 iwch_ib_to_tpt_bind_access(int acc) in iwch_ib_to_tpt_bind_access() argument
305 return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | in iwch_ib_to_tpt_bind_access()
306 (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0); in iwch_ib_to_tpt_bind_access()
/Linux-v5.4/kernel/bpf/
Dtnum.c112 static struct tnum hma(struct tnum acc, u64 value, u64 mask) in hma() argument
116 acc = tnum_add(acc, TNUM(0, value)); in hma()
120 return acc; in hma()
125 struct tnum acc; in tnum_mul() local
129 acc = hma(TNUM(pi, 0), a.mask, b.mask | b.value); in tnum_mul()
130 return hma(acc, b.mask, a.value); in tnum_mul()
/Linux-v5.4/virt/kvm/arm/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.4/arch/arm/boot/dts/
Dqcom-apq8084.dtsi33 enable-method = "qcom,kpss-acc-v2";
35 qcom,acc = <&acc0>;
44 enable-method = "qcom,kpss-acc-v2";
46 qcom,acc = <&acc1>;
55 enable-method = "qcom,kpss-acc-v2";
57 qcom,acc = <&acc2>;
66 enable-method = "qcom,kpss-acc-v2";
68 qcom,acc = <&acc3>;
348 compatible = "qcom,kpss-acc-v2";
354 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>;
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>;
301 compatible = "qcom,kpss-acc-v2";
306 compatible = "qcom,kpss-acc-v2";
[all …]
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>;
Dqcom-msm8960.dtsi23 enable-method = "qcom,kpss-acc-v1";
27 qcom,acc = <&acc0>;
33 enable-method = "qcom,kpss-acc-v1";
37 qcom,acc = <&acc1>;
157 compatible = "qcom,kpss-acc-v1";
162 compatible = "qcom,kpss-acc-v1";
/Linux-v5.4/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.4/security/
Ddevice_cgroup.c236 static void set_access(char *acc, short access) in set_access() argument
239 memset(acc, 0, ACCLEN); in set_access()
241 acc[idx++] = 'r'; in set_access()
243 acc[idx++] = 'w'; in set_access()
245 acc[idx++] = 'm'; in set_access()
271 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local
281 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show()
285 maj, min, acc); in devcgroup_seq_show()
288 set_access(acc, ex->access); in devcgroup_seq_show()
292 maj, min, acc); in devcgroup_seq_show()
/Linux-v5.4/drivers/staging/fbtft/
Dfb_ssd1351.c124 int i, acc = 0; in set_gamma() local
133 acc += curves[i]; in set_gamma()
134 tmp[i] = acc; in set_gamma()
135 if (acc > 180) { in set_gamma()
138 i, acc); in set_gamma()
Dfb_ssd1331.c136 int i, acc = 0; in set_gamma() local
145 acc += curves[i]; in set_gamma()
146 tmp[i] = acc; in set_gamma()
147 if (acc > 180) { in set_gamma()
Dfb_hx8347d.c103 int acc = 0; in set_gamma() local
108 acc += CURVE(i, j); in set_gamma()
112 if (acc == 0) /* skip if all values are zero */ in set_gamma()
/Linux-v5.4/drivers/nvme/target/
Dfc.c1227 struct fcnvme_ls_acc_hdr *acc = buf; in nvmet_fc_format_rsp_hdr() local
1229 acc->w0.ls_cmd = ls_cmd; in nvmet_fc_format_rsp_hdr()
1230 acc->desc_list_len = desc_len; in nvmet_fc_format_rsp_hdr()
1231 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); in nvmet_fc_format_rsp_hdr()
1232 acc->rqst.desc_len = in nvmet_fc_format_rsp_hdr()
1234 acc->rqst.w0.ls_cmd = rqst_ls_cmd; in nvmet_fc_format_rsp_hdr()
1326 struct fcnvme_ls_cr_assoc_acc *acc = in nvmet_fc_ls_create_association() local
1331 memset(acc, 0, sizeof(*acc)); in nvmet_fc_ls_create_association()
1374 iod->lsreq->rsplen = nvmet_fc_format_rjt(acc, in nvmet_fc_ls_create_association()
1387 iod->lsreq->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association()
[all …]
/Linux-v5.4/drivers/power/supply/
Dcpcap-battery.c219 s64 acc; in cpcap_battery_cc_raw_div() local
238 acc = accumulator; in cpcap_battery_cc_raw_div()
239 acc = acc - ((s64)sample * offset); in cpcap_battery_cc_raw_div()
242 if (acc >= 0) in cpcap_battery_cc_raw_div()
243 tmp = acc; in cpcap_battery_cc_raw_div()
245 tmp = acc * -1; in cpcap_battery_cc_raw_div()
251 if (acc >= 0) in cpcap_battery_cc_raw_div()
338 int value, acc, error; in cpcap_battery_cc_get_avg_current() local
353 acc = (s16)value; in cpcap_battery_cc_get_avg_current()
365 return cpcap_battery_cc_to_ua(ddata, sample, acc, offset); in cpcap_battery_cc_get_avg_current()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/mlx4/
Dmr.c39 static u32 convert_access(int acc) in convert_access() argument
41 return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX4_PERM_ATOMIC : 0) | in convert_access()
42 (acc & IB_ACCESS_REMOTE_WRITE ? MLX4_PERM_REMOTE_WRITE : 0) | in convert_access()
43 (acc & IB_ACCESS_REMOTE_READ ? MLX4_PERM_REMOTE_READ : 0) | in convert_access()
44 (acc & IB_ACCESS_LOCAL_WRITE ? MLX4_PERM_LOCAL_WRITE : 0) | in convert_access()
45 (acc & IB_ACCESS_MW_BIND ? MLX4_PERM_BIND_MW : 0) | in convert_access()
58 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr() argument
68 ~0ull, convert_access(acc), 0, 0, &mr->mmr); in mlx4_ib_get_dma_mr()
701 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, in mlx4_ib_fmr_alloc() argument
712 err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc), in mlx4_ib_fmr_alloc()
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dalphascale,acc.txt103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
111 clocks = <&acc CLKID_AHB_TIMER0>;
/Linux-v5.4/security/keys/
Dkeyring.c170 u64 acc; in hash_key_type_and_desc() local
174 acc = mult_64x32_and_fold(type, desc_len + 13); in hash_key_type_and_desc()
175 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
177 acc = mult_64x32_and_fold(acc, piece); in hash_key_type_and_desc()
178 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
190 acc = mult_64x32_and_fold(acc, piece); in hash_key_type_and_desc()
191 acc = mult_64x32_and_fold(acc, 9207); in hash_key_type_and_desc()
195 hash = acc; in hash_key_type_and_desc()
197 hash ^= acc >> 32; in hash_key_type_and_desc()

12345