Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ddp_comp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <linux/soc/mediatek/mtk-cmdq.h>
12 #include <linux/soc/mediatek/mtk-mmsys.h>
13 #include <linux/soc/mediatek/mtk-mutex.h>
52 int (*power_on)(struct device *dev);
54 int (*clk_enable)(struct device *dev);
56 void (*config)(struct device *dev, unsigned int w,
57 unsigned int h, unsigned int vrefresh,
58 unsigned int bpc, struct cmdq_pkt *cmdq_pkt);
67 unsigned int (*supported_rotations)(struct device *dev);
[all …]
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.
49 unsigned int layer_nr;
64 unsigned int ddp_comp_nr;
66 unsigned int num_conn_routes;
80 unsigned int pending_width;
[all …]
/linux/drivers/block/zram/
H A Dzcomp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 static void zcomp_strm_free(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_free() argument
48 comp->ops->destroy_ctx(&zstrm->ctx); in zcomp_strm_free()
49 vfree(zstrm->buffer); in zcomp_strm_free()
50 zstrm->buffer = NULL; in zcomp_strm_free()
53 static int zcomp_strm_init(struct zcomp *comp, struct zcomp_strm *zstrm) in zcomp_strm_init() argument
55 int ret; in zcomp_strm_init()
57 ret = comp->ops->create_ctx(comp->params, &zstrm->ctx); in zcomp_strm_init()
65 zstrm->buffer = vzalloc(2 * PAGE_SIZE); in zcomp_strm_init()
66 if (!zstrm->buffer) { in zcomp_strm_init()
[all …]
H A Dzcomp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 * This data is kept per-comp and is shared among execution contexts.
25 * Run-time driver context - scratch buffers, etc. It is modified during
27 * it's in per-CPU area.
49 int (*compress)(struct zcomp_params *params, struct zcomp_ctx *ctx,
51 int (*decompress)(struct zcomp_params *params, struct zcomp_ctx *ctx,
54 int (*create_ctx)(struct zcomp_params *params, struct zcomp_ctx *ctx);
57 int (*setup_params)(struct zcomp_params *params);
63 /* dynamic per-device compression frontend */
71 int zcomp_cpu_up_prepare(unsigned int cpu, struct hlist_node *node);
[all …]
/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"
13 int state;
14 int mode;
15 int flyback_users;
16 int buck_users;
17 int clsh_users;
18 int codec_version;
[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-mbhc-v2.h"
154 {"RX INT" #id "_1 MIX1 INP0", "RX0", "SLIM RX0"}, \
155 {"RX INT" #id "_1 MIX1 INP0", "RX1", "SLIM RX1"}, \
156 {"RX INT" #id "_1 MIX1 INP0", "RX2", "SLIM RX2"}, \
157 {"RX INT" #id "_1 MIX1 INP0", "RX3", "SLIM RX3"}, \
158 {"RX INT" #id "_1 MIX1 INP0", "RX4", "SLIM RX4"}, \
[all …]
H A Dpcm3060.c1 // SPDX-License-Identifier: GPL-2.0
16 static int pcm3060_set_sysclk(struct snd_soc_dai *dai, int clk_id, in pcm3060_set_sysclk()
17 unsigned int freq, int dir) in pcm3060_set_sysclk()
19 struct snd_soc_component *comp = dai->component; in pcm3060_set_sysclk() local
20 struct pcm3060_priv *priv = snd_soc_component_get_drvdata(comp); in pcm3060_set_sysclk()
21 unsigned int reg; in pcm3060_set_sysclk()
22 unsigned int val; in pcm3060_set_sysclk()
25 dev_err(comp->dev, "unsupported sysclock dir: %d\n", dir); in pcm3060_set_sysclk()
26 return -EINVAL; in pcm3060_set_sysclk()
35 val = (dai->id == PCM3060_DAI_ID_DAC ? PCM3060_REG_CSEL : 0); in pcm3060_set_sysclk()
[all …]
/linux/drivers/clk/actions/
H A Dowl-composite.c1 // 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()
23 static int owl_comp_set_parent(struct clk_hw *hw, u8 index) in owl_comp_set_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
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
39 struct mlx5_devcom_comp *comp; member
49 if (iter->dev == dev) in devcom_dev_exists()
64 devc->dev = dev; in mlx5_devcom_dev_alloc()
65 kref_init(&devc->ref); in mlx5_devcom_dev_alloc()
77 devc = ERR_PTR(-EEXIST); in mlx5_devcom_register_device()
83 devc = ERR_PTR(-ENOMEM); in mlx5_devcom_register_device()
87 list_add_tail(&devc->list, &devcom_dev_list); in mlx5_devcom_register_device()
99 list_del(&devc->list); in mlx5_devcom_dev_release()
107 kref_put(&devc->ref, mlx5_devcom_dev_release); in mlx5_devcom_unregister_device()
[all …]
/linux/drivers/counter/
H A Dcounter-sysfs.c1 // SPDX-License-Identifier: GPL-2.0
20 #include "counter-sysfs.h"
28 * struct counter_attribute - Counter sysfs attribute
31 * @comp: Counter component callbacks and data
39 struct counter_comp comp; member
48 * struct counter_attribute_group - container for attribute group
62 [COUNTER_FUNCTION_PULSE_DIRECTION] = "pulse-direction",
90 [COUNTER_COUNT_MODE_NON_RECYCLE] = "non-recycle",
91 [COUNTER_COUNT_MODE_MODULO_N] = "modulo-n",
93 [COUNTER_COUNT_MODE_HARDWARE_RETRIGGERABLE_ONESHOT] = "hardware retriggerable one-shot",
[all …]
H A Dcounter-chrdev.c1 // SPDX-License-Identifier: GPL-2.0
24 #include "counter-chrdev.h"
29 struct counter_comp comp; member
49 #define counter_comp_read_is_set(comp) \ argument
50 (comp.action_read || \
51 comp.device_u8_read || \
52 comp.count_u8_read || \
53 comp.signal_u8_read || \
54 comp.device_u32_read || \
55 comp.count_u32_read || \
[all …]
/linux/sound/soc/intel/avs/
H A Dtopology.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <sound/soc-acpi.h>
13 #include <sound/soc-topology.h>
26 (avs_tplg_vendor_array_at(array, le32_to_cpu((array)->size)))
33 * Returns 0 on success, -ENOENT if not found and error code otherwise.
35 static int
43 u32 tuples_size = le32_to_cpu(tuples->siz in avs_tplg_vendor_array_lookup()
131 avs_parse_uuid_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_uuid_token() argument
142 avs_parse_bool_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_bool_token() argument
153 avs_parse_byte_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_byte_token() argument
164 avs_parse_short_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_short_token() argument
175 avs_parse_word_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_word_token() argument
186 avs_parse_string_token(struct snd_soc_component * comp,void * elem,void * object,u32 offset) avs_parse_string_token() argument
196 avs_parse_uuid_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_uuid_tokens() argument
222 avs_parse_string_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_string_tokens() argument
248 avs_parse_word_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_word_tokens() argument
279 avs_parse_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,size_t count,struct snd_soc_tplg_vendor_array * tuples,int priv_size) avs_parse_tokens() argument
355 parse_audio_format_bitfield(struct snd_soc_component * comp,void * elem,void * object,u32 offset) parse_audio_format_bitfield() argument
397 parse_link_formatted_string(struct snd_soc_component * comp,void * elem,void * object,u32 offset) parse_link_formatted_string() argument
424 parse_dictionary_header(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token) parse_dictionary_header() argument
448 parse_dictionary_entries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void * dict,u32 num_entries,size_t entry_size,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary_entries() argument
481 parse_dictionary(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary() argument
512 avs_tplg_parse_libraries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_libraries() argument
576 avs_tplg_parse_audio_formats(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_audio_formats() argument
617 avs_tplg_parse_modcfgs_base(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_base() argument
842 assign_copier_gtw_instance(struct snd_soc_component * comp,struct avs_tplg_modcfg_ext * cfg) assign_copier_gtw_instance() argument
877 avs_tplg_parse_modcfg_ext(struct snd_soc_component * comp,struct avs_tplg_modcfg_ext * cfg,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfg_ext() argument
927 avs_tplg_parse_modcfgs_ext(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_ext() argument
999 avs_tplg_parse_pplcfgs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_pplcfgs() argument
1064 avs_tplg_parse_bindings(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_bindings() argument
1139 avs_tplg_module_create(struct snd_soc_component * comp,struct avs_tplg_pipeline * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_module_create() argument
1224 avs_tplg_pipeline_create(struct snd_soc_component * comp,struct avs_tplg_path * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_pipeline_create() argument
1331 avs_tplg_path_create(struct snd_soc_component * comp,struct avs_tplg_path_template * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,const struct avs_tplg_token_parser * parsers,u32 num_parsers) avs_tplg_path_create() argument
1397 parse_path_template(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,struct avs_tplg_path_template * template,const struct avs_tplg_token_parser * tmpl_tokens,u32 num_tmpl_tokens,const struct avs_tplg_token_parser * path_tokens,u32 num_path_tokens) parse_path_template() argument
1444 avs_tplg_path_template_create(struct snd_soc_component * comp,struct avs_tplg * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_path_template_create() argument
1488 avs_tplg_parse_initial_configs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_initial_configs() argument
1543 avs_route_load(struct snd_soc_component * comp,int index,struct snd_soc_dapm_route * route) avs_route_load() argument
1583 avs_widget_load(struct snd_soc_component * comp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * dw) avs_widget_load() argument
1640 avs_widget_ready(struct snd_soc_component * comp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * dw) avs_widget_ready() argument
1650 avs_dai_load(struct snd_soc_component * comp,int index,struct snd_soc_dai_driver * dai_drv,struct snd_soc_tplg_pcm * pcm,struct snd_soc_dai * dai) avs_dai_load() argument
1667 avs_link_load(struct snd_soc_component * comp,int index,struct snd_soc_dai_link * link,struct snd_soc_tplg_link_config * cfg) avs_link_load() argument
1705 avs_manifest(struct snd_soc_component * comp,int index,struct snd_soc_tplg_manifest * manifest) avs_manifest() argument
1868 avs_control_load(struct snd_soc_component * comp,int index,struct snd_kcontrol_new * ctmpl,struct snd_soc_tplg_ctl_hdr * hdr) avs_control_load() argument
1915 avs_tplg_new(struct snd_soc_component * comp) avs_tplg_new() argument
1929 avs_load_topology(struct snd_soc_component * comp,const char * filename) avs_load_topology() argument
1948 avs_remove_topology(struct snd_soc_component * comp) avs_remove_topology() argument
[all...]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_comp.c1 // SPDX-License-Identifier: GPL-2.0-only
14 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
16 int i, err; in mtk_mdp_comp_clock_on()
18 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on()
19 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
21 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on()
25 err, comp->type, i); in mtk_mdp_comp_clock_on()
29 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument
31 int i; in mtk_mdp_comp_clock_off()
33 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
[all …]
/linux/sound/pci/hda/
H A Dhda_component.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 struct hda_component *comp; in hda_component_acpi_device_notify() local
22 int i; in hda_component_acpi_device_notify()
24 mutex_lock(&parent->mutex); in hda_component_acpi_device_notify()
25 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_acpi_device_notify()
26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify()
27 if (comp->dev && comp->acpi_notify) in hda_component_acpi_device_notify()
28 comp->acpi_notify(acpi_device_handle(comp->adev), event, comp->dev); in hda_component_acpi_device_notify()
30 mutex_unlock(&parent->mutex); in hda_component_acpi_device_notify()
34 int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_bind_acpi_notifications()
[all …]
/linux/drivers/net/slip/
H A Dslhc.c21 * - Initial distribution.
28 * - 01-31-90 initial adaptation (from 1.19)
29 * PPP.05 02-15-90 [ks]
30 * PPP.08 05-02-90 [ks] use PPP protocol field to signal compression
31 * PPP.15 09-90 [ks] improve mbuf handling
32 * PPP.16 11-02 [karn] substantially rewritten to use NOS facilities
34 * - Feb 1991 Bill_Simpson@um.cc.umich.edu
39 * - Jul 1994 Dmitry Gorodchanin
41 * - Oct 1994 Dmitry Gorodchanin
43 * - Jan 1995 Bjorn Ekwall
[all …]
/linux/drivers/most/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * core.c - Implementation of core module of MOST Linux driver stack
5 * Copyright (C) 2013-2020 Microchip Technology Germany II GmbH & Co. KG
21 #include <linux/dma-mapping.h>
29 static int dummy_num_buffers;
33 struct most_component *comp; member
34 int refs;
35 int num_buffers;
48 int is_starving;
68 int dev_id;
[all …]
H A Dmost_cdev.c1 // SPDX-License-Identifier: GPL-2.0
3 * cdev.c - Character device component for Mostcore
5 * Copyright (C) 2013-2015 Microchip Technology Germany II GmbH & Co. KG
25 unsigned int major;
28 } comp; variable
38 unsigned int channel_id;
42 int access_ref;
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
57 if (!kfifo_peek(&c->fifo, mbo)) { in ch_get_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
[all …]
/linux/drivers/vdpa/pds/
H A Dcmds.c1 // SPDX-License-Identifier: GPL-2.0-only
16 int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv) in pds_vdpa_init_hw()
18 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_init_hw()
19 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_init_hw()
22 .vdpa_init.vdpa_index = pdsv->vdpa_index, in pds_vdpa_init_hw()
23 .vdpa_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_init_hw()
25 union pds_core_adminq_comp comp = {}; in pds_vdpa_init_hw() local
26 int err; in pds_vdpa_init_hw()
30 &comp, 0); in pds_vdpa_init_hw()
33 comp.status, ERR_PTR(err)); in pds_vdpa_init_hw()
[all …]
/linux/drivers/net/ethernet/amd/pds_core/
H A Dadminq.c1 // SPDX-License-Identifier: GPL-2.0
13 static int pdsc_process_notifyq(struct pdsc_qcq *qcq) in pdsc_process_notifyq()
15 union pds_core_notifyq_comp *comp; in pdsc_process_notifyq() local
16 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_notifyq()
17 struct pdsc_cq *cq = &qcq->cq; in pdsc_process_notifyq()
19 int nq_work = 0; in pdsc_process_notifyq()
22 cq_info = &cq->info[cq->tail_idx]; in pdsc_process_notifyq()
23 comp = cq_info->comp; in pdsc_process_notifyq()
24 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
25 while (eid > pdsc->last_eid) { in pdsc_process_notifyq()
[all …]
/linux/drivers/vfio/pci/pds/
H A Dcmds.c1 // SPDX-License-Identifier: GPL-2.0
18 static int pds_vfio_client_adminq_cmd(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_client_adminq_cmd()
26 int err; in pds_vfio_client_adminq_cmd()
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()
46 int pds_vfio_register_client_cmd(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_register_client_cmd()
51 int ci; in pds_vfio_register_client_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()
[all …]
/linux/include/linux/mfd/
H A Dstm32-timers.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/dma-mapping.h>
21 #define TIM_CCMR1 0x18 /* Capt/Comp 1 Mode Reg */
22 #define TIM_CCMR2 0x1C /* Capt/Comp 2 Mode Reg */
23 #define TIM_CCER 0x20 /* Capt/Comp Enable Reg */
26 #define TIM_ARR 0x2c /* Auto-Reload Register */
27 #define TIM_CCRx(x) (0x34 + 4 * ((x) - 1)) /* Capt/Comp Register x (x ∈ {1, .. 4}) */
28 #define TIM_CCR1 TIM_CCRx(1) /* Capt/Comp Register 1 */
29 #define TIM_CCR2 TIM_CCRx(2) /* Capt/Comp Register 2 */
30 #define TIM_CCR3 TIM_CCRx(3) /* Capt/Comp Register 3 */
[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_round_rate()
35 static int ti_composite_set_rate(struct clk_hw *hw, unsigned long rate, in ti_composite_set_rate()
38 return -EINVAL; in ti_composite_set_rate()
54 int num_parents;
57 int type;
68 static struct device_node *_get_component_node(struct device_node *node, int i) in _get_component_node()
70 int rc; in _get_component_node()
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_dmic.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES.
5 // tegra210_dmic.c - Tegra210 DMIC driver
26 /* Below enables all filters - DCR, LP and SC */
43 static int __maybe_unused tegra210_dmic_runtime_suspend(struct device *dev) in tegra210_dmic_runtime_suspend()
47 regcache_cache_only(dmic->regmap, true); in tegra210_dmic_runtime_suspend()
48 regcache_mark_dirty(dmic->regmap); in tegra210_dmic_runtime_suspend()
50 clk_disable_unprepare(dmic->clk_dmic); in tegra210_dmic_runtime_suspend()
55 static int __maybe_unused tegra210_dmic_runtime_resume(struct device *dev) in tegra210_dmic_runtime_resume()
58 int err; in tegra210_dmic_runtime_resume()
[all …]
/linux/tools/perf/tests/
H A Dsample-parsing.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "util/synthetic-events.h"
20 #define COMP(m) do { \ macro
21 if (s1->m != s2->m) { \
28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
41 #define FLAG(s) s->branch_stack->entries[i].flags
50 COMP(id); in samples_same()
53 COMP(ip); in samples_same()
56 COMP(pid); in samples_same()
57 COMP(tid); in samples_same()
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_comp.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
35 [COMPST_COMP_WQE] = "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
122 spin_lock_irqsave(&qp->state_lock, flags); in retransmit_timer()
123 if (qp->valid) { in retransmit_timer()
124 qp->comp.timeout = 1; in retransmit_timer()
125 rxe_sched_task(&qp->send_task); in retransmit_timer()
127 spin_unlock_irqrestore(&qp->state_lock, flags); in retransmit_timer()
132 rxe_counter_inc(SKB_TO_PKT(skb)->rxe, RXE_CNT_SENDER_SCHED); in rxe_comp_queue_pkt()
[all …]

12345678910>>...20