Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_ddp_comp.h80 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable()
81 return comp->funcs->clk_enable(comp->dev); in mtk_ddp_comp_clk_enable()
89 comp->funcs->clk_disable(comp->dev); in mtk_ddp_comp_clk_disable()
97 if (comp->funcs && comp->funcs->config) in mtk_ddp_comp_config()
103 if (comp->funcs && comp->funcs->start) in mtk_ddp_comp_start()
104 comp->funcs->start(comp->dev); in mtk_ddp_comp_start()
109 if (comp->funcs && comp->funcs->stop) in mtk_ddp_comp_stop()
110 comp->funcs->stop(comp->dev); in mtk_ddp_comp_stop()
124 comp->funcs->disable_vblank(comp->dev); in mtk_ddp_comp_disable_vblank()
172 comp->funcs->bgclr_in_on(comp->dev); in mtk_ddp_comp_bgclr_in_on()
[all …]
A Dmtk_drm_crtc.c207 struct mtk_ddp_comp *comp; in mtk_drm_ddp_comp_for_plane() local
215 return comp; in mtk_drm_ddp_comp_for_plane()
298 mtk_ddp_comp_start(comp); in mtk_crtc_ddp_hw_init()
310 if (comp) in mtk_crtc_ddp_hw_init()
397 if (comp) in mtk_crtc_ddp_config()
419 if (comp) in mtk_crtc_ddp_config()
523 struct mtk_ddp_comp *comp; in mtk_drm_crtc_plane_check() local
526 if (comp) in mtk_drm_crtc_plane_check()
691 if (!comp->funcs) in mtk_drm_crtc_num_comp_planes()
767 if (!comp->dev) { in mtk_drm_crtc_create()
[all …]
/linux/drivers/clk/actions/
A 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()
27 return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index); in owl_comp_set_parent()
35 owl_gate_set(common, &comp->gate_hw, false); in owl_comp_disable()
43 owl_gate_set(common, &comp->gate_hw, true); in owl_comp_enable()
61 return owl_divider_helper_round_rate(&comp->common, &comp->rate.div_hw, in owl_comp_div_round_rate()
70 return owl_divider_helper_recalc_rate(&comp->common, &comp->rate.div_hw, in owl_comp_div_recalc_rate()
79 return owl_divider_helper_set_rate(&comp->common, &comp->rate.div_hw, in owl_comp_div_set_rate()
89 &comp->rate.factor_hw, in owl_comp_fact_round_rate()
99 &comp->rate.factor_hw, in owl_comp_fact_recalc_rate()
[all …]
/linux/sound/soc/codecs/
A Dwcd-clsh-v2.c122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() local
185 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() local
234 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_flyback_ctrl() local
254 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_gain_path() local
356 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_hph_mode() local
517 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_lo() local
576 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_hph_r() local
666 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_hph_l() local
750 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_ear() local
854 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_ctrl_set_state() local
[all …]
A Dwcd9335.c2194 wcd->comp_enabled[comp] = value; in wcd9335_set_compander()
2199 switch (comp) { in wcd9335_set_compander()
2818 snd_soc_component_write(comp, in wcd9335_codec_enable_dec()
2820 snd_soc_component_write(comp, in wcd9335_codec_enable_dec()
2822 snd_soc_component_write(comp, in wcd9335_codec_enable_dec()
2824 snd_soc_component_write(comp, in wcd9335_codec_enable_dec()
2960 wcd9335_get_dmic_clk_val(comp, in wcd9335_codec_enable_dmic()
3241 int comp; in wcd9335_config_compander() local
3248 comp = interp_n - 1; in wcd9335_config_compander()
3249 if (!wcd->comp_enabled[comp]) in wcd9335_config_compander()
[all …]
A Dwcd934x.c1730 snd_soc_component_update_bits(comp, in wcd934x_set_decimator_rate()
3262 wcd->comp_enabled[comp] = value; in wcd934x_compander_set()
3267 switch (comp) { in wcd934x_compander_set()
3457 struct snd_soc_component *comp; in wcd934x_dec_enum_put() local
4407 snd_soc_component_write(comp, reg, in wcd934x_codec_set_iir_gain()
4411 snd_soc_component_write(comp, reg, in wcd934x_codec_set_iir_gain()
4415 snd_soc_component_write(comp, reg, in wcd934x_codec_set_iir_gain()
4695 if ((snd_soc_component_read(comp, in wcd934x_codec_enable_hphr_pa()
4791 dev_err(comp->dev, in wcd934x_get_dmic_clk_val()
4818 dev_err(comp->dev, in wcd934x_get_dmic_clk_val()
[all …]
/linux/drivers/media/platform/mtk-mdp/
A Dmtk_mdp_comp.c21 if (comp->larb_dev) { in mtk_mdp_comp_clock_on()
26 err, comp->type); in mtk_mdp_comp_clock_on()
30 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
36 err, comp->type, i); in mtk_mdp_comp_clock_on()
45 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off()
50 if (comp->larb_dev) in mtk_mdp_comp_clock_off()
64 comp->type = comp_type; in mtk_mdp_comp_init()
68 if (IS_ERR(comp->clk[i])) { in mtk_mdp_comp_init()
81 comp->larb_dev = NULL; in mtk_mdp_comp_init()
109 of_node_put(comp->dev_node); in mtk_mdp_comp_init()
[all …]
A Dmtk_mdp_core.c95 struct mtk_mdp_comp *comp) in mtk_mdp_register_component() argument
97 list_add(&comp->node, &mdp->comp_list); in mtk_mdp_register_component()
101 struct mtk_mdp_comp *comp) in mtk_mdp_unregister_component() argument
103 list_del(&comp->node); in mtk_mdp_unregister_component()
111 struct mtk_mdp_comp *comp, *comp_temp; in mtk_mdp_probe() local
153 comp = devm_kzalloc(dev, sizeof(*comp), GFP_KERNEL); in mtk_mdp_probe()
154 if (!comp) { in mtk_mdp_probe()
166 mtk_mdp_register_component(mdp, comp); in mtk_mdp_probe()
232 mtk_mdp_comp_deinit(dev, comp); in mtk_mdp_probe()
242 struct mtk_mdp_comp *comp, *comp_temp; in mtk_mdp_remove() local
[all …]
/linux/drivers/block/zram/
A Dzcomp.c106 "[%s] ", comp); in zcomp_available_show()
187 if (!comp->stream) in zcomp_init()
196 free_percpu(comp->stream); in zcomp_init()
203 free_percpu(comp->stream); in zcomp_destroy()
204 kfree(comp); in zcomp_destroy()
217 struct zcomp *comp; in zcomp_create() local
224 if (!comp) in zcomp_create()
227 comp->name = compress; in zcomp_create()
228 error = zcomp_init(comp); in zcomp_create()
230 kfree(comp); in zcomp_create()
[all …]
A 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/drivers/net/slip/
A Dslhc.c102 if (! comp) in slhc_init()
108 if (! comp->rstate) in slhc_init()
116 if (! comp->tstate) in slhc_init()
133 ts = comp->tstate; in slhc_init()
141 return comp; in slhc_init()
146 kfree(comp); in slhc_init()
165 kfree( comp ); in slhc_free()
230 struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress()
279 comp->sls_o_tcp++; in slhc_compress()
533 cs = &comp->rstate[comp->recv_current]; in slhc_uncompress()
[all …]
/linux/Documentation/devicetree/bindings/infiniband/
A Dhisilicon-hns-roce.txt25 - hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq
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",
83 "hns-roce-comp-9",
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Ddevcom.c47 init_rwsem(&comp->sem); in mlx5_devcom_list_alloc()
161 down_write(&comp->sem); in mlx5_devcom_register_component()
164 up_write(&comp->sem); in mlx5_devcom_register_component()
178 up_write(&comp->sem); in mlx5_devcom_unregister_component()
196 err = comp->handler(event, comp->device[i].data, in mlx5_devcom_send_event()
201 up_write(&comp->sem); in mlx5_devcom_send_event()
214 comp->paired = paired; in mlx5_devcom_set_paired()
236 down_read(&comp->sem); in mlx5_devcom_get_peer_data()
237 if (!comp->paired) { in mlx5_devcom_get_peer_data()
238 up_read(&comp->sem); in mlx5_devcom_get_peer_data()
[all …]
/linux/drivers/counter/
A Dcounter-sysfs.c34 struct counter_comp comp; member
186 switch (a->comp.type) { in counter_comp_u32_show()
231 switch (a->comp.type) { in counter_comp_u32_store()
404 counter_attr->comp.type = comp->type; in counter_avail_attr_create()
405 counter_attr->comp.priv = comp->priv; in counter_avail_attr_create()
414 comp->name); in counter_avail_attr_create()
441 counter_attr->comp = *comp; in counter_attr_create()
449 switch (comp->type) { in counter_attr_create()
495 switch (comp->type) { in counter_attr_create()
667 if (!comp.name) in counter_sysfs_synapses_add()
[all …]
A Dcounter-chrdev.c29 struct counter_comp comp; member
46 (comp.action_read || \
47 comp.device_u8_read || \
48 comp.count_u8_read || \
49 comp.signal_u8_read || \
51 comp.count_u32_read || \
54 comp.count_u64_read || \
55 comp.signal_u64_read)
161 counter_comp_read_is_equal(comp_node->comp, cfg->comp)) { in counter_set_event_node()
458 const struct counter_comp *const comp = &comp_node->comp; in counter_get_data() local
[all …]
/linux/drivers/most/
A Dcore.c703 if (c->pipe0.comp == comp) in most_remove_link()
705 if (c->pipe1.comp == comp) in most_remove_link()
1001 if (comp == c->pipe0.comp) in most_get_mbo()
1003 else if (comp == c->pipe1.comp) in most_get_mbo()
1140 if (comp == c->pipe0.comp) in most_start_channel()
1142 if (comp == c->pipe1.comp) in most_start_channel()
1206 if (comp == c->pipe0.comp) in most_stop_channel()
1208 if (comp == c->pipe1.comp) in most_stop_channel()
1238 if (c->pipe0.comp == comp || c->pipe1.comp == comp) in disconnect_channels()
1240 if (c->pipe0.comp == comp) in disconnect_channels()
[all …]
A Dmost_cdev.c28 } comp; variable
94 device_destroy(comp.class, c->devno); in destroy_cdev()
478 static struct cdev_component comp = { variable
494 if (IS_ERR(comp.class)) in most_cdev_init()
495 return PTR_ERR(comp.class); in most_cdev_init()
497 ida_init(&comp.minor_id); in most_cdev_init()
502 comp.major = MAJOR(comp.devno); in most_cdev_init()
516 ida_destroy(&comp.minor_id); in most_cdev_init()
517 class_destroy(comp.class); in most_cdev_init()
533 ida_destroy(&comp.minor_id); in most_cdev_exit()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
A Dbase.c203 struct omapdss_comp_node *comp; in omapdss_list_contains() local
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()
275 if (comp->dss_core_component) in omapdss_component_is_loaded()
287 struct omapdss_comp_node *comp; in omapdss_stack_is_ready() local
[all …]
/linux/drivers/infiniband/sw/rxe/
A Drxe_comp.c118 qp->comp.timeout = 1; in retransmit_timer()
168 qp->comp.started_retry = 0; in reset_retry_counters()
219 switch (qp->comp.opcode) { in check_ack()
303 qp->comp.psn = pkt->psn; in check_ack()
510 qp->comp.opcode = -1; in complete_wqe()
577 if (qp->comp.timeout) { in rxe_completer()
579 qp->comp.timeout = 0; in rxe_completer()
642 qp->comp.opcode = -1; in rxe_completer()
707 qp->comp.retry_cnt--; in rxe_completer()
714 qp->comp.psn) > 0) { in rxe_completer()
[all …]
/linux/drivers/clk/ti/
A Dcomposite.c91 struct component_clk *comp; in _lookup_component() local
94 if (comp->node == node) in _lookup_component()
95 return comp; in _lookup_component()
125 struct component_clk *comp; in _register_composite() local
137 if (!comp) { in _register_composite()
152 cclk->comp_clks[comp->type] = comp; in _register_composite()
160 comp = cclk->comp_clks[i]; in _register_composite()
161 if (!comp) in _register_composite()
163 if (comp->num_parents) { in _register_composite()
164 num_parents = comp->num_parents; in _register_composite()
[all …]
/linux/sound/soc/tegra/
A Dtegra210_dmic.c163 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_boost_gain()
174 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_boost_gain()
189 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_ch_select()
200 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_ch_select()
215 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_mono_to_stereo()
226 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_mono_to_stereo()
241 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_stereo_to_mono()
252 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_stereo_to_mono()
267 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_get_osr_val()
278 struct tegra210_dmic *dmic = snd_soc_component_get_drvdata(comp); in tegra210_dmic_put_osr_val()
[all …]
/linux/fs/jffs2/
A Dcompr.c305 if (!comp->name) { in jffs2_register_compressor()
309 comp->compr_buf_size=0; in jffs2_register_compressor()
310 comp->compr_buf=NULL; in jffs2_register_compressor()
311 comp->usecount=0; in jffs2_register_compressor()
312 comp->stat_compr_orig_size=0; in jffs2_register_compressor()
313 comp->stat_compr_new_size=0; in jffs2_register_compressor()
314 comp->stat_compr_blocks=0; in jffs2_register_compressor()
315 comp->stat_decompr_blocks=0; in jffs2_register_compressor()
321 if (this->priority < comp->priority) { in jffs2_register_compressor()
345 if (comp->usecount) { in jffs2_unregister_compressor()
[all …]
/linux/arch/s390/boot/
A Dipl_report.c35 struct ipl_rb_component_entry *comp; in find_bootdata_space() local
42 for_each_rb_entry(comp, comps) in find_bootdata_space()
43 early_ipl_comp_list_size += sizeof(*comp); in find_bootdata_space()
60 for_each_rb_entry(comp, comps) in find_bootdata_space()
61 if (intersects(safe_addr, size, comp->addr, comp->len)) { in find_bootdata_space()
62 safe_addr = comp->addr + comp->len; in find_bootdata_space()
78 struct ipl_rb_component_entry *comp, *ptr; in copy_components_bootdata() local
81 for_each_rb_entry(comp, comps) in copy_components_bootdata()
82 memcpy(ptr++, comp, sizeof(*ptr)); in copy_components_bootdata()
/linux/drivers/video/fbdev/core/
A Dsyscopyarea.c44 *dst = comp(*src, *dst, first); in bitcpy()
49 *dst = comp(*src, *dst, first); in bitcpy()
73 *dst = comp(*src, *dst, last); in bitcpy()
89 *dst = comp(*src << left, *dst, first); in bitcpy()
112 *dst = comp(d0 << left, *dst, first); in bitcpy()
159 *dst = comp(d0, *dst, last); in bitcpy()
193 *dst = comp(*src, *dst, last); in bitcpy_rev()
199 *dst = comp(*src, *dst, first); in bitcpy_rev()
222 *dst = comp(*src, *dst, last); in bitcpy_rev()
270 *dst = comp(d0, *dst, first); in bitcpy_rev()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxfw/
A Dmlxfw_fsm.c245 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()
269 block_ptr = comp->data + offset; in mlxfw_flash_component()
282 comp->data_size); in mlxfw_flash_component()
288 comp->index); in mlxfw_flash_component()
325 struct mlxfw_mfa2_component *comp; in mlxfw_flash_components() local
329 if (IS_ERR(comp)) { in mlxfw_flash_components()
330 err = PTR_ERR(comp); in mlxfw_flash_components()
337 comp->index); in mlxfw_flash_components()
[all …]

Completed in 85 milliseconds

12345678910>>...17