| /linux/drivers/clk/actions/ |
| H A D | owl-composite.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 // Author: David Liu <liuwei@actions-semi.com> 11 #include <linux/clk-provider.h> 14 #include "owl-composite.h" 18 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_get_parent() local 20 return owl_mux_helper_get_parent(&comp->common, &comp->mux_hw); in owl_comp_get_parent() 25 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_set_parent() local 27 return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index); in owl_comp_set_parent() 32 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_disable() local 33 struct owl_clk_common *common = &comp->common; in owl_comp_disable() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wcd-clsh-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 10 #include "wcd-clsh-v2.h" 19 struct snd_soc_component *comp; member 22 /* Class-H registers for codecs from and above WCD9335 */ 122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local 124 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block() 125 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block() 126 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block() [all …]
|
| H A D | wcd934x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 21 #include <sound/soc-dapm.h> 23 #include "wcd-clsh-v2.h" 24 #include "wcd-common.h" 25 #include "wcd-mbhc-v 1384 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mclk() local 1491 struct snd_soc_component *comp = dai->component; wcd934x_set_prim_interpolator_rate() local 1617 struct snd_soc_component *comp = dai->component; wcd934x_set_decimator_rate() local 2196 wcd934x_init_dmic(struct snd_soc_component * comp) wcd934x_init_dmic() argument 3065 wcd934x_comp_remove(struct snd_soc_component * comp) wcd934x_comp_remove() argument 3073 wcd934x_comp_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd934x_comp_set_sysclk() argument 3208 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_get() local 3221 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_set() local 3424 struct snd_soc_component *comp; wcd934x_dec_enum_put() local 4149 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_slim() local 4200 wcd934x_codec_hphdelay_lutbypass(struct snd_soc_component * comp,u16 interp_idx,int event) wcd934x_codec_hphdelay_lutbypass() argument 4236 wcd934x_config_compander(struct snd_soc_component * comp,int interp_n,int event) wcd934x_config_compander() argument 4296 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_interp_clk() local 4337 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mix_path() local 4368 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_set_iir_gain() local 4403 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_main_path() local 4422 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_ear_dac_event() local 4448 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphl_dac_event() local 4500 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphr_dac_event() local 4549 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_lineout_dac_event() local 4570 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphl_pa() local 4634 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphr_pa() local 4695 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument 4741 wcd934x_get_dmic_clk_val(struct snd_soc_component * comp,u32 mclk_rate,u32 dmic_clk_rate) wcd934x_get_dmic_clk_val() argument 4794 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dmic() local 4868 wcd934x_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd934x_codec_find_amic_input() argument 4935 wcd934x_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd934x_codec_get_amic_pwlvl_reg() argument 4960 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dec() local 5091 wcd934x_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd934x_codec_set_tx_hold() argument 5122 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_adc() local 5800 wcd934x_codec_set_jack(struct snd_soc_component * comp,struct snd_soc_jack * jack,void * data) wcd934x_codec_set_jack() argument [all...] |
| H A D | wsa881x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2017, The Linux Foundation. 687 struct regmap *rm = wsa881x->regmap; in wsa881x_init() 690 regmap_register_patch(wsa881x->regmap, wsa881x_rev_2_0, in wsa881x_init() 729 static int wsa881x_component_probe(struct snd_soc_component *comp) in wsa881x_component_probe() argument 731 struct wsa881x_priv *wsa881x = snd_soc_component_get_drvdata(comp); in wsa881x_component_probe() 733 snd_soc_component_init_regmap(comp, wsa881x->regmap); in wsa881x_component_probe() 741 struct snd_soc_component *comp = snd_soc_kcontrol_component(kc); in wsa881x_put_pa_gain() local 743 (struct soc_mixer_control *)kc->private_value; in wsa881x_put_pa_gain() 744 int max = mc->max; in wsa881x_put_pa_gain() [all …]
|
| H A D | rtq9124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rtq9124.c -- RTQ9124 ALSA SoC Codec driver 24 #include <sound/soc-dai.h> 25 #include <sound/soc-dapm.h> 65 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in rtq9124_enable_event() local 78 return -EINVAL; in rtq9124_enable_event() 83 snd_soc_component_write(comp, RTQ9124_REG_ERR_INT_0 + i, 0xffff); in rtq9124_enable_event() 85 snd_soc_component_write_field(comp, RTQ9124_REG_STATE_CTRL, RTQ9124_MASK_CH_STATE, in rtq9124_enable_event() 102 static const DECLARE_TLV_DB_SCALE(dig_tlv, -10375, 25, 0); 104 0, 3, TLV_DB_SCALE_ITEM(-600, 600, 0), [all …]
|
| H A D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 283 dev_err(max98090->component->dev, in max98090_reset() 300 -600, 600, 0); 303 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0), 308 static const DECLARE_TLV_DB_SCALE(max98090_av_tlv, -1200, 100, 0); 311 static const DECLARE_TLV_DB_SCALE(max98090_dv_tlv, -1500, 100, 0); [all …]
|
| H A D | wcd9335.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 19 #include <sound/soc-dapm.h> 26 #include "wcd-clsh-v2.h" 28 #include <dt-bindings/sound/qcom,wcd9335.h> 99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25) 357 "vdd-buck", "vdd-buck-sido", "vdd-tx", "vdd-rx", "vdd-io", 409 {24000, -EINVAL},/* 24K */ 551 "Class H Invalid", "Class-H Hi-Fi", "Class-H Low Power", "Class-AB", [all …]
|
| H A D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 55 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 58 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 59 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
| H A D | lpass-va-macro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 5 #include <linux/clk-provider.h> 16 #include <sound/soc-dapm.h> 19 #include "lpass-macro-common.h" 165 static const DECLARE_TLV_DB_SCALE(digital_gain, -840 503 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); va_macro_mclk_event() local 719 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); va_macro_enable_dmic() local 737 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); va_macro_enable_dec() local 822 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); va_macro_dec_mode_get() local 835 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); va_macro_dec_mode_put() local [all...] |
| /linux/drivers/vfio/pci/pds/ |
| H A D | cmds.c | 1 // SPDX-License-Identifier: GPL-2.0 30 cmd.client_request.client_id = cpu_to_le16(pds_vfio->client_id); in pds_vfio_client_adminq_cmd() 39 if (err && err != -EAGAIN) in pds_vfio_client_adminq_cmd() 53 snprintf(devname, sizeof(devname), "%s.%d-%u", PDS_VFIO_LM_DEV_NAME, in pds_vfio_register_client_cmd() 54 pci_domain_nr(pdev->bus), in pds_vfio_register_client_cmd() 55 PCI_DEVID(pdev->bus->number, pdev->devfn)); in pds_vfio_register_client_cmd() 65 pds_vfio->client_id = ci; in pds_vfio_register_client_cmd() 80 err = pds_client_unregister(pdsc, pds_vfio->client_id); in pds_vfio_unregister_client_cmd() 82 dev_err(&pdev->dev, "unregister from DSC failed: %pe\n", in pds_vfio_unregister_client_cmd() 85 pds_vfio->client_id = 0; in pds_vfio_unregister_client_cmd() [all …]
|
| /linux/drivers/clk/ti/ |
| H A D | composite.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 32 return -EINVAL; in ti_composite_determine_rate() 38 return -EINVAL; in ti_composite_set_rate() 49 .disable = &omap2_dflt_clk_disable, 73 rc = of_parse_phandle_with_args(node, "clocks", "#clock-cells", i, in _get_component_node() 83 struct component_clk *comp; in _lookup_component() local 85 list_for_each_entry(comp, &component_clks, link) { in _lookup_component() 86 if (comp->node == node) in _lookup_component() [all …]
|
| /linux/drivers/regulator/ |
| H A D | twl6030-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Split TWL6030 logic from twl-regulator.c: 93 &value, info->base + offset); in twlreg_read() 102 value, info->base + offset); in twlreg_write() 113 * Enable/disable regulators by joining/leaving the P1 (processor) group. 126 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) { in twl6030reg_is_enabled() 152 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_enable() 169 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_disable() 191 if (info->features & TWL6032_SUBCLASS) in twl6030reg_get_status() 218 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_set_mode() [all …]
|
| H A D | twl-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl-regulator.c -- support regulators in twl4030/twl6030 family chips 25 * These chips are often used in OMAP-based systems. 27 * This driver implements software-based resource control for various 39 /* voltage in mV = table[VSEL]; table_len must be a power-of-two */ 81 &value, info->base + offset); in twlreg_read() 90 value, info->base + offset); in twlreg_write() 93 /*----------------------------------------------------------------------*/ 104 * Enable/disable regulators by joining/leaving the P1 (processor) group. 147 timeout--; in twl4030_wait_pb_ready() [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_micfil.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 19 #include <linux/dma/imx-dma.h> 138 .fifo_offset = -4, 142 { .compatible = "fsl,imx8mm-micfil", .data = &fsl_micfil_imx8mm }, 143 { .compatible = "fsl,imx8mp-micfil", .data = &fsl_micfil_imx8mp }, 144 { .compatible = "fsl,imx93-micfil", .data = &fsl_micfil_imx93 }, 145 { .compatible = "fsl,imx943-micfil", .data = &fsl_micfil_imx943 }, 169 switch (micfil->quality) { in micfil_set_quality() 189 return -EINVAL; in micfil_set_quality() 192 return regmap_update_bits(micfil->regmap, REG_MICFIL_CTRL2, in micfil_set_quality() [all …]
|
| /linux/drivers/net/ethernet/cavium/common/ |
| H A D | cavium_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* cavium_ptp.c - PTP 1588 clock on Cavium hardware 3 * Copyright (c) 2003-2015, 2017 Cavium, Inc. 67 return ERR_PTR(-ENODEV); in cavium_ptp_get() 71 ptp = ERR_PTR(-EPROBE_DEFER); in cavium_ptp_get() 83 pci_dev_put(ptp->pdev); in cavium_ptp_put() 88 * cavium_ptp_adjfine() - Adjust ptp frequency 98 u64 comp; in cavium_ptp_adjfine() local 104 scaled_ppm = -scaled_ppm; in cavium_ptp_adjfine() 110 * convention compensation value is in 64 bit fixed-point in cavium_ptp_adjfine() [all …]
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/dma-mapping.h> 11 #include <linux/soc/mediatek/mtk-cmdq.h> 12 #include <linux/soc/mediatek/mtk-mmsys.h> 13 #include <linux/soc/mediatek/mtk-mutex.h> 29 * struct mtk_crtc - MediaTek specific crtc structure. 97 struct drm_crtc *crtc = &mtk_crtc->base; in mtk_crtc_finish_page_flip() 100 if (mtk_crtc->event) { in mtk_crtc_finish_page_flip() 101 spin_lock_irqsave(&crtc->dev->event_lock, flags); in mtk_crtc_finish_page_flip() 102 drm_crtc_send_vblank_event(crtc, mtk_crtc->event); in mtk_crtc_finish_page_flip() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gsc_proxy.c | 1 // SPDX-License-Identifier: MIT 38 * 1 - Xe submits a request to GSC asking for the message to CSME 39 * 2 - GSC replies with the proxy header + payload for CSME 40 * 3 - Xe sends the reply from GSC as-is to CSME via the mei proxy component 41 * 4 - CSME replies with the proxy header + payload for GSC 42 * 5 - Xe submits a request to GSC with the reply from CSME 43 * 6 - GSC replies either with a new header + payload (same as step 2, so we 69 u32 fwsts1 = xe_mmio_read32(>->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE)); in xe_gsc_proxy_init_done() 80 return xe_mmio_wait32(>->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE), in xe_gsc_wait_for_proxy_init_done() 93 xe_mmio_rmw32(>->mmio, HECI_H_CSR(MTL_GSC_HECI2_BASE), clr, set); in __gsc_proxy_irq_rmw() [all …]
|
| /linux/drivers/gpu/drm/mcde/ |
| H A D | mcde_display.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) ST-Ericsson SA 2013 9 #include <linux/dma-buf.h> 11 #include <linux/media-bus-format.h> 80 mispp = readl(mcde->regs + MCDE_MISPP); in mcde_display_irq() 81 misovl = readl(mcde->regs + MCDE_MISOVL); in mcde_display_irq() 82 mischnl = readl(mcde->regs + MCDE_MISCHNL); in mcde_display_irq() 92 if (!mcde->dpi_output && mcde_dsi_irq(mcde->mdsi)) { in mcde_display_irq() 98 * the update function is called, then we disable the in mcde_display_irq() 101 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_irq() [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 47 int bfa_linkup_delay = -1; 59 #define BFAD_FW_FILE_CB "cbfw-3.2.5.1.bin" 60 #define BFAD_FW_FILE_CT "ctfw-3.2.5.1.bin" 61 #define BFAD_FW_FILE_CT2 "ct2fw-3.2.5.1.bin" 126 MODULE_PARM_DESC(msix_disable_cb, "Disable Message Signaled Interrupts for QLogic-415/425/815/825 c… 128 MODULE_PARM_DESC(msix_disable_ct, "Disable Message Signaled Interrupts if possible for QLogic-1010/… [all …]
|
| /linux/include/linux/ |
| H A D | ppp-comp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * ppp-comp.h - Definitions for doing PPP packet compression. 5 * Copyright 1994-1998 Paul Mackerras. 10 #include <uapi/linux/ppp-comp.h> 21 #define DO_BSD_COMPRESS 1 /* by default, include BSD-Compress */ 91 * We need to make this distinction so that we can disable certain 92 * useful functionality, namely sending a CCP reset-request as a result 98 #define DECOMP_ERROR -1 /* error detected before decomp. */ 99 #define DECOMP_FATALERROR -2 /* error detected after decomp. */
|
| /linux/drivers/staging/greybus/ |
| H A D | audio_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 26 list_for_each_entry(data, &module->data_list, list) { in find_data() 27 if (id == data->id) in find_data() 38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params() 39 if (dai->id == id) in find_dai_stream_params() 40 return &dai->params[stream]; in find_dai_stream_params() 58 dev_err(module->dev, "%d:DATA connection missing\n", id); in gbaudio_module_enable_tx() 59 return -ENODEV; in gbaudio_module_enable_tx() 61 module_state = data->state[SNDRV_PCM_STREAM_PLAYBACK]; in gbaudio_module_enable_tx() 65 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n"); in gbaudio_module_enable_tx() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | ppp-ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * ppp-ioctl.h - PPP ioctl definitions. 5 * Copyright 1999-2002 Paul Mackerras. 24 #define SC_NO_TCP_CCID 0x00000008 /* disable VJ connection-id comp. */ 25 #define SC_REJ_COMP_AC 0x00000010 /* reject adrs/ctrl comp. on input */ 26 #define SC_REJ_COMP_TCP 0x00000020 /* reject TCP (VJ) comp. on input */ 52 #define SC_DC_ERROR 0x00400000 /* non-fatal decomp error detected */ 107 #define PPPIOCGIDLE32 _IOR('t', 63, struct ppp_idle32) /* 32-bit times */ 108 #define PPPIOCGIDLE64 _IOR('t', 63, struct ppp_idle64) /* 64-bit times */
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | cs35l56_hda.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <sound/cs-amp-lib.h> 29 * ASP1_DOUT_HIZ_CONTROL = Hi-Z during unused timeslots 34 * Override any Windows-specific mixer settings applied by the firmware. 55 flush_work(&cs35l56->dsp_work); in cs35l56_hda_wait_dsp_ready() 65 pm_runtime_get_sync(cs35l56->bas in cs35l56_hda_play() 702 struct hda_component *comp; cs35l56_hda_bind() local 734 struct hda_component *comp; cs35l56_hda_unbind() local [all...] |
| /linux/sound/soc/atmel/ |
| H A D | mchp-pdmc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2019-2022 Microchip Technology Inc. and its subsidiaries 9 #include <dt-bindings/sound/microchip,pdmc.h> 24 * ---- PDMC Register map ---- 31 #define MCHP_PDMC_IDR 0x18 /* Interrupt Disable Register */ 37 * ---- Control Register (Write-only) ---- 42 * ---- Mode Register (Read/Write) ---- 66 * ---- Configuration Register (Read/Write) ---- 75 * ---- Interrupt Enable/Disable/Mask/Status Registers ---- 85 * ---- Version Register (Read-only) ---- [all …]
|
| /linux/sound/soc/ |
| H A D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 64 struct snd_soc_component *comp; member 83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 88 return -EINVAL; in soc_tplg_check_elem_count() 94 dev_err(tplg->dev, in soc_tplg_check_elem_count() [all …]
|