Home
last modified time | relevance | path

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

12345678910

/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 …]
/linux/arch/arm64/boot/dts/apm/
H A Dapm-storm.dtsi3 * dts file for AppliedMicro (APM) X-Gene Storm SOC
9 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";
[all …]
H A Dapm-shadowcat.dtsi3 * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC
9 compatible = "apm,xgene-shadowcat";
20 compatible = "apm,strega";
30 compatible = "apm,strega";
40 compatible = "apm,strega";
50 compatible = "apm,strega";
60 compatible = "apm,strega";
70 compatible = "apm,strega";
80 compatible = "apm,strega";
90 compatible = "apm,strega";
[all …]
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/Documentation/devicetree/bindings/perf/
H A Dapm-xgene-pmu.txt1 * APM X-Gene SoC PMU bindings
3 This is APM X-Gene SoC PMU (Performance Monitoring Unit) module.
14 - compatible : Shall be "apm,xgene-pmu" for revision 1 or
15 "apm,xgene-pmu-v2" for revision 2.
23 - compatible : Shall be "apm,xgene-pmu-l3c".
27 - compatible : Shall be "apm,xgene-pmu-iob".
31 - compatible : Shall be "apm,xgene-pmu-mcb".
36 - compatible : Shall be "apm,xgene-pmu-mc".
42 compatible = "apm,xgene-csw", "syscon";
47 compatible = "apm,xgene-mcb", "syscon";
[all …]
/linux/Documentation/devicetree/bindings/edac/
H A Dapm-xgene-edac.txt1 * APM X-Gene SoC EDAC node
14 - compatible : Shall be "apm,xgene-edac".
28 - compatible : Shall be "apm,xgene-edac-mc".
34 - compatible : Shall be "apm,xgene-edac-pmd" or
35 "apm,xgene-edac-pmd-v2".
40 - compatible : Shall be "apm,xgene-edac-l3" or
41 "apm,xgene-edac-l3-v2".
45 - compatible : Shall be "apm,xgene-edac-soc-v1" for revision 1 or
46 "apm,xgene-edac-l3-soc" for general value reporting
52 compatible = "apm,xgene-csw", "syscon";
[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/devicetree/bindings/phy/
H A Dapm-xgene-phy.txt1 * APM X-Gene 15Gbps Multi-purpose PHY nodes
7 - compatible : Shall be "apm,xgene-phy".
17 - apm,tx-eye-tuning : Manual control to fine tune the capture of the serial
22 - apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample
27 - apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit)
31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for
35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of
39 - apm,tx-pre-cursor2 : 2nd pre-cursor emphasis taps control. Two set of
43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each
[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/clock/
H A Dxgene.txt1 Device Tree Clock bindings for APM X-Gene
9 "apm,xgene-socpll-clock" - for a X-Gene SoC PLL clock
10 "apm,xgene-pcppll-clock" - for a X-Gene PCP PLL clock
11 "apm,xgene-pmd-clock" - for a X-Gene PMD clock
12 "apm,xgene-device-clock" - for a X-Gene device clock
13 "apm,xgene-socpll-v2-clock" - for a X-Gene SoC PLL v2 clock
14 "apm,xgene-pcppll-v2-clock" - for a X-Gene PCP PLL v2 clock
63 compatible = "apm,xgene-pcppll-clock";
73 compatible = "apm,xgene-pmd-clock";
81 compatible = "apm,xgene-socpll-clock";
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dsyscon.yaml44 - apm,merlin-poweroff-mailbox
45 - apm,mustang-poweroff-mailbox
46 - apm,xgene-csw
47 - apm,xgene-efuse
48 - apm,xgene-mcb
49 - apm,xgene-rb
50 - apm,xgene-scu
141 - apm,merlin-poweroff-mailbox
142 - apm,mustang-poweroff-mailbox
143 - apm,xgene-csw
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-xgene-sb.txt1 APM X-Gene Standby GPIO controller bindings
20 - compatible: "apm,xgene-gpio-sb" for the X-Gene Standby GPIO controller
33 - apm,nr-gpios: Optional, specify number of gpios pin.
34 - apm,nr-irqs: Optional, specify number of interrupt pins.
35 - apm,irq-start: Optional, specify lowest gpio pin support interrupt.
39 compatible = "apm,xgene-gpio-sb";
52 apm,nr-gpios = <22>;
53 apm,nr-irqs = <6>;
54 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
157 * This allows machines to provide their own "apm get power status" function.
164 * APM event queue management.
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dapm-xgene-enet.txt1 APM X-Gene SoC Ethernet nodes
4 APM X-Gene SoC.
8 - "apm,xgene-enet": RGMII based 1G interface
9 - "apm,xgene1-sgenet": SGMII based 1G interface
10 - "apm,xgene1-xgenet": XFI based 10G interface
32 - compatible: Must be "apm,xgene-mdio".
56 compatible = "apm,xgene-device-clock";
62 compatible = "apm,xgene-enet";
75 compatible = "apm,xgene-mdio";
H A Dapm-xgene-mdio.txt1 APM X-Gene SoC MDIO node
6 - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi"
19 compatible = "apm,xgene-mdio-rgmii";
/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()
645 matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_update_guest_apcb()
706 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
716 bitmap_and(matrix_mdev->shadow_apcb.apm, matrix_mdev->matrix.apm, in vfio_ap_mdev_filter_matrix()
717 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
721 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
734 clear_bit_inv(apid, matrix_mdev->shadow_apcb.apm); in vfio_ap_mdev_filter_matrix()
749 return !bitmap_equal(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, in vfio_ap_mdev_filter_matrix()
827 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
858 unsigned long *apm, in vfio_ap_mdev_log_sharing_err() argument
[all …]
/linux/Documentation/devicetree/bindings/ata/
H A Dapm-xgene.txt1 * APM X-Gene 6.0 Gb/s SATA host controller nodes
8 * "apm,xgene-ahci"
40 compatible = "apm,xgene-phy";
46 compatible = "apm,xgene-phy";
52 compatible = "apm,xgene-ahci";
66 compatible = "apm,xgene-ahci-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 Dxgene-rtc.txt1 * APM X-Gene Real Time Clock
3 RTC controller for the APM X-Gene Real Time Clock
6 - compatible : Should be "apm,xgene-rtc"
23 compatible = "apm,xgene-rtc";
/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/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/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";

12345678910