Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v6.6/drivers/gpu/drm/mediatek/
Dmtk_drm_ddp_comp.h92 static inline int mtk_ddp_comp_clk_enable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_enable() argument
94 if (comp->funcs && comp->funcs->clk_enable) in mtk_ddp_comp_clk_enable()
95 return comp->funcs->clk_enable(comp->dev); in mtk_ddp_comp_clk_enable()
100 static inline void mtk_ddp_comp_clk_disable(struct mtk_ddp_comp *comp) in mtk_ddp_comp_clk_disable() argument
102 if (comp->funcs && comp->funcs->clk_disable) in mtk_ddp_comp_clk_disable()
103 comp->funcs->clk_disable(comp->dev); in mtk_ddp_comp_clk_disable()
106 static inline void mtk_ddp_comp_config(struct mtk_ddp_comp *comp, in mtk_ddp_comp_config() argument
111 if (comp->funcs && comp->funcs->config) in mtk_ddp_comp_config()
112 comp->funcs->config(comp->dev, w, h, vrefresh, bpc, cmdq_pkt); in mtk_ddp_comp_config()
115 static inline void mtk_ddp_comp_start(struct mtk_ddp_comp *comp) in mtk_ddp_comp_start() argument
[all …]
Dmtk_drm_crtc.c166 struct mtk_ddp_comp *comp; in mtk_drm_crtc_destroy() local
168 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_crtc_destroy()
169 mtk_ddp_comp_unregister_vblank_cb(comp); in mtk_drm_crtc_destroy()
267 struct mtk_ddp_comp *comp; in mtk_drm_ddp_comp_for_plane() local
272 comp = mtk_crtc->ddp_comp[i]; in mtk_drm_ddp_comp_for_plane()
273 if (local_index < (count + mtk_ddp_comp_layer_nr(comp))) { in mtk_drm_ddp_comp_for_plane()
275 return comp; in mtk_drm_ddp_comp_for_plane()
277 count += mtk_ddp_comp_layer_nr(comp); in mtk_drm_ddp_comp_for_plane()
394 struct mtk_ddp_comp *comp = mtk_crtc->ddp_comp[i]; in mtk_crtc_ddp_hw_init() local
397 mtk_ddp_comp_bgclr_in_on(comp); in mtk_crtc_ddp_hw_init()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c38 struct mlx5_devcom_comp *comp; member
112 struct mlx5_devcom_comp *comp; in mlx5_devcom_comp_alloc() local
114 comp = kzalloc(sizeof(*comp), GFP_KERNEL); in mlx5_devcom_comp_alloc()
115 if (!comp) in mlx5_devcom_comp_alloc()
118 comp->id = id; in mlx5_devcom_comp_alloc()
119 comp->key = key; in mlx5_devcom_comp_alloc()
120 comp->handler = handler; in mlx5_devcom_comp_alloc()
121 init_rwsem(&comp->sem); in mlx5_devcom_comp_alloc()
122 kref_init(&comp->ref); in mlx5_devcom_comp_alloc()
123 INIT_LIST_HEAD(&comp->comp_dev_list_head); in mlx5_devcom_comp_alloc()
[all …]
/Linux-v6.6/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.6/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 void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() argument
138 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
142 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_buck_mode()
161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() argument
166 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
170 snd_soc_component_update_bits(comp, WCD9XXX_A_ANA_RX_SUPPLIES, in wcd_clsh_set_flyback_mode()
179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() local
[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.6/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 …]
/Linux-v6.6/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.6/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.6/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_comp.c14 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp) in mtk_mdp_comp_clock_on() argument
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
33 for (i = 0; i < ARRAY_SIZE(comp->clk); i++) { in mtk_mdp_comp_clock_off()
34 if (IS_ERR(comp->clk[i])) in mtk_mdp_comp_clock_off()
36 clk_disable_unprepare(comp->clk[i]); in mtk_mdp_comp_clock_off()
41 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.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.c31 return ctx->comp->mdp_dev->mdp_data->mdp_cfg; in __get_plat_cfg()
39 rdma0 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RDMA0); in get_comp_flag()
40 rsz1 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RSZ1); in get_comp_flag()
45 if (ctx->comp->inner_id == rdma0) in get_comp_flag()
48 return BIT(ctx->comp->inner_id); in get_comp_flag()
54 phys_addr_t base = ctx->comp->reg_base; in init_rdma()
55 u8 subsys_id = ctx->comp->subsys_id; in init_rdma()
58 rdma0 = mdp_cfg_get_id_inner(ctx->comp->mdp_dev, MDP_COMP_RDMA0); in init_rdma()
63 struct mdp_comp *prz1 = ctx->comp->mdp_dev->comp[MDP_COMP_RSZ1]; in init_rdma()
66 if (ctx->comp->inner_id == rdma0 && prz1) in init_rdma()
[all …]
/Linux-v6.6/drivers/counter/
Dcounter-sysfs.c39 struct counter_comp comp; member
115 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show()
118 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
121 err = a->comp.count_u8_read(counter, a->parent, &data); in counter_comp_u8_show()
129 if (a->comp.type == COUNTER_COMP_BOOL) in counter_comp_u8_show()
146 if (a->comp.type == COUNTER_COMP_BOOL) { in counter_comp_u8_store()
156 err = a->comp.device_u8_write(counter, data); in counter_comp_u8_store()
159 err = a->comp.signal_u8_write(counter, a->parent, data); in counter_comp_u8_store()
162 err = a->comp.count_u8_write(counter, a->parent, data); in counter_comp_u8_store()
178 const struct counter_available *const avail = a->comp.priv; in counter_comp_u32_show()
[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.6/sound/soc/intel/avs/
Dtopology.c126 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset);
130 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_uuid_token() argument
141 avs_parse_bool_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_bool_token() argument
152 avs_parse_byte_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_byte_token() argument
163 avs_parse_short_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_short_token() argument
174 avs_parse_word_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_word_token() argument
185 avs_parse_string_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset) in avs_parse_string_token() argument
195 static int avs_parse_uuid_tokens(struct snd_soc_component *comp, void *object, in avs_parse_uuid_tokens() argument
212 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_uuid_tokens()
221 static int avs_parse_string_tokens(struct snd_soc_component *comp, void *object, in avs_parse_string_tokens() argument
[all …]
/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dadminq.c15 union pds_core_notifyq_comp *comp; in pdsc_process_notifyq() local
23 comp = cq_info->comp; in pdsc_process_notifyq()
24 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
26 u16 ecode = le16_to_cpu(comp->event.ecode); in pdsc_process_notifyq()
32 pdsc_notify(PDS_EVENT_LINK_CHANGE, comp); in pdsc_process_notifyq()
38 pdsc_notify(PDS_EVENT_RESET, comp); in pdsc_process_notifyq()
55 comp = cq_info->comp; in pdsc_process_notifyq()
56 eid = le64_to_cpu(comp->event.eid); in pdsc_process_notifyq()
68 union pds_core_adminq_comp *comp; in pdsc_process_adminq() local
99 comp = cq->info[cq->tail_idx].comp; in pdsc_process_adminq()
[all …]
/Linux-v6.6/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()
428 current_minor = ida_simple_get(&comp.minor_id, 0, 0, GFP_KERNEL); in comp_probe()
438 c->devno = MKDEV(comp.major, current_minor); in comp_probe()
458 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe()
[all …]
/Linux-v6.6/drivers/vdpa/pds/
Dcmds.c25 union pds_core_adminq_comp comp = {}; in pds_vdpa_init_hw() local
30 &comp, 0); in pds_vdpa_init_hw()
33 comp.status, ERR_PTR(err)); in pds_vdpa_init_hw()
47 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_reset() local
50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset()
53 comp.status, ERR_PTR(err)); in pds_vdpa_cmd_reset()
68 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_status() local
71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status()
74 status, comp.status, ERR_PTR(err)); in pds_vdpa_cmd_set_status()
89 union pds_core_adminq_comp comp = {}; in pds_vdpa_cmd_set_mac() local
[all …]
/Linux-v6.6/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.6/drivers/infiniband/sw/rxe/
Drxe_comp.c124 qp->comp.timeout = 1; in retransmit_timer()
125 rxe_sched_task(&qp->comp.task); in retransmit_timer()
141 rxe_sched_task(&qp->comp.task); in rxe_comp_queue_pkt()
143 rxe_run_task(&qp->comp.task); in rxe_comp_queue_pkt()
176 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
177 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
178 qp->comp.started_retry = 0; in reset_retry_counters()
204 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
212 (qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST || in check_psn()
213 qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE)) in check_psn()
[all …]
/Linux-v6.6/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.6/drivers/vfio/pci/pds/
Dcmds.c99 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_wait_device_cmd() local
108 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_wait_device_cmd()
139 union pds_core_adminq_comp comp = {}; in pds_vfio_suspend_device_cmd() local
149 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_suspend_device_cmd()
173 union pds_core_adminq_comp comp = {}; in pds_vfio_resume_device_cmd() local
177 return pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, true); in pds_vfio_resume_device_cmd()
189 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_size_cmd() local
194 err = pds_vfio_client_adminq_cmd(pds_vfio, &cmd, &comp, false); in pds_vfio_get_lm_state_size_cmd()
198 *size = le64_to_cpu(comp.lm_state_size.size); in pds_vfio_get_lm_state_size_cmd()
291 union pds_core_adminq_comp comp = {}; in pds_vfio_get_lm_state_cmd() local
[all …]
/Linux-v6.6/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.6/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 …]

12345678910>>...18