Home
last modified time | relevance | path

Searched refs:diag_data (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn31.c411 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn31_get_diagnostic_data() argument
416 if (!dmub || !diag_data) in dmub_dcn31_get_diagnostic_data()
419 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn31_get_diagnostic_data()
421 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn31_get_diagnostic_data()
423 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
424 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
425 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
426 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
427 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
428 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
[all …]
Ddmub_dcn32.c420 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn32_get_diagnostic_data() argument
425 if (!dmub || !diag_data) in dmub_dcn32_get_diagnostic_data()
428 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn32_get_diagnostic_data()
430 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn32_get_diagnostic_data()
432 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
433 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
434 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
435 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
436 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
437 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
[all …]
Ddmub_dcn20.c417 void dmub_dcn20_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn20_get_diagnostic_data() argument
422 if (!dmub || !diag_data) in dmub_dcn20_get_diagnostic_data()
425 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn20_get_diagnostic_data()
427 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn20_get_diagnostic_data()
429 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
430 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
431 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
432 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
433 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
434 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
[all …]
Ddmub_dcn401.c405 void dmub_dcn401_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn401_get_diagnostic_data() argument
410 if (!dmub || !diag_data) in dmub_dcn401_get_diagnostic_data()
413 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn401_get_diagnostic_data()
415 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn401_get_diagnostic_data()
417 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data()
418 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data()
419 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn401_get_diagnostic_data()
420 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn401_get_diagnostic_data()
421 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn401_get_diagnostic_data()
422 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn401_get_diagnostic_data()
[all …]
Ddmub_dcn35.c464 void dmub_dcn35_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn35_get_diagnostic_data() argument
469 if (!dmub || !diag_data) in dmub_dcn35_get_diagnostic_data()
472 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn35_get_diagnostic_data()
474 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn35_get_diagnostic_data()
476 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
477 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
478 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
479 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
480 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn35_get_diagnostic_data()
481 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn35_get_diagnostic_data()
[all …]
Ddmub_dcn31.h254 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_dcn32.h257 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_dcn35.h272 void dmub_dcn35_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_srv.c1100 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_srv_get_diagnostic_data() argument
1102 if (!dmub || !dmub->hw_funcs.get_diagnostic_data || !diag_data) in dmub_srv_get_diagnostic_data()
1104 dmub->hw_funcs.get_diagnostic_data(dmub, diag_data); in dmub_srv_get_diagnostic_data()
Ddmub_dcn401.h266 void dmub_dcn401_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
/linux-6.12.1/drivers/s390/cio/
Ddevice_id.c103 struct diag210 diag_data; in diag210_get_dev_info() local
108 memset(&diag_data, 0, sizeof(diag_data)); in diag210_get_dev_info()
109 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info()
110 diag_data.vrdclen = sizeof(diag_data); in diag210_get_dev_info()
111 rc = diag210(&diag_data); in diag210_get_dev_info()
114 CIO_HEX_EVENT(4, &diag_data, sizeof(diag_data)); in diag210_get_dev_info()
117 if (diag210_to_senseid(senseid, &diag_data)) in diag210_get_dev_info()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c929 …ub_srv_get_diagnostic_data(struct dc_dmub_srv *dc_dmub_srv, struct dmub_diagnostic_data *diag_data) in dc_dmub_srv_get_diagnostic_data() argument
931 if (!dc_dmub_srv || !dc_dmub_srv->dmub || !diag_data) in dc_dmub_srv_get_diagnostic_data()
933 return dmub_srv_get_diagnostic_data(dc_dmub_srv->dmub, diag_data); in dc_dmub_srv_get_diagnostic_data()
938 struct dmub_diagnostic_data diag_data = {0}; in dc_dmub_srv_log_diagnostic_data() local
948 if (!dc_dmub_srv_get_diagnostic_data(dc_dmub_srv, &diag_data)) { in dc_dmub_srv_log_diagnostic_data()
954 DC_LOG_DEBUG(" dmcub_version : %08x", diag_data.dmcub_version); in dc_dmub_srv_log_diagnostic_data()
955 DC_LOG_DEBUG(" scratch [0] : %08x", diag_data.scratch[0]); in dc_dmub_srv_log_diagnostic_data()
956 DC_LOG_DEBUG(" scratch [1] : %08x", diag_data.scratch[1]); in dc_dmub_srv_log_diagnostic_data()
957 DC_LOG_DEBUG(" scratch [2] : %08x", diag_data.scratch[2]); in dc_dmub_srv_log_diagnostic_data()
958 DC_LOG_DEBUG(" scratch [3] : %08x", diag_data.scratch[3]); in dc_dmub_srv_log_diagnostic_data()
[all …]
/linux-6.12.1/drivers/s390/char/
Draw3270.c452 struct diag210 diag_data; in raw3270_size_device_vm() local
466 diag_data.vrdcdvno = dev_id.devno; in raw3270_size_device_vm()
467 diag_data.vrdclen = sizeof(struct diag210); in raw3270_size_device_vm()
468 rc = diag210(&diag_data); in raw3270_size_device_vm()
469 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dpci.h181 u8 *diag_data; member
Deeh-powernv.c1285 (struct OpalIoP7IOCErrorData*)phb->diag_data; in pnv_eeh_get_and_dump_hub_diag()
1512 phb->diag_data, phb->diag_data_size); in pnv_eeh_next_error()
1515 phb->diag_data); in pnv_eeh_next_error()
Dpci.c496 rc = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_handle_eeh_config()
525 pnv_pci_dump_phb_diag_data(phb->hose, phb->diag_data); in pnv_pci_handle_eeh_config()
Dpci-ioda.c2082 ret = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_diag_data_set()
2088 pnv_pci_dump_phb_diag_data(phb->hose, phb->diag_data); in pnv_pci_diag_data_set()
2639 phb->diag_data = kzalloc(phb->diag_data_size, GFP_KERNEL); in pnv_pci_init_ioda_phb()
2640 if (!phb->diag_data) in pnv_pci_init_ioda_phb()
/linux-6.12.1/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c2322 void *request_data, *diag_data; in _ctl_diag_read_buffer() local
2378 diag_data = (void *)(request_data + karg.starting_offset); in _ctl_diag_read_buffer()
2381 __func__, diag_data, karg.starting_offset, in _ctl_diag_read_buffer()
2385 if ((diag_data + karg.bytes_to_read < diag_data) || in _ctl_diag_read_buffer()
2386 (diag_data + karg.bytes_to_read > request_data + request_size)) in _ctl_diag_read_buffer()
2392 diag_data, copy_size)) { in _ctl_diag_read_buffer()
2394 __func__, diag_data); in _ctl_diag_read_buffer()
/linux-6.12.1/drivers/s390/block/
Ddasd.c3382 struct diag210 diag_data; in dasd_device_is_ro() local
3388 memset(&diag_data, 0, sizeof(diag_data)); in dasd_device_is_ro()
3389 diag_data.vrdcdvno = dev_id.devno; in dasd_device_is_ro()
3390 diag_data.vrdclen = sizeof(diag_data); in dasd_device_is_ro()
3391 rc = diag210(&diag_data); in dasd_device_is_ro()
3393 return diag_data.vrdcvfla & 0x80; in dasd_device_is_ro()
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/
Ddmub_srv.h891 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);