| /OK3568_Linux_fs/kernel/drivers/staging/media/ipu3/ |
| H A D | ipu3-css-params.c | 1219 * DDR address + accelerator's config set index(acc's address). 1731 struct imgu_abi_acc_param *acc) in imgu_css_cfg_acc_stripe() argument 1741 memset(acc, 0, sizeof(*acc)); in imgu_css_cfg_acc_stripe() 1745 if (imgu_css_osys_calc(css, pipe, stripes, &acc->osys, &scaler_luma, in imgu_css_cfg_acc_stripe() 1746 &scaler_chroma, acc->stripe.block_stripes)) in imgu_css_cfg_acc_stripe() 1760 acc->stripe.num_of_stripes = stripes; in imgu_css_cfg_acc_stripe() 1761 acc->stripe.input_frame.width = in imgu_css_cfg_acc_stripe() 1763 acc->stripe.input_frame.height = in imgu_css_cfg_acc_stripe() 1765 acc->stripe.input_frame.bayer_order = in imgu_css_cfg_acc_stripe() 1769 acc->stripe.bds_out_stripes[i].height = in imgu_css_cfg_acc_stripe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H A D | knav_qmss_acc.c | 24 struct knav_acc_channel *acc) in __knav_acc_notify() argument 38 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", in __knav_acc_notify() 44 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify() 46 dev_dbg(kdev->dev, "acc-irq: notifying %d\n", in __knav_acc_notify() 68 atomic_inc(&kq->acc->retrigger_count); in knav_acc_set_notify() 69 mask = BIT(kq->acc->channel % 32); in knav_acc_set_notify() 70 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); in knav_acc_set_notify() 72 kq->acc->name); in knav_acc_set_notify() 79 struct knav_acc_channel *acc; in knav_acc_int_handler() local 94 acc = range->acc; in knav_acc_int_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H A D | stats.c | 28 * get a cache hit, we increment a single atomic_t in acc->collector, and when 96 int bch_cache_accounting_add_kobjs(struct cache_accounting *acc, in bch_cache_accounting_add_kobjs() argument 99 int ret = kobject_add(&acc->total.kobj, parent, in bch_cache_accounting_add_kobjs() 101 ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, in bch_cache_accounting_add_kobjs() 103 ret = ret ?: kobject_add(&acc->hour.kobj, parent, in bch_cache_accounting_add_kobjs() 105 ret = ret ?: kobject_add(&acc->day.kobj, parent, in bch_cache_accounting_add_kobjs() 110 void bch_cache_accounting_clear(struct cache_accounting *acc) in bch_cache_accounting_clear() argument 112 acc->total.cache_hits = 0; in bch_cache_accounting_clear() 113 acc->total.cache_misses = 0; in bch_cache_accounting_clear() 114 acc->total.cache_bypass_hits = 0; in bch_cache_accounting_clear() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/include/ |
| H A D | arm_cde.h | 37 #define __arm_cx1a(coproc, acc, imm) \ argument 38 __builtin_arm_cx1asi(coproc, acc, imm) 43 #define __arm_cx2a(coproc, acc, n, imm) \ argument 44 __builtin_arm_cx2asi(coproc, acc, n, imm) 49 #define __arm_cx3a(coproc, acc, n, m, imm) \ argument 50 __builtin_arm_cx3asi(coproc, acc, n, m, imm) 55 #define __arm_cx1da(coproc, acc, imm) \ argument 56 __builtin_arm_cx1adi(coproc, acc, imm) 61 #define __arm_cx2da(coproc, acc, n, imm) \ argument 62 __builtin_arm_cx2adi(coproc, acc, n, imm) [all …]
|
| H A D | mmintrin.h | 1352 #define _mm_qmiabb_pi32(acc, m1, m2) \ argument 1354 __m64 _acc = acc;\ 1361 #define _mm_qmiabbn_pi32(acc, m1, m2) \ argument 1363 __m64 _acc = acc;\ 1370 #define _mm_qmiabt_pi32(acc, m1, m2) \ argument 1372 __m64 _acc = acc;\ 1379 #define _mm_qmiabtn_pi32(acc, m1, m2) \ argument 1381 __m64 _acc=acc;\ 1388 #define _mm_qmiatb_pi32(acc, m1, m2) \ argument 1390 __m64 _acc = acc;\ [all …]
|
| /OK3568_Linux_fs/kernel/fs/cachefiles/ |
| H A D | key.c | 36 unsigned int acc; in cachefiles_cook_key() local 89 acc = *(uint16_t *) raw; in cachefiles_cook_key() 92 key[len + 1] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 93 acc >>= 6; in cachefiles_cook_key() 94 key[len] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() 125 acc = *raw++; in cachefiles_cook_key() 126 acc |= *raw++ << 8; in cachefiles_cook_key() 127 acc |= *raw++ << 16; in cachefiles_cook_key() 129 _debug("acc: %06x", acc); in cachefiles_cook_key() 131 key[len++] = cachefiles_charmap[acc & 63]; in cachefiles_cook_key() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_acc.c | 79 list_for_each_entry(acc_fw, &asd->acc.fw, list) in acc_get_fw() 91 list_for_each_entry(atomisp_map, &asd->acc.memory_maps, list) { in acc_get_map() 114 ida_destroy(&isp->asd[i].acc.ida); in atomisp_acc_cleanup() 123 if (asd->acc.pipeline) in atomisp_acc_release() 127 list_for_each_entry_safe(acc_fw, ta, &asd->acc.fw, list) { in atomisp_acc_release() 129 ida_free(&asd->acc.ida, acc_fw->handle); in atomisp_acc_release() 134 list_for_each_entry_safe(atomisp_map, tm, &asd->acc.memory_maps, list) { in atomisp_acc_release() 167 if (asd->acc.pipeline || asd->acc.extension_mode) in atomisp_acc_load_to_pipe() 179 handle = ida_alloc(&asd->acc.ida, GFP_KERNEL); in atomisp_acc_load_to_pipe() 207 list_add_tail(&acc_fw->list, &asd->acc.fw); in atomisp_acc_load_to_pipe() [all …]
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | miarc.c | 378 static void drawQuadrant(struct arc_def *def, struct accelerators *acc, 617 struct arc_def *def, struct arc_bound *bounds, struct accelerators *acc) in tailX() argument 630 Hs = acc->h2; in tailX() 631 WH = -acc->h2mw2; in tailX() 634 Hf = acc->h4; in tailX() 640 if (acc->left.valid && boundedLe(K, bounds->left) && in tailX() 643 if (acc->right.valid && boundedLe(K, bounds->right) && in tailX() 737 if (acc->left.valid && boundedLe(K, bounds->left) && in tailX() 740 if (acc->right.valid && boundedLe(K, bounds->right) && in tailX() 2552 tailEllipseY(struct arc_def *def, struct accelerators *acc) in tailEllipseY() argument [all …]
|
| /OK3568_Linux_fs/u-boot/lib/rsa/ |
| H A D | rsa-mod-exp.c | 39 int64_t acc = 0; in subtract_modulus() local 43 acc += (uint64_t)num[i] - key->modulus[i]; in subtract_modulus() 44 num[i] = (uint32_t)acc; in subtract_modulus() 45 acc >>= 32; in subtract_modulus() 188 uint32_t val[key->len], acc[key->len], tmp[key->len]; in pow_mod() local 211 montgomery_mul(key, acc, val, key->rr); /* acc = a * RR / R mod n */ in pow_mod() 213 memcpy(a_scaled, acc, key->len * sizeof(a_scaled[0])); in pow_mod() 216 montgomery_mul(key, tmp, acc, acc); /* tmp = acc^2 / R mod n */ in pow_mod() 219 /* acc = tmp * val / R mod n */ in pow_mod() 220 montgomery_mul(key, acc, tmp, a_scaled); in pow_mod() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | stk8baxx.c | 231 s16 acc[3]; member 395 printk(KERN_ERR "%s: failed to read acc data, error=%d\n", __func__, result); in stk8baxx_reg_init() 405 printk(KERN_ERR "%s: failed to read acc data, error=%d\n", __func__, result); in stk8baxx_reg_init() 594 s16 acc[3]; in stk8baxx_tune() local 601 acc[0] = acc_xyz->x; in stk8baxx_tune() 602 acc[1] = acc_xyz->y; in stk8baxx_tune() 603 acc[2] = acc_xyz->z; in stk8baxx_tune() 606 if ((abs(acc[0]) <= STK_TUNE_XYOFFSET) && (abs(acc[1]) <= STK_TUNE_XYOFFSET) && in stk8baxx_tune() 607 (abs(abs(acc[2]) - STK_LSB_1G) <= STK_TUNE_ZOFFSET)) { in stk8baxx_tune() 609 …/* printk("\n-qhy20161108--%s----acc[0]=0x%x,,acc[1]=0x%x,,acc[2]=0x%x\n",__func__,acc[0],acc[1],a… in stk8baxx_tune() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/msm/ |
| H A D | qcom,kpss-acc.txt | 1 Krait Processor Sub-system (KPSS) Application Clock Controller (ACC) 3 The KPSS ACC provides clock, power domain, and reset control to a Krait CPU. 4 There is one ACC register region per CPU within the KPSS remapped region as 5 well as an alias register region that remaps accesses to the ACC associated 14 "qcom,kpss-acc-v1" 15 "qcom,kpss-acc-v2" 43 compatible = "qcom,kpss-acc-v2";
|
| /OK3568_Linux_fs/kernel/drivers/fsi/ |
| H A D | fsi-scom.c | 429 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() argument 431 acc->pib_status = (status & SCOM_STATUS_PIB_RESP_MASK) >> in raw_convert_status() 433 acc->intf_errors = 0; in raw_convert_status() 436 acc->intf_errors |= SCOM_INTF_ERR_PROTECTION; in raw_convert_status() 438 acc->intf_errors |= SCOM_INTF_ERR_PARITY; in raw_convert_status() 440 acc->intf_errors |= SCOM_INTF_ERR_ABORT; in raw_convert_status() 442 acc->intf_errors |= SCOM_INTF_ERR_UNKNOWN; in raw_convert_status() 447 struct scom_access acc; in scom_raw_read() local 451 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read() 454 rc = raw_get_scom(scom, &acc.data, acc.addr, &status); in scom_raw_read() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | proc-macros.S | 125 * 0xxx 0 0 0 no acc no acc 126 * 100x 1 0 1 r/o no acc 127 * 10x0 1 0 1 r/o no acc 128 * 1011 0 0 1 r/w no acc 198 * 0xxx 0x00 no acc no acc 199 * 100x 0x00 r/o no acc 200 * 10x0 0x00 r/o no acc 201 * 1011 0x55 r/w no acc 241 * 0xxx 00 no acc no acc 242 * 100x 00 r/o no acc [all …]
|
| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H 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() 142 "Bad CR_ASSOC ACC Length", 144 "Bad CR_CONN ACC Length", 146 "Bad Disconnect ACC Length", 154 "ACC (2)",
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/ |
| H 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()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | ptrveloc.c | 66 double threshold, double acc); 754 double velocity, double threshold, double acc) in BasicComputeAcceleration() argument 759 result = vel->Profile(dev, vel, velocity, threshold, acc); in BasicComputeAcceleration() 774 DeviceVelocityPtr vel, double threshold, double acc) in ComputeAcceleration() argument 792 BasicComputeAcceleration(dev, vel, vel->velocity, threshold, acc); in ComputeAcceleration() 795 acc); in ComputeAcceleration() 801 acc); in ComputeAcceleration() 808 vel->velocity, threshold, acc); in ComputeAcceleration() 826 double velocity, double ignored, double acc) in PolynomialAccelerationProfile() argument 828 return pow(velocity, (acc - 1.0) * 0.5); in PolynomialAccelerationProfile() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-u300.c | 288 PINCTRL_PIN(99, "PIO ACC APP I2C DATA"), 289 PINCTRL_PIN(100, "PIO ACC APP I2C CLK"), 328 PINCTRL_PIN(138, "PIO ACC SPI DO"), 329 PINCTRL_PIN(139, "PIO ACC SPI DI"), 330 PINCTRL_PIN(140, "PIO ACC SPI CS0 N"), 331 PINCTRL_PIN(141, "PIO ACC SPI CS1 N"), 332 PINCTRL_PIN(142, "PIO ACC SPI CS2 N"), 333 PINCTRL_PIN(143, "PIO ACC SPI CLK"), 528 PINCTRL_PIN(337, "PIO ACC GPIO 33"), 529 PINCTRL_PIN(338, "PIO ACC GPIO 32"), [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | alphascale,acc.txt | 3 The ACC (Alphascale Clock Controller) is responsible of choising proper 6 Required properties for the ACC node: 8 - reg: must contain the ACC register base and size 103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>; 111 clocks = <&acc CLKID_AHB_TIMER0>;
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-support/lzop/lzop/ |
| H A D | acinclude.m4 | 42 AC_MSG_CHECKING([whether your compiler passes the ACC conformance test]) 46 #include "acc/acc.h" 47 #include "acc/acc_incd.h" 50 #include "acc/acc_chk.ch" 54 #include "acc/acc_chk.ch" 61 #include "acc/acc_chk.ch" 82 AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ]) 87 AC_MSG_ERROR([ACC conformance test failed. Stop.]) 104 AC_MSG_CHECKING([whether your compiler passes the ACC conformance test]) 149 AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ]) [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-spe.c | 14 * u64 acc; 32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get() 35 return membuf_write(&to, &target->thread.acc, in evr_get() 51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set() 56 &target->thread.acc, in evr_set()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | tnum.c | 114 /* half-multiply add: acc += (unknown * mask * value). 117 static struct tnum hma(struct tnum acc, u64 value, u64 mask) in hma() argument 121 acc = tnum_add(acc, TNUM(0, value)); in hma() 125 return acc; in hma() 130 struct tnum acc; in tnum_mul() local 134 acc = hma(TNUM(pi, 0), a.mask, b.mask | b.value); in tnum_mul() 135 return hma(acc, b.mask, a.value); in tnum_mul()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/kpc2000/ |
| H A D | kpc2000_i2c.c | 451 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_QUICK\n"); in i801_access() 458 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BYTE\n"); in i801_access() 467 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BYTE_DATA\n"); in i801_access() 477 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_WORD_DATA\n"); in i801_access() 489 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_BLOCK_DATA\n"); in i801_access() 497 dev_dbg(&priv->adapter.dev, " [acc] SMBUS_I2C_BLOCK_DATA\n"); in i801_access() 514 " [acc] Unsupported transaction %d\n", size); in i801_access() 519 dev_dbg(&priv->adapter.dev, " [acc] hwpec: yes\n"); in i801_access() 522 dev_dbg(&priv->adapter.dev, " [acc] hwpec: no\n"); in i801_access() 528 dev_dbg(&priv->adapter.dev, " [acc] block: yes\n"); in i801_access() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_cmn_rpt.c | 212 struct bb_rssi_mu_acc_info *acc = &cmn_rpt->bb_rssi_mu_acc_i; in halbb_show_rssi_and_rate_distribution_mu() local 220 avg->rssi_t_avg = (u8)HALBB_DIV(acc->rssi_t_avg_acc, pkt_cnt->pkt_cnt_all); in halbb_show_rssi_and_rate_distribution_mu() 226 avg->rssi_t[i] = (u8)HALBB_DIV(acc->rssi_t_acc[i], pkt_cnt->pkt_cnt_all); in halbb_show_rssi_and_rate_distribution_mu() 457 struct bb_physts_acc_info *acc = &cmn_rpt->bb_physts_acc_i; in halbb_show_phy_hitogram_su() local 467 //BB_DBG(bb, DBG_CMN, "[RESULT ACC] cfo_avg=%d, evm_max=%d, evm_min=%d, cn_avg=%d\n", in halbb_show_phy_hitogram_su() 468 // acc->cfo_avg_acc, acc->evm_max_acc, acc->evm_min_acc, acc->cn_avg_acc); in halbb_show_phy_hitogram_su() 476 avg->evm_1ss = (u8)HALBB_DIV(acc->evm_1ss, (pkt_cnt->pkt_cnt_1ss + pkt_cnt->pkt_cnt_ofdm)); in halbb_show_phy_hitogram_su() 483 avg->evm_max = (u8)HALBB_DIV(acc->evm_max_acc, pkt_cnt->pkt_cnt_2ss); in halbb_show_phy_hitogram_su() 490 avg->evm_min = (u8)HALBB_DIV(acc->evm_min_acc, pkt_cnt->pkt_cnt_2ss); in halbb_show_phy_hitogram_su() 498 avg->snr_avg = (u8)HALBB_DIV(acc->snr_avg_acc, valid_cnt); in halbb_show_phy_hitogram_su() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_cmn_rpt.c | 212 struct bb_rssi_mu_acc_info *acc = &cmn_rpt->bb_rssi_mu_acc_i; in halbb_show_rssi_and_rate_distribution_mu() local 220 avg->rssi_t_avg = (u8)HALBB_DIV(acc->rssi_t_avg_acc, pkt_cnt->pkt_cnt_all); in halbb_show_rssi_and_rate_distribution_mu() 226 avg->rssi_t[i] = (u8)HALBB_DIV(acc->rssi_t_acc[i], pkt_cnt->pkt_cnt_all); in halbb_show_rssi_and_rate_distribution_mu() 457 struct bb_physts_acc_info *acc = &cmn_rpt->bb_physts_acc_i; in halbb_show_phy_hitogram_su() local 467 //BB_DBG(bb, DBG_CMN, "[RESULT ACC] cfo_avg=%d, evm_max=%d, evm_min=%d, cn_avg=%d\n", in halbb_show_phy_hitogram_su() 468 // acc->cfo_avg_acc, acc->evm_max_acc, acc->evm_min_acc, acc->cn_avg_acc); in halbb_show_phy_hitogram_su() 476 avg->evm_1ss = (u8)HALBB_DIV(acc->evm_1ss, (pkt_cnt->pkt_cnt_1ss + pkt_cnt->pkt_cnt_ofdm)); in halbb_show_phy_hitogram_su() 483 avg->evm_max = (u8)HALBB_DIV(acc->evm_max_acc, pkt_cnt->pkt_cnt_2ss); in halbb_show_phy_hitogram_su() 490 avg->evm_min = (u8)HALBB_DIV(acc->evm_min_acc, pkt_cnt->pkt_cnt_2ss); in halbb_show_phy_hitogram_su() 498 avg->snr_avg = (u8)HALBB_DIV(acc->snr_avg_acc, valid_cnt); in halbb_show_phy_hitogram_su() [all …]
|