Home
last modified time | relevance | path

Searched full:comp (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h83 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument
85 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable()
86 return comp->funcs->clk_enable(comp->dev); in mtk_ddp_comp_clk_enable()
91 static inline void mtk_ddp_comp_clk_disable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_disable() argument
93 if (comp->funcs && comp->funcs->clk_disable) in mtk_ddp_comp_clk_disable()
94 comp->funcs->clk_disable(comp->dev); in mtk_ddp_comp_clk_disable()
97 static inline void mtk_ddp_comp_config(struct mtk_ddp_comp *comp, in mtk_ddp_comp_config() argument
102 if (comp->funcs && comp->funcs->config) in mtk_ddp_comp_config()
103 comp->funcs->config(comp->dev, w, h, vrefresh, bpc, cmdq_pkt); in mtk_ddp_comp_config()
106 static inline void mtk_ddp_comp_start(struct mtk_ddp_comp *comp) in mtk_ddp_comp_start() argument
[all …]
Dmtk_drm_crtc.c167 struct mtk_ddp_comp *comp; in mtk_drm_crtc_destroy() local
169 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_crtc_destroy()
170 mtk_ddp_comp_unregister_vblank_cb(comp); in mtk_drm_crtc_destroy()
268 struct mtk_ddp_comp *comp; in mtk_drm_ddp_comp_for_plane() local
273 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_ddp_comp_for_plane()
274 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_drm_ddp_comp_for_plane()
276 return comp; in mtk_drm_ddp_comp_for_plane()
278 count += mtk_ddp_comp_layer_nr(comp); in mtk_drm_ddp_comp_for_plane()
391 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init() local
394 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/infiniband/
Dhisilicon-hns-roce.txt25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq
74 interrupt-names = "hns-roce-comp-0",
75 "hns-roce-comp-1",
76 "hns-roce-comp-2",
77 "hns-roce-comp-3",
78 "hns-roce-comp-4",
79 "hns-roce-comp-5",
80 "hns-roce-comp-6",
81 "hns-roce-comp-7",
82 "hns-roce-comp-8",
[all …]
/Linux-v6.1/drivers/clk/actions/
Dowl-composite.c18 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()
35 owl_gate_set(common, &comp->gate_hw, false); in owl_comp_disable()
40 struct owl_composite *comp = hw_to_owl_comp(hw); in owl_comp_enable() local
41 struct owl_clk_common *common = &comp->common; in owl_comp_enable()
43 owl_gate_set(common, &comp->gate_hw, true); in owl_comp_enable()
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.c11 #include "mtk-mdp3-comp.h"
29 return ctx->comp->mdp_dev->mdp_data->mdp_cfg; in __get_plat_cfg()
37 if (ctx->comp->id == MDP_COMP_RDMA0) in get_comp_flag()
40 return BIT(ctx->comp->id); in get_comp_flag()
46 phys_addr_t base = ctx->comp->reg_base; in init_rdma()
47 u8 subsys_id = ctx->comp->subsys_id; in init_rdma()
50 struct mdp_comp *prz1 = ctx->comp->mdp_dev->comp[MDP_COMP_RSZ1]; in init_rdma()
53 if (ctx->comp->id == MDP_COMP_RDMA0 && prz1) in init_rdma()
74 phys_addr_t base = ctx->comp->reg_base; in config_rdma_frame()
75 u8 subsys_id = ctx->comp->subsys_id; in config_rdma_frame()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwcd-clsh-v2.c19 struct snd_soc_component *comp; member
122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local
126 snd_soc_component_update_bits(comp, WCD9XXX_A_CDC_CLSH_CRC, in wcd_enable_clsh_block()
133 static inline bool wcd_clsh_enable_status(struct snd_soc_component *comp) in wcd_clsh_enable_status() argument
135 return snd_soc_component_read(comp, WCD9XXX_A_CDC_CLSH_CRC) & in wcd_clsh_enable_status()
139 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument
144 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
148 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
167 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument
172 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
[all …]
Dwcd9335.c1642 struct snd_soc_component *comp = dai->component; in wcd9335_set_prim_interpolator_rate() local
1643 struct wcd9335_codec *wcd = dev_get_drvdata(comp->dev); in wcd9335_set_prim_interpolator_rate()
1656 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1658 cfg1 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1675 snd_soc_component_update_bits(comp, in wcd9335_set_prim_interpolator_rate()
1793 struct snd_soc_component *comp = dai->component; in wcd9335_set_decimator_rate() local
1794 struct wcd9335_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd9335_set_decimator_rate()
1830 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd9335_set_decimator_rate()
1849 snd_soc_component_update_bits(comp, in wcd9335_set_decimator_rate()
2179 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd9335_get_compander() local
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c9 #define devcom_for_each_component(priv, comp, iter) \ argument
11 comp = &(priv)->components[iter], iter < MLX5_DEVCOM_NUM_COMPONENTS; \
38 struct mlx5_devcom_component *comp; in mlx5_devcom_list_alloc() local
46 devcom_for_each_component(priv, comp, i) in mlx5_devcom_list_alloc()
47 init_rwsem(&comp->sem); in mlx5_devcom_list_alloc()
155 struct mlx5_devcom_component *comp; in mlx5_devcom_register_component() local
162 comp = &devcom->priv->components[id]; in mlx5_devcom_register_component()
163 down_write(&comp->sem); in mlx5_devcom_register_component()
164 comp->handler = handler; in mlx5_devcom_register_component()
165 comp->device[devcom->idx].data = data; in mlx5_devcom_register_component()
[all …]
/Linux-v6.1/drivers/block/zram/
Dzcomp.c49 static int zcomp_strm_init(struct zcomp_strm *zstrm, struct zcomp *comp) in zcomp_strm_init() argument
51 zstrm->tfm = crypto_alloc_comp(comp->name, 0, 0); in zcomp_strm_init()
64 bool zcomp_available_algorithm(const char *comp) in zcomp_available_algorithm() argument
73 return crypto_has_comp(comp, 0, 0) == 1; in zcomp_available_algorithm()
77 ssize_t zcomp_available_show(const char *comp, char *buf) in zcomp_available_show() argument
84 if (!strcmp(comp, backends[i])) { in zcomp_available_show()
98 if (!known_algorithm && crypto_has_comp(comp, 0, 0) == 1) in zcomp_available_show()
100 "[%s] ", comp); in zcomp_available_show()
106 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) in zcomp_stream_get() argument
108 local_lock(&comp->stream->lock); in zcomp_stream_get()
[all …]
Dzcomp.h27 ssize_t zcomp_available_show(const char *comp, char *buf);
28 bool zcomp_available_algorithm(const char *comp);
30 struct zcomp *zcomp_create(const char *comp);
31 void zcomp_destroy(struct zcomp *comp);
33 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp);
34 void zcomp_stream_put(struct zcomp *comp);
42 bool zcomp_set_max_streams(struct zcomp *comp, int num_strm);
/Linux-v6.1/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_comp.c16 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
20 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on()
21 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
23 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on()
27 err, comp->type, i); in mtk_mdp_comp_clock_on()
31 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument
35 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
36 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off()
38 clk_disable_unprepare(comp->clk[i]); in mtk_mdp_comp_clock_off()
43 struct mtk_mdp_comp *comp, in mtk_mdp_comp_init() argument
[all …]
Dmtk_mdp_core.c94 struct mtk_mdp_comp *comp) in mtk_mdp_register_component() argument
96 list_add(&comp->node, &mdp->comp_list); in mtk_mdp_register_component()
100 struct mtk_mdp_comp *comp) in mtk_mdp_unregister_component() argument
102 list_del(&comp->node); in mtk_mdp_unregister_component()
110 struct mtk_mdp_comp *comp, *comp_temp; in mtk_mdp_probe() local
152 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in mtk_mdp_probe()
153 if (!comp) { in mtk_mdp_probe()
159 ret = mtk_mdp_comp_init(dev, node, comp, comp_type); in mtk_mdp_probe()
165 mtk_mdp_register_component(mdp, comp); in mtk_mdp_probe()
229 list_for_each_entry_safe(comp, comp_temp, &mdp->comp_list, node) { in mtk_mdp_probe()
[all …]
/Linux-v6.1/drivers/counter/
Dcounter-sysfs.c31 * @comp: Counter component callbacks and data
39 struct counter_comp comp; member
109 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show()
112 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
115 err = a->comp.count_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
123 if (a->comp.type == COUNTER_COMP_BOOL) in counter_comp_u8_show()
140 if (a->comp.type == COUNTER_COMP_BOOL) { in counter_comp_u8_store()
150 err = a->comp.device_u8_write(counter, data); in counter_comp_u8_store()
153 err = a->comp.signal_u8_write(counter, a->parent, data); in counter_comp_u8_store()
156 err = a->comp.count_u8_write(counter, a->parent, data); in counter_comp_u8_store()
[all …]
Dcounter-chrdev.c29 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 || \
56 comp.signal_u32_read || \
57 comp.device_u64_read || \
[all …]
/Linux-v6.1/sound/soc/intel/avs/
Dtopology.c125 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset);
129 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_uuid_token() argument
140 avs_parse_bool_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_bool_token() argument
151 avs_parse_byte_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_byte_token() argument
162 avs_parse_short_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_short_token() argument
173 avs_parse_word_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_word_token() argument
184 avs_parse_string_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_string_token() argument
194 static int avs_parse_uuid_tokens(struct snd_soc_component *comp, void *object, in avs_parse_uuid_tokens() argument
211 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_uuid_tokens()
220 static int avs_parse_string_tokens(struct snd_soc_component *comp, void *object, in avs_parse_string_tokens() argument
[all …]
/Linux-v6.1/drivers/net/slip/
Dslhc.c96 struct slcompress *comp; in slhc_init() local
101 comp = kzalloc(sizeof(struct slcompress), GFP_KERNEL); in slhc_init()
102 if (! comp) in slhc_init()
107 comp->rstate = kzalloc(rsize, GFP_KERNEL); in slhc_init()
108 if (! comp->rstate) in slhc_init()
110 comp->rslot_limit = rslots - 1; in slhc_init()
115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init()
116 if (! comp->tstate) in slhc_init()
118 comp->tslot_limit = tslots - 1; in slhc_init()
121 comp->xmit_oldest = 0; in slhc_init()
[all …]
/Linux-v6.1/drivers/most/
Dcore.c33 struct most_component *comp; member
450 struct most_component *comp; in match_component() local
452 list_for_each_entry(comp, &comp_list, list) { in match_component()
453 if (!strcmp(comp->name, name)) in match_component()
454 return comp; in match_component()
473 if (c->pipe0.comp) { in print_links()
477 c->pipe0.comp->name, in print_links()
481 if (c->pipe1.comp) { in print_links()
485 c->pipe1.comp->name, in print_links()
517 struct most_component *comp; in components_show() local
[all …]
Dmost_cdev.c28 } comp; variable
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
94 device_destroy(comp.class, c->devno); in destroy_cdev()
103 ida_simple_remove(&comp.minor_id, MINOR(c->devno)); in destroy_channel()
143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
427 current_minor = ida_simple_get(&comp.minor_id, 0, 0, GFP_KERNEL); in comp_probe()
437 c->devno = MKDEV(comp.major, current_minor); in comp_probe()
457 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe()
[all …]
/Linux-v6.1/tools/perf/tests/
Dsample-parsing.c20 #define COMP(m) do { \ macro
50 COMP(id); in samples_same()
53 COMP(ip); in samples_same()
56 COMP(pid); in samples_same()
57 COMP(tid); in samples_same()
61 COMP(time); in samples_same()
64 COMP(addr); in samples_same()
67 COMP(id); in samples_same()
70 COMP(stream_id); in samples_same()
73 COMP(cpu); in samples_same()
[all …]
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_comp.c35 [COMPST_COMP_WQE] = "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
120 qp->comp.timeout = 1; in retransmit_timer()
121 rxe_run_task(&qp->comp.task, 1); in retransmit_timer()
135 rxe_run_task(&qp->comp.task, must_sched); in rxe_comp_queue_pkt()
168 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
169 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
170 qp->comp.started_retry = 0; in reset_retry_counters()
196 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
[all …]
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/
Dbase.c203 struct omapdss_comp_node *comp; in omapdss_list_contains() local
205 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains()
206 if (comp->node == node) in omapdss_list_contains()
216 struct omapdss_comp_node *comp; in omapdss_walk_device() local
225 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in omapdss_walk_device()
226 if (comp) { in omapdss_walk_device()
227 comp->node = node; in omapdss_walk_device()
228 comp->dss_core_component = dss_core; in omapdss_walk_device()
229 comp->compat = compat; in omapdss_walk_device()
230 list_add(&comp->list, &omapdss_comp_list); in omapdss_walk_device()
[all …]
/Linux-v6.1/include/linux/mfd/
Dstm32-timers.h21 #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 */
27 #define TIM_CCR1 0x34 /* Capt/Comp Register 1 */
28 #define TIM_CCR2 0x38 /* Capt/Comp Register 2 */
29 #define TIM_CCR3 0x3C /* Capt/Comp Register 3 */
30 #define TIM_CCR4 0x40 /* Capt/Comp Register 4 */
62 #define TIM_CCER_CC1E BIT(0) /* Capt/Comp 1 out Ena */
63 #define TIM_CCER_CC1P BIT(1) /* Capt/Comp 1 Polarity */
64 #define TIM_CCER_CC1NE BIT(2) /* Capt/Comp 1N out Ena */
[all …]
/Linux-v6.1/drivers/clk/ti/
Dcomposite.c83 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()
87 return comp; in _lookup_component()
117 struct component_clk *comp; in _register_composite() local
129 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite()
130 if (!comp) { in _register_composite()
139 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite()
141 node, component_clk_types[comp->type]); in _register_composite()
145 cclk->comp_clks[comp->type] = comp; in _register_composite()
[all …]
/Linux-v6.1/sound/soc/tegra/
Dtegra210_dmic.c162 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_boost_gain() local
163 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_boost_gain()
173 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_boost_gain() local
174 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_boost_gain()
188 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_ch_select() local
189 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_ch_select()
199 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_ch_select() local
200 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_ch_select()
214 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_mono_to_stereo() local
215 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_mono_to_stereo()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_fsm.c209 struct mlxfw_mfa2_component *comp, in mlxfw_flash_component() argument
222 sprintf(comp_name, "%u", comp->index); in mlxfw_flash_component()
224 err = mlxfw_dev->ops->component_query(mlxfw_dev, comp->index, in mlxfw_flash_component()
233 if (comp->data_size > comp_max_size) { in mlxfw_flash_component()
245 comp->index, in mlxfw_flash_component()
246 comp->data_size); in mlxfw_flash_component()
265 comp_name, 0, comp->data_size); in mlxfw_flash_component()
267 offset < MLXFW_ALIGN_UP(comp->data_size, comp_align_bits); in mlxfw_flash_component()
269 block_ptr = comp->data + offset; in mlxfw_flash_component()
270 block_size = (u16) min_t(u32, comp->data_size - offset, in mlxfw_flash_component()
[all …]

12345678910>>...24