/drivers/media/platform/vsp1/ |
D | vsp1_dl.c | 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 = kzalloc(sizeof(*dl), GFP_KERNEL); in vsp1_dl_list_alloc() 554 if (!dl) in vsp1_dl_list_alloc() 557 INIT_LIST_HEAD(&dl->bodies); in vsp1_dl_list_alloc() [all …]
|
D | vsp1_dl.h | 63 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);
|
D | vsp1_rpf.c | 60 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()
|
D | vsp1_entity.h | 160 struct vsp1_dl_list *dl, 165 struct vsp1_dl_list *dl, 170 struct vsp1_dl_list *dl,
|
D | vsp1_lut.c | 151 struct vsp1_dl_list *dl, in lut_configure_stream() argument 161 struct vsp1_dl_list *dl, in lut_configure_frame() argument 174 vsp1_dl_list_add_body(dl, lut_dlb); in lut_configure_frame()
|
D | vsp1_entity.c | 74 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()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_devlink.c | 101 struct devlink *dl; in otx2_register_dl() local 104 dl = devlink_alloc(&otx2_devlink_ops, in otx2_register_dl() 106 if (!dl) { in otx2_register_dl() 111 err = devlink_register(dl); in otx2_register_dl() 114 devlink_free(dl); in otx2_register_dl() 118 otx2_dl = devlink_priv(dl); in otx2_register_dl() 119 otx2_dl->dl = dl; in otx2_register_dl() 121 pfvf->dl = otx2_dl; in otx2_register_dl() 123 err = devlink_params_register(dl, otx2_dl_params, in otx2_register_dl() 131 devlink_params_publish(dl); in otx2_register_dl() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_devlink.c | 100 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, u32 id, in qed_dl_param_get() argument [all …]
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_devlink.c | 12 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() 65 struct devlink *dl; in ionic_devlink_alloc() local 67 dl = devlink_alloc(&ionic_dl_ops, sizeof(struct ionic), dev); in ionic_devlink_alloc() 68 if (!dl) in ionic_devlink_alloc() 71 return devlink_priv(dl); in ionic_devlink_alloc() 76 struct devlink *dl = priv_to_devlink(ionic); in ionic_devlink_free() local 78 devlink_free(dl); in ionic_devlink_free() [all …]
|
D | ionic_fw.c | 102 struct devlink *dl; in ionic_firmware_update() local 109 dl = priv_to_devlink(ionic); in ionic_firmware_update() 110 devlink_flash_update_status_notify(dl, "Preparing to flash", NULL, 0, 0); in ionic_firmware_update() 122 devlink_flash_update_status_notify(dl, "Downloading", NULL, in ionic_firmware_update() 145 devlink_flash_update_status_notify(dl, "Downloading", NULL, in ionic_firmware_update() 148 devlink_flash_update_timeout_notify(dl, "Installing", NULL, in ionic_firmware_update() 169 devlink_flash_update_timeout_notify(dl, "Selecting", NULL, in ionic_firmware_update() 192 devlink_flash_update_status_notify(dl, "Flash failed", NULL, 0, 0); in ionic_firmware_update() 194 devlink_flash_update_status_notify(dl, "Flash done", NULL, 0, 0); in ionic_firmware_update()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 21 bnxt_dl_flash_update(struct devlink *dl, in bnxt_dl_flash_update() argument 25 struct bnxt *bp = bnxt_get_bp_from_dl(dl); in bnxt_dl_flash_update() 34 devlink_flash_update_status_notify(dl, "Preparing to flash", NULL, 0, 0); in bnxt_dl_flash_update() 37 devlink_flash_update_status_notify(dl, "Flashing done", NULL, 0, 0); in bnxt_dl_flash_update() 39 devlink_flash_update_status_notify(dl, "Flashing failed", NULL, 0, 0); in bnxt_dl_flash_update() 144 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create() 160 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create() 176 devlink_health_reporter_create(bp->dl, in bnxt_dl_fw_reporters_create() 280 static int bnxt_dl_info_get(struct devlink *dl, struct devlink_info_req *req, 435 static int bnxt_dl_info_get(struct devlink *dl, struct devlink_info_req *req, in bnxt_dl_info_get() argument [all …]
|
D | bnxt_devlink.h | 18 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()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_download.c | 591 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/ |
D | aic94xx_scb.c | 68 struct done_list_struct *dl) in asd_phy_event_tasklet() argument 71 int phy_id = dl->status_block[0] & DL_PHY_MASK; in asd_phy_event_tasklet() 74 u8 oob_status = dl->status_block[1] & PHY_EVENTS_STATUS; in asd_phy_event_tasklet() 75 u8 oob_mode = dl->status_block[2]; in asd_phy_event_tasklet() 103 dl->status_block[1]); in asd_phy_event_tasklet() 219 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 …]
|
D | aic94xx_task.c | 144 struct done_list_struct *dl) in asd_get_response_tasklet() argument 154 } __attribute__ ((packed)) *resp_sb = (void *) dl->status_block; in asd_get_response_tasklet() 198 struct done_list_struct *dl) in asd_task_tasklet_complete() argument 203 u8 opcode = dl->opcode; in asd_task_tasklet_complete() 216 ts->residual = le32_to_cpu(*(__le32 *)dl->status_block); in asd_task_tasklet_complete() 227 asd_get_response_tasklet(ascb, dl); in asd_task_tasklet_complete() 232 if (dl->status_block[1] & 2) in asd_task_tasklet_complete() 233 ts->open_rej_reason = 1 + dl->status_block[2]; in asd_task_tasklet_complete() 234 else if (dl->status_block[1] & 1) in asd_task_tasklet_complete() 235 ts->open_rej_reason = (dl->status_block[2] >> 4)+10; in asd_task_tasklet_complete() [all …]
|
D | aic94xx_tmf.c | 57 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()
|
D | aic94xx_dump.h | 16 struct done_list_struct *dl); 22 struct done_list_struct *dl) { } in asd_dump_frame_rcvd() argument
|
/drivers/scsi/ |
D | scsi_devinfo.c | 630 struct double_list *dl = v; in devinfo_seq_show() local 632 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show() 634 list_entry(dl->bottom, struct scsi_dev_info_list, in devinfo_seq_show() 637 if (devinfo_table->scsi_dev_info_list.next == dl->bottom && in devinfo_seq_show() 648 struct double_list *dl = kmalloc(sizeof(*dl), GFP_KERNEL); in devinfo_seq_start() local 651 if (!dl) in devinfo_seq_start() 654 list_for_each(dl->top, &scsi_dev_info_list) { in devinfo_seq_start() 656 list_entry(dl->top, struct scsi_dev_info_list_table, in devinfo_seq_start() 658 list_for_each(dl->bottom, &devinfo_table->scsi_dev_info_list) in devinfo_seq_start() 660 return dl; in devinfo_seq_start() [all …]
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 354 static int prestera_dl_info_get(struct devlink *dl, in prestera_dl_info_get() argument 358 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() 395 struct devlink *dl; in prestera_devlink_alloc() local 397 dl = devlink_alloc(&prestera_dl_ops, sizeof(struct prestera_switch), in prestera_devlink_alloc() 400 return devlink_priv(dl); in prestera_devlink_alloc() 405 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_free() local 407 devlink_free(dl); in prestera_devlink_free() 412 struct devlink *dl = priv_to_devlink(sw); in prestera_devlink_register() local 415 err = devlink_register(dl); in prestera_devlink_register() 423 devlink_unregister(dl); in prestera_devlink_register() [all …]
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_devlink.c | 611 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_nix_intr_reporter_ops, 0, rvu); in rvu_nix_register_reporters() 619 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_nix_gen_reporter_ops, 0, rvu); in rvu_nix_register_reporters() 627 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_nix_err_reporter_ops, 0, rvu); in rvu_nix_register_reporters() 635 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_nix_ras_reporter_ops, 0, rvu); in rvu_nix_register_reporters() 1251 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_npa_intr_reporter_ops, 0, rvu); in rvu_npa_register_reporters() 1259 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_npa_gen_reporter_ops, 0, rvu); in rvu_npa_register_reporters() 1267 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_npa_err_reporter_ops, 0, rvu); in rvu_npa_register_reporters() 1275 devlink_health_reporter_create(rvu_dl->dl, &rvu_hw_npa_ras_reporter_ops, 0, rvu); in rvu_npa_register_reporters() 1497 struct devlink *dl; in rvu_register_dl() local 1500 dl = devlink_alloc(&rvu_devlink_ops, sizeof(struct rvu_devlink), in rvu_register_dl() [all …]
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | manager.c | 187 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/ |
D | core.c | 720 struct device_link *dl; in pwm_device_link_add() local 733 dl = device_link_add(dev, pwm->chip->dev, DL_FLAG_AUTOREMOVE_CONSUMER); in pwm_device_link_add() 734 if (!dl) { in pwm_device_link_add() 740 return dl; in pwm_device_link_add() 768 struct device_link *dl; in of_pwm_get() local 799 dl = pwm_device_link_add(dev, pwm); in of_pwm_get() 800 if (IS_ERR(dl)) { in of_pwm_get() 803 pwm = ERR_CAST(dl); in of_pwm_get() 933 struct device_link *dl; in pwm_get() local 1025 dl = pwm_device_link_add(dev, pwm); in pwm_get() [all …]
|
/drivers/md/ |
D | dm-raid1.c | 879 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/net/dsa/mv88e6xxx/ |
D | devlink.c | 264 static int mv88e6xxx_region_global_snapshot(struct devlink *dl, in mv88e6xxx_region_global_snapshot() argument 270 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_global_snapshot() 371 static int mv88e6xxx_region_atu_snapshot(struct devlink *dl, in mv88e6xxx_region_atu_snapshot() argument 376 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_atu_snapshot() 444 static int mv88e6xxx_region_vtu_snapshot(struct devlink *dl, in mv88e6xxx_region_vtu_snapshot() argument 450 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_vtu_snapshot() 506 static int mv88e6xxx_region_pvt_snapshot(struct devlink *dl, in mv88e6xxx_region_pvt_snapshot() argument 511 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.h | 100 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()
|