Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 25 of 55) sorted by relevance

123

/drivers/media/platform/vsp1/
Dvsp1_dl.c530 struct vsp1_dl_ext_cmd *vsp1_dl_get_pre_cmd(struct vsp1_dl_list *dl) in vsp1_dl_get_pre_cmd() argument
532 struct vsp1_dl_manager *dlm = dl->dlm; in vsp1_dl_get_pre_cmd()
534 if (dl->pre_cmd) in vsp1_dl_get_pre_cmd()
535 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
537 dl->pre_cmd = vsp1_dl_ext_cmd_get(dlm->cmdpool); in vsp1_dl_get_pre_cmd()
539 return dl->pre_cmd; in vsp1_dl_get_pre_cmd()
548 struct vsp1_dl_list *dl; in vsp1_dl_list_alloc() local
551 dl = kzalloc(sizeof(*dl), GFP_KERNEL); in vsp1_dl_list_alloc()
552 if (!dl) in vsp1_dl_list_alloc()
555 INIT_LIST_HEAD(&dl->bodies); in vsp1_dl_list_alloc()
[all …]
Dvsp1_dl.h63 void vsp1_dl_list_put(struct vsp1_dl_list *dl);
64 struct vsp1_dl_body *vsp1_dl_list_get_body0(struct vsp1_dl_list *dl);
65 struct vsp1_dl_ext_cmd *vsp1_dl_get_pre_cmd(struct vsp1_dl_list *dl);
66 void vsp1_dl_list_commit(struct vsp1_dl_list *dl, unsigned int dl_flags);
76 int vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb);
77 int vsp1_dl_list_add_chain(struct vsp1_dl_list *head, struct vsp1_dl_list *dl);
Dvsp1_rpf.c60 struct vsp1_dl_list *dl, in rpf_configure_stream() argument
197 struct vsp1_dl_list *dl) in vsp1_rpf_configure_autofld() argument
204 cmd = vsp1_dl_get_pre_cmd(dl); in vsp1_rpf_configure_autofld()
228 struct vsp1_dl_list *dl, in rpf_configure_frame() argument
243 struct vsp1_dl_list *dl, in rpf_configure_partition() argument
316 vsp1_rpf_configure_autofld(rpf, dl); in rpf_configure_partition()
Dvsp1_entity.h160 struct vsp1_dl_list *dl,
165 struct vsp1_dl_list *dl,
170 struct vsp1_dl_list *dl,
Dvsp1_lut.c150 struct vsp1_dl_list *dl, in lut_configure_stream() argument
160 struct vsp1_dl_list *dl, in lut_configure_frame() argument
173 vsp1_dl_list_add_body(dl, lut_dlb); in lut_configure_frame()
Dvsp1_wpf.c236 struct vsp1_dl_list *dl) in wpf_configure_writeback_chain() argument
251 vsp1_dl_list_add_chain(dl, dl_next); in wpf_configure_writeback_chain()
258 struct vsp1_dl_list *dl, in wpf_configure_stream() argument
356 ret = wpf_configure_writeback_chain(wpf, dl); in wpf_configure_stream()
367 struct vsp1_dl_list *dl, in wpf_configure_frame() argument
393 struct vsp1_dl_list *dl, in wpf_configure_partition() argument
Dvsp1_entity.c74 struct vsp1_dl_list *dl, in vsp1_entity_configure_stream() argument
78 entity->ops->configure_stream(entity, pipe, dl, dlb); in vsp1_entity_configure_stream()
83 struct vsp1_dl_list *dl, in vsp1_entity_configure_frame() argument
87 entity->ops->configure_frame(entity, pipe, dl, dlb); in vsp1_entity_configure_frame()
92 struct vsp1_dl_list *dl, in vsp1_entity_configure_partition() argument
96 entity->ops->configure_partition(entity, pipe, dl, dlb); in vsp1_entity_configure_partition()
Dvsp1_video.c364 struct vsp1_dl_list *dl, in vsp1_video_pipeline_run_partition() argument
367 struct vsp1_dl_body *dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run_partition()
373 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_video_pipeline_run_partition()
381 struct vsp1_dl_list *dl; in vsp1_video_pipeline_run() local
384 dl = vsp1_dl_list_get(pipe->output->dlm); in vsp1_video_pipeline_run()
393 vsp1_dl_list_add_body(dl, pipe->stream_config); in vsp1_video_pipeline_run()
395 dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run()
398 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_video_pipeline_run()
401 vsp1_video_pipeline_run_partition(pipe, dl, 0); in vsp1_video_pipeline_run()
420 vsp1_dl_list_add_chain(dl, dl_next); in vsp1_video_pipeline_run()
[all …]
Dvsp1_clu.c174 struct vsp1_dl_list *dl, in clu_configure_stream() argument
192 struct vsp1_dl_list *dl, in clu_configure_frame() argument
214 vsp1_dl_list_add_body(dl, clu_dlb); in clu_configure_frame()
Dvsp1_drm.c540 struct vsp1_dl_list *dl; in vsp1_du_pipeline_configure() local
549 dl = vsp1_dl_list_get(pipe->output->dlm); in vsp1_du_pipeline_configure()
550 dlb = vsp1_dl_list_get_body0(dl); in vsp1_du_pipeline_configure()
565 vsp1_entity_configure_stream(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
566 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
567 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
570 vsp1_dl_list_commit(dl, dl_flags); in vsp1_du_pipeline_configure()
/drivers/net/ethernet/pensando/ionic/
Dionic_devlink.c12 static int ionic_dl_info_get(struct devlink *dl, struct devlink_info_req *req, in ionic_dl_info_get() argument
15 struct ionic *ionic = devlink_priv(dl); in ionic_dl_info_get()
56 struct devlink *dl; in ionic_devlink_alloc() local
58 dl = devlink_alloc(&ionic_dl_ops, sizeof(struct ionic)); in ionic_devlink_alloc()
60 return devlink_priv(dl); in ionic_devlink_alloc()
65 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_free() local
67 devlink_free(dl); in ionic_devlink_free()
72 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_register() local
75 err = devlink_register(dl, ionic->dev); in ionic_devlink_register()
83 err = devlink_port_register(dl, &ionic->dl_port, 0); in ionic_devlink_register()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c109 if (!bp->dl || !health) in bnxt_dl_fw_reporters_create()
116 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create()
132 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create()
148 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create()
163 if (!bp->dl || !health) in bnxt_dl_fw_reporters_destroy()
357 static int bnxt_dl_nvm_param_get(struct devlink *dl, u32 id, in bnxt_dl_nvm_param_get() argument
361 struct bnxt *bp = bnxt_get_bp_from_dl(dl); in bnxt_dl_nvm_param_get()
373 static int bnxt_dl_nvm_param_set(struct devlink *dl, u32 id, in bnxt_dl_nvm_param_set() argument
377 struct bnxt *bp = bnxt_get_bp_from_dl(dl); in bnxt_dl_nvm_param_set()
387 static int bnxt_dl_msix_validate(struct devlink *dl, u32 id, in bnxt_dl_msix_validate() argument
[all …]
Dbnxt_devlink.h18 static inline struct bnxt *bnxt_get_bp_from_dl(struct devlink *dl) in bnxt_get_bp_from_dl() argument
20 return ((struct bnxt_dl *)devlink_priv(dl))->bp; in bnxt_get_bp_from_dl()
24 static inline void bnxt_link_bp_to_dl(struct bnxt *bp, struct devlink *dl) in bnxt_link_bp_to_dl() argument
26 bp->dl = dl; in bnxt_link_bp_to_dl()
29 if (dl) { in bnxt_link_bp_to_dl()
30 struct bnxt_dl *bp_dl = devlink_priv(dl); in bnxt_link_bp_to_dl()
/drivers/net/wireless/intersil/hostap/
Dhostap_download.c591 struct prism2_download_data *dl) in prism2_download_nonvolatile() argument
647 for (i = 0; i < dl->num_areas; i++) { in prism2_download_nonvolatile()
648 int rest_len = dl->data[i].len; in prism2_download_nonvolatile()
655 dev, dl->data[i].addr + data_off, in prism2_download_nonvolatile()
656 dl->data[i].data + data_off, bufaddr, in prism2_download_nonvolatile()
705 static void prism2_download_free_data(struct prism2_download_data *dl) in prism2_download_free_data() argument
709 if (dl == NULL) in prism2_download_free_data()
712 for (i = 0; i < dl->num_areas; i++) in prism2_download_free_data()
713 kfree(dl->data[i].data); in prism2_download_free_data()
714 kfree(dl); in prism2_download_free_data()
[all …]
/drivers/scsi/aic94xx/
Daic94xx_scb.c68 struct done_list_struct *dl) in asd_phy_event_tasklet() argument
72 int phy_id = dl->status_block[0] & DL_PHY_MASK; in asd_phy_event_tasklet()
75 u8 oob_status = dl->status_block[1] & PHY_EVENTS_STATUS; in asd_phy_event_tasklet()
76 u8 oob_mode = dl->status_block[2]; in asd_phy_event_tasklet()
102 dl->status_block[1]); in asd_phy_event_tasklet()
218 struct done_list_struct *dl, in asd_bytes_dmaed_tasklet() argument
226 u16 size = ((dl->status_block[3] & 7) << 8) | dl->status_block[2]; in asd_bytes_dmaed_tasklet()
235 asd_dump_frame_rcvd(phy, dl); in asd_bytes_dmaed_tasklet()
241 struct done_list_struct *dl, in asd_link_reset_err_tasklet() argument
248 u8 lr_error = dl->status_block[1]; in asd_link_reset_err_tasklet()
[all …]
Daic94xx_task.c141 struct done_list_struct *dl) in asd_get_response_tasklet() argument
151 } __attribute__ ((packed)) *resp_sb = (void *) dl->status_block; in asd_get_response_tasklet()
195 struct done_list_struct *dl) in asd_task_tasklet_complete() argument
200 u8 opcode = dl->opcode; in asd_task_tasklet_complete()
213 ts->residual = le32_to_cpu(*(__le32 *)dl->status_block); in asd_task_tasklet_complete()
224 asd_get_response_tasklet(ascb, dl); in asd_task_tasklet_complete()
229 if (dl->status_block[1] & 2) in asd_task_tasklet_complete()
230 ts->open_rej_reason = 1 + dl->status_block[2]; in asd_task_tasklet_complete()
231 else if (dl->status_block[1] & 1) in asd_task_tasklet_complete()
232 ts->open_rej_reason = (dl->status_block[2] >> 4)+10; in asd_task_tasklet_complete()
[all …]
Daic94xx_tmf.c57 struct done_list_struct *dl) in asd_clear_nexus_tasklet_complete() argument
65 ASD_DPRINTK("%s: opcode: 0x%x\n", __func__, dl->opcode); in asd_clear_nexus_tasklet_complete()
66 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete()
256 struct done_list_struct *dl) in asd_get_tmf_resp_tasklet() argument
264 } __attribute__ ((packed)) *resp_sb = (void *) dl->status_block; in asd_get_tmf_resp_tasklet()
302 struct done_list_struct *dl) in asd_tmf_tasklet_complete() argument
312 tcs->dl_opcode = dl->opcode; in asd_tmf_tasklet_complete()
314 if (dl->opcode == TC_SSP_RESP) { in asd_tmf_tasklet_complete()
315 tcs->tmf_state = asd_get_tmf_resp_tasklet(ascb, dl); in asd_tmf_tasklet_complete()
Daic94xx_dump.h16 struct done_list_struct *dl);
22 struct done_list_struct *dl) { } in asd_dump_frame_rcvd() argument
/drivers/scsi/
Dscsi_devinfo.c625 struct double_list *dl = v; in devinfo_seq_show() local
627 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show()
629 list_entry(dl->bottom, struct scsi_dev_info_list, in devinfo_seq_show()
632 if (devinfo_table->scsi_dev_info_list.next == dl->bottom && in devinfo_seq_show()
643 struct double_list *dl = kmalloc(sizeof(*dl), GFP_KERNEL); in devinfo_seq_start() local
646 if (!dl) in devinfo_seq_start()
649 list_for_each(dl->top, &scsi_dev_info_list) { in devinfo_seq_start()
651 list_entry(dl->top, struct scsi_dev_info_list_table, in devinfo_seq_start()
653 list_for_each(dl->bottom, &devinfo_table->scsi_dev_info_list) in devinfo_seq_start()
655 return dl; in devinfo_seq_start()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager.c187 int dl = config->video_port_width; in dss_mgr_check_lcd_config() local
197 if (dl != 12 && dl != 16 && dl != 18 && dl != 24) in dss_mgr_check_lcd_config()
/drivers/pwm/
Dcore.c635 struct device_link *dl; in pwm_device_link_add() local
648 dl = device_link_add(dev, pwm->chip->dev, DL_FLAG_AUTOREMOVE_CONSUMER); in pwm_device_link_add()
649 if (!dl) { in pwm_device_link_add()
655 return dl; in pwm_device_link_add()
683 struct device_link *dl; in of_pwm_get() local
714 dl = pwm_device_link_add(dev, pwm); in of_pwm_get()
715 if (IS_ERR(dl)) { in of_pwm_get()
718 pwm = ERR_CAST(dl); in of_pwm_get()
876 struct device_link *dl; in pwm_get() local
968 dl = pwm_device_link_add(dev, pwm); in pwm_get()
[all …]
/drivers/md/
Ddm-raid1.c879 struct dm_dirty_log *dl) in alloc_context() argument
914 dl, region_size, ms->nr_regions); in alloc_context()
972 struct dm_dirty_log *dl; in create_dirty_log() local
992 dl = dm_dirty_log_create(argv[0], ti, mirror_flush, param_count, in create_dirty_log()
994 if (!dl) { in create_dirty_log()
999 return dl; in create_dirty_log()
1068 struct dm_dirty_log *dl; in mirror_ctr() local
1071 dl = create_dirty_log(ti, argc, argv, &args_used); in mirror_ctr()
1072 if (!dl) in mirror_ctr()
1081 dm_dirty_log_destroy(dl); in mirror_ctr()
[all …]
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h100 int or, int dl, uint8_t address) in nv_read_tmds() argument
104 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_CONTROL + dl * 8, in nv_read_tmds()
106 return NVReadRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_DATA + dl * 8); in nv_read_tmds()
110 int or, int dl, uint8_t address, in nv_write_tmds() argument
115 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_DATA + dl * 8, data); in nv_write_tmds()
116 NVWriteRAMDAC(dev, ramdac, NV_PRAMDAC_FP_TMDS_CONTROL + dl * 8, address); in nv_write_tmds()
/drivers/net/ethernet/qlogic/qed/
Dqed_main.c358 static int qed_dl_param_get(struct devlink *dl, u32 id, in qed_dl_param_get() argument
364 qed_dl = devlink_priv(dl); in qed_dl_param_get()
371 static int qed_dl_param_set(struct devlink *dl, u32 id, in qed_dl_param_set() argument
377 qed_dl = devlink_priv(dl); in qed_dl_param_set()
397 struct devlink *dl; in qed_devlink_register() local
400 dl = devlink_alloc(&qed_dl_ops, sizeof(*qed_dl)); in qed_devlink_register()
401 if (!dl) in qed_devlink_register()
404 qed_dl = devlink_priv(dl); in qed_devlink_register()
406 cdev->dl = dl; in qed_devlink_register()
409 rc = devlink_register(dl, &cdev->pdev->dev); in qed_devlink_register()
[all …]
/drivers/staging/comedi/drivers/
Dni_mio_common.c1044 unsigned int dl; in ni_ai_fifo_read() local
1050 dl = ni_readl(dev, NI611X_AI_FIFO_DATA_REG); in ni_ai_fifo_read()
1052 data = (dl >> 16) & 0xffff; in ni_ai_fifo_read()
1054 data = dl & 0xffff; in ni_ai_fifo_read()
1059 dl = ni_readl(dev, NI611X_AI_FIFO_DATA_REG); in ni_ai_fifo_read()
1060 data = dl & 0xffff; in ni_ai_fifo_read()
1069 dl = ni_readl(dev, NI6143_AI_FIFO_DATA_REG); in ni_ai_fifo_read()
1071 data = (dl >> 16) & 0xffff; in ni_ai_fifo_read()
1073 data = dl & 0xffff; in ni_ai_fifo_read()
1080 dl = ni_readl(dev, NI6143_AI_FIFO_DATA_REG); in ni_ai_fifo_read()
[all …]

123