Home
last modified time | relevance | path

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

12345678

/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 in q6apm_get_audioreach_graph()
101 struct q6apm *apm = graph->apm; audioreach_graph_mgmt_cmd() local
133 struct q6apm *apm; q6apm_put_audioreach_graph() local
149 q6apm_get_apm_state(struct q6apm * apm) q6apm_get_apm_state() argument
173 __q6apm_find_module_by_mid(struct q6apm * apm,struct audioreach_graph_info * info,uint32_t mid) __q6apm_find_module_by_mid() argument
624 struct q6apm *apm = dev_get_drvdata(dev->parent); q6apm_graph_open() local
740 struct q6apm *apm; apm_probe() local
778 struct q6apm *apm = graph->apm; q6apm_find_module_by_mid() local
787 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
308 audioreach_parse_sg_tokens(struct q6apm * apm,struct snd_soc_tplg_private * private) audioreach_parse_sg_tokens() argument
365 audioreach_parse_cont_tokens(struct q6apm * apm,struct audioreach_sub_graph * sg,struct snd_soc_tplg_private * private) audioreach_parse_cont_tokens() argument
410 audioreach_parse_common_tokens(struct q6apm * apm,struct audioreach_container * cont,struct snd_soc_tplg_private * private,struct snd_soc_dapm_widget * w) audioreach_parse_common_tokens() argument
575 struct q6apm *apm = dev_get_drvdata(component->dev); audioreach_widget_load_module_common() local
847 struct q6apm *apm = dev_get_drvdata(c->dev); audioreach_pga_event() local
929 struct q6apm *apm = dev_get_drvdata(scomp->dev); audioreach_widget_unload() local
983 struct q6apm *apm = dev_get_drvdata(comp->dev); audioreach_find_widget() local
997 struct q6apm *apm = dev_get_drvdata(comp->dev); audioreach_find_module() local
1077 audioreach_connect_sub_graphs(struct q6apm * apm,struct snd_ar_control * m1,struct snd_ar_control * m2,bool connect) audioreach_connect_sub_graphs() argument
1102 audioreach_is_vmixer_connected(struct q6apm * apm,struct snd_ar_control * m1,struct snd_ar_control * m2) audioreach_is_vmixer_connected() argument
[all...]
/linux/arch/x86/kernel/
H A Dapm_32.c3 * APM BIOS driver for Linux
13 * Make /proc/apm easy to format (bump driver version)
15 * Prohibit APM BIOS calls unless apm_enabled.
38 * 0.7: changed /proc/apm format, Linux 1.3.58
41 * 1.0: use fixed device number, consolidate /proc/apm into this file,
50 * levels to the printk calls. APM is not defined for SMP machines.
54 * 1.4: Upgraded to support APM 1.2. Integrated ThinkPad suspend patch by
62 * Fix OOPS at power off with no APM BIOS by Jan Echternach
66 * to reflect current state of APM BIOS.
72 * Allow boot time disabling of APM
[all …]
/linux/Documentation/power/
H A Dapm-acpi.rst2 APM or ACPI?
6 odds are it supports either Advanced Power Management (APM) or
10 is possible with BIOS controlled APM.
13 build a kernel with both ACPI and APM enabled (as of 2.3.x ACPI is
15 ACPI driver will override and disable APM, otherwise the APM driver
18 No, sorry, you cannot have both ACPI and APM enabled and running at
19 once. Some people with broken ACPI or broken APM implementations
26 Both APM and ACPI rely on user-space daemons, apmd and acpid
30 Go ahead and start both. If ACPI or APM is not available on your
/linux/Documentation/devicetree/bindings/phy/
H A Dapm,xgene-phy.yaml4 $id: http://devicetree.org/schemas/phy/apm,xgene-phy.yaml#
7 title: APM X-Gene 15Gbps Multi-purpose PHY
19 - const: apm,xgene-phy
32 apm,tx-eye-tuning:
49 apm,tx-eye-direction:
65 apm,tx-boost-gain:
80 apm,tx-amplitude:
95 apm,tx-pre-cursor1:
111 apm,tx-pre-cursor2:
126 apm,tx-post-cursor:
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dapm,xgene-gpio-sb.yaml4 $id: http://devicetree.org/schemas/apm,xgene-gpio-sb.yaml#
7 title: APM X-Gene Standby GPIO controller
31 const: apm,xgene-gpio-sb
53 apm,nr-gpios:
57 apm,nr-irqs:
61 apm,irq-start:
79 compatible = "apm,xgene-gpio-sb";
91 apm,nr-gpios = <22>;
92 apm,nr-irqs = <6>;
93 apm,irq-start = <8>;
/linux/drivers/char/
H A Dapm-emulation.c3 * bios-less APM driver for ARM Linux
5 * adapted from the APM BIOS driver for Linux by Stephen Rothwell (sfr@linuxcare.com)
7 * APM 1.2 Reference:
9 * (APM) BIOS Interface Specification, Revision 1.2, February 1996.
25 #include <linux/apm-emulation.h>
37 * apm=on/off enable/disable APM
101 * The per-file APM data
135 * "APM" events within - specifically necessary if we're going
154 * This allows machines to provide their own "apm get power status" function.
161 * APM event queue management.
[all …]
/linux/Documentation/devicetree/bindings/ata/
H A Dapm,xgene-ahci.yaml4 $id: http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#
7 title: APM X-Gene 6.0 Gb/s SATA host controller
15 - apm,xgene-ahci
16 - apm,xgene-ahci-v2
44 const: apm,xgene-ahci
54 compatible = "apm,xgene-ahci";
/linux/arch/arm64/boot/dts/apm/
H A Dapm-mustang.dts3 * dts file for AppliedMicro (APM) Mustang Board
10 /include/ "apm-storm.dtsi"
13 model = "APM X-Gene Mustang board";
14 compatible = "apm,mustang", "apm,xgene-storm";
35 compatible = "apm,mustang-poweroff-mailbox", "syscon";
H A Dapm-merlin.dts3 * dts file for AppliedMicro (APM) Merlin Board
10 /include/ "apm-shadowcat.dtsi"
13 model = "APM X-Gene Merlin board";
14 compatible = "apm,merlin", "apm,xgene-shadowcat";
35 compatible = "apm,merlin-poweroff-mailbox", "syscon";
/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 …]
/linux/Documentation/devicetree/bindings/pci/
H A Dapm,xgene-pcie.yaml4 $id: http://devicetree.org/schemas/pci/apm,xgene-pcie.yaml#
19 - const: apm,xgene-storm-pcie
20 - const: apm,xgene-pcie
22 - const: apm,xgene-pcie
64 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
/linux/Documentation/devicetree/bindings/hwmon/
H A Dapm-xgene-hwmon.txt1 APM X-Gene hwmon driver
3 APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox.
6 - compatible : should be "apm,xgene-slimpro-hwmon"
12 compatible = "apm,xgene-slimpro-hwmon";
/linux/Documentation/devicetree/bindings/rtc/
H A Dapm,xgene-rtc.yaml4 $id: http://devicetree.org/schemas/rtc/apm,xgene-rtc.yaml#
7 title: APM X-Gene Real Time Clock
14 const: apm,xgene-rtc
40 compatible = "apm,xgene-rtc";
/linux/Documentation/devicetree/bindings/rng/
H A Dapm,x-gene-rng.yaml4 $id: http://devicetree.org/schemas/rng/apm,x-gene-rng.yaml#
7 title: APM X-Gene SoC Random Number Generator
14 const: apm,xgene-rng
42 compatible = "apm,xgene-rng";
/linux/drivers/input/
H A Dapm-power.c3 * Input Power Event -> APM Bridge
17 #include <linux/apm-emulation.h>
61 handle->name = "apm-power"; in apmpower_connect()
103 .name = "apm-power",
121 MODULE_DESCRIPTION("Input Power Event -> APM Bridge");
/linux/drivers/macintosh/
H A Dapm_emu.c3 * APM emulation for PMU-based machines
10 #include <linux/apm-emulation.h>
90 printk(KERN_INFO "apm_emu: PMU APM Emulation initialized.\n"); in apm_emu_init()
100 printk(KERN_INFO "apm_emu: PMU APM Emulation removed.\n"); in apm_emu_exit()
107 MODULE_DESCRIPTION("APM emulation for PowerMac");
/linux/Documentation/devicetree/bindings/dma/
H A Dapm-xgene-dma.txt4 APM X-Gene SoC.
7 - compatible: Should be "apm,xgene-dma".
25 compatible = "apm,xgene-device-clock";
34 compatible = "apm,xgene-storm-dma";
/linux/include/linux/
H A Dapm_bios.h3 * Include file for the interface to an APM BIOS
16 /* Results of APM Installation Check */
24 * Data for APM that is persistent across module unload/load
38 * The APM function codes
H A Dapm-emulation.h6 * based on arch/arm/kernel/apm.c
8 * apm status
52 * This allows machines to provide their own "apm get power status" function.
/linux/drivers/power/reset/
H A Dxgene-reboot.c6 * Author: Feng Kan <fkan@apm.com>
7 * Author: Loc Ho <lho@apm.com>
9 * This driver provides system reboot functionality for APM X-Gene SoC.
72 { .compatible = "apm,xgene-reboot" },
/linux/arch/x86/boot/
H A Dapm.c8 * Original APM BIOS checking by Stephen Rothwell, May 1994
14 * Get APM BIOS information
23 /* APM BIOS installation check */ in query_apm_bios()
29 return -1; /* No APM BIOS */ in query_apm_bios()
/linux/drivers/mailbox/
H A Dmailbox-xgene-slimpro.c3 * APM X-Gene SLIMpro MailBox Driver
6 * Author: Feng Kan fkan@apm.com
215 "APM X-Gene SLIMpro MailBox register failed:%d\n", rc); in slimpro_mbox_probe()
219 dev_info(&pdev->dev, "APM X-Gene SLIMpro MailBox registered\n"); in slimpro_mbox_probe()
224 {.compatible = "apm,xgene-slimpro-mbox" },
259 MODULE_DESCRIPTION("APM X-Gene SLIMpro Mailbox Driver");
/linux/Documentation/devicetree/bindings/mailbox/
H A Dxgene-slimpro-mailbox.txt1 The APM X-Gene SLIMpro mailbox is used to communicate messages between
10 - compatible: Should be as "apm,xgene-slimpro-mbox".
24 compatible = "apm,xgene-slimpro-mbox";
/linux/drivers/rtc/
H A Drtc-xgene.c3 * APM X-Gene SoC Real Time Clock Driver
6 * Author: Rameshwar Prasad Sahu <rsahu@apm.com>
7 * Loc Ho <lho@apm.com>
258 {.compatible = "apm,xgene-rtc" },
276 MODULE_DESCRIPTION("APM X-Gene SoC RTC driver");
277 MODULE_AUTHOR("Rameshwar Sahu <rsahu@apm.com>");

12345678