Home
last modified time | relevance | path

Searched +full:comp +full:- +full:disable (Results 1 – 25 of 128) sorted by relevance

123456

/linux/sound/soc/codecs/
H A Dwcd-clsh-v2.c1 // 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 in wcd_enable_clsh_block() local
133 wcd_clsh_set_buck_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_buck_mode() argument
161 wcd_clsh_set_flyback_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_flyback_mode() argument
179 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_buck_ctrl() local
228 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_flyback_ctrl() local
248 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_set_gain_path() local
273 wcd_clsh_v2_set_hph_mode(struct snd_soc_component * comp,int mode) wcd_clsh_v2_set_hph_mode() argument
350 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_set_hph_mode() local
360 wcd_clsh_set_flyback_current(struct snd_soc_component * comp,int mode) wcd_clsh_set_flyback_current() argument
372 wcd_clsh_set_buck_regulator_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_buck_regulator_mode() argument
512 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_lo() local
571 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_hph_r() local
661 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_hph_l() local
745 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_state_ear() local
849 struct snd_soc_component *comp = ctrl->comp; wcd_clsh_ctrl_set_state() local
881 wcd_clsh_ctrl_alloc(struct snd_soc_component * comp,int version) wcd_clsh_ctrl_alloc() argument
[all...]
H A Dwcd934x.c1 // 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
1382 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mclk() local
1489 struct snd_soc_component *comp = dai->component; wcd934x_set_prim_interpolator_rate() local
1615 struct snd_soc_component *comp = dai->component; wcd934x_set_decimator_rate() local
2169 wcd934x_init_dmic(struct snd_soc_component * comp) wcd934x_init_dmic() argument
3028 wcd934x_comp_remove(struct snd_soc_component * comp) wcd934x_comp_remove() argument
3036 wcd934x_comp_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd934x_comp_set_sysclk() argument
3169 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_get() local
3182 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd934x_compander_set() local
3387 struct snd_soc_component *comp; wcd934x_dec_enum_put() local
4114 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_slim() local
4165 wcd934x_codec_hphdelay_lutbypass(struct snd_soc_component * comp,u16 interp_idx,int event) wcd934x_codec_hphdelay_lutbypass() argument
4201 wcd934x_config_compander(struct snd_soc_component * comp,int interp_n,int event) wcd934x_config_compander() argument
4261 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_interp_clk() local
4302 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_mix_path() local
4333 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_set_iir_gain() local
4368 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_main_path() local
4387 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_ear_dac_event() local
4413 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphl_dac_event() local
4465 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_hphr_dac_event() local
4514 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_lineout_dac_event() local
4535 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphl_pa() local
4599 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_hphr_pa() local
4660 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument
4706 wcd934x_get_dmic_clk_val(struct snd_soc_component * comp,u32 mclk_rate,u32 dmic_clk_rate) wcd934x_get_dmic_clk_val() argument
4759 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dmic() local
4833 wcd934x_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd934x_codec_find_amic_input() argument
4900 wcd934x_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd934x_codec_get_amic_pwlvl_reg() argument
4925 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_dec() local
5056 wcd934x_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd934x_codec_set_tx_hold() argument
5087 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd934x_codec_enable_adc() local
5765 wcd934x_codec_set_jack(struct snd_soc_component * comp,struct snd_soc_jack * jack,void * data) wcd934x_codec_set_jack() argument
[all...]
H A Dwsa881x.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2017, The Linux Foundation.
682 struct regmap *rm = wsa881x->regmap;
685 if (wsa881x->hw_init)
688 regmap_register_patch(wsa881x->regmap, wsa881x_rev_2_0, in wsa881x_init()
726 wsa881x->hw_init = true; in wsa881x_init()
729 static int wsa881x_component_probe(struct snd_soc_component *comp) in wsa881x_init()
731 struct wsa881x_priv *wsa881x = snd_soc_component_get_drvdata(comp); in wsa881x_init()
735 wsa881x_component_probe(struct snd_soc_component * comp) wsa881x_component_probe() argument
747 struct snd_soc_component *comp = snd_kcontrol_chip(kc); wsa881x_put_pa_gain() local
792 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); wsa881x_get_port() local
804 wsa881x_boost_ctrl(struct snd_soc_component * comp,bool enable) wsa881x_boost_ctrl() argument
824 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); wsa881x_set_port() local
885 wsa881x_visense_txfe_ctrl(struct snd_soc_component * comp,bool enable) wsa881x_visense_txfe_ctrl() argument
908 wsa881x_visense_adc_ctrl(struct snd_soc_component * comp,bool enable) wsa881x_visense_adc_ctrl() argument
921 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wsa881x_spkr_pa_event() local
[all...]
H A Dmax98090.c1 // 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 Drtq9124.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rtq9124.c -- RTQ9124 ALSA SoC Codec driver
23 #include <sound/soc-dai.h>
24 #include <sound/soc-dapm.h>
64 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in rtq9124_enable_event() local
77 return -EINVAL; in rtq9124_enable_event()
82 snd_soc_component_write(comp, RTQ9124_REG_ERR_INT_0 + i, 0xffff); in rtq9124_enable_event()
84 snd_soc_component_write_field(comp, RTQ9124_REG_STATE_CTRL, RTQ9124_MASK_CH_STATE, in rtq9124_enable_event()
101 static const DECLARE_TLV_DB_SCALE(dig_tlv, -10375, 25, 0);
103 0, 3, TLV_DB_SCALE_ITEM(-600, 600, 0),
[all …]
H A Dlpass-va-macro.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
6 #include <linux/clk-provider.h>
18 #include <sound/soc-dapm.h>
21 #include "lpass-macro-common.h"
174 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400);
468 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request()
501 struct regmap *regmap = va->regmap; in va_macro_mclk_enable()
517 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in va_macro_mclk_event() local
518 struct va_macro *va = snd_soc_component_get_drvdata(comp); in va_macro_mclk_event()
[all …]
H A Dwcd9335.c1 // 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 - 65
1642 struct snd_soc_component *comp = dai->component; wcd9335_set_prim_interpolator_rate() local
1793 struct snd_soc_component *comp = dai->component; wcd9335_set_decimator_rate() local
2181 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; wcd9335_get_compander() local
2193 int comp = ((struct soc_mixer_control *) kc->private_value)->shift; wcd9335_set_compander() local
2570 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); __wcd9335_codec_enable_micbias() local
2611 wcd9335_codec_set_tx_hold(struct snd_soc_component * comp,u16 amic_reg,bool set) wcd9335_codec_set_tx_hold() argument
2649 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_adc() local
2662 wcd9335_codec_find_amic_input(struct snd_soc_component * comp,int adc_mux_n) wcd9335_codec_find_amic_input() argument
2688 wcd9335_codec_get_amic_pwlvl_reg(struct snd_soc_component * comp,int amic) wcd9335_codec_get_amic_pwlvl_reg() argument
2719 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dec() local
2860 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_dmic() local
2963 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_slim() local
2983 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mix_path() local
3129 wcd9335_codec_enable_prim_interpolator(struct snd_soc_component * comp,u16 reg,int event) wcd9335_codec_enable_prim_interpolator() argument
3180 int comp; wcd9335_config_compander() local
3240 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_interpolator() local
3333 wcd9335_codec_hph_lohifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lohifi_config() argument
3370 wcd9335_codec_hph_lp_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_lp_config() argument
3428 wcd9335_codec_hph_hifi_config(struct snd_soc_component * comp,int event) wcd9335_codec_hph_hifi_config() argument
3474 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphl_dac_event() local
3523 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_lineout_dac_event() local
3543 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_ear_dac_event() local
3625 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_hphr_dac_event() local
3674 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphl_pa() local
3722 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_lineout_pa() local
3793 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_rx_bias() local
3823 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_hphr_pa() local
3869 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_ear_pa() local
4029 struct snd_soc_component *comp = wcd->component; wcd9335_cdc_sido_ccl_enable() local
4192 struct snd_soc_component *comp = wcd->component; wcd9335_codec_apply_sido_voltage() local
4258 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); wcd9335_codec_enable_mclk() local
4742 wcd9335_enable_efuse_sensing(struct snd_soc_component * comp) wcd9335_enable_efuse_sensing() argument
4820 wcd9335_codec_remove(struct snd_soc_component * comp) wcd9335_codec_remove() argument
4828 wcd9335_codec_set_sysclk(struct snd_soc_component * comp,int clk_id,int source,unsigned int freq,int dir) wcd9335_codec_set_sysclk() argument
[all...]
H A Des8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8316.c -- es8316 ALSA SoC audio driver
6 * Authors: David Yang <yangxiaohua@everest-semi.com>,
22 #include <sound/soc-dapm.h>
60 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1);
61 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1);
62 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0);
63 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0);
66 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0),
67 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0),
[all …]
/linux/drivers/vfio/pci/pds/
H A Dcmds.c1 // 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 Dcomposite.c1 // 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 Dtwl6030-regulator.c1 // 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 Dtwl-regulator.c1 // 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 Dfsl_micfil.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
19 #include <linux/dma/imx-dma.h>
148 .fifo_offset = -4,
154 { .compatible = "fsl,imx8mm-micfil", .data = &fsl_micfil_imx8mm },
155 { .compatible = "fsl,imx8mp-micfil", .data = &fsl_micfil_imx8mp },
156 { .compatible = "fsl,imx93-micfi
336 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); micfil_put_dc_remover_state() local
364 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); micfil_get_dc_remover_state() local
375 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); hwvad_put_enable() local
389 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); hwvad_get_enable() local
400 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); hwvad_put_init_mode() local
417 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); hwvad_get_init_mode() local
428 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); hwvad_detected() local
[all...]
/linux/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c1 // 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/resctrl/
H A Dmpam_devices.c1 // SPDX-License-Identifier: GPL-2.0
44 * mpam_enabled key is enabled these lists are read-only,
78 * All mpam error interrupts indicate a software bug. On receipt, disable the
88 * mpam_is_enabled(). The disable call after an error interrupt makes
96 * their RIS index. These share a base-address, interrupts and some MMIO
102 * are from different MSC, so have different base-address, interrupts etc.
114 * e.g. The L2 may have one MSC and two RIS, one for cache-controls another
126 * The same MSC may exist under different class->component->vmsc paths, but the
136 init_llist_node(&garbage->llist); in init_garbage()
142 _x->garbage.to_free = _x; \
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c1 // SPDX-License-Identifier: GPL-2.0
67 #define is_rev_A0(ptp) (((ptp)->pdev->revision & 0x0F) == 0x0)
68 #define is_rev_A1(ptp) (((ptp)->pdev->revision & 0x0F) == 0x1)
82 return ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CNF10K_A_PTP; in is_ptp_dev_cnf10ka()
87 return ptp->pdev->subsystem_device == PCI_SUBSYS_DEVID_CN10K_A_PTP; in is_ptp_dev_cn10ka()
101 struct ptp *ptp = rvu->ptp; in is_tstmp_atomic_update_supported()
124 delta_ns = ktime_to_ns(ktime_sub(curr_ts, ptp->last_ts)); in ptp_reset_thresh()
130 ptp_clock_hi = readq(ptp->reg_base + PTP_CLOCK_HI); in ptp_reset_thresh()
132 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - ptp_clock_hi)); in ptp_reset_thresh()
134 writeq(500000000, ptp->reg_base + PTP_PPS_THRESH_HI); in ptp_reset_thresh()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_gsc_proxy.c1 // 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(&gt->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE)); in xe_gsc_proxy_init_done()
80 return xe_mmio_wait32(&gt->mmio, HECI_FWSTS1(MTL_GSC_HECI1_BASE), in xe_gsc_wait_for_proxy_init_done()
93 xe_mmio_rmw32(&gt->mmio, HECI_H_CSR(MTL_GSC_HECI2_BASE), clr, set); in __gsc_proxy_irq_rmw()
[all …]
/linux/include/linux/
H A Dppp-comp.h1 /* 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/gpu/drm/mediatek/
H A Dmtk_crtc.c1 // 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.
98 struct drm_crtc *crtc = &mtk_crtc->base; in mtk_crtc_finish_page_flip()
101 if (mtk_crtc->event) { in mtk_crtc_finish_page_flip()
102 spin_lock_irqsave(&crtc->dev->event_lock, flags); in mtk_crtc_finish_page_flip()
103 drm_crtc_send_vblank_event(crtc, mtk_crtc->event); in mtk_crtc_finish_page_flip()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad.c1 // 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 …]
H A Dbfad_attr.c1 // 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.
28 u32 fc_id = -1; in bfad_im_get_starget_port_id()
31 shost = dev_to_shost(starget->dev.parent); in bfad_im_get_starget_port_id()
32 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id()
33 bfad = im_port->bfad; in bfad_im_get_starget_port_id()
34 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_im_get_starget_port_id()
36 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_id()
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
32 if (index >= pdsc->nintrs || index < 0) { in pdsc_intr_free()
37 intr_info = &pdsc->intr_info[index]; in pdsc_intr_free()
38 if (!intr_info->vector) in pdsc_intr_free()
40 dev_dbg(pdsc->dev, "%s: idx %d vec %d name %s\n", in pdsc_intr_free()
41 __func__, index, intr_info->vector, intr_info->name); in pdsc_intr_free()
43 pds_core_intr_mask(&pdsc->intr_ctrl[index], PDS_CORE_INTR_MASK_SET); in pdsc_intr_free()
44 pds_core_intr_clean(&pdsc->intr_ctrl[index]); in pdsc_intr_free()
46 free_irq(intr_info->vector, intr_info->data); in pdsc_intr_free()
59 for (index = 0; index < pdsc->nintrs; index++) in pdsc_intr_alloc()
[all …]
/linux/include/uapi/linux/
H A Dppp-ioctl.h1 /* 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 Dcs35l56_hda.c1 // 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->base.dev); in cs35l56_hda_play()
66 ret = cs35l56_mbox_send(&cs35l56->base, CS35L56_MBOX_CMD_AUDIO_PLAY); in cs35l56_hda_play()
69 ret = regmap_read_poll_timeout(cs35l56->base.regmap, in cs35l56_hda_play()
70 cs35l56->base.fw_reg->transducer_actual_ps, in cs35l56_hda_play()
75 dev_warn(cs35l56->base.dev, "PS0 wait failed: %d\n", ret); in cs35l56_hda_play()
[all …]
/linux/sound/soc/atmel/
H A Dmchp-pdmc.c1 // 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 -
525 struct snd_soc_component *comp = dai->component; mchp_pdmc_hw_params() local
[all...]

123456