Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/usb/gadget/function/
Du_audio.c156 struct uac_rtd_params *prm = req->context; in u_audio_iso_complete() local
157 struct snd_uac_chip *uac = prm->uac; in u_audio_iso_complete()
163 if (!prm->ep_enabled) { in u_audio_iso_complete()
179 substream = prm->ss; in u_audio_iso_complete()
202 pitched_rate_mil = (unsigned long long) prm->srate * prm->pitch; in u_audio_iso_complete()
209 prm->srate, prm->pitch, p_interval_mil, frames); in u_audio_iso_complete()
242 hw_ptr = prm->hw_ptr; in u_audio_iso_complete()
268 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()
269 hw_ptr = prm->hw_ptr; in u_audio_iso_complete()
283 struct uac_rtd_params *prm = req->context; in u_audio_iso_fback_complete() local
[all …]
/linux-6.12.1/drivers/pmdomain/ti/
Domap_prm.c39 struct omap_prm *prm; member
74 struct omap_prm *prm; member
508 readl_relaxed(prmd->prm->base + prmd->pwrstctrl), in omap_prm_domain_show_state()
509 readl_relaxed(prmd->prm->base + prmd->pwrstst)); in omap_prm_domain_show_state()
533 v = readl_relaxed(prmd->prm->base + prmd->pwrstctrl); in omap_prm_domain_power_on()
535 if (prmd->prm->data->flags & OMAP_PRM_RET_WHEN_IDLE) in omap_prm_domain_power_on()
541 prmd->prm->base + prmd->pwrstctrl); in omap_prm_domain_power_on()
544 ret = readl_relaxed_poll_timeout(prmd->prm->base + prmd->pwrstst, in omap_prm_domain_power_on()
574 v = readl_relaxed(prmd->prm->base + prmd->pwrstctrl); in omap_prm_domain_power_off()
587 writel_relaxed(v, prmd->prm->base + prmd->pwrstctrl); in omap_prm_domain_power_off()
[all …]
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6prm.c52 static int q6prm_send_cmd_sync(struct q6prm *prm, struct gpr_pkt *pkt, uint32_t rsp_opcode) in q6prm_send_cmd_sync() argument
54 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()
142 rc = q6prm_send_cmd_sync(prm, pkt, PRM_CMD_RSP_REQUEST_HW_RSC); in q6prm_request_lpass_clock()
152 struct q6prm *prm = dev_get_drvdata(dev->parent); in q6prm_release_lpass_clock() local
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/arm/omap/
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";
Dprcm.txt15 "ti,omap3-prm"
18 "ti,omap4-prm"
21 "ti,omap5-prm"
25 "ti,dra7-prm"
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap4.dtsi760 &prm {
761 prm_mpu: prm@300 {
762 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
767 prm_tesla: prm@400 {
768 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
774 prm_abe: prm@500 {
775 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
780 prm_always_on_core: prm@600 {
781 compatible = "ti,omap4-prm-inst", "ti,omap-prm-inst";
786 prm_core: prm@700 {
[all …]
Domap5.dtsi735 &prm {
736 prm_mpu: prm@300 {
737 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
742 prm_dsp: prm@400 {
743 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
749 prm_abe: prm@500 {
750 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
755 prm_coreaon: prm@600 {
756 compatible = "ti,omap5-prm-inst", "ti,omap-prm-inst";
761 prm_core: prm@700 {
[all …]
Ddra7.dtsi1213 &prm {
1214 prm_mpu: prm@300 {
1215 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1220 prm_dsp1: prm@400 {
1221 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1227 prm_ipu: prm@500 {
1228 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1234 prm_coreaon: prm@628 {
1235 compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1240 prm_core: prm@700 {
[all …]
Dam4372.dtsi736 prm_mpu: prm@300 {
737 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
742 prm_gfx: prm@400 {
743 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
749 prm_rtc: prm@500 {
750 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
755 prm_tamper: prm@600 {
756 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
761 prm_cefuse: prm@700 {
762 compatible = "ti,am4-prm-inst", "ti,omap-prm-inst";
[all …]
Dam33xx.dtsi656 prm_per: prm@c00 {
657 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
663 prm_wkup: prm@d00 {
664 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
670 prm_mpu: prm@e00 {
671 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
676 prm_device: prm@f00 {
677 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
682 prm_rtc: prm@1000 {
683 compatible = "ti,am3-prm-inst", "ti,omap-prm-inst";
[all …]
Domap3.dtsi212 prm: prm@48306000 { label
213 compatible = "ti,omap3-prm";
/linux-6.12.1/drivers/iommu/amd/
Dppr.c128 event.fault.prm.perm = ppr_flag_to_fault_perm(PPR_FLAGS(raw[0])); in iommu_call_iopf_notifier()
129 event.fault.prm.addr = (u64)(raw[1] & PAGE_MASK); in iommu_call_iopf_notifier()
130 event.fault.prm.pasid = PPR_PASID(raw[0]); in iommu_call_iopf_notifier()
131 event.fault.prm.grpid = PPR_TAG(raw[0]) & 0x1FF; in iommu_call_iopf_notifier()
138 if (event.fault.prm.pasid == 0 || in iommu_call_iopf_notifier()
139 event.fault.prm.pasid >= dev_data->max_pasids) { in iommu_call_iopf_notifier()
141 event.fault.prm.pasid, pdev->dev.id); in iommu_call_iopf_notifier()
145 event.fault.prm.flags |= IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID; in iommu_call_iopf_notifier()
146 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in iommu_call_iopf_notifier()
148 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in iommu_call_iopf_notifier()
/linux-6.12.1/drivers/iommu/
Dio-pgfault.c47 if (!(iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) in __iopf_free_group()
106 if (iopf->fault.prm.grpid == evt->fault.prm.grpid) in iopf_group_alloc()
124 if (fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID) { in find_fault_handler()
126 fault->prm.pasid, 0); in find_fault_handler()
163 .pasid = fault->prm.pasid, in iopf_error_response()
164 .grpid = fault->prm.grpid, in iopf_error_response()
234 if (!(fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_report_device_fault()
269 fault->prm.pasid); in iommu_report_device_fault()
330 .pasid = iopf->fault.prm.pasid, in iopf_group_response()
331 .grpid = iopf->fault.prm.grpid, in iopf_group_response()
[all …]
Diommu-sva.c215 struct iommu_fault_page_request *prm = &fault->prm; in iommu_sva_handle_mm() local
218 if (!(prm->flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID)) in iommu_sva_handle_mm()
226 vma = vma_lookup(mm, prm->addr); in iommu_sva_handle_mm()
231 if (prm->perm & IOMMU_FAULT_PERM_READ) in iommu_sva_handle_mm()
234 if (prm->perm & IOMMU_FAULT_PERM_WRITE) { in iommu_sva_handle_mm()
239 if (prm->perm & IOMMU_FAULT_PERM_EXEC) { in iommu_sva_handle_mm()
244 if (!(prm->perm & IOMMU_FAULT_PERM_PRIV)) in iommu_sva_handle_mm()
251 ret = handle_mm_fault(vma, prm->addr, fault_flags, NULL); in iommu_sva_handle_mm()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_target.c1672 struct qla_tgt_sess_work_param *prm; in qlt_sched_sess_work() local
1675 prm = kzalloc(sizeof(*prm), GFP_ATOMIC); in qlt_sched_sess_work()
1676 if (!prm) { in qlt_sched_sess_work()
1686 type, prm, param, param_size, tgt); in qlt_sched_sess_work()
1688 prm->type = type; in qlt_sched_sess_work()
1689 memcpy(&prm->tm_iocb, param, param_size); in qlt_sched_sess_work()
1692 list_add_tail(&prm->sess_works_list_entry, &tgt->sess_works_list); in qlt_sched_sess_work()
2430 static int qlt_pci_map_calc_cnt(struct qla_tgt_prm *prm) in qlt_pci_map_calc_cnt() argument
2432 struct qla_tgt_cmd *cmd = prm->cmd; in qlt_pci_map_calc_cnt()
2436 prm->sg = (struct scatterlist *)cmd->sg; in qlt_pci_map_calc_cnt()
[all …]
/linux-6.12.1/drivers/iommu/intel/
Dsvm.c392 event.fault.prm.addr = (u64)desc->addr << VTD_PAGE_SHIFT; in intel_svm_prq_report()
393 event.fault.prm.pasid = desc->pasid; in intel_svm_prq_report()
394 event.fault.prm.grpid = desc->prg_index; in intel_svm_prq_report()
395 event.fault.prm.perm = prq_to_iommu_prot(desc); in intel_svm_prq_report()
398 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_prq_report()
400 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in intel_svm_prq_report()
401 event.fault.prm.flags |= IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID; in intel_svm_prq_report()
532 struct iommu_fault_page_request *prm; in intel_svm_page_response() local
538 prm = &evt->fault.prm; in intel_svm_page_response()
540 pasid_present = prm->flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in intel_svm_page_response()
[all …]
/linux-6.12.1/drivers/block/zram/
Dbackend_zstd.c62 zstd_compression_parameters prm; in zstd_setup_params() local
78 prm = zstd_get_cparams(params->level, PAGE_SIZE, in zstd_setup_params()
83 prm, in zstd_setup_params()
131 zstd_parameters prm; in zstd_create() local
140 prm = zstd_get_params(params->level, PAGE_SIZE); in zstd_create()
141 sz = zstd_cctx_workspace_bound(&prm.cParams); in zstd_create()
/linux-6.12.1/drivers/atm/
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()
212 prm.port = SOLOS_CHAN(atmdev); in solos_param_show()
215 list_add(&prm.list, &card->param_queue); in solos_param_show()
218 fpga_queue(card, prm.port, skb, NULL); in solos_param_show()
220 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); in solos_param_show()
223 list_del(&prm.list); in solos_param_show()
226 if (!prm.response) in solos_param_show()
229 buflen = prm.response->len; in solos_param_show()
[all …]
/linux-6.12.1/sound/soc/fsl/
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.12.1/drivers/iommu/iommufd/
Dfault.c230 hwpt_fault->flags = fault->prm.flags; in iommufd_compose_fault_message()
232 hwpt_fault->pasid = fault->prm.pasid; in iommufd_compose_fault_message()
233 hwpt_fault->grpid = fault->prm.grpid; in iommufd_compose_fault_message()
234 hwpt_fault->perm = fault->prm.perm; in iommufd_compose_fault_message()
235 hwpt_fault->addr = fault->prm.addr; in iommufd_compose_fault_message()
Dselftest.c1417 event.fault.prm.flags = IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in iommufd_test_trigger_iopf()
1419 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in iommufd_test_trigger_iopf()
1421 event.fault.prm.addr = cmd->trigger_iopf.addr; in iommufd_test_trigger_iopf()
1422 event.fault.prm.pasid = cmd->trigger_iopf.pasid; in iommufd_test_trigger_iopf()
1423 event.fault.prm.grpid = cmd->trigger_iopf.grpid; in iommufd_test_trigger_iopf()
1424 event.fault.prm.perm = cmd->trigger_iopf.perm; in iommufd_test_trigger_iopf()
/linux-6.12.1/drivers/ras/amd/atl/
DMakefile18 amd_atl-$(CONFIG_AMD_ATL_PRM) += prm.o
/linux-6.12.1/include/sound/
Dtas2781-dsp.h187 int tasdevice_select_tuningprm_cfg(void *context, int prm,
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c134 u32 msg_idx, prm; in __smu_cmn_reg_print_error() local
139 prm = RREG32(smu->param_reg); in __smu_cmn_reg_print_error()
142 msg_idx, prm); in __smu_cmn_reg_print_error()
/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/
Dhbm.c511 struct dma_xfer_hbm *prm = dma_xfer; in ishtp_hbm_dma_xfer() local
535 ishtp_write_message(dev, &hdr, (unsigned char *)prm); in ishtp_hbm_dma_xfer()

12