| /linux/drivers/staging/media/ipu3/ |
| A D | ipu3-css-params.c | 1741 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe() 2122 memset(&acc->shd.shd_lut, 0, sizeof(acc->shd.shd_lut)); in imgu_css_cfg_acc() 2253 memset(&acc->tcc, 0, sizeof(acc->tcc)); in imgu_css_cfg_acc() 2282 memset(&acc->dpc, 0, sizeof(acc->dpc)); in imgu_css_cfg_acc() 2350 acc->anr.search.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc() 2351 acc->anr.stitch.frame_width = acc->anr.tile2strm.frame_width; in imgu_css_cfg_acc() 2392 acc->awb_fr.stripes[i] = acc->awb_fr.config; in imgu_css_cfg_acc() 2479 acc->ae.stripes[i].grid = acc->ae.grid_cfg; in imgu_css_cfg_acc() 2499 acc->ae.grid_cfg.width - acc->ae.stripes[0].grid.width; in imgu_css_cfg_acc() 2550 acc->af.stripes[i].grid_cfg = acc->af.config.grid_cfg; in imgu_css_cfg_acc() [all …]
|
| /linux/drivers/md/bcache/ |
| A D | stats.c | 109 acc->total.cache_hits = 0; in bch_cache_accounting_clear() 110 acc->total.cache_misses = 0; in bch_cache_accounting_clear() 122 kobject_put(&acc->day.kobj); in bch_cache_accounting_destroy() 126 closure_return(&acc->cl); in bch_cache_accounting_destroy() 151 struct cache_accounting *acc = from_timer(acc, t, timer); in scale_accounting() local 157 acc->hour.name += t; \ in scale_accounting() 158 acc->day.name += t; \ in scale_accounting() 159 acc->total.name += t; \ in scale_accounting() 177 add_timer(&acc->timer); in scale_accounting() 179 closure_return(&acc->cl); in scale_accounting() [all …]
|
| A D | stats.h | 45 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/drivers/soc/ti/ |
| A D | knav_qmss_acc.c | 94 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 …]
|
| /linux/fs/cachefiles/ |
| A D | key.c | 36 unsigned int acc; in cachefiles_cook_key() local 89 acc = *(uint16_t *) raw; 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() 132 acc >>= 6; in cachefiles_cook_key() 134 acc >>= 6; in cachefiles_cook_key() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| A D | atomisp_acc.c | 123 if (asd->acc.pipeline) in atomisp_acc_release() 167 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_load_to_pipe() 230 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_unload() 251 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_start() 309 if (!asd->acc.pipeline) in atomisp_acc_wait() 344 if (asd->acc.pipeline) in atomisp_acc_map() 399 if (asd->acc.pipeline) in atomisp_acc_unmap() 420 if (asd->acc.pipeline) in atomisp_acc_s_mapped_arg() 455 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_load_extensions() 539 if (!asd->acc.extension_mode) in atomisp_acc_unload_extensions() [all …]
|
| /linux/drivers/iio/imu/inv_icm42600/ |
| A D | inv_icm42600_timestamp.c | 24 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/drivers/fsi/ |
| A D | fsi-scom.c | 402 acc->intf_errors = 0; in raw_convert_status() 407 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status() 409 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status() 411 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status() 416 struct scom_access acc; in scom_raw_read() local 423 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read() 426 raw_convert_status(&acc, status); in scom_raw_read() 435 struct scom_access acc; in scom_raw_write() local 442 if (acc.mask) { in scom_raw_write() 448 mask = acc.mask; in scom_raw_write() [all …]
|
| /linux/drivers/nvme/host/ |
| A D | fc.h | 38 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/tools/lib/bpf/ |
| A D | relo_core.c | 50 if (!acc->name || arr->nelems > 0) in is_flex_arr() 160 struct bpf_core_accessor *acc; in bpf_core_parse_spec() local 201 acc = &spec->spec[0]; in bpf_core_parse_spec() 202 acc->type_id = id; in bpf_core_parse_spec() 203 acc->idx = access_idx; in bpf_core_parse_spec() 229 acc = &spec->spec[spec->len]; in bpf_core_parse_spec() 247 acc->type_id = id; in bpf_core_parse_spec() 248 acc->idx = access_idx; in bpf_core_parse_spec() 249 acc->name = name; in bpf_core_parse_spec() 586 if (!acc->name) { in bpf_core_calc_field_relo() [all …]
|
| /linux/arch/powerpc/kernel/ptrace/ |
| A D | ptrace-spe.c | 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/lib/ |
| A D | xxhash.c | 156 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/arch/arm64/kvm/vgic/ |
| A D | vgic-mmio.h | 67 #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/arch/arm/boot/dts/ |
| A D | qcom-apq8084.dtsi | 34 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 …]
|
| A D | alphascale-asm9260.dtsi | 26 clocks = <&acc CLKID_SYS_CPU>; 43 acc: clock-controller@80040000 { label 60 clocks = <&acc CLKID_AHB_TIMER0>;
|
| A D | qcom-ipq4019.dtsi | 49 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>; 93 qcom,acc = <&acc3>; 326 compatible = "qcom,kpss-acc-v2"; 331 compatible = "qcom,kpss-acc-v2"; 336 compatible = "qcom,kpss-acc-v2"; [all …]
|
| A D | orion5x-rd88f5182-nas.dts | 55 devbus,acc-first-ps = <186000>; 56 devbus,acc-next-ps = <186000>; 77 devbus,acc-first-ps = <186000>; 78 devbus,acc-next-ps = <186000>;
|
| A D | qcom-msm8960.dtsi | 23 enable-method = "qcom,kpss-acc-v1"; 27 qcom,acc = <&acc0>; 33 enable-method = "qcom,kpss-acc-v1"; 37 qcom,acc = <&acc1>; 158 compatible = "qcom,kpss-acc-v1"; 163 compatible = "qcom,kpss-acc-v1";
|
| /linux/security/ |
| A D | device_cgroup.c | 238 static void set_access(char *acc, short access) in set_access() argument 241 memset(acc, 0, ACCLEN); in set_access() 243 acc[idx++] = 'r'; in set_access() 245 acc[idx++] = 'w'; in set_access() 247 acc[idx++] = 'm'; in set_access() 273 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; in devcgroup_seq_show() local 283 set_access(acc, DEVCG_ACC_MASK); in devcgroup_seq_show() 287 maj, min, acc); in devcgroup_seq_show() 290 set_access(acc, ex->access); in devcgroup_seq_show() 294 maj, min, acc); in devcgroup_seq_show()
|
| /linux/drivers/staging/fbtft/ |
| A D | fb_ssd1351.c | 123 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()
|
| A D | fb_ssd1331.c | 134 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/drivers/nvme/target/ |
| A D | fc.c | 1653 memset(acc, 0, sizeof(*acc)); in nvmet_fc_ls_create_association() 1698 sizeof(*acc), rqst->w0.ls_cmd, 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() 1727 acc->connectid.desc_len = in nvmet_fc_ls_create_association() 1730 acc->connectid.connection_id = acc->associd.association_id; in nvmet_fc_ls_create_association() 1742 memset(acc, 0, sizeof(*acc)); in nvmet_fc_ls_create_connection() 1791 sizeof(*acc), rqst->w0.ls_cmd, in nvmet_fc_ls_create_connection() 1811 acc->connectid.desc_len = in nvmet_fc_ls_create_connection() 1814 acc->connectid.connection_id = in nvmet_fc_ls_create_connection() [all …]
|
| /linux/drivers/power/supply/ |
| A D | cpcap-battery.c | 261 s64 acc; in cpcap_battery_cc_raw_div() local 266 acc = accumulator; in cpcap_battery_cc_raw_div() 267 acc -= (s64)sample * offset; in cpcap_battery_cc_raw_div() 268 acc *= ddata->cc_lsb; in cpcap_battery_cc_raw_div() 269 acc *= -1; in cpcap_battery_cc_raw_div() 270 acc = div_s64(acc, divider); in cpcap_battery_cc_raw_div() 272 return acc; in cpcap_battery_cc_raw_div() 363 int value, acc, error; in cpcap_battery_cc_get_avg_current() local 373 acc = sign_extend32(value, 13); in cpcap_battery_cc_get_avg_current() 376 acc = (s16)value; in cpcap_battery_cc_get_avg_current() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/msm/ |
| A D | qcom,kpss-acc.txt | 14 "qcom,kpss-acc-v1" 15 "qcom,kpss-acc-v2" 43 compatible = "qcom,kpss-acc-v2";
|
| /linux/drivers/infiniband/hw/mlx4/ |
| A D | mr.c | 39 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()
|