| /OK3568_Linux_fs/kernel/drivers/tty/hvc/ |
| H A D | hvsi_lib.c | 10 static int hvsi_send_packet(struct hvsi_priv *pv, struct hvsi_header *packet) in hvsi_send_packet() argument 12 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno)); in hvsi_send_packet() 15 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet() 18 static void hvsi_start_handshake(struct hvsi_priv *pv) in hvsi_start_handshake() argument 23 pv->established = 0; in hvsi_start_handshake() 24 atomic_set(&pv->seqno, 0); in hvsi_start_handshake() 26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake() 32 hvsi_send_packet(pv, &q.hdr); in hvsi_start_handshake() 35 static int hvsi_send_close(struct hvsi_priv *pv) in hvsi_send_close() argument 39 pv->established = 0; in hvsi_send_close() [all …]
|
| H A D | hvc_vio.c | 71 struct hvterm_priv *pv = hvterm_privs[vtermno]; in hvterm_raw_get_chars() local 76 if (WARN_ON(!pv)) in hvterm_raw_get_chars() 79 spin_lock_irqsave(&pv->buf_lock, flags); in hvterm_raw_get_chars() 81 if (pv->left == 0) { in hvterm_raw_get_chars() 82 pv->offset = 0; in hvterm_raw_get_chars() 83 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars() 89 for (i = 1; i < pv->left; ++i) { in hvterm_raw_get_chars() 90 if (pv->buf[i] == 0 && pv->buf[i-1] == '\r') { in hvterm_raw_get_chars() 91 --pv->left; in hvterm_raw_get_chars() 92 if (i < pv->left) { in hvterm_raw_get_chars() [all …]
|
| H A D | hvc_opal.c | 63 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; in hvc_opal_hvsi_get_chars() local 65 if (WARN_ON(!pv)) in hvc_opal_hvsi_get_chars() 68 return hvsilib_get_chars(&pv->hvsi, buf, count); in hvc_opal_hvsi_get_chars() 73 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; in hvc_opal_hvsi_put_chars() local 75 if (WARN_ON(!pv)) in hvc_opal_hvsi_put_chars() 78 return hvsilib_put_chars(&pv->hvsi, buf, count); in hvc_opal_hvsi_put_chars() 83 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_open() local 92 return hvsilib_open(&pv->hvsi, hp); in hvc_opal_hvsi_open() 97 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; in hvc_opal_hvsi_close() local 101 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/macintosh/ |
| H A D | windfarm_ad7417_sensor.c | 38 struct wf_ad7417_priv *pv = sr->priv; in wf_ad7417_temp_get() local 44 mutex_lock(&pv->lock); in wf_ad7417_temp_get() 48 rc = i2c_master_send(pv->i2c, buf, 1); in wf_ad7417_temp_get() 51 rc = i2c_master_recv(pv->i2c, buf, 2); in wf_ad7417_temp_get() 61 mutex_unlock(&pv->lock); in wf_ad7417_temp_get() 65 mutex_unlock(&pv->lock); in wf_ad7417_temp_get() 79 static void wf_ad7417_adc_convert(struct wf_ad7417_priv *pv, in wf_ad7417_adc_convert() argument 84 *value = (raw * (s32)pv->mpu->mdiode + in wf_ad7417_adc_convert() 85 ((s32)pv->mpu->bdiode << 12)) >> 2; in wf_ad7417_adc_convert() 101 struct wf_ad7417_priv *pv = sr->priv; in wf_ad7417_adc_get() local [all …]
|
| H A D | windfarm_fcu_controls.c | 73 struct wf_fcu_priv *pv = container_of(ref, struct wf_fcu_priv, ref); in wf_fcu_release() local 75 kfree(pv); in wf_fcu_release() 86 static int wf_fcu_read_reg(struct wf_fcu_priv *pv, int reg, in wf_fcu_read_reg() argument 91 mutex_lock(&pv->lock); in wf_fcu_read_reg() 96 nw = i2c_master_send(pv->i2c, buf, 1); in wf_fcu_read_reg() 109 nr = i2c_master_recv(pv->i2c, buf, nb); in wf_fcu_read_reg() 118 mutex_unlock(&pv->lock); in wf_fcu_read_reg() 122 static int wf_fcu_write_reg(struct wf_fcu_priv *pv, int reg, in wf_fcu_write_reg() argument 133 nw = i2c_master_send(pv->i2c, buf, nb); in wf_fcu_write_reg() 147 struct wf_fcu_priv *pv = fan->fcu_priv; in wf_fcu_fan_set_rpm() local [all …]
|
| /OK3568_Linux_fs/buildroot/package/pulseview/ |
| H A D | 0001-Replace-obsolete-deprecated-Qt-methods.patch | 8 resolved in pv/util.cpp.] 10 [Fabrice: restore original patch in pv/util.cpp for 0.4.2] 13 pv/util.cpp | 21 +++++++++++++++++++-- 14 pv/util.hpp | 10 ++++++++++ 15 pv/views/trace/decodetrace.cpp | 3 ++- 16 pv/views/trace/ruler.cpp | 2 +- 17 pv/widgets/timestampspinbox.cpp | 2 +- 20 diff --git a/pv/util.cpp b/pv/util.cpp 22 --- a/pv/util.cpp 23 +++ b/pv/util.cpp [all …]
|
| H A D | 0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch | 13 from /home/abuild/rpmbuild/BUILD/pulseview-0.4.2/pv/data/decode/annotation.cpp:21: 24 pv/data/decode/annotation.cpp | 2 -- 25 pv/views/trace/decodetrace.cpp | 2 -- 28 diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp 30 --- a/pv/data/decode/annotation.cpp 31 +++ b/pv/data/decode/annotation.cpp 42 diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp 44 --- a/pv/views/trace/decodetrace.cpp 45 +++ b/pv/views/trace/decodetrace.cpp
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| H A D | nv04.c | 144 struct nvkm_pll_vals *pv) in setPLL_single() argument 150 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_single() 164 if (oldM && pv->M1 && (oldN / oldM < pv->N1 / pv->M1)) in setPLL_single() 166 nvkm_wr32(device, reg, pv->log2P << 16 | (oldpll & 0xffff)); in setPLL_single() 169 nvkm_wr32(device, reg, (oldpll & 0xffff0000) | pv->NM1); in setPLL_single() 199 struct nvkm_pll_vals *pv) in setPLL_double_highregs() argument 207 uint32_t pll1 = (oldpll1 & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_double_highregs() 208 uint32_t pll2 = (oldpll2 & 0x7fff0000) | 1 << 31 | pv->NM2; in setPLL_double_highregs() 210 bool single_stage = !pv->NM2 || pv->N2 == pv->M2; /* nv41+ only */ in setPLL_double_highregs() 216 pll1 = (pll1 & 0xfcc7ffff) | (pv->N2 & 0x18) << 21 | in setPLL_double_highregs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | nv04.c | 33 int clk, struct nvkm_pll_vals *pv) in nv04_clk_pll_calc() argument 38 pv->refclk = info->refclk; in nv04_clk_pll_calc() 39 pv->N1 = N1; in nv04_clk_pll_calc() 40 pv->M1 = M1; in nv04_clk_pll_calc() 41 pv->N2 = N2; in nv04_clk_pll_calc() 42 pv->M2 = M2; in nv04_clk_pll_calc() 43 pv->log2P = P; in nv04_clk_pll_calc() 49 nv04_clk_pll_prog(struct nvkm_clk *clk, u32 reg1, struct nvkm_pll_vals *pv) in nv04_clk_pll_prog() argument 58 setPLL_double_highregs(devinit, reg1, pv); in nv04_clk_pll_prog() 60 setPLL_double_lowregs(devinit, reg1, pv); in nv04_clk_pll_prog() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/kvm/ |
| H A D | pv.c | 32 free_pages(vcpu->arch.pv.stor_base, in kvm_s390_pv_destroy_cpu() 38 memset(&vcpu->arch.pv, 0, sizeof(vcpu->arch.pv)); in kvm_s390_pv_destroy_cpu() 62 vcpu->arch.pv.stor_base = __get_free_pages(GFP_KERNEL, in kvm_s390_pv_create_cpu() 64 if (!vcpu->arch.pv.stor_base) in kvm_s390_pv_create_cpu() 71 uvcb.stor_origin = (u64)vcpu->arch.pv.stor_base; in kvm_s390_pv_create_cpu() 76 free_pages(vcpu->arch.pv.stor_base, in kvm_s390_pv_create_cpu() 97 vcpu->arch.pv.handle = uvcb.cpu_handle; in kvm_s390_pv_create_cpu() 108 vfree(kvm->arch.pv.stor_var); in kvm_s390_pv_dealloc_vm() 109 free_pages(kvm->arch.pv.stor_base, in kvm_s390_pv_dealloc_vm() 111 memset(&kvm->arch.pv, 0, sizeof(kvm->arch.pv)); in kvm_s390_pv_dealloc_vm() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | hvsi.h | 82 extern void hvsilib_init(struct hvsi_priv *pv, 87 extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp); 88 extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp); 89 extern int hvsilib_read_mctrl(struct hvsi_priv *pv); 90 extern int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr); 91 extern void hvsilib_establish(struct hvsi_priv *pv); 92 extern int hvsilib_get_chars(struct hvsi_priv *pv, char *buf, int count); 93 extern int hvsilib_put_chars(struct hvsi_priv *pv, const char *buf, int count);
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winSetAppUserModelID.c | 85 PROPVARIANT pv; in winSetAppUserModelID() local 98 memset(&pv, 0, sizeof(PROPVARIANT)); in winSetAppUserModelID() 100 pv.vt = VT_LPWSTR; in winSetAppUserModelID() 101 hr = SHStrDupA(AppID, &pv.pwszVal); in winSetAppUserModelID() 105 pps->lpVtbl->SetValue(pps, &PKEY_AppUserModel_ID, &pv); in winSetAppUserModelID() 106 PropVariantClear(&pv); in winSetAppUserModelID()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/smart_ptr/detail/ |
| H A D | quick_allocator.hpp | 143 static inline void dealloc(void * pv) in dealloc() 145 if(pv != 0) // 18.4.1.1/13 in dealloc() 150 block * pb = static_cast<block *>(pv); in dealloc() 156 static inline void dealloc(void * pv, std::size_t n) in dealloc() 160 ::operator delete(pv); in dealloc() 162 else if(pv != 0) // 18.4.1.1/13 in dealloc() 167 block * pb = static_cast<block *>(pv); in dealloc()
|
| H A D | spinlock_pool.hpp | 42 static spinlock & spinlock_for( void const * pv ) in spinlock_for() argument 45 std::size_t i = reinterpret_cast< unsigned long long >( pv ) % 41; in spinlock_for() 47 std::size_t i = reinterpret_cast< std::size_t >( pv ) % 41; in spinlock_for() 63 explicit scoped_lock( void const * pv ): sp_( spinlock_for( pv ) ) in scoped_lock() argument
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | write.c | 242 struct pagevec pv; in afs_kill_pages() local 248 pagevec_init(&pv); in afs_kill_pages() 256 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages() 257 ASSERTCMP(pv.nr, ==, count); in afs_kill_pages() 260 struct page *page = pv.pages[loop]; in afs_kill_pages() 271 __pagevec_release(&pv); in afs_kill_pages() 285 struct pagevec pv; in afs_redirty_pages() local 291 pagevec_init(&pv); in afs_redirty_pages() 299 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_redirty_pages() 300 ASSERTCMP(pv.nr, ==, count); in afs_redirty_pages() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/ |
| H A D | get_left_turns.hpp | 82 vector_type pv = p.point; in operator ()() local 84 geometry::subtract_point(pv, m_origin); in operator ()() 87 int const quadrant_p = get_quadrant(pv); in operator ()() 106 int const length_p = squared_length(pv); in operator ()() 110 return squared_length(pv) > squared_length(qv); in operator ()() 135 vector_type pv = p.point; in operator ()() local 137 geometry::subtract_point(pv, m_origin); in operator ()() 140 if (get_quadrant(pv) != get_quadrant(qv)) in operator ()()
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0122-disk-lvm-Do-not-overread-metadata.patch | 34 pv = grub_zalloc (sizeof (*pv)); 44 pv->name = grub_malloc (s + 1); 45 grub_memcpy (pv->name, p, s); 49 grub_free (pv->name); 51 grub_free (pv);
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/ |
| H A D | create.py | 262 def validate_pv(pv): argument 263 if not pv or '_version' in pv.lower() or pv[0] not in '0123456789': 287 pv = None 295 pv = res.group(2) 302 pv = '-'.join(splitval[-2:]) 303 if pv.endswith('-release'): 304 pv = pv[:-8] 307 pv = splitval.pop() 309 if pv and pv.startswith('v'): 310 pv = pv[1:] [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | providers.py | 105 def preferredVersionMatch(pe, pv, pr, preferred_e, preferred_v, preferred_r): argument 112 if preferred_v == pv: 114 …if preferred_v is not None and preferred_v.endswith('%') and pv.startswith(preferred_v[:len(prefer… 161 pe, pv, pr = dataCache.pkg_pepvpr[f] 162 if preferredVersionMatch(pe, pv, pr, preferred_e, preferred_v, preferred_r): 164 preferred_ver = (pe, pv, pr) 180 pe, pv, pr = dataCache.pkg_pepvpr[f] 181 ver_str = pv 208 pe, pv, pr = dataCache.pkg_pepvpr[file_name] 211 …if (latest is None) or ((latest_p == dp) and (utils.vercmp(latest, (pe, pv, pr)) < 0)) or (dp > la… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | hw.c | 205 nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pv) in nouveau_hw_pllvals_to_clk() argument 208 if (!pv->M1 || !pv->M2) in nouveau_hw_pllvals_to_clk() 211 return pv->N1 * pv->N2 * pv->refclk / (pv->M1 * pv->M2) >> pv->log2P; in nouveau_hw_pllvals_to_clk() 264 struct nvkm_pll_vals pv; in nouveau_hw_fix_bad_vpll() local 269 nouveau_hw_get_pllvals(dev, pll, &pv); in nouveau_hw_fix_bad_vpll() 271 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll() 272 pv.N1 >= pll_lim.vco1.min_n && pv.N1 <= pll_lim.vco1.max_n && in nouveau_hw_fix_bad_vpll() 273 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll() 279 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll() 280 pv.N1 = pll_lim.vco1.min_n; in nouveau_hw_fix_bad_vpll() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| H A D | index.rst | 19 ppc-pv 21 s390-pv 22 s390-pv-boot
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/ |
| H A D | clocks-common.c | 543 struct volts *pv = (struct volts *)vcores; in scale_vcores() local 548 debug("%d -> ", pv->value[opp]); in scale_vcores() 550 if (pv->value[opp]) { in scale_vcores() 552 pv->value[opp] = optimize_vcore_voltage(pv, opp); in scale_vcores() 555 while (px < pv) { in scale_vcores() 565 (pv->pmic->i2c_slave_addr == in scale_vcores() 567 (pv->addr == px->addr)) { in scale_vcores() 569 if (pv->value[opp] > px->value[ol]) in scale_vcores() 570 px->value[ol] = pv->value[opp]; in scale_vcores() 572 pv->value[opp] = 0; in scale_vcores() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/devtool/ |
| H A D | devtool-upgrade-test1_1.5.3.bb.upgraded | 5 SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz \ 9 UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" 14 S = "${WORKDIR}/pv-${PV}"
|
| H A D | devtool-upgrade-test1_1.5.3.bb | 5 SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz \ 9 UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" 17 S = "${WORKDIR}/pv-${PV}"
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-vt8500.c | 77 unsigned long period_cycles, prescale, pv, dc; in vt8500_pwm_config() local 95 pv = period_cycles / (prescale + 1) - 1; in vt8500_pwm_config() 96 if (pv > 4095) in vt8500_pwm_config() 97 pv = 4095; in vt8500_pwm_config() 104 c = (unsigned long long)pv * duty_ns; in vt8500_pwm_config() 111 writel(pv, vt8500->base + REG_PERIOD(pwm->hwpwm)); in vt8500_pwm_config()
|