Home
last modified time | relevance | path

Searched refs:pv (Results 1 – 25 of 201) sorted by relevance

123456789

/openbmc/linux/drivers/tty/hvc/
H A Dhvsi_lib.c15 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet()
60 if (!pv->is_console && pv->opened) { in hvsi_cd_change()
129 pv->inbuf_len = pv->inbuf_pktlen = 0; in hvsi_check_packet()
161 memmove(pv->inbuf, &pv->inbuf[len], pv->inbuf_len); in hvsi_check_packet()
169 pv->inbuf_len += pv->get_chars(pv->termno, in hvsi_get_packet()
170 &pv->inbuf[pv->inbuf_len], in hvsi_get_packet()
203 memcpy(&buf[read], &pv->inbuf[pv->inbuf_cur], l); in hvsilib_get_chars()
214 pv->inbuf_len -= pv->inbuf_cur; in hvsilib_get_chars()
215 memmove(pv->inbuf, &pv->inbuf[pv->inbuf_cur], in hvsilib_get_chars()
402 if (!pv->tty || (pv->tty->termios.c_cflag & HUPCL)) in hvsilib_close()
[all …]
H A Dhvc_vio.c76 if (WARN_ON(!pv)) 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()
90 if (pv->buf[i] == 0 && pv->buf[i-1] == '\r') { in hvterm_raw_get_chars()
91 --pv->left; in hvterm_raw_get_chars()
93 memmove(&pv->buf[i], &pv->buf[i+1], in hvterm_raw_get_chars()
101 memcpy(buf, &pv->buf[pv->offset], got); in hvterm_raw_get_chars()
103 pv->left -= got; in hvterm_raw_get_chars()
122 if (WARN_ON(!pv)) in hvterm_raw_put_chars()
196 if (!pv) in hvterm_hvsi_tiocmget()
[all …]
H A Dhvc_opal.c65 if (WARN_ON(!pv)) in hvc_opal_hvsi_get_chars()
75 if (WARN_ON(!pv)) in hvc_opal_hvsi_put_chars()
101 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_close()
112 hvsilib_close(&pv->hvsi, hp); in hvc_opal_hvsi_hangup()
121 if (!pv) in hvc_opal_hvsi_tiocmget()
123 return pv->hvsi.mctrl; in hvc_opal_hvsi_tiocmget()
157 struct hvc_opal_priv *pv; in hvc_opal_probe() local
180 pv = hvc_opal_privs[termno]; in hvc_opal_probe()
184 if (!pv) in hvc_opal_probe()
186 pv->proto = proto; in hvc_opal_probe()
[all …]
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c44 mutex_lock(&pv->lock); in wf_ad7417_temp_get()
156 kfree(pv); in wf_ad7417_release()
183 pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); in wf_ad7417_add_sensor()
184 pv->sensors[index].priv = pv; in wf_ad7417_add_sensor()
187 kref_get(&pv->ref); in wf_ad7417_add_sensor()
229 pv->config = config; in wf_ad7417_init_chip()
264 if (pv == NULL) in wf_ad7417_probe()
269 pv->i2c = client; in wf_ad7417_probe()
270 pv->cpu = cpu_nr; in wf_ad7417_probe()
271 pv->mpu = mpu; in wf_ad7417_probe()
[all …]
H A Dwindfarm_fcu_controls.c75 kfree(pv); in wf_fcu_release()
91 mutex_lock(&pv->lock); in wf_fcu_read_reg()
369 fan->fcu_priv = pv; in wf_fcu_add_fan()
397 kref_get(&pv->ref); in wf_fcu_add_fan()
512 pv->rpm_shift); in wf_fcu_init_chip()
521 pv = kzalloc(sizeof(*pv), GFP_KERNEL); in wf_fcu_probe()
522 if (!pv) in wf_fcu_probe()
525 kref_init(&pv->ref); in wf_fcu_probe()
528 pv->i2c = client; in wf_fcu_probe()
536 kfree(pv); in wf_fcu_probe()
[all …]
/openbmc/qemu/include/migration/
H A Dqemu-file-types.h57 qemu_put_be64(f, *pv); in qemu_put_be64s()
62 qemu_put_be32(f, *pv); in qemu_put_be32s()
67 qemu_put_be16(f, *pv); in qemu_put_be16s()
72 qemu_put_byte(f, *pv); in qemu_put_8s()
77 *pv = qemu_get_be64(f); in qemu_get_be64s()
82 *pv = qemu_get_be32(f); in qemu_get_be32s()
87 *pv = qemu_get_be16(f); in qemu_get_be16s()
92 *pv = qemu_get_byte(f); in qemu_get_8s()
148 qemu_get_8s(f, (uint8_t *)pv); in qemu_get_s8s()
153 qemu_get_be16s(f, (uint16_t *)pv); in qemu_get_sbe16s()
[all …]
/openbmc/qemu/accel/tcg/
H A Dldst_atomicity.c.inc104 * @pv: host address
116 * @pv: host address
128 * @pv: host address
144 * @pv: host address
178 * @pv: host address
220 * @pv: host address
243 * @pv: host address
268 * @pv: host address
323 * @pv: host address
341 * @pv: host address
[all …]
/openbmc/qemu/migration/
H A Dvmstate-types.c27 bool *v = pv; in get_bool()
35 bool *v = pv; in put_bool()
51 int8_t *v = pv; in get_int8()
59 int8_t *v = pv; in put_int8()
75 int16_t *v = pv; in get_int16()
83 int16_t *v = pv; in put_int16()
99 int32_t *v = pv; in get_int32()
107 int32_t *v = pv; in put_int32()
124 int32_t *v = pv; in get_int32_equal()
176 int64_t *v = pv; in get_int64()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv04.c150 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()
210 bool single_stage = !pv->NM2 || pv->N2 == pv->M2; /* nv41+ only */ in setPLL_double_highregs()
217 (pv->N2 & 0x7) << 19 | 8 << 4 | (pv->M2 & 7) << 4; in setPLL_double_highregs()
290 uint32_t NMNM = pv->NM2 << 16 | pv->NM1; in setPLL_double_lowregs()
296 bool single_stage = !pv->NM2 || pv->N2 == pv->M2; in setPLL_double_lowregs()
375 pv.N1 = N1; in nv04_devinit_pll_set()
376 pv.M1 = M1; in nv04_devinit_pll_set()
377 pv.N2 = N2; in nv04_devinit_pll_set()
378 pv.M2 = M2; in nv04_devinit_pll_set()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv04.c33 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 …]
/openbmc/linux/arch/s390/kvm/
H A Dpv.c60 kvm->arch.pv.handle = 0; in kvm_s390_clear_pv_state()
61 kvm->arch.pv.guest_len = 0; in kvm_s390_clear_pv_state()
62 kvm->arch.pv.stor_base = 0; in kvm_s390_clear_pv_state()
63 kvm->arch.pv.stor_var = NULL; in kvm_s390_clear_pv_state()
87 memset(&vcpu->arch.pv, 0, sizeof(vcpu->arch.pv)); in kvm_s390_pv_destroy_cpu()
114 if (!vcpu->arch.pv.stor_base) in kvm_s390_pv_create_cpu()
159 vfree(kvm->arch.pv.stor_var); in kvm_s390_pv_dealloc_vm()
173 if (!kvm->arch.pv.stor_base) in kvm_s390_pv_alloc_vm()
192 if (!kvm->arch.pv.stor_var) in kvm_s390_pv_alloc_vm()
330 if (kvm->arch.pv.set_aside) in kvm_s390_pv_set_aside()
[all …]
/openbmc/qemu/host/include/generic/host/
H A Dload-extract-al16-al8.h.inc13 * @pv: host address
16 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
21 load_atom_extract_al16_or_al8(void *pv, int s)
23 uintptr_t pi = (uintptr_t)pv;
28 pv = (void *)(pi & ~7);
30 uint64_t *p8 = __builtin_assume_aligned(pv, 16, 8);
40 r = atomic16_read_ro(pv);
/openbmc/linux/arch/powerpc/include/asm/
H A Dhvsi.h82 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);
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.cpp33 namespace pv = openpower::pels::pel_values;
68 pv::getValue(eventSubsystem, pel_values::subsystemValues); in UserHeader()
259 severity = pv::getValue(_eventSeverity, pel_values::severityValues); in getJSON()
260 subsystem = pv::getValue(_eventSubsystem, pel_values::subsystemValues); in getJSON()
261 eventScope = pv::getValue(_eventScope, pel_values::eventScopeValues); in getJSON()
262 eventType = pv::getValue(_eventType, pel_values::eventTypeValues); in getJSON()
264 pv::getValuesBitwise(_actionFlags, pel_values::actionFlagsValues); in getJSON()
268 auto iter = pv::transmissionStates.find( in getJSON()
270 if (iter != pv::transmissionStates.end()) in getJSON()
274 auto iter1 = pv::transmissionStates.find( in getJSON()
[all …]
H A Dregistry.cpp34 namespace pv = pel_values;
45 auto ss = pv::findByName(subsystemName, pv::subsystemValues); in getSubsystem()
46 if (ss == pv::subsystemValues.end()) in getSubsystem()
60 auto s = pv::findByName(severityName, pv::severityValues); in getSeverity()
61 if (s == pv::severityValues.end()) in getSeverity()
70 return std::get<pv::fieldValuePos>(*s); in getSeverity()
115 auto s = pv::findByName(flag, pv::actionFlagsValues); in getActionFlags()
135 auto t = pv::findByName(eventTypeName, pv::eventTypeValues); in getEventType()
136 if (t == pv::eventTypeValues.end()) in getEventType()
148 auto s = pv::findByName(eventScopeName, pv::eventScopeValues); in getEventScope()
[all …]
H A Dsrc.cpp37 namespace pv = openpower::pels::pel_values;
647 if (pv::procedureDesc.find( in getCallouts()
649 pv::procedureDesc.end()) in getCallouts()
653 pv::procedureDesc.at( in getCallouts()
719 jsonInsert(ps, pv::createdBy, in getJSON()
744 pv::boolString.at( in getJSON()
753 pv::boolString.at( in getJSON()
760 pv::boolString.at( in getJSON()
1028 pv::findByName(regCallout.priority, pv::calloutPriorityValues); in addRegistryCallout()
1312 if (pv::symbolicFRUs.find(fru) != pv::symbolicFRUs.end()) in addJSONCallout()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pv/pv/
H A D0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch4 Subject: [PATCH] pv/display: handle error of tcgetpgrp() in pv_in_foreground()
9 Show pv progress bar even if no terminal is set, e.g., in a busybox
20 src/pv/display.c | 4 ++++
23 diff --git a/src/pv/display.c b/src/pv/display.c
25 --- a/src/pv/display.c
26 +++ b/src/pv/display.c
/openbmc/qemu/host/include/x86_64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
24 load_atom_extract_al16_or_al8(void *pv, int s)
26 uintptr_t pi = (uintptr_t)pv;
47 load_atom_extract_al16_or_al8(void *pv, int s);
/openbmc/qemu/host/include/loongarch64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
23 static inline uint64_t load_atom_extract_al16_or_al8(void *pv, int s)
25 uintptr_t pi = (uintptr_t)pv;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-xenbus12 Total number of Xen events received for a Xen pv device
20 pv device has been delayed in order to avoid stalls due to
22 other end of the pv device.
28 Number of events received for a Xen pv device which did not
37 before delayed EOI processing is triggered for a Xen pv
39 end of the pv device is issuing spurious events on a regular
41 the value for such cases can improve pv device performance.
/openbmc/qemu/target/i386/kvm/
H A Dkvm-cpu.c189 PropValue *pv; in x86_cpu_change_kvm_default() local
190 for (pv = kvm_default_props; pv->prop; pv++) { in x86_cpu_change_kvm_default()
191 if (!strcmp(pv->prop, prop)) { in x86_cpu_change_kvm_default()
192 pv->value = value; in x86_cpu_change_kvm_default()
201 assert(pv->prop); in x86_cpu_change_kvm_default()
/openbmc/qemu/host/include/aarch64/host/
H A Dload-extract-al16-al8.h.inc16 * @pv: host address
19 * Load @s bytes from @pv, when pv % s != 0. If [p, p+s-1] does not
23 static inline uint64_t load_atom_extract_al16_or_al8(void *pv, int s)
25 uintptr_t pi = (uintptr_t)pv;
/openbmc/linux/Documentation/virt/kvm/s390/
H A Dindex.rst11 s390-pv
12 s390-pv-boot
13 s390-pv-dump
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drecipetool.py393 pv = '1.7.4.1'
478 pv = '0.4.15'
496 pv = '0.4.15'
517 pv = '0.4.15'
578 pv = '1.13'
600 pv = '2.1.0'
622 pv = '4.8.0'
644 pv = '4.19.1'
667 pv = '2.14.5'
689 pv = '1.4'
[all …]
/openbmc/linux/net/bridge/
H A Dbr_mst.c131 static void br_mst_vlan_sync_state(struct net_bridge_vlan *pv, u16 msti) in br_mst_vlan_sync_state() argument
133 struct net_bridge_vlan_group *vg = nbp_vlan_group(pv->port); in br_mst_vlan_sync_state()
141 if (v != pv && v->brvlan->msti == msti) { in br_mst_vlan_sync_state()
142 br_mst_vlan_set_state(vg, pv, v->state); in br_mst_vlan_sync_state()
148 return br_mst_vlan_set_state(vg, pv, BR_STATE_DISABLED); in br_mst_vlan_sync_state()
162 struct net_bridge_vlan *pv; in br_mst_vlan_set_msti() local
178 pv = br_vlan_find(vg, mv->vid); in br_mst_vlan_set_msti()
179 if (pv) in br_mst_vlan_set_msti()
180 br_mst_vlan_sync_state(pv, msti); in br_mst_vlan_set_msti()

123456789