Home
last modified time | relevance | path

Searched +full:platform +full:- +full:name (Results 1 – 25 of 1122) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/drivers/base/
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0
3 * platform.c - platform 'pseudo' bus for legacy devices
5 * Copyright (c) 2002-3 Patrick Mochel
6 * Copyright (c) 2002-3 Open Source Development Labs
8 * Please see Documentation/driver-api/driver-model/platform.rst for more
18 #include <linux/dma-mapping.h>
26 #include <linux/clk/clk-conf.h>
39 .init_name = "platform",
44 * platform_get_resource - get a resource for a device
45 * @dev: platform device
[all …]
/kernel/linux/linux-6.6/drivers/base/
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0
3 * platform.c - platform 'pseudo' bus for legacy devices
5 * Copyright (c) 2002-3 Patrick Mochel
6 * Copyright (c) 2002-3 Open Source Development Labs
8 * Please see Documentation/driver-api/driver-model/platform.rst for more
20 #include <linux/dma-mapping.h>
28 #include <linux/clk/clk-conf.h>
34 #include <linux/dma-map-ops.h>
43 .init_name = "platform",
48 * platform_get_resource - get a resource for a device
[all …]
/kernel/linux/linux-5.10/arch/sh/drivers/
Dplatform_early.c1 // SPDX--License-Identifier: GPL-2.0
14 while (id->name[0]) { in platform_match_id()
15 if (strcmp(pdev->name, id->name) == 0) { in platform_match_id()
16 pdev->id_entry = id; in platform_match_id()
30 if (pdev->driver_override) in platform_match()
31 return !strcmp(pdev->driver_override, drv->name); in platform_match()
34 if (pdrv->id_table) in platform_match()
35 return platform_match_id(pdrv->id_table, pdev) != NULL; in platform_match()
37 /* fall-back to driver name match */ in platform_match()
38 return (strcmp(pdev->name, drv->name) == 0); in platform_match()
[all …]
/kernel/linux/linux-6.6/arch/sh/drivers/
Dplatform_early.c1 // SPDX--License-Identifier: GPL-2.0
14 while (id->name[0]) { in platform_match_id()
15 if (strcmp(pdev->name, id->name) == 0) { in platform_match_id()
16 pdev->id_entry = id; in platform_match_id()
30 if (pdev->driver_override) in platform_match()
31 return !strcmp(pdev->driver_override, drv->name); in platform_match()
34 if (pdrv->id_table) in platform_match()
35 return platform_match_id(pdrv->id_table, pdev) != NULL; in platform_match()
37 /* fall-back to driver name match */ in platform_match()
38 return (strcmp(pdev->name, drv->name) == 0); in platform_match()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-s3c/
Dsdhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * S3C Platform - SDHCI (HSMMC) platform data definitions
17 #include <linux/platform_data/mmc-sdhci-s3c.h>
20 /* s3c_sdhci_set_platdata() - common helper for setting SDHCI platform data
21 * @pd: The default platform data for this device.
22 * @set: Pointer to the platform data to fill in.
28 * s3c_sdhci0_set_platdata - Set platform data for S3C SDHCI device.
29 * @pd: Platform data to register to device.
31 * Register the given platform data for use withe S3C SDHCI device.
32 * The call will copy the platform data, so the board definitions can
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dkbl_da7219_max98927.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include "../../codecs/da7219-aad.h"
24 #define KBL_DIALOG_CODEC_DAI "da7219-hifi"
25 #define MAX98927_CODEC_DAI "max98927-aif1"
26 #define MAX98927_DEV0_NAME "i2c-MX98927:00"
27 #define MAX98927_DEV1_NAME "i2c-MX98927:01"
29 #define MAX98373_CODEC_DAI "max98373-aif1"
30 #define MAX98373_DEV0_NAME "i2c-MX98373:00"
31 #define MAX98373_DEV1_NAME "i2c-MX98373:01"
67 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
[all …]
Dsof_da7219_max98373.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <sound/soc-acpi.h>
16 #include "../../codecs/da7219-aad.h"
19 #define DIALOG_CODEC_DAI "da7219-hifi"
20 #define MAX98373_CODEC_DAI "max98373-aif1"
21 #define MAXIM_DEV0_NAME "i2c-MX98373:00"
22 #define MAXIM_DEV1_NAME "i2c-MX98373:01"
39 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
40 struct snd_soc_card *card = dapm->card; in platform_clock_control()
46 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
[all …]
Dkbl_rt5663_max98927.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <sound/soc-acpi.h>
24 #include <linux/clk-provider.h>
27 #define KBL_REALTEK_CODEC_DAI "rt5663-aif"
28 #define KBL_MAXIM_CODEC_DAI "max98927-aif1"
29 #define DMIC_CH(p) p->list[p->count-1]
30 #define MAXIM_DEV0_NAME "i2c-MX98927:00"
31 #define MAXIM_DEV1_NAME "i2c-MX98927:01"
72 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
73 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]
Dskl_nau88l25_max98357a.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/soc-acpi.h>
20 #define SKL_NUVOTON_CODEC_DAI "nau8825-hifi"
22 #define DMIC_CH(p) p->list[p->count-1]
52 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
53 struct snd_soc_card *card = dapm->card; in platform_clock_control()
59 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
60 return -EIO; in platform_clock_control()
67 dev_err(card->dev, "set sysclk err = %d\n", ret); in platform_clock_control()
68 return -EIO; in platform_clock_control()
[all …]
Dbxt_rt298.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel Broxton-P I2S Machine Driver
5 * Copyright (C) 2014-2016, Intel Corporation. All rights reserved.
16 #include <sound/soc-acpi.h>
81 /* HP jack connectors - unknown if we have jack detect */
91 {"HDMI1", NULL, "hif5-0 Output"},
92 {"HDMI2", NULL, "hif6-0 Output"},
93 {"HDMI2", NULL, "hif7-0 Output"},
119 /* HP jack connectors - unknown if we have jack detect */
129 {"HDMI1", NULL, "hif5-0 Output"},
[all …]
Dskl_rt286.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2015, Intel Corporation. All rights reserved.
81 /* HP jack connectors - unknown if we have jack deteck */
115 struct snd_soc_component *component = asoc_rtd_to_cpu(rtd, 0)->component; in skylake_rt286_fe_init()
125 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in skylake_rt286_codec_init()
128 ret = snd_soc_card_jack_new(rtd->card, "Headset", in skylake_rt286_codec_init()
138 snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); in skylake_rt286_codec_init()
145 struct skl_rt286_private *ctx = snd_soc_card_get_drvdata(rtd->card); in skylake_hdmi_init()
149 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi_init()
151 return -ENOMEM; in skylake_hdmi_init()
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-platform1 What: /sys/bus/platform/devices/.../driver_override
6 will override standard OF, ACPI, ID table, and name matching.
7 When specified, only a driver with a name matching the value
10 to the driver_override file (echo vfio-platform > \
16 driver with a matching name is currently loaded in the kernel,
18 devices to opt-out of driver binding using a driver_override
19 name such as "none". Only a single driver may be specified in
22 What: /sys/bus/platform/devices/.../numa_node
26 This file contains the NUMA node to which the platform device
32 What: /sys/bus/platform/devices/.../msi_irqs/
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dsdhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * S3C Platform - SDHCI (HSMMC) platform data definitions
17 #include <linux/platform_data/mmc-sdhci-s3c.h>
20 /* s3c_sdhci_set_platdata() - common helper for setting SDHCI platform data
21 * @pd: The default platform data for this device.
22 * @set: Pointer to the platform data to fill in.
28 * s3c_sdhci0_set_platdata - Set platform data for S3C SDHCI device.
29 * @pd: Platform data to register to device.
31 * Register the given platform data for use withe S3C SDHCI device.
32 * The call will copy the platform data, so the board definitions can
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dkbl_da7219_max98927.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #define KBL_DIALOG_CODEC_DAI "da7219-hifi"
24 #define MAX98927_CODEC_DAI "max98927-aif1"
25 #define MAX98927_DEV0_NAME "i2c-MX98927:00"
26 #define MAX98927_DEV1_NAME "i2c-MX98927:01"
28 #define MAX98373_CODEC_DAI "max98373-aif1"
29 #define MAX98373_DEV0_NAME "i2c-MX98373:00"
30 #define MAX98373_DEV1_NAME "i2c-MX98373:01"
66 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
67 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]
Dsof_da7219_max98373.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <sound/soc-acpi.h>
19 #define DIALOG_CODEC_DAI "da7219-hifi"
20 #define MAX98373_CODEC_DAI "max98373-aif1"
21 #define MAXIM_DEV0_NAME "i2c-MX98373:00"
22 #define MAXIM_DEV1_NAME "i2c-MX98373:01"
39 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
40 struct snd_soc_card *card = dapm->card; in platform_clock_control()
46 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
47 return -EIO; in platform_clock_control()
[all …]
Dkbl_rt5663_max98927.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <sound/soc-acpi.h>
24 #include <linux/clk-provider.h>
27 #define KBL_REALTEK_CODEC_DAI "rt5663-aif"
28 #define KBL_MAXIM_CODEC_DAI "max98927-aif1"
29 #define DMIC_CH(p) p->list[p->count-1]
30 #define MAXIM_DEV0_NAME "i2c-MX98927:00"
31 #define MAXIM_DEV1_NAME "i2c-MX98927:01"
72 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
73 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]
Dbxt_rt298.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel Broxton-P I2S Machine Driver
5 * Copyright (C) 2014-2016, Intel Corporation. All rights reserved.
16 #include <sound/soc-acpi.h>
81 /* HP jack connectors - unknown if we have jack detect */
91 {"HDMI1", NULL, "hif5-0 Output"},
92 {"HDMI2", NULL, "hif6-0 Output"},
93 {"HDMI2", NULL, "hif7-0 Output"},
119 /* HP jack connectors - unknown if we have jack detect */
129 {"HDMI1", NULL, "hif5-0 Output"},
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Dplatform.rst2 Platform Devices and Drivers
6 platform bus: platform_device, and platform_driver. This pseudo-bus
8 like those used to integrate peripherals on many system-on-chip
13 Platform devices
15 Platform devices are devices that typically appear as autonomous
16 entities in the system. This includes legacy port-based devices and
18 into system-on-chip platforms. What they usually have in common
23 Platform devices are given a name, used in driver binding, and a
27 const char *name;
35 Platform drivers
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/driver-model/
Dplatform.rst2 Platform Devices and Drivers
6 platform bus: platform_device, and platform_driver. This pseudo-bus
8 like those used to integrate peripherals on many system-on-chip
13 Platform devices
15 Platform devices are devices that typically appear as autonomous
16 entities in the system. This includes legacy port-based devices and
18 into system-on-chip platforms. What they usually have in common
23 Platform devices are given a name, used in driver binding, and a
27 const char *name;
35 Platform drivers
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0
12 struct device_node *platform = NULL; in qcom_snd_parse_of() local
14 struct device *dev = card->dev; in qcom_snd_parse_of()
21 if (ret == 0 && !card->name) in qcom_snd_parse_of()
25 dev_err(dev, "Error parsing card name: %d\n", ret); in qcom_snd_parse_of()
30 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of()
31 ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); in qcom_snd_parse_of()
36 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of()
37 ret = snd_soc_of_parse_audio_routing(card, "qcom,audio-routing"); in qcom_snd_parse_of()
42 ret = snd_soc_of_parse_aux_devs(card, "aux-devs"); in qcom_snd_parse_of()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dplatform_device.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * platform_device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
7 * See Documentation/driver-api/driver-model/ for more information.
15 #define PLATFORM_DEVID_NONE (-1)
16 #define PLATFORM_DEVID_AUTO (-2)
23 const char *name; member
34 * Driver name to force a match. Do not set directly, because core
46 #define platform_get_device_id(pdev) ((pdev)->id_entry)
48 #define dev_is_platform(dev) ((dev)->bus == &platform_bus_type)
[all …]
/kernel/linux/linux-6.6/include/linux/
Dplatform_device.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * platform_device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
7 * See Documentation/driver-api/driver-model/ for more information.
15 #define PLATFORM_DEVID_NONE (-1)
16 #define PLATFORM_DEVID_AUTO (-2)
24 const char *name; member
35 * Driver name to force a match. Do not set directly, because core
47 #define platform_get_device_id(pdev) ((pdev)->id_entry)
49 #define dev_is_platform(dev) ((dev)->bus == &platform_bus_type)
[all …]
/kernel/linux/linux-6.6/sound/soc/amd/acp/
Dacp-legacy-mach.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
17 #include <sound/soc-acpi.h>
18 #include <sound/soc-dapm.h>
22 #include "acp-mach.h"
62 .platform = REMBRANDT,
74 .platform = REMBRANDT,
81 struct device *dev = &pdev->dev; in acp_asoc_probe()
86 if (!pdev->id_entry) in acp_asoc_probe()
87 return -EINVAL; in acp_asoc_probe()
91 return -ENOMEM; in acp_asoc_probe()
[all …]
Dacp-sof-mach.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
17 #include <sound/soc-acpi.h>
18 #include <sound/soc-dapm.h>
22 #include "acp-mach.h"
100 struct device *dev = &pdev->dev; in acp_sof_probe()
105 if (!pdev->id_entry) in acp_sof_probe()
106 return -EINVAL; in acp_sof_probe()
110 return -ENOMEM; in acp_sof_probe()
112 card->dev = dev; in acp_sof_probe()
113 card->owner = THIS_MODULE; in acp_sof_probe()
[all …]
/kernel/linux/linux-6.6/sound/soc/qcom/
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/input-event-codes.h>
20 struct device_node *platform = NULL; in qcom_snd_parse_of() local
22 struct device *dev = card->dev; in qcom_snd_parse_of()
29 if (ret == 0 && !card->name) in qcom_snd_parse_of()
33 dev_err(dev, "Error parsing card name: %d\n", ret); in qcom_snd_parse_of()
37 if (of_property_read_bool(dev->of_node, "widgets")) { in qcom_snd_parse_of()
44 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of()
45 ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); in qcom_snd_parse_of()
50 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of()
[all …]

12345678910>>...45