/kernel/linux/linux-5.10/include/acpi/ |
H A D | ghes.h | 101 static inline int acpi_hest_get_version(struct acpi_hest_generic_data *gdata) in acpi_hest_get_version() argument 103 return gdata->revision >> 8; in acpi_hest_get_version() 106 static inline void *acpi_hest_get_payload(struct acpi_hest_generic_data *gdata) in acpi_hest_get_payload() argument 108 if (acpi_hest_get_version(gdata) >= 3) in acpi_hest_get_payload() 109 return (void *)(((struct acpi_hest_generic_data_v300 *)(gdata)) + 1); in acpi_hest_get_payload() 111 return gdata + 1; in acpi_hest_get_payload() 114 static inline int acpi_hest_get_error_length(struct acpi_hest_generic_data *gdata) in acpi_hest_get_error_length() argument 116 return ((struct acpi_hest_generic_data *)(gdata))->error_data_length; in acpi_hest_get_error_length() 119 static inline int acpi_hest_get_size(struct acpi_hest_generic_data *gdata) in acpi_hest_get_size() argument 121 if (acpi_hest_get_version(gdata) > in acpi_hest_get_size() 127 acpi_hest_get_record_size(struct acpi_hest_generic_data *gdata) acpi_hest_get_record_size() argument 132 acpi_hest_get_next(struct acpi_hest_generic_data *gdata) acpi_hest_get_next() argument [all...] |
/kernel/linux/linux-6.6/include/acpi/ |
H A D | ghes.h | 86 static inline int acpi_hest_get_version(struct acpi_hest_generic_data *gdata) in acpi_hest_get_version() argument 88 return gdata->revision >> 8; in acpi_hest_get_version() 91 static inline void *acpi_hest_get_payload(struct acpi_hest_generic_data *gdata) in acpi_hest_get_payload() argument 93 if (acpi_hest_get_version(gdata) >= 3) in acpi_hest_get_payload() 94 return (void *)(((struct acpi_hest_generic_data_v300 *)(gdata)) + 1); in acpi_hest_get_payload() 96 return gdata + 1; in acpi_hest_get_payload() 99 static inline int acpi_hest_get_error_length(struct acpi_hest_generic_data *gdata) in acpi_hest_get_error_length() argument 101 return ((struct acpi_hest_generic_data *)(gdata))->error_data_length; in acpi_hest_get_error_length() 104 static inline int acpi_hest_get_size(struct acpi_hest_generic_data *gdata) in acpi_hest_get_size() argument 106 if (acpi_hest_get_version(gdata) > in acpi_hest_get_size() 112 acpi_hest_get_record_size(struct acpi_hest_generic_data *gdata) acpi_hest_get_record_size() argument 117 acpi_hest_get_next(struct acpi_hest_generic_data *gdata) acpi_hest_get_next() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | cper.c | 403 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() 439 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie() 460 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() 463 void *buf = acpi_hest_get_payload(gdata); in cper_print_fw_err() 464 u32 offset, length = gdata->error_data_length; in cper_print_fw_err() 506 struct acpi_hest_generic_data_v300 *gdata) in cper_print_tstamp() 510 if (gdata->validation_bits & ACPI_HEST_GEN_VALID_TIMESTAMP) { in cper_print_tstamp() 511 timestamp = (__u8 *)&(gdata->time_stamp); in cper_print_tstamp() 527 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument 530 guid_t *sec_type = (guid_t *)gdata in cper_estatus_print_section() 402 cper_print_pcie(const char *pfx, const struct cper_sec_pcie *pcie, const struct acpi_hest_generic_data *gdata) cper_print_pcie() argument 459 cper_print_fw_err(const char *pfx, struct acpi_hest_generic_data *gdata, const struct cper_sec_fw_err_rec_ref *fw_err) cper_print_fw_err() argument 505 cper_print_tstamp(const char *pfx, struct acpi_hest_generic_data_v300 *gdata) cper_print_tstamp() argument 629 struct acpi_hest_generic_data *gdata; cper_estatus_print() local 664 struct acpi_hest_generic_data *gdata; cper_estatus_check() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | cper.c | 372 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() 408 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie() 429 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() 432 void *buf = acpi_hest_get_payload(gdata); in cper_print_fw_err() 433 u32 offset, length = gdata->error_data_length; in cper_print_fw_err() 475 struct acpi_hest_generic_data_v300 *gdata) in cper_print_tstamp() 479 if (gdata->validation_bits & ACPI_HEST_GEN_VALID_TIMESTAMP) { in cper_print_tstamp() 480 timestamp = (__u8 *)&(gdata->time_stamp); in cper_print_tstamp() 496 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument 499 guid_t *sec_type = (guid_t *)gdata in cper_estatus_print_section() 371 cper_print_pcie(const char *pfx, const struct cper_sec_pcie *pcie, const struct acpi_hest_generic_data *gdata) cper_print_pcie() argument 428 cper_print_fw_err(const char *pfx, struct acpi_hest_generic_data *gdata, const struct cper_sec_fw_err_rec_ref *fw_err) cper_print_fw_err() argument 474 cper_print_tstamp(const char *pfx, struct acpi_hest_generic_data_v300 *gdata) cper_print_tstamp() argument 590 struct acpi_hest_generic_data *gdata; cper_estatus_print() local 625 struct acpi_hest_generic_data *gdata; cper_estatus_check() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
H A D | ghes.c | 477 static bool ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, in ghes_handle_memory_failure() argument 481 int sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_memory_failure() 482 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in ghes_handle_memory_failure() 489 (gdata->flags & CPER_SEC_ERROR_THRESHOLD_EXCEEDED)) in ghes_handle_memory_failure() 500 static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, in ghes_handle_arm_hw_error() argument 503 struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata); in ghes_handle_arm_hw_error() 511 sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_arm_hw_error() 560 static void ghes_handle_aer(struct acpi_hest_generic_data *gdata) in ghes_handle_aer() argument 563 struct cper_sec_pcie *pcie_err = acpi_hest_get_payload(gdata); in ghes_handle_aer() 572 aer_severity = cper_severity_to_aer(gdata in ghes_handle_aer() 608 struct acpi_hest_generic_data *gdata; ghes_vendor_record_work_func() local 621 ghes_defer_non_standard_event(struct acpi_hest_generic_data *gdata, int sev) ghes_defer_non_standard_event() argument 645 struct acpi_hest_generic_data *gdata; ghes_do_proc() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/apei/ |
H A D | ghes.c | 505 static bool ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, in ghes_handle_memory_failure() argument 509 int sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_memory_failure() 510 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in ghes_handle_memory_failure() 517 (gdata->flags & CPER_SEC_ERROR_THRESHOLD_EXCEEDED)) in ghes_handle_memory_failure() 528 static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, in ghes_handle_arm_hw_error() argument 531 struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata); in ghes_handle_arm_hw_error() 539 sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_arm_hw_error() 588 static void ghes_handle_aer(struct acpi_hest_generic_data *gdata) in ghes_handle_aer() argument 591 struct cper_sec_pcie *pcie_err = acpi_hest_get_payload(gdata); in ghes_handle_aer() 601 aer_severity = cper_severity_to_aer(gdata in ghes_handle_aer() 643 struct acpi_hest_generic_data *gdata; ghes_vendor_record_work_func() local 656 ghes_defer_non_standard_event(struct acpi_hest_generic_data *gdata, int sev) ghes_defer_non_standard_event() argument 680 struct acpi_hest_generic_data *gdata; ghes_do_proc() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_extlog.c | 141 struct acpi_hest_generic_data *gdata; in extlog_print() local 169 apei_estatus_for_each_section(tmp, gdata) { in extlog_print() 170 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in extlog_print() 171 fru_id = (guid_t *)gdata->fru_id; in extlog_print() 174 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in extlog_print() 175 fru_text = gdata->fru_text; in extlog_print() 178 sec_type = (guid_t *)gdata->section_type; in extlog_print() 180 struct cper_sec_mem_err *mem = (void *)(gdata + 1); in extlog_print() 182 if (gdata->error_data_length >= sizeof(*mem)) in extlog_print() 184 (u8)gdata in extlog_print() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_extlog.c | 141 struct acpi_hest_generic_data *gdata; in extlog_print() local 169 apei_estatus_for_each_section(tmp, gdata) { in extlog_print() 170 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in extlog_print() 171 fru_id = (guid_t *)gdata->fru_id; in extlog_print() 174 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in extlog_print() 175 fru_text = gdata->fru_text; in extlog_print() 178 sec_type = (guid_t *)gdata->section_type; in extlog_print() 180 struct cper_sec_mem_err *mem = acpi_hest_get_payload(gdata); in extlog_print() 182 if (gdata->error_data_length >= sizeof(*mem)) in extlog_print() 184 (u8)gdata in extlog_print() [all...] |
/kernel/linux/linux-5.10/drivers/iio/gyro/ |
H A D | st_gyro_core.c | 365 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_read_raw() local 376 *val2 = gdata->current_fullscale->gain; in st_gyro_read_raw() 379 *val = gdata->odr; in st_gyro_read_raw() 462 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_common_probe() local 473 gdata->num_data_channels = ST_GYRO_NUMBER_DATA_CHANNELS; in st_gyro_common_probe() 474 indio_dev->channels = gdata->sensor_settings->ch; in st_gyro_common_probe() 477 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe() 478 gdata->odr = gdata in st_gyro_common_probe() 517 struct st_sensor_data *gdata = iio_priv(indio_dev); st_gyro_common_remove() local [all...] |
H A D | st_gyro_spi.c | 69 struct st_sensor_data *gdata; in st_gyro_spi_probe() local 82 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*gdata)); in st_gyro_spi_probe() 86 gdata = iio_priv(indio_dev); in st_gyro_spi_probe() 87 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_spi_probe()
|
H A D | st_gyro_i2c.c | 65 struct st_sensor_data *gdata; in st_gyro_i2c_probe() local 78 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata)); in st_gyro_i2c_probe() 82 gdata = iio_priv(indio_dev); in st_gyro_i2c_probe() 83 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_i2c_probe()
|
/kernel/linux/linux-6.6/drivers/iio/gyro/ |
H A D | st_gyro_core.c | 39 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_get_mount_matrix() local 41 return &gdata->mount_matrix; in st_gyro_get_mount_matrix() 382 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_read_raw() local 393 *val2 = gdata->current_fullscale->gain; in st_gyro_read_raw() 396 *val = gdata->odr; in st_gyro_read_raw() 472 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_common_probe() local 484 gdata->num_data_channels = ST_GYRO_NUMBER_DATA_CHANNELS; in st_gyro_common_probe() 485 indio_dev->channels = gdata->sensor_settings->ch; in st_gyro_common_probe() 488 err = iio_read_mount_matrix(parent, &gdata->mount_matrix); in st_gyro_common_probe() 492 gdata in st_gyro_common_probe() [all...] |
H A D | st_gyro_spi.c | 69 struct st_sensor_data *gdata; in st_gyro_spi_probe() local 82 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*gdata)); in st_gyro_spi_probe() 86 gdata = iio_priv(indio_dev); in st_gyro_spi_probe() 87 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_spi_probe()
|
H A D | st_gyro_i2c.c | 64 struct st_sensor_data *gdata; in st_gyro_i2c_probe() local 77 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata)); in st_gyro_i2c_probe() 81 gdata = iio_priv(indio_dev); in st_gyro_i2c_probe() 82 gdata->sensor_settings = (struct st_sensor_settings *)settings; in st_gyro_i2c_probe()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 129 struct gcm_context_data *gdata, u8 *out, 151 struct gcm_context_data *gdata, u8 *out, 158 struct gcm_context_data *gdata, 163 struct gcm_context_data *gdata, u8 *out, 166 struct gcm_context_data *gdata, u8 *out, 170 struct gcm_context_data *gdata, 174 void (*init)(void *ctx, struct gcm_context_data *gdata, u8 *iv, 176 void (*enc_update)(void *ctx, struct gcm_context_data *gdata, u8 *out, 178 void (*dec_update)(void *ctx, struct gcm_context_data *gdata, u8 *out, 180 void (*finalize)(void *ctx, struct gcm_context_data *gdata, [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 117 struct gcm_context_data *gdata, 122 struct gcm_context_data *gdata, u8 *out, 125 struct gcm_context_data *gdata, u8 *out, 129 struct gcm_context_data *gdata, 158 struct gcm_context_data *gdata, 165 struct gcm_context_data *gdata, u8 *out, 168 struct gcm_context_data *gdata, u8 *out, 172 struct gcm_context_data *gdata, 181 struct gcm_context_data *gdata, 188 struct gcm_context_data *gdata, u [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pcie-hisi-error.c | 252 struct acpi_hest_generic_data *gdata = data; in hisi_pcie_notify_error() local 253 const struct hisi_pcie_error_data *error_data = acpi_hest_get_payload(gdata); in hisi_pcie_notify_error() 260 import_guid(&err_sec_guid, gdata->section_type); in hisi_pcie_notify_error()
|
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-hisi-error.c | 252 struct acpi_hest_generic_data *gdata = data; in hisi_pcie_notify_error() local 253 const struct hisi_pcie_error_data *error_data = acpi_hest_get_payload(gdata); in hisi_pcie_notify_error() 260 import_guid(&err_sec_guid, gdata->section_type); in hisi_pcie_notify_error()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.c | 5047 u32 data, gdata; in rt2800_config_txpower_rt6352() local 5084 gdata = t; in rt2800_config_txpower_rt6352() 5090 gdata |= (t << 8); in rt2800_config_txpower_rt6352() 5100 gdata |= (t << 16); in rt2800_config_txpower_rt6352() 5106 gdata |= (t << 24); in rt2800_config_txpower_rt6352() 5117 if (gdata != 0xffffffff) in rt2800_config_txpower_rt6352() 5120 gdata); in rt2800_config_txpower_rt6352()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.c | 5181 u32 data, gdata; in rt2800_config_txpower_rt6352() local 5218 gdata = t; in rt2800_config_txpower_rt6352() 5224 gdata |= (t << 8); in rt2800_config_txpower_rt6352() 5234 gdata |= (t << 16); in rt2800_config_txpower_rt6352() 5240 gdata |= (t << 24); in rt2800_config_txpower_rt6352() 5251 if (gdata != 0xffffffff) in rt2800_config_txpower_rt6352() 5254 gdata); in rt2800_config_txpower_rt6352()
|