acc 24 arch/mips/include/asm/mach-loongson64/cs5536/cs5536_vsm.h DECLARE_CS5536_MODULE(acc) acc 536 arch/powerpc/include/asm/kvm_host.h u64 acc; acc 197 arch/powerpc/include/asm/processor.h u64 acc; /* Accumulator */ acc 132 arch/powerpc/kernel/asm-offsets.c OFFSET(THREAD_ACC, thread_struct, acc); acc 746 arch/powerpc/kernel/asm-offsets.c OFFSET(VCPU_ACC, kvm_vcpu, arch.acc); acc 1803 arch/powerpc/kernel/process.c current->thread.acc = 0; acc 757 arch/powerpc/kernel/ptrace.c BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != acc 762 arch/powerpc/kernel/ptrace.c &target->thread.acc, acc 780 arch/powerpc/kernel/ptrace.c BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != acc 785 arch/powerpc/kernel/ptrace.c &target->thread.acc, acc 2174 arch/powerpc/kvm/book3s_hv.c struct kvmhv_tb_accumulator *acc; acc 2176 arch/powerpc/kvm/book3s_hv.c acc = (struct kvmhv_tb_accumulator *) acc 2180 arch/powerpc/kvm/book3s_hv.c count = acc->seqcount; acc 2183 arch/powerpc/kvm/book3s_hv.c tb = *acc; acc 2185 arch/powerpc/kvm/book3s_hv.c if (count == acc->seqcount) { acc 89 arch/s390/kvm/gaccess.c unsigned long acc: 4; /* Access-Control Bits */ acc 131 arch/s390/kvm/gaccess.c unsigned long acc: 4; /* Access-Control Bits */ acc 427 drivers/fsi/fsi-scom.c static void raw_convert_status(struct scom_access *acc, uint32_t status) acc 429 drivers/fsi/fsi-scom.c acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> acc 431 drivers/fsi/fsi-scom.c acc->intf_errors = 0; acc 434 drivers/fsi/fsi-scom.c acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; acc 436 drivers/fsi/fsi-scom.c acc->intf_errors |= SCOM_INTF_ERR_PARITY; acc 438 drivers/fsi/fsi-scom.c acc->intf_errors |= SCOM_INTF_ERR_ABORT; acc 440 drivers/fsi/fsi-scom.c acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; acc 445 drivers/fsi/fsi-scom.c struct scom_access acc; acc 449 drivers/fsi/fsi-scom.c if (copy_from_user(&acc, argp, sizeof(struct scom_access))) acc 452 drivers/fsi/fsi-scom.c rc = raw_get_scom(scom, &acc.data, acc.addr, &status); acc 455 drivers/fsi/fsi-scom.c raw_convert_status(&acc, status); acc 456 drivers/fsi/fsi-scom.c if (copy_to_user(argp, &acc, sizeof(struct scom_access))) acc 464 drivers/fsi/fsi-scom.c struct scom_access acc; acc 468 drivers/fsi/fsi-scom.c if (copy_from_user(&acc, argp, sizeof(struct scom_access))) acc 471 drivers/fsi/fsi-scom.c if (acc.mask) { acc 472 drivers/fsi/fsi-scom.c rc = raw_get_scom(scom, &prev_data, acc.addr, &status); acc 477 drivers/fsi/fsi-scom.c mask = acc.mask; acc 481 drivers/fsi/fsi-scom.c data = (prev_data & ~mask) | (acc.data & mask); acc 482 drivers/fsi/fsi-scom.c rc = raw_put_scom(scom, data, acc.addr, &status); acc 486 drivers/fsi/fsi-scom.c raw_convert_status(&acc, status); acc 487 drivers/fsi/fsi-scom.c if (copy_to_user(argp, &acc, sizeof(struct scom_access))) acc 441 drivers/hwmon/acpi_power_meter.c unsigned int acc = resource->caps.accuracy; acc 443 drivers/hwmon/acpi_power_meter.c return sprintf(buf, "%u.%u%%\n", acc / 1000, acc % 1000); acc 355 drivers/infiniband/hw/cxgb3/iwch_provider.c static struct ib_mr *iwch_get_dma_mr(struct ib_pd *pd, int acc) acc 413 drivers/infiniband/hw/cxgb3/iwch_provider.c mhp->attr.perms = iwch_ib_to_tpt_access(acc); acc 434 drivers/infiniband/hw/cxgb3/iwch_provider.c u64 virt, int acc, struct ib_udata *udata) acc 454 drivers/infiniband/hw/cxgb3/iwch_provider.c mhp->umem = ib_umem_get(udata, start, length, acc, 0); acc 498 drivers/infiniband/hw/cxgb3/iwch_provider.c mhp->attr.perms = iwch_ib_to_tpt_access(acc); acc 294 drivers/infiniband/hw/cxgb3/iwch_provider.h static inline u32 iwch_ib_to_tpt_access(int acc) acc 296 drivers/infiniband/hw/cxgb3/iwch_provider.h return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | acc 297 drivers/infiniband/hw/cxgb3/iwch_provider.h (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0) | acc 298 drivers/infiniband/hw/cxgb3/iwch_provider.h (acc & IB_ACCESS_LOCAL_WRITE ? TPT_LOCAL_WRITE : 0) | acc 299 drivers/infiniband/hw/cxgb3/iwch_provider.h (acc & IB_ACCESS_MW_BIND ? TPT_MW_BIND : 0) | acc 303 drivers/infiniband/hw/cxgb3/iwch_provider.h static inline u32 iwch_ib_to_tpt_bind_access(int acc) acc 305 drivers/infiniband/hw/cxgb3/iwch_provider.h return (acc & IB_ACCESS_REMOTE_WRITE ? TPT_REMOTE_WRITE : 0) | acc 306 drivers/infiniband/hw/cxgb3/iwch_provider.h (acc & IB_ACCESS_REMOTE_READ ? TPT_REMOTE_READ : 0); acc 662 drivers/infiniband/hw/cxgb4/iw_cxgb4.h static inline u32 c4iw_ib_to_tpt_bind_access(int acc) acc 664 drivers/infiniband/hw/cxgb4/iw_cxgb4.h return (acc & IB_ACCESS_REMOTE_WRITE ? FW_RI_MEM_ACCESS_REM_WRITE : 0) | acc 665 drivers/infiniband/hw/cxgb4/iw_cxgb4.h (acc & IB_ACCESS_REMOTE_READ ? FW_RI_MEM_ACCESS_REM_READ : 0); acc 991 drivers/infiniband/hw/cxgb4/iw_cxgb4.h u64 length, u64 virt, int acc, acc 993 drivers/infiniband/hw/cxgb4/iw_cxgb4.h struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc); acc 447 drivers/infiniband/hw/cxgb4/mem.c struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) acc 477 drivers/infiniband/hw/cxgb4/mem.c mhp->attr.perms = c4iw_ib_to_tpt_access(acc); acc 478 drivers/infiniband/hw/cxgb4/mem.c mhp->attr.mw_bind_enable = (acc&IB_ACCESS_MW_BIND) == IB_ACCESS_MW_BIND; acc 509 drivers/infiniband/hw/cxgb4/mem.c u64 virt, int acc, struct ib_udata *udata) acc 546 drivers/infiniband/hw/cxgb4/mem.c mhp->umem = ib_umem_get(udata, start, length, acc, 0); acc 590 drivers/infiniband/hw/cxgb4/mem.c mhp->attr.perms = c4iw_ib_to_tpt_access(acc); acc 1188 drivers/infiniband/hw/hns/hns_roce_device.h struct ib_mr *hns_roce_get_dma_mr(struct ib_pd *pd, int acc); acc 985 drivers/infiniband/hw/hns/hns_roce_mr.c struct ib_mr *hns_roce_get_dma_mr(struct ib_pd *pd, int acc) acc 998 drivers/infiniband/hw/hns/hns_roce_mr.c ~0ULL, acc, 0, mr); acc 586 drivers/infiniband/hw/i40iw/i40iw.h int acc, acc 1228 drivers/infiniband/hw/i40iw/i40iw_verbs.c static inline u16 i40iw_get_user_access(int acc) acc 1232 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= (acc & IB_ACCESS_LOCAL_WRITE) ? I40IW_ACCESS_FLAGS_LOCALWRITE : 0; acc 1233 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= (acc & IB_ACCESS_REMOTE_WRITE) ? I40IW_ACCESS_FLAGS_REMOTEWRITE : 0; acc 1234 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= (acc & IB_ACCESS_REMOTE_READ) ? I40IW_ACCESS_FLAGS_REMOTEREAD : 0; acc 1235 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= (acc & IB_ACCESS_MW_BIND) ? I40IW_ACCESS_FLAGS_BIND_WINDOW : 0; acc 1739 drivers/infiniband/hw/i40iw/i40iw_verbs.c int acc, acc 1766 drivers/infiniband/hw/i40iw/i40iw_verbs.c region = ib_umem_get(udata, start, length, acc, 0); acc 1842 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= i40iw_get_user_access(acc); acc 1888 drivers/infiniband/hw/i40iw/i40iw_verbs.c int acc, acc 1914 drivers/infiniband/hw/i40iw/i40iw_verbs.c access |= i40iw_get_user_access(acc); acc 1940 drivers/infiniband/hw/i40iw/i40iw_verbs.c static struct ib_mr *i40iw_get_dma_mr(struct ib_pd *pd, int acc) acc 1944 drivers/infiniband/hw/i40iw/i40iw_verbs.c return i40iw_reg_phys_mr(pd, 0, 0, acc, &kva); acc 730 drivers/infiniband/hw/mlx4/mlx4_ib.h struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc); acc 39 drivers/infiniband/hw/mlx4/mr.c static u32 convert_access(int acc) acc 41 drivers/infiniband/hw/mlx4/mr.c return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX4_PERM_ATOMIC : 0) | acc 42 drivers/infiniband/hw/mlx4/mr.c (acc & IB_ACCESS_REMOTE_WRITE ? MLX4_PERM_REMOTE_WRITE : 0) | acc 43 drivers/infiniband/hw/mlx4/mr.c (acc & IB_ACCESS_REMOTE_READ ? MLX4_PERM_REMOTE_READ : 0) | acc 44 drivers/infiniband/hw/mlx4/mr.c (acc & IB_ACCESS_LOCAL_WRITE ? MLX4_PERM_LOCAL_WRITE : 0) | acc 45 drivers/infiniband/hw/mlx4/mr.c (acc & IB_ACCESS_MW_BIND ? MLX4_PERM_BIND_MW : 0) | acc 58 drivers/infiniband/hw/mlx4/mr.c struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) acc 68 drivers/infiniband/hw/mlx4/mr.c ~0ull, convert_access(acc), 0, 0, &mr->mmr); acc 701 drivers/infiniband/hw/mlx4/mr.c struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, acc 712 drivers/infiniband/hw/mlx4/mr.c err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc), acc 3306 drivers/infiniband/hw/mlx4/qp.c static __be32 convert_access(int acc) acc 3308 drivers/infiniband/hw/mlx4/qp.c return (acc & IB_ACCESS_REMOTE_ATOMIC ? acc 3310 drivers/infiniband/hw/mlx4/qp.c (acc & IB_ACCESS_REMOTE_WRITE ? acc 3312 drivers/infiniband/hw/mlx4/qp.c (acc & IB_ACCESS_REMOTE_READ ? acc 3314 drivers/infiniband/hw/mlx4/qp.c (acc & IB_ACCESS_LOCAL_WRITE ? cpu_to_be32(MLX4_WQE_FMR_PERM_LOCAL_WRITE) : 0) | acc 1147 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc); acc 1382 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline u8 convert_access(int acc) acc 1384 drivers/infiniband/hw/mlx5/mlx5_ib.h return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX5_PERM_ATOMIC : 0) | acc 1385 drivers/infiniband/hw/mlx5/mlx5_ib.h (acc & IB_ACCESS_REMOTE_WRITE ? MLX5_PERM_REMOTE_WRITE : 0) | acc 1386 drivers/infiniband/hw/mlx5/mlx5_ib.h (acc & IB_ACCESS_REMOTE_READ ? MLX5_PERM_REMOTE_READ : 0) | acc 1387 drivers/infiniband/hw/mlx5/mlx5_ib.h (acc & IB_ACCESS_LOCAL_WRITE ? MLX5_PERM_LOCAL_WRITE : 0) | acc 682 drivers/infiniband/hw/mlx5/mr.c struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) acc 705 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, a, !!(acc & IB_ACCESS_REMOTE_ATOMIC)); acc 706 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, rw, !!(acc & IB_ACCESS_REMOTE_WRITE)); acc 707 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, rr, !!(acc & IB_ACCESS_REMOTE_READ)); acc 708 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, lw, !!(acc & IB_ACCESS_LOCAL_WRITE)); acc 1148 drivers/infiniband/hw/mlx5/mr.c u64 length, int acc, int mode) acc 1172 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, a, !!(acc & IB_ACCESS_REMOTE_ATOMIC)); acc 1173 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, rw, !!(acc & IB_ACCESS_REMOTE_WRITE)); acc 1174 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, rr, !!(acc & IB_ACCESS_REMOTE_READ)); acc 1175 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, lw, !!(acc & IB_ACCESS_LOCAL_WRITE)); acc 1190 drivers/infiniband/hw/mlx5/mr.c set_mr_fields(dev, mr, 0, length, acc); acc 4332 drivers/infiniband/hw/mlx5/qp.c static u8 get_umr_flags(int acc) acc 4334 drivers/infiniband/hw/mlx5/qp.c return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX5_PERM_ATOMIC : 0) | acc 4335 drivers/infiniband/hw/mlx5/qp.c (acc & IB_ACCESS_REMOTE_WRITE ? MLX5_PERM_REMOTE_WRITE : 0) | acc 4336 drivers/infiniband/hw/mlx5/qp.c (acc & IB_ACCESS_REMOTE_READ ? MLX5_PERM_REMOTE_READ : 0) | acc 4337 drivers/infiniband/hw/mlx5/qp.c (acc & IB_ACCESS_LOCAL_WRITE ? MLX5_PERM_LOCAL_WRITE : 0) | acc 822 drivers/infiniband/hw/mthca/mthca_provider.c static inline u32 convert_access(int acc) acc 824 drivers/infiniband/hw/mthca/mthca_provider.c return (acc & IB_ACCESS_REMOTE_ATOMIC ? MTHCA_MPT_FLAG_ATOMIC : 0) | acc 825 drivers/infiniband/hw/mthca/mthca_provider.c (acc & IB_ACCESS_REMOTE_WRITE ? MTHCA_MPT_FLAG_REMOTE_WRITE : 0) | acc 826 drivers/infiniband/hw/mthca/mthca_provider.c (acc & IB_ACCESS_REMOTE_READ ? MTHCA_MPT_FLAG_REMOTE_READ : 0) | acc 827 drivers/infiniband/hw/mthca/mthca_provider.c (acc & IB_ACCESS_LOCAL_WRITE ? MTHCA_MPT_FLAG_LOCAL_WRITE : 0) | acc 831 drivers/infiniband/hw/mthca/mthca_provider.c static struct ib_mr *mthca_get_dma_mr(struct ib_pd *pd, int acc) acc 842 drivers/infiniband/hw/mthca/mthca_provider.c convert_access(acc), mr); acc 855 drivers/infiniband/hw/mthca/mthca_provider.c u64 virt, int acc, struct ib_udata *udata) acc 883 drivers/infiniband/hw/mthca/mthca_provider.c mr->umem = ib_umem_get(udata, start, length, acc, acc 933 drivers/infiniband/hw/mthca/mthca_provider.c convert_access(acc), mr); acc 2039 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_hw_mr *hwmr, u32 pdid, int acc) acc 122 drivers/infiniband/hw/ocrdma/ocrdma_hw.h u32 pd_id, int acc); acc 700 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u32 pdid, int acc, u32 num_pbls, u32 addr_check) acc 706 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_rd = (acc & IB_ACCESS_REMOTE_READ) ? 1 : 0; acc 707 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_wr = (acc & IB_ACCESS_REMOTE_WRITE) ? 1 : 0; acc 708 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.local_wr = (acc & IB_ACCESS_LOCAL_WRITE) ? 1 : 0; acc 709 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.mw_bind = (acc & IB_ACCESS_MW_BIND) ? 1 : 0; acc 710 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_atomic = (acc & IB_ACCESS_REMOTE_ATOMIC) ? 1 : 0; acc 723 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc) acc 730 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (acc & IB_ACCESS_REMOTE_WRITE && !(acc & IB_ACCESS_LOCAL_WRITE)) { acc 739 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c status = ocrdma_alloc_lkey(dev, mr, pd->id, acc, 0, acc 862 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u64 usr_addr, int acc, struct ib_udata *udata) acc 872 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (acc & IB_ACCESS_REMOTE_WRITE && !(acc & IB_ACCESS_LOCAL_WRITE)) acc 878 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->umem = ib_umem_get(udata, start, len, acc, 0); acc 892 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_wr = (acc & IB_ACCESS_REMOTE_WRITE) ? 1 : 0; acc 893 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_rd = (acc & IB_ACCESS_REMOTE_READ) ? 1 : 0; acc 894 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.local_wr = (acc & IB_ACCESS_LOCAL_WRITE) ? 1 : 0; acc 896 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c mr->hwmr.remote_atomic = (acc & IB_ACCESS_REMOTE_ATOMIC) ? 1 : 0; acc 901 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c status = ocrdma_reg_mr(dev, &mr->hwmr, pd->id, acc); acc 102 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc); acc 104 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h u64 virt, int acc, struct ib_udata *); acc 2603 drivers/infiniband/hw/qedr/verbs.c u64 usr_addr, int acc, struct ib_udata *udata) acc 2613 drivers/infiniband/hw/qedr/verbs.c pd->pd_id, start, len, usr_addr, acc); acc 2615 drivers/infiniband/hw/qedr/verbs.c if (acc & IB_ACCESS_REMOTE_WRITE && !(acc & IB_ACCESS_LOCAL_WRITE)) acc 2624 drivers/infiniband/hw/qedr/verbs.c mr->umem = ib_umem_get(udata, start, len, acc, 0); acc 2648 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.local_write = (acc & IB_ACCESS_LOCAL_WRITE) ? 1 : 0; acc 2649 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_read = (acc & IB_ACCESS_REMOTE_READ) ? 1 : 0; acc 2650 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_write = (acc & IB_ACCESS_REMOTE_WRITE) ? 1 : 0; acc 2651 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_atomic = (acc & IB_ACCESS_REMOTE_ATOMIC) ? 1 : 0; acc 2853 drivers/infiniband/hw/qedr/verbs.c struct ib_mr *qedr_get_dma_mr(struct ib_pd *ibpd, int acc) acc 2876 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.local_write = (acc & IB_ACCESS_LOCAL_WRITE) ? 1 : 0; acc 2877 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_read = (acc & IB_ACCESS_REMOTE_READ) ? 1 : 0; acc 2878 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_write = (acc & IB_ACCESS_REMOTE_WRITE) ? 1 : 0; acc 2879 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.remote_atomic = (acc & IB_ACCESS_REMOTE_ATOMIC) ? 1 : 0; acc 79 drivers/infiniband/hw/qedr/verbs.h struct ib_mr *qedr_get_dma_mr(struct ib_pd *, int acc); acc 82 drivers/infiniband/hw/qedr/verbs.h u64 virt, int acc, struct ib_udata *); acc 7740 drivers/infiniband/hw/qib/qib_iba7322.c u64 trans, acc, prev_acc; acc 7746 drivers/infiniband/hw/qib/qib_iba7322.c acc = (quad << 1) | 1; acc 7747 drivers/infiniband/hw/qib/qib_iba7322.c qib_write_kreg(dd, KR_AHB_ACC, acc); acc 554 drivers/infiniband/hw/qib/qib_sd7220.c u16 acc; acc 565 drivers/infiniband/hw/qib/qib_sd7220.c acc = kr_ibsd_epb_access_ctrl; acc 571 drivers/infiniband/hw/qib/qib_sd7220.c acc = kr_pciesd_epb_access_ctrl; acc 583 drivers/infiniband/hw/qib/qib_sd7220.c accval = qib_read_kreg32(dd, acc); acc 595 drivers/infiniband/hw/qib/qib_sd7220.c qib_write_kreg(dd, acc, newval); acc 597 drivers/infiniband/hw/qib/qib_sd7220.c pollval = qib_read_kreg32(dd, acc); acc 599 drivers/infiniband/hw/qib/qib_sd7220.c pollval = qib_read_kreg32(dd, acc); acc 607 drivers/infiniband/hw/qib/qib_sd7220.c qib_write_kreg(dd, acc, newval); acc 609 drivers/infiniband/hw/qib/qib_sd7220.c pollval = qib_read_kreg32(dd, acc); acc 611 drivers/infiniband/hw/qib/qib_sd7220.c pollval = qib_read_kreg32(dd, acc); acc 58 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc) acc 69 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c if (acc & ~IB_ACCESS_LOCAL_WRITE) { acc 71 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c "unsupported dma mr access flags %#x\n", acc); acc 82 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c cmd->access_flags = acc; acc 403 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc); acc 331 drivers/infiniband/sw/rdmavt/mr.c struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc) acc 358 drivers/infiniband/sw/rdmavt/mr.c mr->mr.access_flags = acc; acc 916 drivers/infiniband/sw/rdmavt/mr.c struct ib_sge *sge, int acc) acc 965 drivers/infiniband/sw/rdmavt/mr.c (mr->access_flags & acc) != acc)) acc 1025 drivers/infiniband/sw/rdmavt/mr.c u32 len, u64 vaddr, u32 rkey, int acc) acc 1072 drivers/infiniband/sw/rdmavt/mr.c (mr->access_flags & acc) == 0)) acc 77 drivers/infiniband/sw/rdmavt/mr.h struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc); acc 2007 drivers/infiniband/sw/rdmavt/qp.c int acc; acc 2087 drivers/infiniband/sw/rdmavt/qp.c acc = wr->opcode >= IB_WR_RDMA_READ ? acc 2095 drivers/infiniband/sw/rdmavt/qp.c &wr->sg_list[i], acc); acc 96 drivers/md/bcache/stats.c int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, acc 99 drivers/md/bcache/stats.c int ret = kobject_add(&acc->total.kobj, parent, acc 101 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, acc 103 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->hour.kobj, parent, acc 105 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->day.kobj, parent, acc 110 drivers/md/bcache/stats.c void bch_cache_accounting_clear(struct cache_accounting *acc) acc 112 drivers/md/bcache/stats.c acc->total.cache_hits = 0; acc 113 drivers/md/bcache/stats.c acc->total.cache_misses = 0; acc 114 drivers/md/bcache/stats.c acc->total.cache_bypass_hits = 0; acc 115 drivers/md/bcache/stats.c acc->total.cache_bypass_misses = 0; acc 116 drivers/md/bcache/stats.c acc->total.cache_readaheads = 0; acc 117 drivers/md/bcache/stats.c acc->total.cache_miss_collisions = 0; acc 118 drivers/md/bcache/stats.c acc->total.sectors_bypassed = 0; acc 121 drivers/md/bcache/stats.c void bch_cache_accounting_destroy(struct cache_accounting *acc) acc 123 drivers/md/bcache/stats.c kobject_put(&acc->total.kobj); acc 124 drivers/md/bcache/stats.c kobject_put(&acc->five_minute.kobj); acc 125 drivers/md/bcache/stats.c kobject_put(&acc->hour.kobj); acc 126 drivers/md/bcache/stats.c kobject_put(&acc->day.kobj); acc 128 drivers/md/bcache/stats.c atomic_set(&acc->closing, 1); acc 129 drivers/md/bcache/stats.c if (del_timer_sync(&acc->timer)) acc 130 drivers/md/bcache/stats.c closure_return(&acc->cl); acc 156 drivers/md/bcache/stats.c struct cache_accounting *acc = from_timer(acc, t, timer); acc 159 drivers/md/bcache/stats.c unsigned int t = atomic_xchg(&acc->collector.name, 0); \ acc 161 drivers/md/bcache/stats.c acc->five_minute.name += t; \ acc 162 drivers/md/bcache/stats.c acc->hour.name += t; \ acc 163 drivers/md/bcache/stats.c acc->day.name += t; \ acc 164 drivers/md/bcache/stats.c acc->total.name += t; \ acc 175 drivers/md/bcache/stats.c scale_stats(&acc->total, 0); acc 176 drivers/md/bcache/stats.c scale_stats(&acc->day, DAY_RESCALE); acc 177 drivers/md/bcache/stats.c scale_stats(&acc->hour, HOUR_RESCALE); acc 178 drivers/md/bcache/stats.c scale_stats(&acc->five_minute, FIVE_MINUTE_RESCALE); acc 180 drivers/md/bcache/stats.c acc->timer.expires += accounting_delay; acc 182 drivers/md/bcache/stats.c if (!atomic_read(&acc->closing)) acc 183 drivers/md/bcache/stats.c add_timer(&acc->timer); acc 185 drivers/md/bcache/stats.c closure_return(&acc->cl); acc 235 drivers/md/bcache/stats.c void bch_cache_accounting_init(struct cache_accounting *acc, acc 238 drivers/md/bcache/stats.c kobject_init(&acc->total.kobj, &bch_stats_ktype); acc 239 drivers/md/bcache/stats.c kobject_init(&acc->five_minute.kobj, &bch_stats_ktype); acc 240 drivers/md/bcache/stats.c kobject_init(&acc->hour.kobj, &bch_stats_ktype); acc 241 drivers/md/bcache/stats.c kobject_init(&acc->day.kobj, &bch_stats_ktype); acc 243 drivers/md/bcache/stats.c closure_init(&acc->cl, parent); acc 244 drivers/md/bcache/stats.c timer_setup(&acc->timer, scale_accounting, 0); acc 245 drivers/md/bcache/stats.c acc->timer.expires = jiffies + accounting_delay; acc 246 drivers/md/bcache/stats.c add_timer(&acc->timer); acc 46 drivers/md/bcache/stats.h void bch_cache_accounting_init(struct cache_accounting *acc, acc 49 drivers/md/bcache/stats.h int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, acc 52 drivers/md/bcache/stats.h void bch_cache_accounting_clear(struct cache_accounting *acc); acc 54 drivers/md/bcache/stats.h void bch_cache_accounting_destroy(struct cache_accounting *acc); acc 757 drivers/media/i2c/saa7115.c u8 acc = 0; /* reg 0x3a, audio clock control */ acc 783 drivers/media/i2c/saa7115.c acc = 0x80; acc 785 drivers/media/i2c/saa7115.c acc |= 0x40; acc 788 drivers/media/i2c/saa7115.c acc |= 0x08; acc 796 drivers/media/i2c/saa7115.c saa711x_write(sd, R_3A_AUD_CLK_GEN_BASIC_SETUP, acc); acc 367 drivers/media/platform/vimc/vimc-debayer.c unsigned int acc = 0; acc 370 drivers/media/platform/vimc/vimc-debayer.c acc = acc + (bytes[i] << (8 * i)); acc 372 drivers/media/platform/vimc/vimc-debayer.c return acc; acc 632 drivers/media/rc/ati_remote.c int acc = ati_remote_compute_accel(ati_remote); acc 634 drivers/media/rc/ati_remote.c input_report_rel(dev, REL_X, dx * acc); acc 636 drivers/media/rc/ati_remote.c input_report_rel(dev, REL_Y, dy * acc); acc 603 drivers/net/ethernet/emulex/benet/be_main.c static void accumulate_16bit_val(u32 *acc, u16 val) acc 607 drivers/net/ethernet/emulex/benet/be_main.c bool wrapped = val < lo(*acc); acc 608 drivers/net/ethernet/emulex/benet/be_main.c u32 newacc = hi(*acc) + val; acc 612 drivers/net/ethernet/emulex/benet/be_main.c WRITE_ONCE(*acc, newacc); acc 6715 drivers/net/wireless/ath/ath10k/mac.c u32 prio = 0, acc = 0; acc 6729 drivers/net/wireless/ath/ath10k/mac.c acc = 3; acc 6735 drivers/net/wireless/ath/ath10k/mac.c acc = 2; acc 6741 drivers/net/wireless/ath/ath10k/mac.c acc = 1; acc 6747 drivers/net/wireless/ath/ath10k/mac.c acc = 0; acc 6797 drivers/net/wireless/ath/ath10k/mac.c arg.wmm_ac = acc; acc 1227 drivers/nvme/target/fc.c struct fcnvme_ls_acc_hdr *acc = buf; acc 1229 drivers/nvme/target/fc.c acc->w0.ls_cmd = ls_cmd; acc 1230 drivers/nvme/target/fc.c acc->desc_list_len = desc_len; acc 1231 drivers/nvme/target/fc.c acc->rqst.desc_tag = cpu_to_be32(FCNVME_LSDESC_RQST); acc 1232 drivers/nvme/target/fc.c acc->rqst.desc_len = acc 1234 drivers/nvme/target/fc.c acc->rqst.w0.ls_cmd = rqst_ls_cmd; acc 1326 drivers/nvme/target/fc.c struct fcnvme_ls_cr_assoc_acc *acc = acc 1331 drivers/nvme/target/fc.c memset(acc, 0, sizeof(*acc)); acc 1374 drivers/nvme/target/fc.c iod->lsreq->rsplen = nvmet_fc_format_rjt(acc, acc 1387 drivers/nvme/target/fc.c iod->lsreq->rsplen = sizeof(*acc); acc 1389 drivers/nvme/target/fc.c nvmet_fc_format_rsp_hdr(acc, FCNVME_LS_ACC, acc 1393 drivers/nvme/target/fc.c acc->associd.desc_tag = cpu_to_be32(FCNVME_LSDESC_ASSOC_ID); acc 1394 drivers/nvme/target/fc.c acc->associd.desc_len = acc 1397 drivers/nvme/target/fc.c acc->associd.association_id = acc 1399 drivers/nvme/target/fc.c acc->connectid.desc_tag = cpu_to_be32(FCNVME_LSDESC_CONN_ID); acc 1400 drivers/nvme/target/fc.c acc->connectid.desc_len = acc 1403 drivers/nvme/target/fc.c acc->connectid.connection_id = acc->associd.association_id; acc 1412 drivers/nvme/target/fc.c struct fcnvme_ls_cr_conn_acc *acc = acc 1417 drivers/nvme/target/fc.c memset(acc, 0, sizeof(*acc)); acc 1465 drivers/nvme/target/fc.c iod->lsreq->rsplen = nvmet_fc_format_rjt(acc, acc 1480 drivers/nvme/target/fc.c iod->lsreq->rsplen = sizeof(*acc); acc 1482 drivers/nvme/target/fc.c nvmet_fc_format_rsp_hdr(acc, FCNVME_LS_ACC, acc 1485 drivers/nvme/target/fc.c acc->connectid.desc_tag = cpu_to_be32(FCNVME_LSDESC_CONN_ID); acc 1486 drivers/nvme/target/fc.c acc->connectid.desc_len = acc 1489 drivers/nvme/target/fc.c acc->connectid.connection_id = acc 1500 drivers/nvme/target/fc.c struct fcnvme_ls_disconnect_acc *acc = acc 1505 drivers/nvme/target/fc.c memset(acc, 0, sizeof(*acc)); acc 1542 drivers/nvme/target/fc.c iod->lsreq->rsplen = nvmet_fc_format_rjt(acc, acc 1555 drivers/nvme/target/fc.c iod->lsreq->rsplen = sizeof(*acc); acc 1557 drivers/nvme/target/fc.c nvmet_fc_format_rsp_hdr(acc, FCNVME_LS_ACC, acc 219 drivers/power/supply/cpcap-battery.c s64 acc; acc 238 drivers/power/supply/cpcap-battery.c acc = accumulator; acc 239 drivers/power/supply/cpcap-battery.c acc = acc - ((s64)sample * offset); acc 242 drivers/power/supply/cpcap-battery.c if (acc >= 0) acc 243 drivers/power/supply/cpcap-battery.c tmp = acc; acc 245 drivers/power/supply/cpcap-battery.c tmp = acc * -1; acc 251 drivers/power/supply/cpcap-battery.c if (acc >= 0) acc 338 drivers/power/supply/cpcap-battery.c int value, acc, error; acc 353 drivers/power/supply/cpcap-battery.c acc = (s16)value; acc 365 drivers/power/supply/cpcap-battery.c return cpcap_battery_cc_to_ua(ddata, sample, acc, offset); acc 147 drivers/pps/generators/pps_gen_parport.c long acc = 0; acc 160 drivers/pps/generators/pps_gen_parport.c acc += timespec64_to_ns(&b); acc 163 drivers/pps/generators/pps_gen_parport.c dev->port_write_time = acc >> PORT_NTESTS_SHIFT; acc 508 drivers/s390/scsi/zfcp_dbf.c struct fc_gpn_ft_resp *acc; acc 533 drivers/s390/scsi/zfcp_dbf.c acc = sg_virt(resp_entry); acc 536 drivers/s390/scsi/zfcp_dbf.c resph = (struct fc_ct_hdr *)acc; acc 551 drivers/s390/scsi/zfcp_dbf.c acc++; acc 553 drivers/s390/scsi/zfcp_dbf.c acc = sg_virt(++resp_entry); acc 555 drivers/s390/scsi/zfcp_dbf.c last = acc->fp_flags & FC_NS_FID_LAST; acc 717 drivers/s390/scsi/zfcp_fc.c struct fc_gpn_ft_resp *acc = sg_virt(sg); acc 743 drivers/s390/scsi/zfcp_fc.c acc++; acc 745 drivers/s390/scsi/zfcp_fc.c acc = sg_virt(++sg); acc 747 drivers/s390/scsi/zfcp_fc.c last = acc->fp_flags & FC_NS_FID_LAST; acc 748 drivers/s390/scsi/zfcp_fc.c d_id = ntoh24(acc->fp_fid); acc 754 drivers/s390/scsi/zfcp_fc.c if (be64_to_cpu(acc->fp_wwpn) == acc 758 drivers/s390/scsi/zfcp_fc.c port = zfcp_port_enqueue(adapter, be64_to_cpu(acc->fp_wwpn), acc 591 drivers/scsi/bfa/bfa_fcbuild.c struct fc_els_cmd_s *acc = pld; acc 595 drivers/scsi/bfa/bfa_fcbuild.c memset(acc, 0, sizeof(struct fc_els_cmd_s)); acc 596 drivers/scsi/bfa/bfa_fcbuild.c acc->els_code = FC_ELS_ACC; acc 382 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_els_rec_acc *acc; acc 451 drivers/scsi/bnx2fc/bnx2fc_els.c acc = resp_buf = mp_req->resp_buf; acc 505 drivers/scsi/bnx2fc/bnx2fc_els.c offset = ntohl(acc->reca_fc4value); acc 506 drivers/scsi/bnx2fc/bnx2fc_els.c e_stat = ntohl(acc->reca_e_stat); acc 1822 drivers/scsi/libfc/fc_exch.c struct fc_els_ls_acc *acc; acc 1828 drivers/scsi/libfc/fc_exch.c fp = fc_frame_alloc(lport, sizeof(*acc)); acc 1834 drivers/scsi/libfc/fc_exch.c acc = fc_frame_payload_get(fp, sizeof(*acc)); acc 1835 drivers/scsi/libfc/fc_exch.c memset(acc, 0, sizeof(*acc)); acc 1836 drivers/scsi/libfc/fc_exch.c acc->la_cmd = ELS_LS_ACC; acc 2006 drivers/scsi/libfc/fc_exch.c struct fc_els_rec_acc *acc; acc 2045 drivers/scsi/libfc/fc_exch.c fp = fc_frame_alloc(lport, sizeof(*acc)); acc 2051 drivers/scsi/libfc/fc_exch.c acc = fc_frame_payload_get(fp, sizeof(*acc)); acc 2052 drivers/scsi/libfc/fc_exch.c memset(acc, 0, sizeof(*acc)); acc 2053 drivers/scsi/libfc/fc_exch.c acc->reca_cmd = ELS_LS_ACC; acc 2054 drivers/scsi/libfc/fc_exch.c acc->reca_ox_id = rp->rec_ox_id; acc 2055 drivers/scsi/libfc/fc_exch.c memcpy(acc->reca_ofid, rp->rec_s_id, 3); acc 2056 drivers/scsi/libfc/fc_exch.c acc->reca_rx_id = htons(ep->rxid); acc 2058 drivers/scsi/libfc/fc_exch.c hton24(acc->reca_rfid, ep->did); acc 2060 drivers/scsi/libfc/fc_exch.c hton24(acc->reca_rfid, ep->sid); acc 2061 drivers/scsi/libfc/fc_exch.c acc->reca_fc4value = htonl(ep->seq.rec_data); acc 2062 drivers/scsi/libfc/fc_exch.c acc->reca_e_stat = htonl(ep->esb_stat & (ESB_ST_RESP | acc 832 drivers/scsi/qedf/qedf_els.c struct fc_els_rec_acc *acc; acc 870 drivers/scsi/qedf/qedf_els.c acc = resp_buf = mp_req->resp_buf; acc 907 drivers/scsi/qedf/qedf_els.c offset = ntohl(acc->reca_fc4value); acc 908 drivers/scsi/qedf/qedf_els.c e_stat = ntohl(acc->reca_e_stat); acc 36 drivers/soc/ixp4xx/ixp4xx-qmgr.c __raw_writel(val, &qmgr_regs->acc[queue][0]); acc 42 drivers/soc/ixp4xx/ixp4xx-qmgr.c val = __raw_readl(&qmgr_regs->acc[queue][0]); acc 253 drivers/soc/ti/knav_qmss.h struct knav_acc_channel *acc; acc 338 drivers/soc/ti/knav_qmss.h struct knav_acc_channel *acc; acc 24 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc) acc 44 drivers/soc/ti/knav_qmss_acc.c queue = acc->channel - range->acc_info.start_channel; acc 68 drivers/soc/ti/knav_qmss_acc.c atomic_inc(&kq->acc->retrigger_count); acc 69 drivers/soc/ti/knav_qmss_acc.c mask = BIT(kq->acc->channel % 32); acc 70 drivers/soc/ti/knav_qmss_acc.c offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); acc 72 drivers/soc/ti/knav_qmss_acc.c kq->acc->name); acc 79 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 94 drivers/soc/ti/knav_qmss_acc.c acc = range->acc; acc 102 drivers/soc/ti/knav_qmss_acc.c acc += queue; acc 105 drivers/soc/ti/knav_qmss_acc.c channel = acc->channel; acc 106 drivers/soc/ti/knav_qmss_acc.c list_dma = acc->list_dma[acc->list_index]; acc 107 drivers/soc/ti/knav_qmss_acc.c list_cpu = acc->list_cpu[acc->list_index]; acc 109 drivers/soc/ti/knav_qmss_acc.c channel, acc->list_index, list_cpu, &list_dma); acc 110 drivers/soc/ti/knav_qmss_acc.c if (atomic_read(&acc->retrigger_count)) { acc 111 drivers/soc/ti/knav_qmss_acc.c atomic_dec(&acc->retrigger_count); acc 112 drivers/soc/ti/knav_qmss_acc.c __knav_acc_notify(range, acc); acc 131 drivers/soc/ti/knav_qmss_acc.c acc->list_index, list, list[0]); acc 135 drivers/soc/ti/knav_qmss_acc.c acc->list_index, list, list[0], list[1]); acc 139 drivers/soc/ti/knav_qmss_acc.c acc->list_index, list, list[0], list[1], acc 177 drivers/soc/ti/knav_qmss_acc.c __knav_acc_notify(range, acc); acc 183 drivers/soc/ti/knav_qmss_acc.c acc->list_index ^= 1; acc 199 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 205 drivers/soc/ti/knav_qmss_acc.c acc = range->acc; acc 209 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + queue; acc 214 drivers/soc/ti/knav_qmss_acc.c old = acc->open_mask; acc 219 drivers/soc/ti/knav_qmss_acc.c acc->open_mask = new; acc 223 drivers/soc/ti/knav_qmss_acc.c old, new, acc->name); acc 231 drivers/soc/ti/knav_qmss_acc.c acc->name, acc->name); acc 232 drivers/soc/ti/knav_qmss_acc.c ret = request_irq(irq, knav_acc_int_handler, 0, acc->name, acc 246 drivers/soc/ti/knav_qmss_acc.c acc->name, acc->name); acc 306 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 311 drivers/soc/ti/knav_qmss_acc.c acc = range->acc; acc 315 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + queue; acc 321 drivers/soc/ti/knav_qmss_acc.c cmd->command = acc->channel; acc 323 drivers/soc/ti/knav_qmss_acc.c cmd->list_dma = (u32)acc->list_dma[0]; acc 339 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 342 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + queue; acc 349 drivers/soc/ti/knav_qmss_acc.c acc->name, knav_acc_result_str(result)); acc 357 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 360 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + queue; acc 367 drivers/soc/ti/knav_qmss_acc.c acc->name, knav_acc_result_str(result)); acc 375 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 380 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + queue; acc 383 drivers/soc/ti/knav_qmss_acc.c acc->list_index = 0; acc 405 drivers/soc/ti/knav_qmss_acc.c kq->acc = range->acc; acc 407 drivers/soc/ti/knav_qmss_acc.c kq->acc += id; acc 430 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 442 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + channel; acc 443 drivers/soc/ti/knav_qmss_acc.c if (!acc->list_cpu[0]) acc 445 drivers/soc/ti/knav_qmss_acc.c dma_unmap_single(kdev->dev, acc->list_dma[0], acc 447 drivers/soc/ti/knav_qmss_acc.c free_pages_exact(acc->list_cpu[0], info->mem_size); acc 449 drivers/soc/ti/knav_qmss_acc.c devm_kfree(range->kdev->dev, range->acc); acc 475 drivers/soc/ti/knav_qmss_acc.c struct knav_acc_channel *acc; acc 547 drivers/soc/ti/knav_qmss_acc.c range->acc = devm_kcalloc(kdev->dev, channels, sizeof(*range->acc), acc 549 drivers/soc/ti/knav_qmss_acc.c if (!range->acc) acc 553 drivers/soc/ti/knav_qmss_acc.c acc = range->acc + channel; acc 554 drivers/soc/ti/knav_qmss_acc.c acc->channel = info->start_channel + channel; acc 571 drivers/soc/ti/knav_qmss_acc.c scnprintf(acc->name, sizeof(acc->name), "hwqueue-acc-%d", acc 572 drivers/soc/ti/knav_qmss_acc.c acc->channel); acc 573 drivers/soc/ti/knav_qmss_acc.c acc->list_cpu[0] = list_mem; acc 574 drivers/soc/ti/knav_qmss_acc.c acc->list_cpu[1] = list_mem + list_size; acc 575 drivers/soc/ti/knav_qmss_acc.c acc->list_dma[0] = list_dma; acc 576 drivers/soc/ti/knav_qmss_acc.c acc->list_dma[1] = list_dma + list_size; acc 578 drivers/soc/ti/knav_qmss_acc.c acc->name, acc->channel, &list_dma, list_mem); acc 103 drivers/staging/fbtft/fb_hx8347d.c int acc = 0; acc 108 drivers/staging/fbtft/fb_hx8347d.c acc += CURVE(i, j); acc 112 drivers/staging/fbtft/fb_hx8347d.c if (acc == 0) /* skip if all values are zero */ acc 136 drivers/staging/fbtft/fb_ssd1331.c int i, acc = 0; acc 145 drivers/staging/fbtft/fb_ssd1331.c acc += curves[i]; acc 146 drivers/staging/fbtft/fb_ssd1331.c tmp[i] = acc; acc 147 drivers/staging/fbtft/fb_ssd1331.c if (acc > 180) { acc 124 drivers/staging/fbtft/fb_ssd1351.c int i, acc = 0; acc 133 drivers/staging/fbtft/fb_ssd1351.c acc += curves[i]; acc 134 drivers/staging/fbtft/fb_ssd1351.c tmp[i] = acc; acc 135 drivers/staging/fbtft/fb_ssd1351.c if (acc > 180) { acc 138 drivers/staging/fbtft/fb_ssd1351.c i, acc); acc 145 drivers/staging/media/ipu3/ipu3-css-fw.h struct imgu_fw_acc_info acc; /* Accelerator info */ acc 1733 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_acc_param *acc) acc 1743 drivers/staging/media/ipu3/ipu3-css-params.c memset(acc, 0, sizeof(*acc)); acc 1747 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, acc 1748 drivers/staging/media/ipu3/ipu3-css-params.c &scaler_chroma, acc->stripe.block_stripes)) acc 1762 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.num_of_stripes = stripes; acc 1763 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.input_frame.width = acc 1765 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.input_frame.height = acc 1767 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.input_frame.bayer_order = acc 1771 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[i].height = acc 1773 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].offset = 0; acc 1775 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width = acc 1779 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width = acc 1780 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1].width = acc 1789 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width += f; acc 1792 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width += f; acc 1793 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1].width += f; acc 1796 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1].offset = acc 1797 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - 2 * f; acc 1800 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].height = acc 1802 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].offset = 0; acc 1803 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].height = acc 1805 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].offset = 0; acc 1806 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].height = acc 1808 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].offset = 0; acc 1810 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width = acc 1812 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].height = acc 1814 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].offset = 0; acc 1816 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].width = acc 1818 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].width = acc 1821 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width = acc 1828 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0] = acc 1829 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0]; acc 1830 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1] = acc 1831 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1]; acc 1833 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width += acc 1837 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].width = bds_ds * acc 1838 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width / acc 1840 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[1].width = bds_ds * acc 1841 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width / acc 1843 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[1].height = acc 1845 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[1].offset = bds_ds * acc 1846 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset / acc 1849 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].width = acc 1850 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[1].offset = acc 1852 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[1].width = acc 1855 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[1].height = acc 1858 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width = acc 1859 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width - f; acc 1860 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[1].width = acc 1861 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width - f; acc 1862 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[1].height = acc 1864 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[1].offset = acc 1865 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width; acc 1868 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_system_in_frame_width = acc 1870 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_system_in_frame_height = acc 1873 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_frame_width = acc 1875 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_frame_width = css_pipe->rect[IPU3_CSS_RECT_BDS].width; acc 1876 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.out_frame_width = acc 1878 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.out_frame_height = acc 1880 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.gdc_in_buffer_width = acc 1883 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.gdc_in_buffer_height = acc 1885 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.gdc_in_buffer_offset_x = IMGU_GDC_BUF_X; acc 1886 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.gdc_in_buffer_offset_y = IMGU_GDC_BUF_Y; acc 1887 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.display_frame_width = acc 1889 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.display_frame_height = acc 1891 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_aligned_frame_width = acc 1896 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.half_overlap_vectors = acc 1899 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.half_overlap_vectors = 0; acc 1905 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_acc_param *acc, acc 1912 drivers/staging/media/ipu3/ipu3-css-params.c acc->dvs_stat.operations_data.process_lines_data[0].lines = acc 1914 drivers/staging/media/ipu3/ipu3-css-params.c acc->dvs_stat.operations_data.process_lines_data[0].cfg_set = 0; acc 1915 drivers/staging/media/ipu3/ipu3-css-params.c acc->dvs_stat.operations_data.ops[0].op_type = acc 1917 drivers/staging/media/ipu3/ipu3-css-params.c acc->dvs_stat.operations_data.ops[0].op_indicator = acc 1920 drivers/staging/media/ipu3/ipu3-css-params.c acc->dvs_stat.cfg.grd_config[i].enable = 0; acc 1924 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_acc_param *acc, acc 1929 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_en = 0; acc 1930 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_start = 0; acc 1931 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_end = 0; acc 1932 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0 = acc 1933 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0; acc 1934 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0.out_frame_width = acc 1935 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[i].width; acc 1936 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_width = acc 1937 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[i].width; acc 1938 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_height = acc 1950 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_abi_acc_param *acc, acc 1959 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_aligned_frame_width; acc 1971 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_cfg_acc_stripe(css, pipe, acc)) acc 1988 drivers/staging/media/ipu3/ipu3-css-params.c acc->input_feeder.data.row_stride = pixm->plane_fmt[0].bytesperline; acc 1989 drivers/staging/media/ipu3/ipu3-css-params.c acc->input_feeder.data.start_row_address = acc 1991 drivers/staging/media/ipu3/ipu3-css-params.c ofs_y * acc->input_feeder.data.row_stride; acc 1992 drivers/staging/media/ipu3/ipu3-css-params.c acc->input_feeder.data.start_pixel = ofs_x % IMGU_PIXELS_PER_WORD; acc 1994 drivers/staging/media/ipu3/ipu3-css-params.c acc->input_feeder.data_per_stripe.input_feeder_data[0].data = acc 1995 drivers/staging/media/ipu3/ipu3-css-params.c acc->input_feeder.data; acc 1997 drivers/staging/media/ipu3/ipu3-css-params.c ofs_x += acc->stripe.effective_stripes[1].offset; acc 2000 drivers/staging/media/ipu3/ipu3-css-params.c &acc->input_feeder.data_per_stripe.input_feeder_data[1].data; acc 2001 drivers/staging/media/ipu3/ipu3-css-params.c feeder_data->row_stride = acc->input_feeder.data.row_stride; acc 2004 drivers/staging/media/ipu3/ipu3-css-params.c ofs_y * acc->input_feeder.data.row_stride; acc 2019 drivers/staging/media/ipu3/ipu3-css-params.c acc->bnr = acc_user->bnr; acc 2022 drivers/staging/media/ipu3/ipu3-css-params.c acc->bnr = acc_old->bnr; acc 2025 drivers/staging/media/ipu3/ipu3-css-params.c acc->bnr = imgu_css_bnr_defaults; acc 2028 drivers/staging/media/ipu3/ipu3-css-params.c acc->bnr.column_size = tnr_frame_width; acc 2034 drivers/staging/media/ipu3/ipu3-css-params.c acc->green_disparity = acc_user->green_disparity; acc 2037 drivers/staging/media/ipu3/ipu3-css-params.c acc->green_disparity = acc_old->green_disparity; acc 2040 drivers/staging/media/ipu3/ipu3-css-params.c memset(&acc->green_disparity, 0, sizeof(acc->green_disparity)); acc 2047 drivers/staging/media/ipu3/ipu3-css-params.c acc->dm = acc_user->dm; acc 2050 drivers/staging/media/ipu3/ipu3-css-params.c acc->dm = acc_old->dm; acc 2053 drivers/staging/media/ipu3/ipu3-css-params.c acc->dm = imgu_css_dm_defaults; acc 2056 drivers/staging/media/ipu3/ipu3-css-params.c acc->dm.frame_width = tnr_frame_width; acc 2062 drivers/staging/media/ipu3/ipu3-css-params.c acc->ccm = acc_user->ccm; acc 2065 drivers/staging/media/ipu3/ipu3-css-params.c acc->ccm = acc_old->ccm; acc 2068 drivers/staging/media/ipu3/ipu3-css-params.c acc->ccm = imgu_css_ccm_defaults; acc 2075 drivers/staging/media/ipu3/ipu3-css-params.c acc->gamma = acc_user->gamma; acc 2078 drivers/staging/media/ipu3/ipu3-css-params.c acc->gamma = acc_old->gamma; acc 2081 drivers/staging/media/ipu3/ipu3-css-params.c acc->gamma.gc_ctrl.enable = 1; acc 2082 drivers/staging/media/ipu3/ipu3-css-params.c acc->gamma.gc_lut = imgu_css_gamma_lut; acc 2089 drivers/staging/media/ipu3/ipu3-css-params.c acc->csc = acc_user->csc; acc 2092 drivers/staging/media/ipu3/ipu3-css-params.c acc->csc = acc_old->csc; acc 2095 drivers/staging/media/ipu3/ipu3-css-params.c acc->csc = imgu_css_csc_defaults; acc 2102 drivers/staging/media/ipu3/ipu3-css-params.c acc->cds = acc_user->cds; acc 2105 drivers/staging/media/ipu3/ipu3-css-params.c acc->cds = acc_old->cds; acc 2108 drivers/staging/media/ipu3/ipu3-css-params.c acc->cds = imgu_css_cds_defaults; acc 2115 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd = acc_user->shd.shd; acc 2116 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd_lut = acc_user->shd.shd_lut; acc 2119 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd = acc_old->shd.shd; acc 2120 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd_lut = acc_old->shd.shd_lut; acc 2123 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd = imgu_css_shd_defaults; acc 2124 drivers/staging/media/ipu3/ipu3-css-params.c memset(&acc->shd.shd_lut, 0, sizeof(acc->shd.shd_lut)); acc 2127 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->shd.shd.grid.width <= 0) acc 2130 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd.grid.grid_height_per_slice = acc 2131 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_SHD_MAX_CELLS_PER_SET / acc->shd.shd.grid.width; acc 2133 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->shd.shd.grid.grid_height_per_slice <= 0) acc 2136 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd.general.init_set_vrt_offst_ul = acc 2137 drivers/staging/media/ipu3/ipu3-css-params.c (-acc->shd.shd.grid.y_start >> acc 2138 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd.grid.block_height_log2) % acc 2139 drivers/staging/media/ipu3/ipu3-css-params.c acc->shd.shd.grid.grid_height_per_slice; acc 2141 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_shd_ops_calc(&acc->shd.shd_ops, &acc->shd.shd.grid, acc 2146 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_cfg_acc_dvs(css, acc, pipe); acc 2152 drivers/staging/media/ipu3/ipu3-css-params.c acc->iefd = acc_user->iefd; acc 2155 drivers/staging/media/ipu3/ipu3-css-params.c acc->iefd = acc_old->iefd; acc 2158 drivers/staging/media/ipu3/ipu3-css-params.c acc->iefd = imgu_css_iefd_defaults; acc 2165 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds_c0 = acc_user->yds_c0; acc 2168 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds_c0 = acc_old->yds_c0; acc 2171 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds_c0 = imgu_css_yds_defaults; acc 2178 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr_c0 = acc_user->chnr_c0; acc 2181 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr_c0 = acc_old->chnr_c0; acc 2184 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr_c0 = imgu_css_chnr_defaults; acc 2191 drivers/staging/media/ipu3/ipu3-css-params.c acc->y_ee_nr = acc_user->y_ee_nr; acc 2194 drivers/staging/media/ipu3/ipu3-css-params.c acc->y_ee_nr = acc_old->y_ee_nr; acc 2197 drivers/staging/media/ipu3/ipu3-css-params.c acc->y_ee_nr = imgu_css_y_ee_nr_defaults; acc 2204 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds = acc_user->yds; acc 2207 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds = acc_old->yds; acc 2210 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds = imgu_css_yds_defaults; acc 2217 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr = acc_user->chnr; acc 2220 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr = acc_old->chnr; acc 2223 drivers/staging/media/ipu3/ipu3-css-params.c acc->chnr = imgu_css_chnr_defaults; acc 2229 drivers/staging/media/ipu3/ipu3-css-params.c acc->ytm.entries[i] = i * 32; acc 2230 drivers/staging/media/ipu3/ipu3-css-params.c acc->ytm.enable = 0; /* Always disabled on IPU3 */ acc 2236 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds2 = acc_user->yds2; acc 2239 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds2 = acc_old->yds2; acc 2242 drivers/staging/media/ipu3/ipu3-css-params.c acc->yds2 = imgu_css_yds_defaults; acc 2249 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc = acc_user->tcc; acc 2252 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc = acc_old->tcc; acc 2255 drivers/staging/media/ipu3/ipu3-css-params.c memset(&acc->tcc, 0, sizeof(acc->tcc)); acc 2257 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.en = 1; acc 2258 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.blend_shift = 3; acc 2259 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.gain_according_to_y_only = 1; acc 2260 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.gamma = 8; acc 2261 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gen_control.delta = 0; acc 2264 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.macc_table.entries[i].a = 1024; acc 2265 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.macc_table.entries[i].b = 0; acc 2266 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.macc_table.entries[i].c = 0; acc 2267 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.macc_table.entries[i].d = 1024; acc 2270 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.inv_y_lut.entries[6] = 1023; acc 2272 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.inv_y_lut.entries[i] = 1024 >> (i - 6); acc 2274 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.gain_pcwl = imgu_css_tcc_gain_pcwl_lut; acc 2275 drivers/staging/media/ipu3/ipu3-css-params.c acc->tcc.r_sqr_lut = imgu_css_tcc_r_sqr_lut; acc 2284 drivers/staging/media/ipu3/ipu3-css-params.c memset(&acc->dpc, 0, sizeof(acc->dpc)); acc 2295 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl1.hor_crop_en = 0; acc 2296 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl1.hor_crop_start = 0; acc 2297 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl1.hor_crop_end = 0; acc 2298 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0.sample_patrn_length = acc 2300 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0.hor_ds_en = cfg_bds->hor_ds_en; acc 2301 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0.min_clip_val = IMGU_BDS_MIN_CLIP_VAL; acc 2302 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0.max_clip_val = IMGU_BDS_MAX_CLIP_VAL; acc 2303 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl0.out_frame_width = acc 2305 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ptrn_arr = cfg_bds->ptrn_arr; acc 2306 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_phase_arr = cfg_bds->hor_phase_arr; acc 2307 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.hor.hor_ctrl2.input_frame_height = acc 2309 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.min_clip_val = IMGU_BDS_MIN_CLIP_VAL; acc 2310 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.max_clip_val = IMGU_BDS_MAX_CLIP_VAL; acc 2311 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.sample_patrn_length = acc 2313 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl0.ver_ds_en = cfg_bds->ver_ds_en; acc 2314 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ptrn_arr = cfg_bds->ptrn_arr; acc 2315 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_phase_arr = cfg_bds->ver_phase_arr; acc 2316 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl1.out_frame_width = acc 2318 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.ver.ver_ctrl1.out_frame_height = acc 2321 drivers/staging/media/ipu3/ipu3-css-params.c acc_bds_per_stripe_data(css, acc, i, pipe); acc 2323 drivers/staging/media/ipu3/ipu3-css-params.c acc->bds.enabled = cfg_bds->hor_ds_en || cfg_bds->ver_ds_en; acc 2329 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform = acc_user->anr.transform; acc 2330 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.stitch.anr_stitch_en = acc 2332 drivers/staging/media/ipu3/ipu3-css-params.c memcpy(acc->anr.stitch.pyramid, acc_user->anr.stitch.pyramid, acc 2333 drivers/staging/media/ipu3/ipu3-css-params.c sizeof(acc->anr.stitch.pyramid)); acc 2336 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform = acc_old->anr.transform; acc 2337 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.stitch.anr_stitch_en = acc 2339 drivers/staging/media/ipu3/ipu3-css-params.c memcpy(acc->anr.stitch.pyramid, acc_old->anr.stitch.pyramid, acc 2340 drivers/staging/media/ipu3/ipu3-css-params.c sizeof(acc->anr.stitch.pyramid)); acc 2343 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr = imgu_css_anr_defaults; acc 2347 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.search.enable = 1; acc 2348 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.enable = 1; acc 2349 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.tile2strm.enable = 1; acc 2350 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.tile2strm.frame_width = acc 2352 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.search.frame_width = acc->anr.tile2strm.frame_width; acc 2353 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.stitch.frame_width = acc->anr.tile2strm.frame_width; acc 2354 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.tile2strm.frame_height = css_pipe->rect[IPU3_CSS_RECT_BDS].height; acc 2355 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.search.frame_height = acc->anr.tile2strm.frame_height; acc 2356 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.stitch.frame_height = acc->anr.tile2strm.frame_height; acc 2361 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->anr.transform.xreset + width > IPU3_UAPI_ANR_MAX_RESET) acc 2362 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.xreset = IPU3_UAPI_ANR_MAX_RESET - width; acc 2363 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->anr.transform.xreset < IPU3_UAPI_ANR_MIN_RESET) acc 2364 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.xreset = IPU3_UAPI_ANR_MIN_RESET; acc 2366 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->anr.transform.yreset + height > IPU3_UAPI_ANR_MAX_RESET) acc 2367 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.yreset = IPU3_UAPI_ANR_MAX_RESET - height; acc 2368 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->anr.transform.yreset < IPU3_UAPI_ANR_MIN_RESET) acc 2369 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.yreset = IPU3_UAPI_ANR_MIN_RESET; acc 2375 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config = acc_user->awb_fr; acc 2378 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config = acc_old->awb_fr.config; acc 2381 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config = imgu_css_awb_fr_defaults; acc 2384 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end_calc(&acc->awb_fr.config.grid_cfg); acc 2386 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb_fr.config.grid_cfg.width <= 0) acc 2389 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.height_per_slice = acc 2391 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.width; acc 2394 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[i] = acc->awb_fr.config; acc 2396 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb_fr.config.grid_cfg.x_start >= acc 2397 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset + min_overlap) { acc 2399 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.y_start &= acc 2401 drivers/staging/media/ipu3/ipu3-css-params.c } else if (acc->awb_fr.config.grid_cfg.x_end <= acc 2402 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { acc 2404 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.y_start &= acc 2410 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width = acc 2411 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - min_overlap - acc 2412 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.x_start + 1) >> acc 2413 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.block_width_log2; acc 2414 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.width = acc 2415 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.width - acc 2416 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width; acc 2418 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->awb_fr.stripes[0].grid_cfg.block_width_log2; acc 2419 drivers/staging/media/ipu3/ipu3-css-params.c end = imgu_css_grid_end(acc->awb_fr.stripes[0].grid_cfg.x_start, acc 2420 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width, acc 2422 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.x_end = end; acc 2424 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.x_start = acc 2425 drivers/staging/media/ipu3/ipu3-css-params.c (acc->awb_fr.stripes[0].grid_cfg.x_end + 1 - acc 2426 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset) & acc 2428 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->awb_fr.stripes[1].grid_cfg.block_width_log2; acc 2429 drivers/staging/media/ipu3/ipu3-css-params.c end = imgu_css_grid_end(acc->awb_fr.stripes[1].grid_cfg.x_start, acc 2430 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.width, acc 2432 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.x_end = end; acc 2440 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[i].grid_cfg.height_per_slice = 1; acc 2443 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_awb_fr_ops_calc(css, pipe, &acc->awb_fr)) acc 2450 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg = acc_user->ae.grid_cfg; acc 2451 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.ae_ccm = acc_user->ae.ae_ccm; acc 2453 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.weights[i] = acc_user->ae.weights[i]; acc 2456 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg = acc_old->ae.grid_cfg; acc 2457 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.ae_ccm = acc_old->ae.ae_ccm; acc 2459 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.weights[i] = acc_old->ae.weights[i]; acc 2465 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg = imgu_css_ae_grid_defaults; acc 2466 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.ae_ccm = imgu_css_ae_ccm_defaults; acc 2468 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.weights[i] = weight_def; acc 2471 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->ae.grid_cfg.block_width_log2; acc 2472 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.x_end = imgu_css_grid_end(acc->ae.grid_cfg.x_start, acc 2473 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.width, acc 2475 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->ae.grid_cfg.block_height_log2; acc 2476 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.y_end = imgu_css_grid_end(acc->ae.grid_cfg.y_start, acc 2477 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.height, acc 2481 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[i].grid = acc->ae.grid_cfg; acc 2483 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->ae.grid_cfg.x_start >= acc 2484 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset) { acc 2486 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.ae_en = 0; acc 2487 drivers/staging/media/ipu3/ipu3-css-params.c } else if (acc->ae.grid_cfg.x_end <= acc 2488 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width) { acc 2490 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.ae_en = 0; acc 2495 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.width = acc 2496 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - acc 2497 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.x_start + 1) >> acc 2498 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.block_width_log2; acc 2500 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.width = acc 2501 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.width - acc->ae.stripes[0].grid.width; acc 2503 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->ae.stripes[0].grid.block_width_log2; acc 2504 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.x_end = acc 2505 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->ae.stripes[0].grid.x_start, acc 2506 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.width, acc 2509 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.x_start = acc 2510 drivers/staging/media/ipu3/ipu3-css-params.c (acc->ae.stripes[0].grid.x_end + 1 - acc 2511 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset) & acc 2513 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->ae.stripes[1].grid.block_width_log2; acc 2514 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.x_end = acc 2515 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->ae.stripes[1].grid.x_start, acc 2516 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.width, acc 2524 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.filter_config = acc_user->af.filter_config; acc 2525 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg = acc_user->af.grid_cfg; acc 2528 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config = acc_old->af.config; acc 2531 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.filter_config = acc 2533 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg = imgu_css_af_defaults.grid_cfg; acc 2536 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end_calc(&acc->af.config.grid_cfg); acc 2538 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->af.config.grid_cfg.width <= 0) acc 2541 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg.height_per_slice = acc 2542 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_AF_MAX_CELLS_PER_SET / acc->af.config.grid_cfg.width; acc 2543 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.frame_size.width = acc 2545 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.frame_size.height = acc 2548 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->stripe.bds_out_stripes[0].width <= min_overlap) acc 2552 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[i].grid_cfg = acc->af.config.grid_cfg; acc 2553 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[i].frame_size.height = acc 2555 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[i].frame_size.width = acc 2556 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[i].width; acc 2559 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->af.config.grid_cfg.x_start >= acc 2560 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset + min_overlap) { acc 2562 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.y_start &= acc 2564 drivers/staging/media/ipu3/ipu3-css-params.c } else if (acc->af.config.grid_cfg.x_end <= acc 2565 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { acc 2567 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.y_start &= acc 2572 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width = acc 2573 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - min_overlap - acc 2574 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg.x_start + 1) >> acc 2575 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg.block_width_log2; acc 2576 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.width = acc 2577 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg.width - acc 2578 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width; acc 2580 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->af.stripes[0].grid_cfg.block_width_log2; acc 2581 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.x_end = acc 2582 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->af.stripes[0].grid_cfg.x_start, acc 2583 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width, acc 2586 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.x_start = acc 2587 drivers/staging/media/ipu3/ipu3-css-params.c (acc->af.stripes[0].grid_cfg.x_end + 1 - acc 2588 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset) & acc 2591 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->af.stripes[1].grid_cfg.block_width_log2; acc 2592 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.x_end = acc 2593 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->af.stripes[1].grid_cfg.x_start, acc 2594 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.width, acc 2602 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[i].grid_cfg.height_per_slice = 1; acc 2605 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_af_ops_calc(css, pipe, &acc->af)) acc 2612 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config = acc_user->awb.config; acc 2615 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config = acc_old->awb.config; acc 2618 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config = imgu_css_awb_defaults; acc 2621 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb.config.grid.width <= 0) acc 2624 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config.grid.height_per_slice = acc 2625 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_AWB_MAX_CELLS_PER_SET / acc->awb.config.grid.width, acc 2626 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end_calc(&acc->awb.config.grid); acc 2629 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[i] = acc->awb.config; acc 2631 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb.config.grid.x_start >= acc 2632 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset + min_overlap) { acc 2634 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].rgbs_thr_b &= ~IPU3_UAPI_AWB_RGBS_THR_B_EN; acc 2635 drivers/staging/media/ipu3/ipu3-css-params.c } else if (acc->awb.config.grid.x_end <= acc 2636 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { acc 2638 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].rgbs_thr_b &= ~IPU3_UAPI_AWB_RGBS_THR_B_EN; acc 2642 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width = acc 2643 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - acc 2644 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config.grid.x_start + 1) >> acc 2645 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.config.grid.block_width_log2; acc 2646 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.width = acc->awb.config.grid.width - acc 2647 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width; acc 2649 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->awb.stripes[0].grid.block_width_log2; acc 2650 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.x_end = acc 2651 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->awb.stripes[0].grid.x_start, acc 2652 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width, acc 2655 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.x_start = acc 2656 drivers/staging/media/ipu3/ipu3-css-params.c (acc->awb.stripes[0].grid.x_end + 1 - acc 2657 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].offset) & acc 2660 drivers/staging/media/ipu3/ipu3-css-params.c b_w_log2 = acc->awb.stripes[1].grid.block_width_log2; acc 2661 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.x_end = acc 2662 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_grid_end(acc->awb.stripes[1].grid.x_start, acc 2663 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.width, acc 2671 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[i].grid.height_per_slice = 1; acc 2674 drivers/staging/media/ipu3/ipu3-css-params.c if (imgu_css_awb_ops_calc(css, pipe, &acc->awb)) acc 9 drivers/staging/media/ipu3/ipu3-css-params.h struct imgu_abi_acc_param *acc, acc 669 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_cleanup(imgu, &css->pipes[pipe].pool.acc); acc 1073 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_init(imgu, &css_pipe->pool.acc, acc 2154 drivers/staging/media/ipu3/ipu3-css.c struct imgu_abi_acc_param *acc = NULL; acc 2178 drivers/staging/media/ipu3/ipu3-css.c map = imgu_css_pool_last(&css_pipe->pool.acc, 0); acc 2180 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_get(&css_pipe->pool.acc); acc 2181 drivers/staging/media/ipu3/ipu3-css.c map = imgu_css_pool_last(&css_pipe->pool.acc, 0); acc 2182 drivers/staging/media/ipu3/ipu3-css.c acc = map->vaddr; acc 2207 drivers/staging/media/ipu3/ipu3-css.c if (acc) { acc 2209 drivers/staging/media/ipu3/ipu3-css.c map = imgu_css_pool_last(&css_pipe->pool.acc, 1); acc 2211 drivers/staging/media/ipu3/ipu3-css.c r = imgu_css_cfg_acc(css, pipe, use, acc, map->vaddr, acc 2276 drivers/staging/media/ipu3/ipu3-css.c map = imgu_css_pool_last(&css_pipe->pool.acc, 0); acc 2334 drivers/staging/media/ipu3/ipu3-css.c if (acc) acc 2335 drivers/staging/media/ipu3/ipu3-css.c imgu_css_pool_put(&css_pipe->pool.acc); acc 138 drivers/staging/media/ipu3/ipu3-css.h struct imgu_css_pool acc; acc 526 drivers/video/fbdev/tmiofb.c u32 acc[16]; acc 530 drivers/video/fbdev/tmiofb.c if (len > ARRAY_SIZE(acc)) acc 532 drivers/video/fbdev/tmiofb.c if (copy_from_user(acc, argp + 1, sizeof(u32) * len)) acc 535 drivers/video/fbdev/tmiofb.c return tmiofb_acc_write(fbi, acc, len); acc 36 fs/cachefiles/key.c unsigned int acc; acc 89 fs/cachefiles/key.c acc = *(uint16_t *) raw; acc 92 fs/cachefiles/key.c key[len + 1] = cachefiles_charmap[acc & 63]; acc 93 fs/cachefiles/key.c acc >>= 6; acc 94 fs/cachefiles/key.c key[len] = cachefiles_charmap[acc & 63]; acc 125 fs/cachefiles/key.c acc = *raw++; acc 126 fs/cachefiles/key.c acc |= *raw++ << 8; acc 127 fs/cachefiles/key.c acc |= *raw++ << 16; acc 129 fs/cachefiles/key.c _debug("acc: %06x", acc); acc 131 fs/cachefiles/key.c key[len++] = cachefiles_charmap[acc & 63]; acc 132 fs/cachefiles/key.c acc >>= 6; acc 133 fs/cachefiles/key.c key[len++] = cachefiles_charmap[acc & 63]; acc 134 fs/cachefiles/key.c acc >>= 6; acc 135 fs/cachefiles/key.c key[len++] = cachefiles_charmap[acc & 63]; acc 136 fs/cachefiles/key.c acc >>= 6; acc 137 fs/cachefiles/key.c key[len++] = cachefiles_charmap[acc & 63]; acc 4240 fs/nfs/nfs4xdr.c uint32_t supp, acc; acc 4250 fs/nfs/nfs4xdr.c acc = be32_to_cpup(p); acc 4252 fs/nfs/nfs4xdr.c *access = acc; acc 5584 fs/nfsd/nfs4state.c int acc = (flags & RD_STATE) ? NFSD_MAY_READ : NFSD_MAY_WRITE; acc 5591 fs/nfsd/nfs4state.c acc | NFSD_MAY_OWNER_OVERRIDE); acc 5597 fs/nfsd/nfs4state.c status = nfsd_file_acquire(rqstp, fhp, acc, &nf); acc 2015 fs/nfsd/vfs.c struct dentry *dentry, int acc) acc 2020 fs/nfsd/vfs.c if ((acc & NFSD_MAY_MASK) == NFSD_MAY_NOP) acc 2024 fs/nfsd/vfs.c acc, acc 2025 fs/nfsd/vfs.c (acc & NFSD_MAY_READ)? " read" : "", acc 2026 fs/nfsd/vfs.c (acc & NFSD_MAY_WRITE)? " write" : "", acc 2027 fs/nfsd/vfs.c (acc & NFSD_MAY_EXEC)? " exec" : "", acc 2028 fs/nfsd/vfs.c (acc & NFSD_MAY_SATTR)? " sattr" : "", acc 2029 fs/nfsd/vfs.c (acc & NFSD_MAY_TRUNC)? " trunc" : "", acc 2030 fs/nfsd/vfs.c (acc & NFSD_MAY_LOCK)? " lock" : "", acc 2031 fs/nfsd/vfs.c (acc & NFSD_MAY_OWNER_OVERRIDE)? " owneroverride" : "", acc 2044 fs/nfsd/vfs.c if (!(acc & NFSD_MAY_LOCAL_ACCESS)) acc 2045 fs/nfsd/vfs.c if (acc & (NFSD_MAY_WRITE | NFSD_MAY_SATTR | NFSD_MAY_TRUNC)) { acc 2052 fs/nfsd/vfs.c if ((acc & NFSD_MAY_TRUNC) && IS_APPEND(inode)) acc 2055 fs/nfsd/vfs.c if (acc & NFSD_MAY_LOCK) { acc 2063 fs/nfsd/vfs.c acc = NFSD_MAY_READ | NFSD_MAY_OWNER_OVERRIDE; acc 2079 fs/nfsd/vfs.c if ((acc & NFSD_MAY_OWNER_OVERRIDE) && acc 2084 fs/nfsd/vfs.c err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); acc 2088 fs/nfsd/vfs.c (acc == (NFSD_MAY_READ | NFSD_MAY_OWNER_OVERRIDE) || acc 2089 fs/nfsd/vfs.c acc == (NFSD_MAY_READ | NFSD_MAY_READ_IF_EXEC))) acc 299 fs/proc/vmcore.c ssize_t acc = 0, tmp; acc 319 fs/proc/vmcore.c acc += tsz; acc 323 fs/proc/vmcore.c return acc; acc 351 fs/proc/vmcore.c acc += tsz; acc 355 fs/proc/vmcore.c return acc; acc 368 fs/proc/vmcore.c acc += tsz; acc 372 fs/proc/vmcore.c return acc; acc 388 fs/proc/vmcore.c acc += tsz; acc 392 fs/proc/vmcore.c return acc; acc 396 fs/proc/vmcore.c return acc; acc 45 include/linux/soc/ixp4xx/qmgr.h u32 acc[QUEUES][MAX_QUEUE_LENGTH]; /* 0x000 - 0x3FF */ acc 567 include/rdma/rdma_vt.h u32 len, u64 vaddr, u32 rkey, int acc); acc 570 include/rdma/rdma_vt.h struct ib_sge *sge, int acc); acc 794 ipc/mqueue.c int acc; acc 811 ipc/mqueue.c acc = oflag2acc[oflag & O_ACCMODE]; acc 812 ipc/mqueue.c return inode_permission(d_inode(dentry), acc); acc 117 kernel/bpf/tnum.c static struct tnum hma(struct tnum acc, u64 value, u64 mask) acc 121 kernel/bpf/tnum.c acc = tnum_add(acc, TNUM(0, value)); acc 125 kernel/bpf/tnum.c return acc; acc 130 kernel/bpf/tnum.c struct tnum acc; acc 134 kernel/bpf/tnum.c acc = hma(TNUM(pi, 0), a.mask, b.mask | b.value); acc 135 kernel/bpf/tnum.c return hma(acc, b.mask, a.value); acc 156 lib/xxhash.c static uint64_t xxh64_round(uint64_t acc, const uint64_t input) acc 158 lib/xxhash.c acc += input * PRIME64_2; acc 159 lib/xxhash.c acc = xxh_rotl64(acc, 31); acc 160 lib/xxhash.c acc *= PRIME64_1; acc 161 lib/xxhash.c return acc; acc 164 lib/xxhash.c static uint64_t xxh64_merge_round(uint64_t acc, uint64_t val) acc 167 lib/xxhash.c acc ^= val; acc 168 lib/xxhash.c acc = acc * PRIME64_1 + PRIME64_4; acc 169 lib/xxhash.c return acc; acc 1001 net/decnet/af_decnet.c static void dn_access_copy(struct sk_buff *skb, struct accessdata_dn *acc) acc 1005 net/decnet/af_decnet.c acc->acc_userl = *ptr++; acc 1006 net/decnet/af_decnet.c memcpy(&acc->acc_user, ptr, acc->acc_userl); acc 1007 net/decnet/af_decnet.c ptr += acc->acc_userl; acc 1009 net/decnet/af_decnet.c acc->acc_passl = *ptr++; acc 1010 net/decnet/af_decnet.c memcpy(&acc->acc_pass, ptr, acc->acc_passl); acc 1011 net/decnet/af_decnet.c ptr += acc->acc_passl; acc 1013 net/decnet/af_decnet.c acc->acc_accl = *ptr++; acc 1014 net/decnet/af_decnet.c memcpy(&acc->acc_acc, ptr, acc->acc_accl); acc 1016 net/decnet/af_decnet.c skb_pull(skb, acc->acc_accl + acc->acc_passl + acc->acc_userl + 3); acc 1348 net/decnet/af_decnet.c struct accessdata_dn acc; acc 1405 net/decnet/af_decnet.c if ((u.acc.acc_accl > DN_MAXACCL) || acc 1406 net/decnet/af_decnet.c (u.acc.acc_passl > DN_MAXACCL) || acc 1407 net/decnet/af_decnet.c (u.acc.acc_userl > DN_MAXACCL)) acc 1410 net/decnet/af_decnet.c memcpy(&scp->accessdata, &u.acc, optlen); acc 236 security/device_cgroup.c static void set_access(char *acc, short access) acc 239 security/device_cgroup.c memset(acc, 0, ACCLEN); acc 241 security/device_cgroup.c acc[idx++] = 'r'; acc 243 security/device_cgroup.c acc[idx++] = 'w'; acc 245 security/device_cgroup.c acc[idx++] = 'm'; acc 271 security/device_cgroup.c char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; acc 281 security/device_cgroup.c set_access(acc, DEVCG_ACC_MASK); acc 285 security/device_cgroup.c maj, min, acc); acc 288 security/device_cgroup.c set_access(acc, ex->access); acc 292 security/device_cgroup.c maj, min, acc); acc 170 security/keys/keyring.c u64 acc; acc 174 security/keys/keyring.c acc = mult_64x32_and_fold(type, desc_len + 13); acc 175 security/keys/keyring.c acc = mult_64x32_and_fold(acc, 9207); acc 177 security/keys/keyring.c acc = mult_64x32_and_fold(acc, piece); acc 178 security/keys/keyring.c acc = mult_64x32_and_fold(acc, 9207); acc 190 security/keys/keyring.c acc = mult_64x32_and_fold(acc, piece); acc 191 security/keys/keyring.c acc = mult_64x32_and_fold(acc, 9207); acc 195 security/keys/keyring.c hash = acc; acc 197 security/keys/keyring.c hash ^= acc >> 32; acc 121 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 128 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 130 security/smack/smack_lsm.c sskp->smk_known, oskp->smk_known, acc, note); acc 142 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 149 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 152 security/smack/smack_lsm.c acc, current->comm, note); acc 164 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 171 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 173 security/smack/smack_lsm.c tsp->smk_task->smk_known, smk_task->smk_known, acc, acc 186 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 200 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 203 security/smack/smack_lsm.c tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, acc 218 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 229 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 231 security/smack/smack_lsm.c sskp->smk_known, smk_of_inode(inode)->smk_known, acc, acc 248 security/smack/smack_lsm.c char acc[SMK_NUM_ACCESS_TYPE + 1]; acc 259 security/smack/smack_lsm.c smk_bu_mode(mode, acc); acc 261 security/smack/smack_lsm.c sskp->smk_known, smk_of_inode(inode)->smk_known, acc, acc 545 tools/perf/ui/hist.c struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp; acc 551 tools/perf/ui/hist.c acc = &perf_hpp__format[PERF_HPP__OVERHEAD_ACC]; acc 554 tools/perf/ui/hist.c if (acc->equal(acc, fmt)) { acc 1735 virt/kvm/arm/vgic/vgic-its.c #define REGISTER_ITS_DESC(off, rd, wr, length, acc) \ acc 1739 virt/kvm/arm/vgic/vgic-its.c .access_flags = acc, \ acc 1744 virt/kvm/arm/vgic/vgic-its.c #define REGISTER_ITS_DESC_UACCESS(off, rd, wr, uwr, length, acc)\ acc 1748 virt/kvm/arm/vgic/vgic-its.c .access_flags = acc, \ acc 448 virt/kvm/arm/vgic/vgic-mmio-v3.c #define REGISTER_DESC_WITH_BITS_PER_IRQ_SHARED(off, rd, wr, ur, uw, bpi, acc) \ acc 453 virt/kvm/arm/vgic/vgic-mmio-v3.c .access_flags = acc, \ acc 460 virt/kvm/arm/vgic/vgic-mmio-v3.c .access_flags = acc, \ acc 67 virt/kvm/arm/vgic/vgic-mmio.h #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ acc 72 virt/kvm/arm/vgic/vgic-mmio.h .access_flags = acc, \ acc 79 virt/kvm/arm/vgic/vgic-mmio.h #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ acc 84 virt/kvm/arm/vgic/vgic-mmio.h .access_flags = acc, \ acc 89 virt/kvm/arm/vgic/vgic-mmio.h #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ acc 94 virt/kvm/arm/vgic/vgic-mmio.h .access_flags = acc, \