Home
last modified time | relevance | path

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

/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c32 int q6apm_send_cmd_sync(struct q6apm *apm, const struct gpr_pkt *pkt, in q6apm_send_cmd_sync() argument
35 gpr_device_t *gdev = apm->gdev; in q6apm_send_cmd_sync()
37 return audioreach_send_cmd_sync(&gdev->dev, gdev, &apm->result, &apm->lock, in q6apm_send_cmd_sync()
38 NULL, &apm->wait, pkt, rsp_opcode); in q6apm_send_cmd_sync()
41 static struct audioreach_graph *q6apm_get_audioreach_graph(struct q6apm *apm, uint32_t graph_id) in q6apm_get_audioreach_graph() argument
47 mutex_lock(&apm->lock); in q6apm_get_audioreach_graph()
48 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
49 mutex_unlock(&apm->lock); in q6apm_get_audioreach_graph()
56 info = idr_find(&apm->graph_info_idr, graph_id); in q6apm_get_audioreach_graph()
65 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 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, const 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()
701 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
775 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
803 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_module_enable()
851 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_mfc_set_media_format()
890 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_set_compr_media_format()
1066 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_i2s_set_media_format()
1141 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
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.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 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/x86/realmode/rm/
H A Dreboot.S116 apm: label
/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.h548 __u64 apm[APCB0_MASK_SIZE]; /* 0x0000 */ member
556 __u64 apm[APCB1_MASK_SIZE]; /* 0x0000 */ member
738 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm,
/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/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.rst656 See [white-paper]_, [api-spec]_, [amd-apm]_, [kvm-forum]_, and [snp-fw-abi]_
661 .. [amd-apm] https://docs.amd.com/v/u/en-US/24593_3.44_APM_Vol2 (section 15.34)
/linux/
H A DMAINTAINERS2012 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git
2014 F: drivers/char/apm-emulation.c
2059 F: arch/arm64/boot/dts/apm/
2064 F: Documentation/devicetree/bindings/edac/apm,xgene-edac.yaml
2071 F: drivers/net/ethernet/apm/xgene-v2/
2078 F: Documentation/devicetree/bindings/net/apm,xgene-enet.yaml
2079 F: Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml
2080 F: drivers/net/ethernet/apm/xgene/
2087 F: Documentation/devicetree/bindings/perf/apm,xgene-pmu.yaml
20739 F: Documentation/devicetree/bindings/pci/apm,xgene-pcie.yaml
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt550 apm= [APM] Advanced Power Management