/linux-6.3-rc2/drivers/tty/hvc/ |
A D | hvsi_lib.c | 15 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 …]
|
A D | hvc_vio.c | 76 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 …]
|
A D | hvc_opal.c | 65 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 …]
|
/linux-6.3-rc2/drivers/macintosh/ |
A D | windfarm_ad7417_sensor.c | 44 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 …]
|
A D | windfarm_fcu_controls.c | 75 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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
A D | nv04.c | 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() 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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
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 …]
|
/linux-6.3-rc2/arch/s390/kvm/ |
A D | pv.c | 46 kvm->arch.pv.handle = 0; in kvm_s390_clear_pv_state() 47 kvm->arch.pv.guest_len = 0; in kvm_s390_clear_pv_state() 48 kvm->arch.pv.stor_base = 0; in kvm_s390_clear_pv_state() 49 kvm->arch.pv.stor_var = NULL; in kvm_s390_clear_pv_state() 73 memset(&vcpu->arch.pv, 0, sizeof(vcpu->arch.pv)); in kvm_s390_pv_destroy_cpu() 100 if (!vcpu->arch.pv.stor_base) in kvm_s390_pv_create_cpu() 145 vfree(kvm->arch.pv.stor_var); in kvm_s390_pv_dealloc_vm() 159 if (!kvm->arch.pv.stor_base) in kvm_s390_pv_alloc_vm() 178 if (!kvm->arch.pv.stor_var) in kvm_s390_pv_alloc_vm() 315 if (kvm->arch.pv.set_aside) in kvm_s390_pv_set_aside() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
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);
|
/linux-6.3-rc2/net/bridge/ |
A D | br_mst.c | 128 static void br_mst_vlan_sync_state(struct net_bridge_vlan *pv, u16 msti) in br_mst_vlan_sync_state() argument 130 struct net_bridge_vlan_group *vg = nbp_vlan_group(pv->port); in br_mst_vlan_sync_state() 138 if (v != pv && v->brvlan->msti == msti) { in br_mst_vlan_sync_state() 139 br_mst_vlan_set_state(pv->port, pv, v->state); in br_mst_vlan_sync_state() 145 return br_mst_vlan_set_state(pv->port, pv, BR_STATE_DISABLED); in br_mst_vlan_sync_state() 159 struct net_bridge_vlan *pv; in br_mst_vlan_set_msti() local 175 pv = br_vlan_find(vg, mv->vid); in br_mst_vlan_set_msti() 176 if (pv) in br_mst_vlan_set_msti() 177 br_mst_vlan_sync_state(pv, msti); in br_mst_vlan_set_msti()
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-devices-xenbus | 12 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.
|
/linux-6.3-rc2/Documentation/virt/kvm/s390/ |
A D | index.rst | 11 s390-pv 12 s390-pv-boot 13 s390-pv-dump
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/ |
A D | hw.c | 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() 265 struct nvkm_pll_vals pv; in nouveau_hw_fix_bad_vpll() local 270 nouveau_hw_get_pllvals(dev, pll, &pv); in nouveau_hw_fix_bad_vpll() 272 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll() 273 pv.N1 >= pll_lim.vco1.min_n && pv.N1 <= pll_lim.vco1.max_n && in nouveau_hw_fix_bad_vpll() 274 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll() 280 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll() 281 pv.N1 = pll_lim.vco1.min_n; in nouveau_hw_fix_bad_vpll() 282 pv.log2P = pll_lim.max_p_usable; in nouveau_hw_fix_bad_vpll() [all …]
|
/linux-6.3-rc2/drivers/pwm/ |
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()
|
A D | pwm-spear.c | 82 unsigned long prescale = PWMCR_MIN_PRESCALE, pv, dc; in spear_pwm_config() local 100 pv = div64_u64(val, div); in spear_pwm_config() 105 if (pv < PWMPCR_MIN_PERIOD || dc < PWMDCR_MIN_DUTY) in spear_pwm_config() 112 if (pv > PWMPCR_MAX_PERIOD || dc > PWMDCR_MAX_DUTY) { in spear_pwm_config() 131 spear_pwm_writel(pc, pwm->hwpwm, PWMPCR, pv); in spear_pwm_config()
|
A D | pwm-pxa.c | 72 unsigned long period_cycles, prescale, pv, dc; in pxa_pwm_config() local 85 pv = period_cycles / (prescale + 1) - 1; in pxa_pwm_config() 93 dc = mul_u64_u64_div_u64(pv + 1, duty_ns, period_ns); in pxa_pwm_config() 97 writel(pv, pc->mmio_base + offset + PWMPCR); in pxa_pwm_config()
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | stack_user.c | 785 struct ocfs2_protocol_version *pv = in lvb_to_version() local 791 ver->pv_major = pv->pv_major; in lvb_to_version() 792 ver->pv_minor = pv->pv_minor; in lvb_to_version() 797 struct ocfs2_protocol_version *pv = in version_to_lvb() local 803 pv->pv_major = ver->pv_major; in version_to_lvb() 804 pv->pv_minor = ver->pv_minor; in version_to_lvb() 895 struct ocfs2_protocol_version pv; in get_protocol_version() local 914 lvb_to_version(lc->oc_lvb, &pv); in get_protocol_version() 917 (pv.pv_minor > running_proto.pv_minor)) { in get_protocol_version() 922 conn->cc_version.pv_major = pv.pv_major; in get_protocol_version() [all …]
|
/linux-6.3-rc2/include/linux/ceph/ |
A D | decode.h | 43 static inline void ceph_decode_copy(void **p, void *pv, size_t n) in ceph_decode_copy() argument 45 memcpy(pv, *p, n); in ceph_decode_copy() 84 #define ceph_decode_copy_safe(p, end, pv, n, bad) \ argument 87 ceph_decode_copy(p, pv, n); \ 386 #define ceph_encode_copy_safe(p, end, pv, n, bad) \ argument 389 ceph_encode_copy(p, pv, n); \
|
/linux-6.3-rc2/drivers/isdn/hardware/mISDN/ |
A D | hfcmulti.c | 916 u_int pv; in hfcmulti_resync() local 968 pv |= PLX_SYNC_O_EN; in hfcmulti_resync() 999 pv |= PLX_SYNC_O_EN; in hfcmulti_resync() 1043 u_int pv; in release_io_hfcmulti() local 1067 pv &= ~PLX_TERM_ON; in release_io_hfcmulti() 1069 pv |= PLX_SLAVE_EN_N; in release_io_hfcmulti() 1070 pv &= ~PLX_MASTER_EN; in release_io_hfcmulti() 1071 pv &= ~PLX_SYNC_O_EN; in release_io_hfcmulti() 1073 pv &= ~PLX_DSP_RES_N; in release_io_hfcmulti() 1114 u_int pv; in init_chip() local [all …]
|
/linux-6.3-rc2/sound/usb/ |
A D | mixer_quirks.c | 2004 u32 node_id = pv & 0xff; in realtek_ctl_connector_get() 2018 if (pv & REALTEK_MIC_FLAG) { in realtek_ctl_connector_get() 2038 if (pv & REALTEK_MIC_FLAG) in realtek_ctl_connector_get() 2593 int pv; in snd_bbfpro_ctl_get() local 2595 pv = kcontrol->private_value; in snd_bbfpro_ctl_get() 2616 int pv; in snd_bbfpro_ctl_info() local 2618 pv = kcontrol->private_value; in snd_bbfpro_ctl_info() 2651 int old_value, pv, val; in snd_bbfpro_ctl_put() local 2656 pv = kcontrol->private_value; in snd_bbfpro_ctl_put() 2688 int value, pv; in snd_bbfpro_ctl_resume() local [all …]
|
/linux-6.3-rc2/sound/aoa/codecs/ |
A D | onyx.c | 370 long int pv = kcontrol->private_value; in onyx_snd_single_bit_get() local 371 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; in onyx_snd_single_bit_get() 372 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_get() 373 u8 mask = pv & 0xff; in onyx_snd_single_bit_get() 390 long int pv = kcontrol->private_value; in onyx_snd_single_bit_put() local 391 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; in onyx_snd_single_bit_put() 392 u8 spdiflock = (pv >> 16) & FLAG_SPDIFLOCK; in onyx_snd_single_bit_put() 393 u8 address = (pv >> 8) & 0xff; in onyx_snd_single_bit_put() 394 u8 mask = pv & 0xff; in onyx_snd_single_bit_put()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | clk.h | 116 struct nvkm_pll_vals *pv); 117 int (*pll_prog)(struct nvkm_clk *, u32 reg1, struct nvkm_pll_vals *pv);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_fid.c | 534 struct mlxsw_sp_fid_port_vid *pv, in mlxsw_sp_fid_port_vid_to_fid_rif_update_one() argument 540 mlxsw_reg_svfa_port_vid_pack(svfa_pl, pv->local_port, true, in mlxsw_sp_fid_port_vid_to_fid_rif_update_one() 541 fid->fid_index, pv->vid, irif_valid, in mlxsw_sp_fid_port_vid_to_fid_rif_update_one() 551 struct mlxsw_sp_fid_port_vid *pv; in mlxsw_sp_fid_vid_to_fid_rif_set() local 561 list_for_each_entry(pv, &fid->port_vid_list, list) { in mlxsw_sp_fid_vid_to_fid_rif_set() 566 if (!mlxsw_sp->fid_core->port_fid_mappings[pv->local_port]) in mlxsw_sp_fid_vid_to_fid_rif_set() 569 err = mlxsw_sp_fid_port_vid_to_fid_rif_update_one(fid, pv, in mlxsw_sp_fid_vid_to_fid_rif_set() 580 if (!mlxsw_sp->fid_core->port_fid_mappings[pv->local_port]) in mlxsw_sp_fid_vid_to_fid_rif_set() 593 struct mlxsw_sp_fid_port_vid *pv; in mlxsw_sp_fid_vid_to_fid_rif_unset() local 595 list_for_each_entry(pv, &fid->port_vid_list, list) { in mlxsw_sp_fid_vid_to_fid_rif_unset() [all …]
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | ili210x.c | 428 u8 pv[2]; in ili251x_firmware_update_protocol_version() local 432 &pv, sizeof(pv)); in ili251x_firmware_update_protocol_version() 434 memcpy(priv->version_proto, pv, sizeof(pv)); in ili251x_firmware_update_protocol_version() 523 u8 *pv = priv->version_proto; in ili251x_protocol_version_show() local 525 return sysfs_emit(buf, "%02x.%02x\n", pv[0], pv[1]); in ili251x_protocol_version_show()
|
/linux-6.3-rc2/kernel/trace/ |
A D | trace_events_inject.c | 37 struct ftrace_event_field **pf, u64 *pv) in parse_field() argument 102 *pv = val; in parse_field() 128 *pv = (unsigned long)(str + s); in parse_field()
|