Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v5.15/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h78 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument
80 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()
86 static inline void mtk_ddp_comp_clk_disable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_disable() argument
88 if (comp->funcs && comp->funcs->clk_disable) in mtk_ddp_comp_clk_disable()
89 comp->funcs->clk_disable(comp->dev); in mtk_ddp_comp_clk_disable()
92 static inline void mtk_ddp_comp_config(struct mtk_ddp_comp *comp, in mtk_ddp_comp_config() argument
97 if (comp->funcs && comp->funcs->config) in mtk_ddp_comp_config()
98 comp->funcs->config(comp->dev, w, h, vrefresh, bpc, cmdq_pkt); in mtk_ddp_comp_config()
101 static inline void mtk_ddp_comp_start(struct mtk_ddp_comp *comp) in mtk_ddp_comp_start() argument
[all …]
Dmtk_drm_crtc.c207 struct mtk_ddp_comp *comp; in mtk_drm_ddp_comp_for_plane() local
212 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_ddp_comp_for_plane()
213 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_drm_ddp_comp_for_plane()
215 return comp; in mtk_drm_ddp_comp_for_plane()
217 count += mtk_ddp_comp_layer_nr(comp); in mtk_drm_ddp_comp_for_plane()
292 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init() local
295 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init()
297 mtk_ddp_comp_config(comp, width, height, vrefresh, bpc, NULL); in mtk_crtc_ddp_hw_init()
298 mtk_ddp_comp_start(comp); in mtk_crtc_ddp_hw_init()
305 struct mtk_ddp_comp *comp; in mtk_crtc_ddp_hw_init() local
[all …]
/Linux-v5.15/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-v5.15/drivers/media/platform/mtk-mdp/
Dmtk_mdp_comp.c17 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
21 if (comp->larb_dev) { in mtk_mdp_comp_clock_on()
22 err = mtk_smi_larb_get(comp->larb_dev); in mtk_mdp_comp_clock_on()
26 err, comp->type); in mtk_mdp_comp_clock_on()
29 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_on()
30 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_on()
32 err = clk_prepare_enable(comp->clk[i]); in mtk_mdp_comp_clock_on()
36 err, comp->type, i); in mtk_mdp_comp_clock_on()
40 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_off() argument
44 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
[all …]
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()
160 ret = mtk_mdp_comp_init(dev, node, comp, comp_type); in mtk_mdp_probe()
166 mtk_mdp_register_component(mdp, comp); in mtk_mdp_probe()
230 list_for_each_entry_safe(comp, comp_temp, &mdp->comp_list, node) { in mtk_mdp_probe()
[all …]
/Linux-v5.15/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
68 i = sysfs_match_string(backends, comp); in zcomp_available_algorithm()
79 return crypto_has_comp(comp, 0, 0) == 1; in zcomp_available_algorithm()
83 ssize_t zcomp_available_show(const char *comp, char *buf) in zcomp_available_show() argument
90 if (!strcmp(comp, backends[i])) { in zcomp_available_show()
104 if (!known_algorithm && crypto_has_comp(comp, 0, 0) == 1) in zcomp_available_show()
106 "[%s] ", comp); in zcomp_available_show()
112 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) in zcomp_stream_get() argument
[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-v5.15/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.c1639 struct snd_soc_component *comp = dai->component; in wcd9335_set_prim_interpolator_rate() local
1640 struct wcd9335_codec *wcd = dev_get_drvdata(comp->dev); in wcd9335_set_prim_interpolator_rate()
1653 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1655 cfg1 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate()
1672 snd_soc_component_update_bits(comp, in wcd9335_set_prim_interpolator_rate()
1790 struct snd_soc_component *comp = dai->component; in wcd9335_set_decimator_rate() local
1791 struct wcd9335_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd9335_set_decimator_rate()
1829 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd9335_set_decimator_rate()
1848 snd_soc_component_update_bits(comp, in wcd9335_set_decimator_rate()
2178 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd9335_get_compander() local
[all …]
Dpcm3060.c19 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()
25 dev_err(comp->dev, "unsupported sysclock dir: %d\n", dir); in pcm3060_set_sysclk()
43 dev_err(comp->dev, "unsupported sysclock id: %d\n", clk_id); in pcm3060_set_sysclk()
61 struct snd_soc_component *comp = dai->component; in pcm3060_set_fmt() local
62 struct pcm3060_priv *priv = snd_soc_component_get_drvdata(comp); in pcm3060_set_fmt()
67 dev_err(comp->dev, "unsupported DAI polarity: 0x%x\n", fmt); in pcm3060_set_fmt()
79 dev_err(comp->dev, "unsupported DAI master mode: 0x%x\n", fmt); in pcm3060_set_fmt()
94 dev_err(comp->dev, "unsupported DAI format: 0x%x\n", fmt); in pcm3060_set_fmt()
112 struct snd_soc_component *comp = dai->component; in pcm3060_hw_params() local
[all …]
Dwcd934x.c1428 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in wcd934x_codec_enable_mclk() local
1429 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); in wcd934x_codec_enable_mclk()
1535 struct snd_soc_component *comp = dai->component; in wcd934x_set_prim_interpolator_rate() local
1536 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); in wcd934x_set_prim_interpolator_rate()
1553 cfg0 = snd_soc_component_read(comp, in wcd934x_set_prim_interpolator_rate()
1555 cfg1 = snd_soc_component_read(comp, in wcd934x_set_prim_interpolator_rate()
1578 snd_soc_component_update_bits(comp, in wcd934x_set_prim_interpolator_rate()
1661 struct snd_soc_component *comp = dai->component; in wcd934x_set_decimator_rate() local
1662 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp); in wcd934x_set_decimator_rate()
1703 tx_mux_sel = snd_soc_component_read(comp, tx_port_reg) & in wcd934x_set_decimator_rate()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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()
153 struct mlx5_devcom_component *comp; in mlx5_devcom_register_component() local
160 comp = &devcom->priv->components[id]; in mlx5_devcom_register_component()
161 down_write(&comp->sem); in mlx5_devcom_register_component()
162 comp->handler = handler; in mlx5_devcom_register_component()
163 comp->device[devcom->idx].data = data; in mlx5_devcom_register_component()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/infiniband/sw/rxe/
Drxe_comp.c118 qp->comp.timeout = 1; in retransmit_timer()
119 rxe_run_task(&qp->comp.task, 1); in retransmit_timer()
133 rxe_run_task(&qp->comp.task, must_sched); in rxe_comp_queue_pkt()
169 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
170 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
171 qp->comp.started_retry = 0; in reset_retry_counters()
197 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
222 switch (qp->comp.opcode) { in check_ack()
303 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack()
306 qp->comp.psn = pkt->psn; in check_ack()
[all …]
/Linux-v5.15/drivers/clk/ti/
Dcomposite.c91 struct component_clk *comp; in _lookup_component() local
93 list_for_each_entry(comp, &component_clks, link) { in _lookup_component()
94 if (comp->node == node) in _lookup_component()
95 return comp; in _lookup_component()
125 struct component_clk *comp; in _register_composite() local
136 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite()
137 if (!comp) { in _register_composite()
146 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite()
148 node, component_clk_types[comp->type]); in _register_composite()
152 cclk->comp_clks[comp->type] = comp; in _register_composite()
[all …]
/Linux-v5.15/arch/s390/boot/
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-v5.15/fs/jffs2/
Dcompr.c301 int jffs2_register_compressor(struct jffs2_compressor *comp) in jffs2_register_compressor() argument
305 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()
316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_register_compressor()
[all …]
/Linux-v5.15/drivers/video/fbdev/core/
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()
92 *dst = comp(*src >> right, *dst, first); in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
112 *dst = comp(d0 << left, *dst, first); in bitcpy()
118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
159 *dst = comp(d0, *dst, last); in bitcpy()
193 *dst = comp(*src, *dst, last); in bitcpy_rev()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/include/sound/sof/
Dtopology.h95 struct sof_ipc_comp comp; member
117 struct sof_ipc_comp comp; member
126 struct sof_ipc_comp comp; member
136 struct sof_ipc_comp comp; member
150 struct sof_ipc_comp comp; member
161 struct sof_ipc_comp comp; member
171 struct sof_ipc_comp comp; member
197 struct sof_ipc_comp comp; member
203 struct sof_ipc_comp comp; member
232 struct sof_ipc_comp comp; member
/Linux-v5.15/sound/soc/fsl/
Dfsl_audmix.c86 static int fsl_audmix_state_trans(struct snd_soc_component *comp, in fsl_audmix_state_trans() argument
90 struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp); in fsl_audmix_state_trans()
93 dev_dbg(comp->dev, "%s", prm.msg); in fsl_audmix_state_trans()
114 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in fsl_audmix_put_mix_clk_src() local
115 struct fsl_audmix *priv = snd_soc_component_get_drvdata(comp); in fsl_audmix_put_mix_clk_src()
121 reg_val = snd_soc_component_read(comp, FSL_AUDMIX_CTR); in fsl_audmix_put_mix_clk_src()
126 dev_dbg(comp->dev, "TDMs=x%08x, val=x%08x\n", priv->tdms, val); in fsl_audmix_put_mix_clk_src()
133 dev_err(comp->dev, in fsl_audmix_put_mix_clk_src()
140 dev_err(comp->dev, in fsl_audmix_put_mix_clk_src()
152 struct snd_soc_component *comp = snd_kcontrol_chip(kcontrol); in fsl_audmix_put_out_src() local
[all …]

12345678910>>...16