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, 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); 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/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/arch/x86/boot/
H A DMakefile27 setup-$(CONFIG_X86_APM_BOOT) += apm.o
/linux/arch/s390/kvm/
H A Dkvm-s390.c3064 void kvm_arch_crypto_set_masks(struct kvm *kvm, unsigned long *apm, in kvm_arch_crypto_set_masks() argument
3073 memcpy(crycb->apcb1.apm, apm, 32); in kvm_arch_crypto_set_masks()
3075 apm[0], apm[1], apm[2], apm[3]); in kvm_arch_crypto_set_masks()
3085 memcpy(crycb->apcb0.apm, apm, 8); in kvm_arch_crypto_set_masks()
3089 apm[0], *((unsigned short *)aqm), in kvm_arch_crypto_set_masks()
/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/arch/arm64/boot/dts/exynos/
H A Dexynos850.dtsi293 compatible = "samsung,exynos850-cmu-apm";
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c994 if (MLX5_CAP_GEN(mdev, apm)) in mlx5_ib_query_device()
/linux/
H A DMAINTAINERS1909 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/apm.git
1911 F: drivers/char/apm-emulation.c
1956 F: arch/arm64/boot/dts/apm/
1961 F: Documentation/devicetree/bindings/edac/apm,xgene-edac.yaml
1968 F: drivers/net/ethernet/apm/xgene-v2/
1975 F: Documentation/devicetree/bindings/net/apm,xgene-enet.yaml
1976 F: Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml
1977 F: drivers/net/ethernet/apm/xgene/
1984 F: Documentation/devicetree/bindings/perf/apm,xgene-pmu.yaml
20136 F: Documentation/devicetree/bindings/pci/apm,xgene-pcie.yaml
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt536 apm= [APM] Advanced Power Management