Home
last modified time | relevance | path

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

/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c32 int q6apm_send_cmd_sync(struct q6apm *apm, struct gpr_pkt *pkt, in q6apm_send_cmd_sync() argument
35 gpr_device_t *gdev = apm->gdev; in q6apm_send_cmd_sync()
39 return audioreach_send_cmd_sync(&gdev->dev, gdev, &apm->result, &apm->lock, in q6apm_send_cmd_sync()
40 NULL, &apm->wait, pkt, rsp_opcode);
43 static struct audioreach_graph *q6apm_get_audioreach_graph(struct q6apm *apm, uint32_t graph_id) in q6apm_get_audioreach_graph()
49 mutex_lock(&apm->lock); in q6apm_get_audioreach_graph()
50 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
51 mutex_unlock(&apm->lock); in q6apm_get_audioreach_graph()
58 info = idr_find(&apm in q6apm_get_audioreach_graph()
41 q6apm_get_audioreach_graph(struct q6apm * apm,uint32_t graph_id) q6apm_get_audioreach_graph() argument
102 struct q6apm *apm = graph->apm; audioreach_graph_mgmt_cmd() local
127 struct q6apm *apm; q6apm_put_audioreach_graph() local
143 q6apm_get_apm_state(struct q6apm * apm) q6apm_get_apm_state() argument
164 __q6apm_find_module_by_mid(struct q6apm * apm,struct audioreach_graph_info * info,uint32_t mid) __q6apm_find_module_by_mid() argument
212 struct q6apm *apm = dev_get_drvdata(dev->parent); __q6apm_map_memory_fixed_region() local
326 struct q6apm *apm = dev_get_drvdata(dev->parent); __q6apm_unmap_memory_fixed_region() local
684 struct q6apm *apm = dev_get_drvdata(dev->parent); q6apm_is_graph_in_push_pull_mode_from_id() local
721 struct q6apm *apm = dev_get_drvdata(dev->parent); q6apm_graph_open() local
862 struct q6apm *apm; apm_probe() local
910 struct q6apm *apm = graph->apm; q6apm_find_module_by_mid() local
920 struct q6apm *apm = dev_get_drvdata(&gdev->dev); apm_callback() local
[all...]
H A Dtopology.c28 static struct audioreach_graph_info *audioreach_tplg_alloc_graph_info(struct q6apm *apm, in audioreach_tplg_alloc_graph_info() argument
35 mutex_lock(&apm->lock); in audioreach_tplg_alloc_graph_info()
36 info = idr_find(&apm->graph_info_idr, graph_id); in audioreach_tplg_alloc_graph_info()
37 mutex_unlock(&apm->lock); in audioreach_tplg_alloc_graph_info()
51 mutex_lock(&apm->lock); in audioreach_tplg_alloc_graph_info()
52 ret = idr_alloc_u32(&apm->graph_info_idr, info, &graph_id, graph_id, GFP_KERNEL); in audioreach_tplg_alloc_graph_info()
53 mutex_unlock(&apm->lock); in audioreach_tplg_alloc_graph_info()
56 dev_err(apm->dev, "Failed to allocate Graph ID (%x)\n", graph_id); in audioreach_tplg_alloc_graph_info()
74 static struct audioreach_sub_graph *audioreach_tplg_alloc_sub_graph(struct q6apm *apm, in audioreach_tplg_alloc_sub_graph() argument
85 mutex_lock(&apm in audioreach_tplg_alloc_sub_graph()
116 audioreach_tplg_alloc_container(struct q6apm * apm,struct audioreach_sub_graph * sg,uint32_t container_id,bool * found) audioreach_tplg_alloc_container() argument
162 audioreach_tplg_alloc_module(struct q6apm * apm,struct audioreach_container * cont,struct snd_soc_dapm_widget * w,uint32_t module_id,bool * found) audioreach_tplg_alloc_module() argument
336 audioreach_parse_sg_tokens(struct q6apm * apm,const struct snd_soc_tplg_private * private) audioreach_parse_sg_tokens() argument
393 audioreach_parse_cont_tokens(struct q6apm * apm,struct audioreach_sub_graph * sg,const struct snd_soc_tplg_private * private) audioreach_parse_cont_tokens() argument
438 audioreach_parse_common_tokens(struct q6apm * apm,struct audioreach_container * cont,const struct snd_soc_tplg_private * private,struct snd_soc_dapm_widget * w) audioreach_parse_common_tokens() argument
595 struct q6apm *apm = dev_get_drvdata(component->dev); audioreach_widget_load_module_common() local
869 struct q6apm *apm = dev_get_drvdata(c->dev); audioreach_pga_event() local
951 struct q6apm *apm = dev_get_drvdata(scomp->dev); audioreach_widget_unload() local
1006 struct q6apm *apm = dev_get_drvdata(comp->dev); audioreach_find_widget() local
1020 struct q6apm *apm = dev_get_drvdata(comp->dev); audioreach_find_module() local
1100 audioreach_connect_sub_graphs(struct q6apm * apm,const struct snd_ar_control * m1,const struct snd_ar_control * m2,bool connect) audioreach_connect_sub_graphs() argument
1125 audioreach_is_vmixer_connected(struct q6apm * apm,const struct snd_ar_control * m1,const struct snd_ar_control * m2) audioreach_is_vmixer_connected() argument
[all...]
H A Dq6apm.h93 struct q6apm *apm;
104 struct q6apm *apm;
150 int q6apm_send_cmd_sync(struct q6apm *apm, struct gpr_pkt *pkt,
92 struct q6apm *apm; global() member
102 struct q6apm *apm; global() member
H A Daudioreach.c407 static void audioreach_populate_graph(struct q6apm *apm, in audioreach_populate_graph()
482 void *audioreach_alloc_graph_pkt(struct q6apm *apm, in audioreach_alloc_graph_pkt()
587 audioreach_populate_graph(apm, info, &params, sg_list, num_sub_graphs); in audioreach_send_cmd_sync()
643 pkt->hdr.dest_domain = audioreach_gpr_dest_domain(graph->apm->gdev); in audioreach_display_port_set_media_format()
703 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
777 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
805 return q6apm_send_cmd_sync(graph->apm, pkt, 0);
853 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_mfc_set_media_format()
892 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_set_compr_media_format()
999 pkt->hdr.dest_domain = audioreach_gpr_dest_domain(graph->apm in audioreach_i2s_set_media_format()
368 audioreach_populate_graph(struct q6apm * apm,struct audioreach_graph_info * info,struct apm_graph_open_params * open,struct list_head * sg_list,int num_sub_graphs) audioreach_populate_graph() argument
442 audioreach_alloc_graph_pkt(struct q6apm * apm,struct audioreach_graph_info * info) audioreach_alloc_graph_pkt() argument
1220 audioreach_gain_set_vol_ctrl(struct q6apm * apm,struct audioreach_module * module,int vol) audioreach_gain_set_vol_ctrl() argument
[all...]
/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c164 if (test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm) && in get_update_locks_by_apqn()
670 matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_update_guest_apcb()
734 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
744 bitmap_and(matrix_mdev->shadow_apcb.apm, matrix_mdev->matrix.apm, in vfio_ap_mdev_filter_matrix()
745 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
749 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
762 clear_bit_inv(apid, matrix_mdev->shadow_apcb.apm); in vfio_ap_mdev_filter_matrix()
777 return !bitmap_equal(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_filter_matrix()
861 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICE in vfio_ap_mdev_unlink_fr_queues()
894 vfio_ap_mdev_log_sharing_err(struct ap_matrix_mdev * assignee,struct ap_matrix_mdev * assigned_to,unsigned long * apm,unsigned long * aqm) vfio_ap_mdev_log_sharing_err() argument
907 vfio_ap_mdev_log_in_use_err(struct ap_matrix_mdev * assignee,unsigned long * apm,unsigned long * aqm) vfio_ap_mdev_log_in_use_err() argument
2572 vfio_ap_mdev_resource_in_use(unsigned long * apm,unsigned long * aqm) vfio_ap_mdev_resource_in_use() argument
2726 vfio_ap_filter_apid_by_qtype(unsigned long * apm,unsigned long * aqm) vfio_ap_filter_apid_by_qtype() argument
[all...]
H A Dap_bus.c315 return ap_test_config(ap_qci_info->apm, id); in ap_test_config_card_id()
900 devres = test_bit_inv(card, ap_perms.apm) && in __ap_revise_reserved()
956 if (test_bit_inv(card, ap_perms.apm) && in ap_owned_by_def_drv()
977 int ap_apqn_in_matrix_owned_by_def_drv(unsigned long *apm, in ap_apqn_in_matrix_owned_by_def_drv() argument
983 if (test_bit_inv(card, apm)) in ap_apqn_in_matrix_owned_by_def_drv()
1017 devres = test_bit_inv(card, ap_perms.apm) && in ap_device_probe()
1400 ap_qci_info->apm[0], ap_qci_info->apm[1], in ap_adapter_mask_show()
1401 ap_qci_info->apm[2], ap_qci_info->apm[3], in ap_adapter_mask_show()
1402 ap_qci_info->apm[4], ap_qci_info->apm[5], in ap_adapter_mask_show()
1403 ap_qci_info->apm[6], ap_qci_info->apm[7]); in ap_adapter_mask_show()
[all …]
H A Dzcrypt_api.c205 for (i = 0; i < sizeof(zcdndev->perms.apm) / sizeof(long); i++) in apmask_show()
206 n += sysfs_emit_at(buf, n, "%016lx", zcdndev->perms.apm[i]); in apmask_show()
221 rc = ap_parse_mask_str(buf, zcdndev->perms.apm, in apmask_store()
568 return test_bit_inv(card, perms->apm) ? true : false; in zcrypt_check_card()
/linux/arch/arm64/boot/dts/apm/
H A DMakefile2 dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb
3 dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb
/linux/drivers/net/ethernet/apm/
H A DKconfig2 source "drivers/net/ethernet/apm/xgene/Kconfig"
3 source "drivers/net/ethernet/apm/xgene-v2/Kconfig"
/linux/Documentation/translations/zh_CN/power/
H A Dindex.rst22 * apm-acpi
/linux/drivers/input/
H A DMakefile30 obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o
/linux/arch/powerpc/boot/dts/
H A Dbluestone.dts6 * Author: Tirumala R Marri <tmarri@apm.com>
14 model = "apm,bluestone";
15 compatible = "apm,bluestone";
/linux/arch/x86/realmode/rm/
H A Dreboot.S116 apm: label
/linux/drivers/net/ethernet/
H A DMakefile20 obj-$(CONFIG_NET_XGENE) += apm/
H A DKconfig30 source "drivers/net/ethernet/apm/Kconfig"
/linux/arch/x86/boot/
H A DMakefile27 setup-$(CONFIG_X86_APM_BOOT) += apm.o
/linux/arch/s390/include/asm/
H A Dap.h255 unsigned int apm[8]; /* AP ID mask */ member
/linux/arch/s390/kvm/s390/
H A Ds390.c3122 * @apm: the mask identifying the accessible AP adapters
3132 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm, in kvm_arch_crypto_set_masks() argument
3141 memcpy(crycb->apcb1.apm, apm, 32); in kvm_arch_crypto_set_masks()
3142 VM_EVENT(kvm, 3, "SET CRYCB: apm %016lx %016lx %016lx %016lx", in kvm_arch_crypto_set_masks()
3143 apm[0], apm[1], apm[2], apm[3]); in kvm_arch_crypto_set_masks()
3153 memcpy(crycb->apcb0.apm, ap in kvm_arch_crypto_set_masks()
[all...]
/linux/arch/x86/kernel/
H A Dapm_32.c1687 static int apm(void *unused) in apm() function
2321 kapmd_task = kthread_create(apm, NULL, "kapmd"); in apm_init()
/linux/Documentation/virt/kvm/x86/
H A Damd-memory-encryption.rst662 See [white-paper]_, [api-spec]_, [amd-apm]_, [kvm-forum]_, and [snp-fw-abi]_
667 .. [amd-apm] https://docs.amd.com/v/u/en-US/24593_3.44_APM_Vol2 (section 15.34)
/linux/arch/x86/
H A DKconfig2725 reset after a RESUME operation, the /proc/apm device will provide
2730 BIOS by passing the "apm=off" option to the kernel at boot time.
2736 and more information, read <file:Documentation/power/apm-acpi.rst>
2768 module will be called apm.
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c995 if (MLX5_CAP_GEN(mdev, apm)) in mlx5_ib_query_device()
/linux/
H A DMAINTAINERS2105 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git
2107 F: drivers/char/apm-emulation.c
2152 F: arch/arm64/boot/dts/apm/
2156 F: Documentation/devicetree/bindings/edac/apm,xgene-edac.yaml
2163 F: drivers/net/ethernet/apm/xgene-v2/
2170 F: Documentation/devicetree/bindings/net/apm,xgene-enet.yaml
2171 F: Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml
2172 F: drivers/net/ethernet/apm/xgene/
2179 F: Documentation/devicetree/bindings/perf/apm,xgene-pmu.yaml
21376 F: Documentation/devicetree/bindings/pci/apm,xgen
[all...]
/linux/Documentation/filesystems/
H A Dproc.rst740 apm Advanced power management info
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt545 apm= [APM] Advanced Power Management