Home
last modified time | relevance | path

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

12

/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.h92 struct q6apm *apm; member
103 struct q6apm *apm;
145 int q6apm_send_cmd_sync(struct q6apm *apm, const struct gpr_pkt *pkt,
102 struct q6apm *apm; global() member
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); in audioreach_send_u32_param()
783 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
831 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_set_module_config()
866 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_mfc_set_media_format()
1042 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_i2s_set_media_format()
1071 return q6apm_send_cmd_sync(graph->apm, pk in audioreach_logging_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/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
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/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
711 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm,
/linux/arch/x86/realmode/rm/
H A Dreboot.S116 apm: label
/linux/drivers/net/ethernet/
H A DMakefile19 obj-$(CONFIG_NET_XGENE) += apm/
H A DKconfig29 source "drivers/net/ethernet/apm/Kconfig"
/linux/arch/x86/boot/
H A DMakefile27 setup-$(CONFIG_X86_APM_BOOT) += apm.o
/linux/arch/s390/kvm/
H A Dvsie.c173 apcb_s->apm[0] = apcb_h->apm[0] & tmp.apm[0]; in setup_apcb10()
H A Dkvm-s390.c3069 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm, in kvm_arch_crypto_set_masks() argument
3078 memcpy(crycb->apcb1.apm, apm, 32); in kvm_arch_crypto_set_masks()
3080 apm[0], apm[1], apm[2], apm[3]); in kvm_arch_crypto_set_masks()
3090 memcpy(crycb->apcb0.apm, apm, 8); in kvm_arch_crypto_set_masks()
3094 apm[0], *((unsigned short *)aqm), in kvm_arch_crypto_set_masks()
/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/arch/arm64/boot/dts/exynos/
H A Dexynos850.dtsi293 compatible = "samsung,exynos850-cmu-apm";
/linux/arch/x86/
H A DKconfig2752 reset after a RESUME operation, the /proc/apm device will provide
2757 BIOS by passing the "apm=off" option to the kernel at boot time.
2763 and more information, read <file:Documentation/power/apm-acpi.rst>
2797 module will be called apm.
/linux/
H A DMAINTAINERS1924 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git
1926 F: drivers/char/apm-emulation.c
1971 F: arch/arm64/boot/dts/apm/
1976 F: Documentation/devicetree/bindings/edac/apm,xgene-edac.yaml
1983 F: drivers/net/ethernet/apm/xgene-v2/
1990 F: Documentation/devicetree/bindings/net/apm,xgene-enet.yaml
1991 F: Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml
1992 F: drivers/net/ethernet/apm/xgene/
1999 F: Documentation/devicetree/bindings/perf/apm,xgene-pmu.yaml
20348 F: Documentation/devicetree/bindings/pci/apm,xgene-pcie.yaml
[all …]

12