Home
last modified time | relevance | path

Searched refs:prm (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/drivers/usb/gadget/function/
A Du_audio.c209 prm->srate, prm->pitch, p_interval_mil, frames); in u_audio_iso_complete()
307 prm->srate, prm->pitch, in u_audio_iso_fback_complete()
348 memset(prm->rbuf, 0, prm->max_psize * params->req_number); in uac_pcm_trigger()
659 prm->srate, prm->pitch, in u_audio_start_capture()
801 val = clamp(val, prm->volume_min, prm->volume_max); in u_audio_set_volume()
1005 (prm->volume_max - prm->volume_min + prm->volume_res - 1) in u_audio_volume_info()
1020 (prm->volume - prm->volume_min) / prm->volume_res; in u_audio_volume_get()
1040 volume = (val * prm->volume_res) + prm->volume_min; in u_audio_volume_put()
1041 volume = clamp(volume, prm->volume_min, prm->volume_max); in u_audio_volume_put()
1195 prm->rbuf = kcalloc(params->req_number, prm->max_psize, in g_audio_setup()
[all …]
/linux-6.3-rc2/drivers/soc/ti/
A Domap_prm.c40 struct omap_prm *prm; member
75 struct omap_prm *prm; member
701 prmd->prm = prm; in omap_prm_domain_init()
760 v = readl_relaxed(reset->prm->base + reset->prm->data->rstctrl); in omap_reset_status()
768 v = readl_relaxed(reset->prm->base + reset->prm->data->rstst); in omap_reset_status()
784 v = readl_relaxed(reset->prm->base + reset->prm->data->rstctrl); in omap_reset_assert()
786 writel_relaxed(v, reset->prm->base + reset->prm->data->rstctrl); in omap_reset_assert()
815 writel_relaxed(v, reset->prm->base + reset->prm->data->rstst); in omap_reset_deassert()
910 reset->prm = prm; in omap_prm_reset_init()
954 prm = devm_kzalloc(&pdev->dev, sizeof(*prm), GFP_KERNEL); in omap_prm_probe()
[all …]
/linux-6.3-rc2/sound/soc/qcom/qdsp6/
A Dq6prm.c54 return audioreach_send_cmd_sync(prm->dev, prm->gdev, &prm->result, &prm->lock, in q6prm_send_cmd_sync()
55 NULL, &prm->wait, pkt, rsp_opcode); in q6prm_send_cmd_sync()
60 struct q6prm *prm = dev_get_drvdata(dev->parent); in q6prm_set_hw_core_req() local
63 gpr_device_t *gdev = prm->gdev; in q6prm_set_hw_core_req()
91 rc = q6prm_send_cmd_sync(prm, pkt, rsp_opcode); in q6prm_set_hw_core_req()
115 struct q6prm *prm = dev_get_drvdata(dev->parent); in q6prm_request_lpass_clock() local
118 gpr_device_t *gdev = prm->gdev; in q6prm_request_lpass_clock()
155 gpr_device_t *gdev = prm->gdev; in q6prm_release_lpass_clock()
204 prm->result.opcode = hdr->opcode; in prm_callback()
205 prm->result.status = result->status; in prm_callback()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/omap/
A Dprm-inst.txt10 "ti,am3-prm-inst"
11 "ti,am4-prm-inst"
12 "ti,omap4-prm-inst"
13 "ti,omap5-prm-inst"
14 "ti,dra7-prm-inst"
16 "ti,omap-prm-inst"
26 prm_dsp2: prm@1b00 {
27 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
A Dprcm.txt15 "ti,omap3-prm"
18 "ti,omap4-prm"
21 "ti,omap5-prm"
25 "ti,dra7-prm"
/linux-6.3-rc2/arch/arm/boot/dts/
A Domap4.dtsi759 &prm {
761 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
767 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
774 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
780 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
786 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
793 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
800 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
806 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
812 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
[all …]
A Domap5.dtsi734 &prm {
736 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
742 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
749 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
755 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
761 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
768 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
775 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
781 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
787 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
[all …]
A Ddra7.dtsi1203 &prm {
1205 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1211 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1218 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1225 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1231 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1238 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1245 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1251 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1257 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
[all …]
A Dam4372.dtsi725 prm_mpu: prm@300 {
726 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
731 prm_gfx: prm@400 {
732 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
738 prm_rtc: prm@500 {
739 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
745 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
751 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
757 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
764 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
[all …]
A Dam33xx.dtsi644 prm_per: prm@c00 {
645 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
651 prm_wkup: prm@d00 {
652 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
658 prm_mpu: prm@e00 {
659 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
665 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
670 prm_rtc: prm@1000 {
671 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
677 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
[all …]
A Domap3.dtsi212 prm: prm@48306000 { label
213 compatible = "ti,omap3-prm";
A Domap4-l4.dtsi1006 prm: prm@0 { label
1007 compatible = "ti,omap4-prm", "simple-bus";
A Domap5-l4.dtsi2244 prm: prm@0 { label
2245 compatible = "ti,omap5-prm", "simple-bus";
/linux-6.3-rc2/drivers/iommu/
A Diommu-sva.c195 struct iommu_fault_page_request *prm = &fault->prm; in iommu_sva_handle_iopf() local
198 if (!(prm->flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID)) in iommu_sva_handle_iopf()
206 vma = find_extend_vma(mm, prm->addr); in iommu_sva_handle_iopf()
211 if (prm->perm & IOMMU_FAULT_PERM_READ) in iommu_sva_handle_iopf()
214 if (prm->perm & IOMMU_FAULT_PERM_WRITE) { in iommu_sva_handle_iopf()
219 if (prm->perm & IOMMU_FAULT_PERM_EXEC) { in iommu_sva_handle_iopf()
224 if (!(prm->perm & IOMMU_FAULT_PERM_PRIV)) in iommu_sva_handle_iopf()
231 ret = handle_mm_fault(vma, prm->addr, fault_flags, NULL); in iommu_sva_handle_iopf()
A Dio-pgfault.c60 .pasid = iopf->fault.prm.pasid, in iopf_complete_group()
61 .grpid = iopf->fault.prm.grpid, in iopf_complete_group()
65 if ((iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID) && in iopf_complete_group()
66 (iopf->fault.prm.flags & IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID)) in iopf_complete_group()
81 group->last_fault.fault.prm.pasid, 0); in iopf_handler()
94 if (!(iopf->fault.prm.flags & in iopf_handler()
167 if (!(fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_queue_iopf()
199 if (iopf->fault.prm.grpid == fault->prm.grpid) in iommu_queue_iopf()
209 if (iopf->fault.prm.grpid == fault->prm.grpid) { in iommu_queue_iopf()
A Diommu.c1321 (evt->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_report_device_fault()
1352 struct iommu_fault_page_request *prm; in iommu_page_response() local
1378 prm = &evt->fault.prm; in iommu_page_response()
1379 if (prm->grpid != msg->grpid) in iommu_page_response()
1388 needs_pasid = prm->flags & IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID; in iommu_page_response()
1389 if (needs_pasid && (!has_pasid || msg->pasid != prm->pasid)) in iommu_page_response()
/linux-6.3-rc2/drivers/iommu/intel/
A Dsvm.c592 event.fault.prm.pasid = desc->pasid; in intel_svm_prq_report()
593 event.fault.prm.grpid = desc->prg_index; in intel_svm_prq_report()
594 event.fault.prm.perm = prq_to_iommu_prot(desc); in intel_svm_prq_report()
611 event.fault.prm.private_data[0] = desc->priv_data[0]; in intel_svm_prq_report()
764 struct iommu_fault_page_request *prm; in intel_svm_page_response() local
783 prm = &evt->fault.prm; in intel_svm_page_response()
794 if (prm->pasid == 0 || prm->pasid >= PASID_MAX) { in intel_svm_page_response()
818 desc.qw2 = prm->private_data[0]; in intel_svm_page_response()
819 desc.qw3 = prm->private_data[1]; in intel_svm_page_response()
820 } else if (prm->private_data[0]) { in intel_svm_page_response()
[all …]
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_target.c1665 prm = kzalloc(sizeof(*prm), GFP_ATOMIC); in qlt_sched_sess_work()
2440 prm->req_cnt += DIV_ROUND_UP(prm->seg_cnt - in qlt_pci_map_calc_cnt()
2448 prm->tot_dsds = prm->seg_cnt; in qlt_pci_map_calc_cnt()
2450 prm->tot_dsds = prm->seg_cnt; in qlt_pci_map_calc_cnt()
2465 prm->tot_dsds += prm->prot_seg_cnt; in qlt_pci_map_calc_cnt()
2467 prm->tot_dsds += prm->prot_seg_cnt; in qlt_pci_map_calc_cnt()
2671 prm->sg = sg_next(prm->sg); in qlt_load_cont_data_segments()
2709 prm->sg = sg_next(prm->sg); in qlt_load_data_segments()
3193 cpu_to_le16(prm->tot_dsds - prm->prot_seg_cnt); in qlt_build_ctio_crc2_pkt()
3220 (prm->tot_dsds - prm->prot_seg_cnt), &tc)) in qlt_build_ctio_crc2_pkt()
[all …]
/linux-6.3-rc2/drivers/atm/
A Dsolos-pci.c186 struct solos_param prm; in solos_param_show() local
210 prm.pid = current->pid; in solos_param_show()
211 prm.response = NULL; in solos_param_show()
223 list_del(&prm.list); in solos_param_show()
226 if (!prm.response) in solos_param_show()
241 struct solos_param prm; in solos_param_store() local
267 prm.response = NULL; in solos_param_store()
279 list_del(&prm.list); in solos_param_store()
282 skb = prm.response; in solos_param_store()
432 if (prm->port == port && prm->pid == cmdpid) { in process_command()
[all …]
/linux-6.3-rc2/sound/soc/fsl/
A Dfsl_audmix.c88 const struct fsl_audmix_state prm) in fsl_audmix_state_trans() argument
92 if ((priv->tdms & prm.tdms) != prm.tdms) { in fsl_audmix_state_trans()
93 dev_dbg(comp->dev, "%s", prm.msg); in fsl_audmix_state_trans()
97 switch (prm.clk) { in fsl_audmix_state_trans()
102 (*ctr) |= FSL_AUDMIX_CTR_MIXCLK(prm.clk - 1); in fsl_audmix_state_trans()
/linux-6.3-rc2/include/uapi/linux/
A Diommu.h120 struct iommu_fault_page_request prm; member
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/
A Dsmu_cmn.c132 u32 msg_idx, prm; in __smu_cmn_reg_print_error() local
137 prm = RREG32(smu->param_reg); in __smu_cmn_reg_print_error()
140 msg_idx, prm); in __smu_cmn_reg_print_error()
/linux-6.3-rc2/drivers/hid/intel-ish-hid/ishtp/
A Dhbm.c510 struct dma_xfer_hbm *prm = dma_xfer; in ishtp_hbm_dma_xfer() local
534 ishtp_write_message(dev, &hdr, (unsigned char *)prm); in ishtp_hbm_dma_xfer()
A Dclient.c636 static void ipc_tx_send(void *prm) in ipc_tx_send() argument
638 struct ishtp_cl *cl = prm; in ipc_tx_send()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c1496 flt->prm = (struct iommu_fault_page_request) { in arm_smmu_handle_evt()
1504 flt->prm.flags |= IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in arm_smmu_handle_evt()
1505 flt->prm.pasid = FIELD_GET(EVTQ_0_SSID, evt[0]); in arm_smmu_handle_evt()
1533 .pasid = flt->prm.pasid, in arm_smmu_handle_evt()
1534 .grpid = flt->prm.grpid, in arm_smmu_handle_evt()

Completed in 104 milliseconds

12