Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn20.c416 void dmub_dcn20_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn20_get_diagnostic_data() argument
421 if (!dmub || !diag_data) in dmub_dcn20_get_diagnostic_data()
424 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn20_get_diagnostic_data()
426 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn20_get_diagnostic_data()
428 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
429 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
430 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
431 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
432 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
433 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
[all …]
Ddmub_dcn32.c414 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn32_get_diagnostic_data() argument
419 if (!dmub || !diag_data) in dmub_dcn32_get_diagnostic_data()
422 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn32_get_diagnostic_data()
424 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn32_get_diagnostic_data()
426 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
427 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
428 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
429 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
430 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
431 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
[all …]
Ddmub_dcn31.c410 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn31_get_diagnostic_data() argument
415 if (!dmub || !diag_data) in dmub_dcn31_get_diagnostic_data()
418 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn31_get_diagnostic_data()
420 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn31_get_diagnostic_data()
422 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
423 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
424 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
425 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
426 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
427 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
[all …]
Ddmub_dcn31.h253 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_dcn32.h252 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_srv.c963 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_srv_get_diagnostic_data() argument
965 if (!dmub || !dmub->hw_funcs.get_diagnostic_data || !diag_data) in dmub_srv_get_diagnostic_data()
967 dmub->hw_funcs.get_diagnostic_data(dmub, diag_data); in dmub_srv_get_diagnostic_data()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c785 …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
787 if (!dc_dmub_srv || !dc_dmub_srv->dmub || !diag_data) in dc_dmub_srv_get_diagnostic_data()
789 return dmub_srv_get_diagnostic_data(dc_dmub_srv->dmub, diag_data); in dc_dmub_srv_get_diagnostic_data()
794 struct dmub_diagnostic_data diag_data = {0}; in dc_dmub_srv_log_diagnostic_data() local
801 if (!dc_dmub_srv_get_diagnostic_data(dc_dmub_srv, &diag_data)) { in dc_dmub_srv_log_diagnostic_data()
807 DC_LOG_DEBUG(" dmcub_version : %08x", diag_data.dmcub_version); in dc_dmub_srv_log_diagnostic_data()
808 DC_LOG_DEBUG(" scratch [0] : %08x", diag_data.scratch[0]); in dc_dmub_srv_log_diagnostic_data()
809 DC_LOG_DEBUG(" scratch [1] : %08x", diag_data.scratch[1]); in dc_dmub_srv_log_diagnostic_data()
810 DC_LOG_DEBUG(" scratch [2] : %08x", diag_data.scratch[2]); in dc_dmub_srv_log_diagnostic_data()
811 DC_LOG_DEBUG(" scratch [3] : %08x", diag_data.scratch[3]); in dc_dmub_srv_log_diagnostic_data()
[all …]
/linux-6.6.21/drivers/s390/char/
Draw3270.c448 struct diag210 diag_data; in raw3270_size_device_vm() local
462 diag_data.vrdcdvno = dev_id.devno; in raw3270_size_device_vm()
463 diag_data.vrdclen = sizeof(struct diag210); in raw3270_size_device_vm()
464 rc = diag210(&diag_data); in raw3270_size_device_vm()
465 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dpci.h181 u8 *diag_data; member
Deeh-powernv.c1286 (struct OpalIoP7IOCErrorData*)phb->diag_data; in pnv_eeh_get_and_dump_hub_diag()
1513 phb->diag_data, phb->diag_data_size); in pnv_eeh_next_error()
1516 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.c2080 ret = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_diag_data_set()
2086 pnv_pci_dump_phb_diag_data(phb->hose, phb->diag_data); in pnv_pci_diag_data_set()
2637 phb->diag_data = kzalloc(phb->diag_data_size, GFP_KERNEL); in pnv_pci_init_ioda_phb()
2638 if (!phb->diag_data) in pnv_pci_init_ioda_phb()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dmub/
Ddmub_srv.h799 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
/linux-6.6.21/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()