Home
last modified time | relevance | path

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

12

/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c32 int q6apm_send_cmd_sync(struct q6apm *apm, struct gpr_pkt *pkt, uint32_t rsp_opcode) in q6apm_send_cmd_sync() argument
34 gpr_device_t *gdev = apm->gdev; in q6apm_send_cmd_sync()
36 return audioreach_send_cmd_sync(&gdev->dev, gdev, &apm->result, &apm->lock, in q6apm_send_cmd_sync()
37 NULL, &apm->wait, pkt, rsp_opcode); in q6apm_send_cmd_sync()
40 static struct audioreach_graph *q6apm_get_audioreach_graph(struct q6apm *apm, uint32_t graph_id) in q6apm_get_audioreach_graph() argument
46 mutex_lock(&apm->lock); in q6apm_get_audioreach_graph()
47 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
48 mutex_unlock(&apm->lock); in q6apm_get_audioreach_graph()
55 info = idr_find(&apm->graph_info_idr, graph_id); in q6apm_get_audioreach_graph()
64 graph->apm = apm; in q6apm_get_audioreach_graph()
[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->lock); in audioreach_tplg_alloc_sub_graph()
[all …]
H A Dq6apm.h92 struct q6apm *apm; member
102 struct q6apm *apm; member
141 int q6apm_send_cmd_sync(struct q6apm *apm, struct gpr_pkt *pkt,
H A Daudioreach.c393 static void audioreach_populate_graph(struct q6apm *apm, in audioreach_populate_graph()
468 void *audioreach_alloc_graph_pkt(struct q6apm *apm, in audioreach_alloc_graph_pkt()
573 audioreach_populate_graph(apm, info, &params, sg_list, num_sub_graphs); in audioreach_send_cmd_sync()
687 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
755 return q6apm_send_cmd_sync(graph->apm, pkt, 0);
783 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_gapless_set_media_format()
831 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_mfc_set_media_format()
866 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_set_compr_media_format()
1042 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_pcm_set_media_format()
1071 return q6apm_send_cmd_sync(graph->apm, pk in audioreach_pcm_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
1142 audioreach_gain_set_vol_ctrl(struct q6apm * apm,struct audioreach_module * module,int vol) audioreach_gain_set_vol_ctrl() argument
[all...]
/linux/arch/arm64/boot/dts/apm/
H A Dapm-storm.dtsi9 compatible = "apm,xgene-storm";
20 compatible = "apm,potenza";
28 compatible = "apm,potenza";
36 compatible = "apm,potenza";
44 compatible = "apm,potenza";
52 compatible = "apm,potenza";
60 compatible = "apm,potenza";
68 compatible = "apm,potenza";
76 compatible = "apm,potenza";
133 compatible = "apm,potenza-pmu";
[all …]
H A Dapm-shadowcat.dtsi9 compatible = "apm,xgene-shadowcat";
20 compatible = "apm,strega";
29 compatible = "apm,strega";
38 compatible = "apm,strega";
47 compatible = "apm,strega";
56 compatible = "apm,strega";
65 compatible = "apm,strega";
74 compatible = "apm,strega";
83 compatible = "apm,strega";
228 compatible = "apm,xgene-slimpro-i2c";
[all …]
H A Dapm-merlin.dts10 /include/ "apm-shadowcat.dtsi"
14 compatible = "apm,merlin", "apm,xgene-shadowcat";
35 compatible = "apm,merlin-poweroff-mailbox", "syscon";
H A Dapm-mustang.dts10 /include/ "apm-storm.dtsi"
14 compatible = "apm,mustang", "apm,xgene-storm";
35 compatible = "apm,mustang-poweroff-mailbox", "syscon";
H A DMakefile2 dtb-$(CONFIG_ARCH_XGENE) += apm-mustang.dtb
3 dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb
/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c157 if (test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm) && in get_update_locks_by_apqn()
663 matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_update_guest_apcb()
727 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
737 bitmap_and(matrix_mdev->shadow_apcb.apm, matrix_mdev->matrix.apm, in vfio_ap_mdev_filter_matrix()
738 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
742 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
755 clear_bit_inv(apid, matrix_mdev->shadow_apcb.apm); in vfio_ap_mdev_filter_matrix()
770 return !bitmap_equal(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_filter_matrix()
849 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
882 unsigned long *apm, unsigned long *aqm) in vfio_ap_mdev_log_sharing_err() argument
[all …]
H A Dap_bus.c315 return ap_test_config(ap_qci_info->apm, id); in ap_test_config_card_id()
884 devres = test_bit_inv(card, ap_perms.apm) && in __ap_revise_reserved()
940 if (test_bit_inv(card, ap_perms.apm) && in ap_owned_by_def_drv()
961 int ap_apqn_in_matrix_owned_by_def_drv(unsigned long *apm, in ap_apqn_in_matrix_owned_by_def_drv() argument
967 if (test_bit_inv(card, apm)) in ap_apqn_in_matrix_owned_by_def_drv()
1000 devres = test_bit_inv(card, ap_perms.apm) && in ap_device_probe()
1383 ap_qci_info->apm[0], ap_qci_info->apm[1], in ap_adapter_mask_show()
1384 ap_qci_info->apm[2], ap_qci_info->apm[3], in ap_adapter_mask_show()
1385 ap_qci_info->apm[4], ap_qci_info->apm[5], in ap_adapter_mask_show()
1386 ap_qci_info->apm[6], ap_qci_info->apm[7]); in ap_adapter_mask_show()
[all …]
H A Dvfio_ap_private.h78 DECLARE_BITMAP(apm, AP_DEVICES);
161 int vfio_ap_mdev_resource_in_use(unsigned long *apm, unsigned long *aqm);
H A Dap_bus.h142 int (*in_use)(unsigned long *apm, unsigned long *aqm);
278 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)]; member
318 int ap_apqn_in_matrix_owned_by_def_drv(unsigned long *apm,
/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/power/
H A Dindex.rst10 apm-acpi
/linux/Documentation/translations/zh_CN/power/
H A Dindex.rst22 * apm-acpi
/linux/arch/arm64/boot/dts/
H A DMakefile9 subdir-y += apm
/linux/drivers/input/
H A DMakefile30 obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o
/linux/arch/x86/kernel/
H A DMakefile107 apm-y := apm_32.o
108 obj-$(CONFIG_APM) += apm.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/s390/include/asm/
H A Dkvm_host.h521 __u64 apm[APCB0_MASK_SIZE]; /* 0x0000 */ member
529 __u64 apm[APCB1_MASK_SIZE]; /* 0x0000 */ member
710 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm,
/linux/drivers/char/
H A DMakefile17 obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
/linux/arch/x86/realmode/rm/
H A Dreboot.S116 apm: label
/linux/drivers/net/ethernet/
H A DMakefile20 obj-$(CONFIG_NET_XGENE) += apm/
/linux/arch/x86/boot/
H A DMakefile27 setup-$(CONFIG_X86_APM_BOOT) += apm.o

12