Searched refs:pv (Results 1 - 25 of 54) sorted by last modified time

123

/linux-master/net/bridge/
H A Dbr_mst.c132 static void br_mst_vlan_sync_state(struct net_bridge_vlan *pv, u16 msti) argument
134 struct net_bridge_vlan_group *vg = nbp_vlan_group(pv->port);
142 if (v != pv && v->brvlan->msti == msti) {
143 br_mst_vlan_set_state(pv->port, pv, v->state);
149 return br_mst_vlan_set_state(pv->port, pv, BR_STATE_DISABLED);
163 struct net_bridge_vlan *pv; local
179 pv = br_vlan_find(vg, mv->vid);
180 if (pv)
[all...]
/linux-master/mm/
H A Dvmscan.c3101 static bool positive_ctrl_err(struct ctrl_pos *sp, struct ctrl_pos *pv) argument
3107 return pv->refaulted < MIN_LRU_BATCH ||
3108 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <=
3109 (sp->refaulted + 1) * pv->total * pv->gain;
4431 struct ctrl_pos sp, pv; local
4440 read_ctrl_pos(lruvec, type, tier, 2, &pv);
4441 if (!positive_ctrl_err(&sp, &pv))
4451 struct ctrl_pos sp, pv; local
4461 read_ctrl_pos(lruvec, LRU_GEN_FILE, 0, gain[LRU_GEN_FILE], &pv);
[all...]
/linux-master/arch/arm/mm/
H A DMakefile24 obj-$(CONFIG_ARM_PV_FIXUP) += pv-fixup-asm.o
/linux-master/sound/usb/
H A Dmixer_quirks.c2003 u32 pv = kcontrol->private_value; local
2004 u32 node_id = pv & 0xff;
2018 if (pv & REALTEK_MIC_FLAG) {
2038 if (pv & REALTEK_MIC_FLAG)
2593 int pv; local
2595 pv = kcontrol->private_value;
2596 reg = pv & SND_BBFPRO_CTL_REG_MASK;
2597 idx = (pv >> SND_BBFPRO_CTL_IDX_SHIFT) & SND_BBFPRO_CTL_IDX_MASK;
2616 int pv; local
2618 pv
2651 int old_value, pv, val; local
2688 int value, pv; local
2776 int pv = list->kctl->private_value; local
[all...]
/linux-master/arch/x86/kvm/
H A Dx86.c5698 * does not support pv clocks.
11222 vcpu->arch.pv.pv_unhalted = false;
11686 vcpu->arch.pv.pv_unhalted)
13128 if (vcpu->arch.pv.pv_unhalted)
13186 if (READ_ONCE(vcpu->arch.pv.pv_unhalted))
H A Dlapic.c928 * this makes sure pv eoi is only enabled when we know it's safe.
1337 vcpu->arch.pv.pv_unhalted = 1;
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h1000 /* pv related host specific info */
1003 } pv; member in struct:kvm_vcpu_arch
1020 /* pv related cpuid info */
1029 * indicates whether pv emulation should be disabled if features
/linux-master/arch/s390/kvm/
H A Dkvm-s390.c2556 if (kvm->arch.pv.dumping)
2570 kvm->arch.pv.dumping = true;
2578 if (!kvm->arch.pv.dumping)
2591 if (!kvm->arch.pv.dumping)
3417 INIT_LIST_HEAD(&kvm->arch.pv.need_cleanup);
3418 kvm->arch.pv.set_aside = NULL;
3463 * can mess with the pv state.
3472 if (kvm->arch.pv.mmu_notifier.ops)
3473 mmu_notifier_unregister(&kvm->arch.pv.mmu_notifier, kvm->mm);
5031 if (vcpu->kvm->arch.pv
[all...]
H A Dkvm-s390.h262 /* implemented in pv.c */
283 return kvm->arch.pv.handle;
288 return vcpu->arch.pv.handle;
/linux-master/drivers/clk/
H A Dclk.c5370 u32 pv; local
5386 of_property_for_each_u32(clkspec.np, "clock-indices", prop, vp, pv) {
5387 if (index == pv) {
/linux-master/drivers/misc/
H A Dfastrpc.c127 u64 pv; /* buffer pointer */ member in struct:fastrpc_remote_buf
974 rpra[i].buf.pv = 0;
985 rpra[i].buf.pv = (u64) ctx->args[i].ptr;
1012 rpra[i].buf.pv = args - ctx->olaps[oix].offset;
1026 void *dst = (void *)(uintptr_t)rpra[i].buf.pv;
1080 void *src = (void *)(uintptr_t)rpra[i].buf.pv;
/linux-master/sound/pci/
H A Dmaestro3.c1253 } pv[] = { variable in typeref:struct:play_vals
1310 for (i = 0; i < ARRAY_SIZE(pv); i++)
1312 s->inst.data + pv[i].addr, pv[i].val);
/linux-master/drivers/pwm/
H A Dpwm-vt8500.c77 unsigned long period_cycles, prescale, pv, dc; local
95 pv = period_cycles / (prescale + 1) - 1;
96 if (pv > 4095)
97 pv = 4095;
104 c = (unsigned long long)pv * duty_ns;
111 writel(pv, vt8500->base + REG_PERIOD(pwm->hwpwm));
H A Dpwm-spear.c80 unsigned long prescale = PWMCR_MIN_PRESCALE, pv, dc; local
84 * Find pv, dc and prescale to suit duty_ns and period_ns. This is done
98 pv = div64_u64(val, div);
103 if (pv < PWMPCR_MIN_PERIOD || dc < PWMDCR_MIN_DUTY)
107 * if pv and dc have crossed their upper limit, then increase
108 * prescale and recalculate pv and dc.
110 if (pv > PWMPCR_MAX_PERIOD || dc > PWMDCR_MAX_DUTY) {
129 spear_pwm_writel(pc, pwm->hwpwm, PWMPCR, pv);
H A Dpwm-rz-mtu3.c283 u16 dc, pv; local
288 rz_mtu3_pwm_read_tgr_registers(priv, RZ_MTU3_TGRA, &pv,
291 rz_mtu3_pwm_read_tgr_registers(priv, RZ_MTU3_TGRC, &pv,
297 /* With prescale <= 7 and pv <= 0xffff this doesn't overflow. */
298 tmp = NSEC_PER_SEC * (u64)pv << (2 * prescale);
326 u16 pv, dc; local
350 pv = rz_mtu3_pwm_calculate_pv_or_dc(period_cycles, prescale);
377 rz_mtu3_pwm_write_tgr_registers(priv, RZ_MTU3_TGRA, pv,
382 rz_mtu3_pwm_write_tgr_registers(priv, RZ_MTU3_TGRC, pv,
H A Dpwm-pxa.c72 unsigned long period_cycles, prescale, pv, dc; local
85 pv = period_cycles / (prescale + 1) - 1;
93 dc = mul_u64_u64_div_u64(pv + 1, duty_ns, period_ns);
97 writel(pv, pc->mmio_base + offset + PWMPCR);
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c126 struct nvkm_pll_vals *pv = &regp->pllvals; local
134 pv->NM2 = 0;
150 if (!clk->pll_calc(clk, &pll_lim, dot_clock, pv))
164 if (pv->NM2)
166 pv->N1, pv->N2, pv->M1, pv->M2, pv->log2P);
169 pv
[all...]
/linux-master/fs/ocfs2/
H A Dstack_user.c778 struct ocfs2_protocol_version *pv = local
784 ver->pv_major = pv->pv_major;
785 ver->pv_minor = pv->pv_minor;
790 struct ocfs2_protocol_version *pv = local
796 pv->pv_major = ver->pv_major;
797 pv->pv_minor = ver->pv_minor;
888 struct ocfs2_protocol_version pv; local
907 lvb_to_version(lc->oc_lvb, &pv);
909 if ((pv.pv_major != running_proto.pv_major) ||
910 (pv
[all...]
/linux-master/arch/s390/include/asm/
H A Dkvm_host.h769 struct kvm_s390_pv_vcpu pv; member in struct:kvm_vcpu_arch
828 /* subset of available UV-features for pv-guests enabled by user space */
997 struct kvm_s390_pv pv; member in struct:kvm_arch
/linux-master/drivers/xen/xenbus/
H A Dxenbus_client.c61 } pv; member in union:xenbus_map_node::__anon56
777 node->pv.area = area;
808 if (node->pv.area->addr == vaddr) {
850 free_vm_area(node->pv.area);
853 node->pv.area, node->nr_handles);
/linux-master/drivers/tty/hvc/
H A Dhvsi_lib.c10 static int hvsi_send_packet(struct hvsi_priv *pv, struct hvsi_header *packet) argument
12 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno));
15 return pv->put_chars(pv->termno, (u8 *)packet, packet->len);
18 static void hvsi_start_handshake(struct hvsi_priv *pv) argument
23 pv->established = 0;
24 atomic_set(&pv->seqno, 0);
26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno);
32 hvsi_send_packet(pv, &q.hdr);
35 static int hvsi_send_close(struct hvsi_priv *pv) argument
47 hvsi_cd_change(struct hvsi_priv *pv, int cd) argument
68 hvsi_got_control(struct hvsi_priv *pv) argument
84 hvsi_got_query(struct hvsi_priv *pv) argument
108 hvsi_got_response(struct hvsi_priv *pv) argument
121 hvsi_check_packet(struct hvsi_priv *pv) argument
165 hvsi_get_packet(struct hvsi_priv *pv) argument
181 hvsilib_get_chars(struct hvsi_priv *pv, u8 *buf, size_t count) argument
232 hvsilib_put_chars(struct hvsi_priv *pv, const u8 *buf, size_t count) argument
259 hvsilib_read_mctrl(struct hvsi_priv *pv) argument
289 hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr) argument
314 hvsilib_establish(struct hvsi_priv *pv) argument
376 hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp) argument
388 hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp) argument
415 hvsilib_init(struct hvsi_priv *pv, ssize_t (*get_chars)(uint32_t termno, u8 *buf, size_t count), ssize_t (*put_chars)(uint32_t termno, const u8 *buf, size_t count), int termno, int is_console) argument
[all...]
H A Dhvc_vio.c71 struct hvterm_priv *pv = hvterm_privs[vtermno]; local
76 if (WARN_ON(!pv))
79 spin_lock_irqsave(&pv->buf_lock, flags);
81 if (pv->left == 0) {
82 pv->offset = 0;
83 pv->left = hvc_get_chars(pv->termno, pv->buf, count);
89 for (i = 1; i < pv->left; ++i) {
90 if (pv
121 struct hvterm_priv *pv = hvterm_privs[vtermno]; local
139 struct hvterm_priv *pv = hvterm_privs[vtermno]; local
150 struct hvterm_priv *pv = hvterm_privs[vtermno]; local
160 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; local
174 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; local
185 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; local
196 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; local
206 struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; local
303 struct hvterm_priv *pv; local
[all...]
H A Dhvc_opal.c63 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; local
65 if (WARN_ON(!pv))
68 return hvsilib_get_chars(&pv->hvsi, buf, count);
74 struct hvc_opal_priv *pv = hvc_opal_privs[vtermno]; local
76 if (WARN_ON(!pv))
79 return hvsilib_put_chars(&pv->hvsi, buf, count);
84 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; local
93 return hvsilib_open(&pv->hvsi, hp);
98 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; local
102 hvsilib_close(&pv
109 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; local
120 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; local
130 struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; local
158 struct hvc_opal_priv *pv; local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dhvsi.h82 extern void hvsilib_init(struct hvsi_priv *pv,
88 extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp);
89 extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp);
90 extern int hvsilib_read_mctrl(struct hvsi_priv *pv);
91 extern int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr);
92 extern void hvsilib_establish(struct hvsi_priv *pv);
93 extern ssize_t hvsilib_get_chars(struct hvsi_priv *pv, u8 *buf, size_t count);
94 extern ssize_t hvsilib_put_chars(struct hvsi_priv *pv, const u8 *buf,
/linux-master/tools/testing/selftests/net/
H A Dvrf-xfrm-tests.sh406 while getopts :pv o

Completed in 640 milliseconds

123