/linux-master/drivers/vfio/pci/hisilicon/ |
H A D | Makefile | 2 obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisi-acc-vfio-pci.o 3 hisi-acc-vfio-pci-y := hisi_acc_vfio_pci.o
|
/linux-master/drivers/md/bcache/ |
H A D | stats.c | 28 * get a cache hit, we increment a single atomic_t in acc->collector, and when 94 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, argument 97 int ret = kobject_add(&acc->total.kobj, parent, 99 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, 101 ret = ret ?: kobject_add(&acc->hour.kobj, parent, 103 ret = ret ?: kobject_add(&acc->day.kobj, parent, 108 void bch_cache_accounting_clear(struct cache_accounting *acc) argument 110 acc->total.cache_hits = 0; 111 acc->total.cache_misses = 0; 112 acc 118 bch_cache_accounting_destroy(struct cache_accounting *acc) argument 152 struct cache_accounting *acc = from_timer(acc, t, timer); local 222 bch_cache_accounting_init(struct cache_accounting *acc, struct closure *parent) argument [all...] |
H A D | stats.h | 44 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);
|
/linux-master/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 24 struct knav_acc_channel *acc) 38 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", 44 queue = acc->channel - range->acc_info.start_channel; 46 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", 68 atomic_inc(&kq->acc->retrigger_count); 69 mask = BIT(kq->acc->channel % 32); 70 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); 72 kq->acc->name); 79 struct knav_acc_channel *acc; local 94 acc 23 __knav_acc_notify(struct knav_range_info *range, struct knav_acc_channel *acc) argument 199 struct knav_acc_channel *acc; local 306 struct knav_acc_channel *acc; local 339 struct knav_acc_channel *acc; local 357 struct knav_acc_channel *acc; local 375 struct knav_acc_channel *acc; local 430 struct knav_acc_channel *acc; local 475 struct knav_acc_channel *acc; local [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css-params.c | 1216 * DDR address + accelerator's config set index(acc's address). 1728 struct imgu_abi_acc_param *acc) 1738 memset(acc, 0, sizeof(*acc)); 1742 if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, 1743 &scaler_chroma, acc->stripe.block_stripes)) 1757 acc->stripe.num_of_stripes = stripes; 1758 acc->stripe.input_frame.width = 1760 acc->stripe.input_frame.height = 1762 acc 1727 imgu_css_cfg_acc_stripe(struct imgu_css *css, unsigned int pipe, struct imgu_abi_acc_param *acc) argument 1899 imgu_css_cfg_acc_dvs(struct imgu_css *css, struct imgu_abi_acc_param *acc, unsigned int pipe) argument 1918 acc_bds_per_stripe_data(struct imgu_css *css, struct imgu_abi_acc_param *acc, const int i, unsigned int pipe) argument 1943 imgu_css_cfg_acc(struct imgu_css *css, unsigned int pipe, struct ipu3_uapi_flags *use, struct imgu_abi_acc_param *acc, struct imgu_abi_acc_param *acc_old, struct ipu3_uapi_acc_param *acc_user) argument [all...] |
H A D | ipu3-css-params.h | 9 struct imgu_abi_acc_param *acc,
|
/linux-master/fs/cachefiles/ |
H A D | key.c | 41 unsigned int acc, i, n, nle, nbe, keylen = object->cookie->key_len; local 116 acc = *key++; 118 acc |= *key++ << 8; 120 acc |= *key++ << 16; 123 name[len++] = cachefiles_charmap[acc & 63]; 124 acc >>= 6; 125 name[len++] = cachefiles_charmap[acc & 63]; 126 acc >>= 6; 127 name[len++] = cachefiles_charmap[acc & 63]; 128 acc >> [all...] |
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-spe.c | 14 * u64 acc; 32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != 35 return membuf_write(&to, &target->thread.acc, 51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != 56 &target->thread.acc,
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_pagefault.c | 53 struct acc { struct 482 static void print_acc(struct xe_device *xe, struct acc *acc) argument 492 acc->access_type ? "AC_NTFY_VAL" : "AC_TRIG_VAL", 493 acc->asid, acc->vfid, acc->engine_class, acc->engine_instance, 494 granularity_in_byte(acc->granularity) / SZ_1K, 495 sub_granularity_in_byte(acc 499 get_acc_vma(struct xe_vm *vm, struct acc *acc) argument 507 handle_acc(struct xe_gt *gt, struct acc *acc) argument 565 get_acc(struct acc_queue *acc_queue, struct acc *acc) argument 600 struct acc acc = {}; local [all...] |
/linux-master/arch/mips/include/asm/mach-loongson2ef/cs5536/ |
H A D | cs5536_vsm.h | 23 /* acc module */ 24 DECLARE_CS5536_MODULE(acc)
|
/linux-master/drivers/iio/common/inv_sensors/ |
H A D | inv_sensors_timestamp.c | 22 static void inv_update_acc(struct inv_sensors_timestamp_acc *acc, uint32_t val) argument 27 acc->values[acc->idx++] = val; 28 if (acc->idx >= ARRAY_SIZE(acc->values)) 29 acc->idx = 0; 32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { 33 if (acc->values[i] == 0) 35 sum += acc->values[i]; 38 acc [all...] |
/linux-master/drivers/nvme/host/ |
H A D | fc.h | 38 struct fcnvme_ls_acc_hdr *acc = buf; local 40 acc->w0.ls_cmd = ls_cmd; 41 acc->desc_list_len = desc_len; 42 acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); 43 acc->rqst.desc_len = 45 acc->rqst.w0.ls_cmd = rqst_ls_cmd;
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | vpmu_counter_access.c | 174 #define PMC_ACC_TO_IDX(acc) (acc - &pmc_accessors[0]) 239 static void test_access_pmc_regs(struct pmc_accessor *acc, int pmc_idx) argument 270 acc->write_typer(pmc_idx, write_data); 271 read_data = acc->read_typer(pmc_idx); 274 pmc_idx, PMC_ACC_TO_IDX(acc), read_data, write_data); 280 read_data = acc->read_cntr(pmc_idx); 285 pmc_idx, PMC_ACC_TO_IDX(acc), read_data); 288 acc->write_cntr(pmc_idx, write_data); 289 read_data = acc 335 test_access_invalid_pmc_regs(struct pmc_accessor *acc, int pmc_idx) argument [all...] |
/linux-master/drivers/fsi/ |
H A D | fsi-scom.c | 388 static void raw_convert_status(struct scom_access *acc, uint32_t status) argument 390 acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> 392 acc->intf_errors = 0; 395 acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; 397 acc->intf_errors |= SCOM_INTF_ERR_PARITY; 399 acc->intf_errors |= SCOM_INTF_ERR_ABORT; 401 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; 406 struct scom_access acc; local 410 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) 413 rc = raw_get_scom(scom, &acc 425 struct scom_access acc; local [all...] |
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | mr.h | 26 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc);
|
/linux-master/drivers/clk/ |
H A D | clk-fixed-factor.c | 66 return fix->acc; 96 unsigned long acc, unsigned int fixflags, bool devm) 119 fix->acc = acc; 234 unsigned long acc) 239 &pdata, flags, mult, div, acc, 307 unsigned long acc) 312 &pdata, flags, mult, div, acc, 92 __clk_hw_register_fixed_factor(struct device *dev, struct device_node *np, const char *name, const char *parent_name, const struct clk_hw *parent_hw, const struct clk_parent_data *pdata, unsigned long flags, unsigned int mult, unsigned int div, unsigned long acc, unsigned int fixflags, bool devm) argument 231 clk_hw_register_fixed_factor_with_accuracy_fwname(struct device *dev, struct device_node *np, const char *name, const char *fw_name, unsigned long flags, unsigned int mult, unsigned int div, unsigned long acc) argument 304 devm_clk_hw_register_fixed_factor_with_accuracy_fwname(struct device *dev, struct device_node *np, const char *name, const char *fw_name, unsigned long flags, unsigned int mult, unsigned int div, unsigned long acc) argument
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ 72 .access_flags = acc, \ 79 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ 84 .access_flags = acc, \ 89 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ 94 .access_flags = acc, \
|
/linux-master/drivers/staging/fbtft/ |
H A D | fb_ssd1351.c | 125 int i, acc = 0; local 134 acc += curves[i]; 135 tmp[i] = acc; 136 if (acc > 180) { 139 i, acc);
|
H A D | fb_ssd1331.c | 134 int i, acc = 0; local 143 acc += curves[i]; 144 tmp[i] = acc; 145 if (acc > 180) {
|
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.h | 99 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc); 101 u64 virt, int acc, struct ib_udata *);
|
/linux-master/tools/lib/bpf/ |
H A D | relo_core.c | 72 const struct bpf_core_accessor *acc, 78 if (!acc->name || arr->nelems > 0) 82 t = btf_type_by_id(btf, acc->type_id); 83 return acc->idx == btf_vlen(t) - 1; 268 struct bpf_core_accessor *acc; local 310 acc = &spec->spec[0]; 311 acc->type_id = id; 312 acc->idx = access_idx; 322 acc->name = btf__name_by_offset(btf, name_off); 340 acc 71 is_flex_arr(const struct btf *btf, const struct bpf_core_accessor *acc, const struct btf_array *arr) argument 684 const struct bpf_core_accessor *acc; local [all...] |
/linux-master/lib/ |
H A D | xxhash.c | 156 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) argument 158 acc += input * PRIME64_2; 159 acc = xxh_rotl64(acc, 31); 160 acc *= PRIME64_1; 161 return acc; 164 static uint64_t xxh64_merge_round(uint64_t acc, uint64_t val) argument 167 acc ^= val; 168 acc = acc * PRIME64_ [all...] |
/linux-master/include/linux/soc/ixp4xx/ |
H A D | qmgr.h | 45 u32 acc[QUEUES][MAX_QUEUE_LENGTH]; /* 0x000 - 0x3FF */ member in struct:qmgr_regs
|
/linux-master/arch/powerpc/crypto/ |
H A D | poly1305-p10-glue.c | 52 unsigned int acc = 0; local 62 acc += POLY1305_BLOCK_SIZE; 70 acc += POLY1305_BLOCK_SIZE; 74 return acc;
|
/linux-master/security/ |
H A D | device_cgroup.c | 250 static void set_access(char *acc, short access) argument 253 memset(acc, 0, ACCLEN); 255 acc[idx++] = 'r'; 257 acc[idx++] = 'w'; 259 acc[idx++] = 'm'; 285 char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; local 295 set_access(acc, DEVCG_ACC_MASK); 299 maj, min, acc); 302 set_access(acc, ex->access); 306 maj, min, acc); [all...] |