Home
last modified time | relevance | path

Searched refs:dl (Results 1 - 25 of 283) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_dl.c177 * @pre_cmd: pre command to be issued through extended dl header
178 * @post_cmd: post command to be issued through extended dl header
532 struct vsp1_dl_ext_cmd *vsp1_dl_get_pre_cmd(struct vsp1_dl_list *dl) in vsp1_dl_get_pre_cmd() argument
534 struct vsp1_dl_manager *dlm = dl->dlm; in vsp1_dl_get_pre_cmd()
536 if (dl->pre_cmd) in vsp1_dl_get_pre_cmd()
537 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
539 dl->pre_cmd = vsp1_dl_ext_cmd_get(dlm->cmdpool); in vsp1_dl_get_pre_cmd()
541 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
550 struct vsp1_dl_list *dl; in vsp1_dl_list_alloc() local
553 dl in vsp1_dl_list_alloc()
578 vsp1_dl_list_bodies_put(struct vsp1_dl_list *dl) vsp1_dl_list_bodies_put() argument
588 vsp1_dl_list_free(struct vsp1_dl_list *dl) vsp1_dl_list_free() argument
606 struct vsp1_dl_list *dl = NULL; vsp1_dl_list_get() local
628 __vsp1_dl_list_put(struct vsp1_dl_list *dl) __vsp1_dl_list_put() argument
672 vsp1_dl_list_put(struct vsp1_dl_list *dl) vsp1_dl_list_put() argument
691 vsp1_dl_list_get_body0(struct vsp1_dl_list *dl) vsp1_dl_list_get_body0() argument
712 vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_dl_list_add_body() argument
735 vsp1_dl_list_add_chain(struct vsp1_dl_list *head, struct vsp1_dl_list *dl) vsp1_dl_list_add_chain() argument
751 vsp1_dl_list_fill_header(struct vsp1_dl_list *dl, bool is_last) vsp1_dl_list_fill_header() argument
851 vsp1_dl_list_hw_enqueue(struct vsp1_dl_list *dl) vsp1_dl_list_hw_enqueue() argument
866 vsp1_dl_list_commit_continuous(struct vsp1_dl_list *dl) vsp1_dl_list_commit_continuous() argument
903 vsp1_dl_list_commit_singleshot(struct vsp1_dl_list *dl) vsp1_dl_list_commit_singleshot() argument
917 vsp1_dl_list_commit(struct vsp1_dl_list *dl, unsigned int dl_flags) vsp1_dl_list_commit() argument
1127 struct vsp1_dl_list *dl; vsp1_dlm_create() local
1157 struct vsp1_dl_list *dl, *next; vsp1_dlm_destroy() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_dl.c177 * @pre_cmd: pre command to be issued through extended dl header
178 * @post_cmd: post command to be issued through extended dl header
532 struct vsp1_dl_ext_cmd *vsp1_dl_get_pre_cmd(struct vsp1_dl_list *dl) in vsp1_dl_get_pre_cmd() argument
534 struct vsp1_dl_manager *dlm = dl->dlm; in vsp1_dl_get_pre_cmd()
536 if (dl->pre_cmd) in vsp1_dl_get_pre_cmd()
537 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
539 dl->pre_cmd = vsp1_dl_ext_cmd_get(dlm->cmdpool); in vsp1_dl_get_pre_cmd()
541 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
550 struct vsp1_dl_list *dl; in vsp1_dl_list_alloc() local
553 dl in vsp1_dl_list_alloc()
578 vsp1_dl_list_bodies_put(struct vsp1_dl_list *dl) vsp1_dl_list_bodies_put() argument
588 vsp1_dl_list_free(struct vsp1_dl_list *dl) vsp1_dl_list_free() argument
606 struct vsp1_dl_list *dl = NULL; vsp1_dl_list_get() local
628 __vsp1_dl_list_put(struct vsp1_dl_list *dl) __vsp1_dl_list_put() argument
672 vsp1_dl_list_put(struct vsp1_dl_list *dl) vsp1_dl_list_put() argument
691 vsp1_dl_list_get_body0(struct vsp1_dl_list *dl) vsp1_dl_list_get_body0() argument
712 vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_dl_list_add_body() argument
735 vsp1_dl_list_add_chain(struct vsp1_dl_list *head, struct vsp1_dl_list *dl) vsp1_dl_list_add_chain() argument
751 vsp1_dl_list_fill_header(struct vsp1_dl_list *dl, bool is_last) vsp1_dl_list_fill_header() argument
851 vsp1_dl_list_hw_enqueue(struct vsp1_dl_list *dl) vsp1_dl_list_hw_enqueue() argument
866 vsp1_dl_list_commit_continuous(struct vsp1_dl_list *dl) vsp1_dl_list_commit_continuous() argument
903 vsp1_dl_list_commit_singleshot(struct vsp1_dl_list *dl) vsp1_dl_list_commit_singleshot() argument
917 vsp1_dl_list_commit(struct vsp1_dl_list *dl, unsigned int dl_flags) vsp1_dl_list_commit() argument
1127 struct vsp1_dl_list *dl; vsp1_dlm_create() local
1157 struct vsp1_dl_list *dl, *next; vsp1_dlm_destroy() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
H A Dssm4567.c89 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
91 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
93 if (!dl || !platform) in avs_create_dai_link()
98 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
99 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
100 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
101 if (!dl in avs_create_dai_link()
[all...]
H A Dmax98373.c101 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
103 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
105 if (!dl || !platform) in avs_create_dai_link()
110 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
111 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
112 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
113 if (!dl in avs_create_dai_link()
[all...]
H A Dmax98927.c98 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
100 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
102 if (!dl || !platform) in avs_create_dai_link()
107 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
108 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
109 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
110 if (!dl in avs_create_dai_link()
[all...]
H A Dmax98357a.c52 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
54 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
56 if (!dl || !platform) in avs_create_dai_link()
61 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
62 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
63 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
64 if (!dl in avs_create_dai_link()
[all...]
H A Drt286.c120 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
122 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
124 if (!dl || !platform) in avs_create_dai_link()
129 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
130 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
131 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
132 if (!dl in avs_create_dai_link()
[all...]
H A Drt298.c137 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
139 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
141 if (!dl || !platform) in avs_create_dai_link()
146 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
147 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
148 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
149 if (!dl in avs_create_dai_link()
[all...]
H A Des8336.c200 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
202 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
204 if (!dl || !platform) in avs_create_dai_link()
209 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
210 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
211 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
212 if (!dl in avs_create_dai_link()
[all...]
H A Drt5682.c209 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
211 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
213 if (!dl || !platform) in avs_create_dai_link()
218 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
219 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
220 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
221 if (!dl in avs_create_dai_link()
[all...]
H A Drt5663.c139 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
141 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
143 if (!dl || !platform) in avs_create_dai_link()
148 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
149 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
150 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
151 if (!dl in avs_create_dai_link()
[all...]
H A Dnau8825.c177 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
179 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
181 if (!dl || !platform) in avs_create_dai_link()
186 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
187 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
188 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
189 if (!dl in avs_create_dai_link()
[all...]
H A Dda7219.c170 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
172 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
174 if (!dl || !platform) in avs_create_dai_link()
179 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
180 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
181 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
182 if (!dl in avs_create_dai_link()
[all...]
H A Drt274.c151 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
153 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
155 if (!dl || !platform) in avs_create_dai_link()
160 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
161 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
162 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
163 if (!dl in avs_create_dai_link()
[all...]
H A Di2s_test.c20 struct snd_soc_dai_link *dl; in avs_create_dai_link() local
22 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
24 if (!dl || !platform) in avs_create_dai_link()
29 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link()
30 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
31 if (!dl->name || !dl->cpus) in avs_create_dai_link()
34 dl in avs_create_dai_link()
[all...]
H A Dhdaudio.c21 struct snd_soc_dai_link *dl; in avs_create_dai_links() local
26 dl = devm_kcalloc(dev, pcm_count, sizeof(*dl), GFP_KERNEL); in avs_create_dai_links()
28 if (!dl || !platform) in avs_create_dai_links()
35 dl[i].name = devm_kasprintf(dev, GFP_KERNEL, "%s link%d", cname, i); in avs_create_dai_links()
36 if (!dl[i].name) in avs_create_dai_links()
39 dl[i].id = i; in avs_create_dai_links()
40 dl[i].nonatomic = 1; in avs_create_dai_links()
41 dl[i].no_pcm = 1; in avs_create_dai_links()
42 dl[ in avs_create_dai_links()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_devlink.c6 static int otx2_cpt_dl_egrp_create(struct devlink *dl, u32 id, in otx2_cpt_dl_egrp_create() argument
9 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_egrp_create()
15 static int otx2_cpt_dl_egrp_delete(struct devlink *dl, u32 id, in otx2_cpt_dl_egrp_delete() argument
18 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_egrp_delete()
24 static int otx2_cpt_dl_uc_info(struct devlink *dl, u32 id, in otx2_cpt_dl_uc_info() argument
27 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_dl_uc_info()
71 static int otx2_cpt_devlink_info_get(struct devlink *dl, in otx2_cpt_devlink_info_get() argument
75 struct otx2_cpt_devlink *cpt_dl = devlink_priv(dl); in otx2_cpt_devlink_info_get()
101 struct devlink *dl; in otx2_cpt_register_dl() local
104 dl in otx2_cpt_register_dl()
131 struct devlink *dl = cptpf->dl; otx2_cpt_unregister_dl() local
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Ddcache.c218 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock() local
221 (unsigned long long)parent_blkno, dl); in ocfs2_dentry_attach_lock()
235 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock()
238 if (dl) { in ocfs2_dentry_attach_lock()
239 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
243 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
260 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
261 mlog_bug_on_msg(!dl, "parent %llu, ino %llu\n", in ocfs2_dentry_attach_lock()
265 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
269 (unsigned long long)dl in ocfs2_dentry_attach_lock()
367 ocfs2_drop_dentry_lock(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) ocfs2_drop_dentry_lock() argument
376 ocfs2_dentry_lock_put(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) ocfs2_dentry_lock_put() argument
394 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; ocfs2_dentry_iput() local
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddcache.c216 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock() local
219 (unsigned long long)parent_blkno, dl); in ocfs2_dentry_attach_lock()
233 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock()
236 if (dl) { in ocfs2_dentry_attach_lock()
237 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
241 (unsigned long long)dl->dl_parent_blkno); in ocfs2_dentry_attach_lock()
258 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
259 mlog_bug_on_msg(!dl, "parent %llu, ino %llu\n", in ocfs2_dentry_attach_lock()
263 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno, in ocfs2_dentry_attach_lock()
267 (unsigned long long)dl in ocfs2_dentry_attach_lock()
365 ocfs2_drop_dentry_lock(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) ocfs2_drop_dentry_lock() argument
374 ocfs2_dentry_lock_put(struct ocfs2_super *osb, struct ocfs2_dentry_lock *dl) ocfs2_dentry_lock_put() argument
392 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; ocfs2_dentry_iput() local
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Ddeadline.c60 return container_of(dl_se, struct task_struct, dl); in dl_task_of()
65 return container_of(dl_rq, struct rq, dl); in rq_of_dl_rq()
73 return &rq->dl; in dl_rq_of_se()
180 rq->dl.extra_bw += bw; in __dl_update()
186 return &cpu_rq(i)->dl.dl_bw; in dl_bw_of()
207 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update() local
209 dl->extra_bw += bw; in __dl_update()
316 WARN_ON_ONCE(p->dl.flags & SCHED_FLAG_SUGOV); in dl_change_utilization()
322 if (p->dl.dl_non_contending) { in dl_change_utilization()
323 sub_running_bw(&p->dl, in dl_change_utilization()
2723 DEFINE_SCHED_CLASS(dl) = { global() variable
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Ddeadline.c27 return container_of(dl_se, struct task_struct, dl); in dl_task_of()
32 return container_of(dl_rq, struct rq, dl); in rq_of_dl_rq()
40 return &rq->dl; in dl_rq_of_se()
127 return &cpu_rq(i)->dl.dl_bw; in dl_bw_of()
223 BUG_ON(p->dl.flags & SCHED_FLAG_SUGOV); in dl_change_utilization()
229 if (p->dl.dl_non_contending) { in dl_change_utilization()
230 sub_running_bw(&p->dl, &rq->dl); in dl_change_utilization()
231 p->dl.dl_non_contending = 0; in dl_change_utilization()
239 if (hrtimer_try_to_cancel(&p->dl in dl_change_utilization()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_devlink.c12 static int ionic_dl_flash_update(struct devlink *dl, in ionic_dl_flash_update() argument
16 struct ionic *ionic = devlink_priv(dl); in ionic_dl_flash_update()
21 static int ionic_dl_info_get(struct devlink *dl, struct devlink_info_req *req, in ionic_dl_info_get() argument
24 struct ionic *ionic = devlink_priv(dl); in ionic_dl_info_get()
61 struct devlink *dl; in ionic_devlink_alloc() local
63 dl = devlink_alloc(&ionic_dl_ops, sizeof(struct ionic), dev); in ionic_devlink_alloc()
64 if (!dl) in ionic_devlink_alloc()
67 return devlink_priv(dl); in ionic_devlink_alloc()
72 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_free() local
74 devlink_free(dl); in ionic_devlink_free()
79 struct devlink *dl = priv_to_devlink(ionic); ionic_devlink_register() local
98 struct devlink *dl = priv_to_devlink(ionic); ionic_devlink_unregister() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c100 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_create() local
102 dl->fw_reporter = devlink_health_reporter_create(devlink, &qed_fw_fatal_reporter_ops, in qed_fw_reporters_create()
103 QED_REPORTER_FW_GRACEFUL_PERIOD, dl); in qed_fw_reporters_create()
104 if (IS_ERR(dl->fw_reporter)) { in qed_fw_reporters_create()
105 DP_NOTICE(dl->cdev, "Failed to create fw reporter, err = %ld\n", in qed_fw_reporters_create()
106 PTR_ERR(dl->fw_reporter)); in qed_fw_reporters_create()
107 dl->fw_reporter = NULL; in qed_fw_reporters_create()
113 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_destroy() local
116 rep = dl->fw_reporter; in qed_fw_reporters_destroy()
122 static int qed_dl_param_get(struct devlink *dl, u3 argument
134 qed_dl_param_set(struct devlink *dl, u32 id, struct devlink_param_gset_ctx *ctx) qed_dl_param_set() argument
207 struct devlink *dl; qed_devlink_register() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_devlink.c85 struct devlink *dl; in otx2_register_dl() local
88 dl = devlink_alloc(&otx2_devlink_ops, in otx2_register_dl()
90 if (!dl) { in otx2_register_dl()
95 otx2_dl = devlink_priv(dl); in otx2_register_dl()
96 otx2_dl->dl = dl; in otx2_register_dl()
98 pfvf->dl = otx2_dl; in otx2_register_dl()
100 err = devlink_params_register(dl, otx2_dl_params, in otx2_register_dl()
108 devlink_register(dl); in otx2_register_dl()
112 devlink_free(dl); in otx2_register_dl()
119 struct devlink *dl = otx2_dl->dl; otx2_unregister_dl() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c100 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_create() local
102 dl->fw_reporter = devlink_health_reporter_create(devlink, &qed_fw_fatal_reporter_ops, in qed_fw_reporters_create()
103 QED_REPORTER_FW_GRACEFUL_PERIOD, dl); in qed_fw_reporters_create()
104 if (IS_ERR(dl->fw_reporter)) { in qed_fw_reporters_create()
105 DP_NOTICE(dl->cdev, "Failed to create fw reporter, err = %ld\n", in qed_fw_reporters_create()
106 PTR_ERR(dl->fw_reporter)); in qed_fw_reporters_create()
107 dl->fw_reporter = NULL; in qed_fw_reporters_create()
113 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_destroy() local
116 rep = dl->fw_reporter; in qed_fw_reporters_destroy()
122 static int qed_dl_param_get(struct devlink *dl, u3 argument
134 qed_dl_param_set(struct devlink *dl, u32 id, struct devlink_param_gset_ctx *ctx) qed_dl_param_set() argument
202 struct devlink *dl; qed_devlink_register() local
[all...]

Completed in 13 milliseconds

12345678910>>...12