Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn20.c411 void dmub_dcn20_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn20_get_diagnostic_data() argument
416 if (!dmub || !diag_data) in dmub_dcn20_get_diagnostic_data()
419 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn20_get_diagnostic_data()
421 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn20_get_diagnostic_data()
423 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
424 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
425 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
426 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
427 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
428 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
[all …]
Ddmub_dcn31.c392 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn31_get_diagnostic_data() argument
397 if (!dmub || !diag_data) in dmub_dcn31_get_diagnostic_data()
400 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn31_get_diagnostic_data()
402 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn31_get_diagnostic_data()
404 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
405 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
406 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
407 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
408 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
409 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
[all …]
Ddmub_dcn32.c408 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_dcn32_get_diagnostic_data() argument
413 if (!dmub || !diag_data) in dmub_dcn32_get_diagnostic_data()
416 memset(diag_data, 0, sizeof(*diag_data)); in dmub_dcn32_get_diagnostic_data()
418 diag_data->dmcub_version = dmub->fw_version; in dmub_dcn32_get_diagnostic_data()
420 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
421 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
422 diag_data->scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
423 diag_data->scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
424 diag_data->scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
425 diag_data->scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
[all …]
Ddmub_srv.c896 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data) in dmub_srv_get_diagnostic_data() argument
898 if (!dmub || !dmub->hw_funcs.get_diagnostic_data || !diag_data) in dmub_srv_get_diagnostic_data()
900 dmub->hw_funcs.get_diagnostic_data(dmub, diag_data); in dmub_srv_get_diagnostic_data()
Ddmub_dcn31.h247 void dmub_dcn31_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
Ddmub_dcn32.h249 void dmub_dcn32_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c794 …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
796 if (!dc_dmub_srv || !dc_dmub_srv->dmub || !diag_data) in dc_dmub_srv_get_diagnostic_data()
798 return dmub_srv_get_diagnostic_data(dc_dmub_srv->dmub, diag_data); in dc_dmub_srv_get_diagnostic_data()
803 struct dmub_diagnostic_data diag_data = {0}; in dc_dmub_srv_log_diagnostic_data() local
810 if (!dc_dmub_srv_get_diagnostic_data(dc_dmub_srv, &diag_data)) { in dc_dmub_srv_log_diagnostic_data()
850 diag_data.dmcub_version, in dc_dmub_srv_log_diagnostic_data()
851 diag_data.scratch[0], in dc_dmub_srv_log_diagnostic_data()
852 diag_data.scratch[1], in dc_dmub_srv_log_diagnostic_data()
853 diag_data.scratch[2], in dc_dmub_srv_log_diagnostic_data()
854 diag_data.scratch[3], in dc_dmub_srv_log_diagnostic_data()
[all …]
/linux-6.1.9/drivers/s390/char/
Draw3270.c429 struct diag210 diag_data; in raw3270_size_device_vm() local
432 diag_data.vrdcdvno = dev_id.devno; in raw3270_size_device_vm()
433 diag_data.vrdclen = sizeof(struct diag210); in raw3270_size_device_vm()
434 rc = diag210(&diag_data); in raw3270_size_device_vm()
435 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci.h186 u8 *diag_data; member
Deeh-powernv.c1287 (struct OpalIoP7IOCErrorData*)phb->diag_data; in pnv_eeh_get_and_dump_hub_diag()
1514 phb->diag_data, phb->diag_data_size); in pnv_eeh_next_error()
1517 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.c2418 ret = opal_pci_get_phb_diag_data2(phb->opal_id, phb->diag_data, in pnv_pci_diag_data_set()
2424 pnv_pci_dump_phb_diag_data(phb->hose, phb->diag_data); in pnv_pci_diag_data_set()
3012 phb->diag_data = kzalloc(phb->diag_data_size, GFP_KERNEL); in pnv_pci_init_ioda_phb()
3013 if (!phb->diag_data) in pnv_pci_init_ioda_phb()
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/
Ddmub_srv.h751 bool dmub_srv_get_diagnostic_data(struct dmub_srv *dmub, struct dmub_diagnostic_data *diag_data);
/linux-6.1.9/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.1.9/drivers/s390/block/
Ddasd.c3355 struct diag210 diag_data; in dasd_device_is_ro() local
3361 memset(&diag_data, 0, sizeof(diag_data)); in dasd_device_is_ro()
3362 diag_data.vrdcdvno = dev_id.devno; in dasd_device_is_ro()
3363 diag_data.vrdclen = sizeof(diag_data); in dasd_device_is_ro()
3364 rc = diag210(&diag_data); in dasd_device_is_ro()
3366 return diag_data.vrdcvfla & 0x80; in dasd_device_is_ro()