Home
last modified time | relevance | path

Searched refs:gdata (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/include/acpi/
Dghes.h101 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) >= 3) in acpi_hest_get_size()
[all …]
/linux-5.19.10/drivers/firmware/efi/
Dcper.c399 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument
435 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie()
456 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() argument
459 void *buf = acpi_hest_get_payload(gdata); in cper_print_fw_err()
460 u32 offset, length = gdata->error_data_length; in cper_print_fw_err()
502 struct acpi_hest_generic_data_v300 *gdata) in cper_print_tstamp() argument
506 if (gdata->validation_bits & ACPI_HEST_GEN_VALID_TIMESTAMP) { in cper_print_tstamp()
507 timestamp = (__u8 *)&(gdata->time_stamp); in cper_print_tstamp()
523 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument
526 guid_t *sec_type = (guid_t *)gdata->section_type; in cper_estatus_print_section()
[all …]
/linux-5.19.10/drivers/iio/gyro/
Dst_gyro_core.c39 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->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
[all …]
Dst_gyro_spi.c69 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()
Dst_gyro_i2c.c65 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()
/linux-5.19.10/drivers/acpi/apei/
Dghes.c463 static bool ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, in ghes_handle_memory_failure() argument
467 int sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_memory_failure()
468 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in ghes_handle_memory_failure()
475 (gdata->flags & CPER_SEC_ERROR_THRESHOLD_EXCEEDED)) in ghes_handle_memory_failure()
486 static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, int sev) in ghes_handle_arm_hw_error() argument
488 struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata); in ghes_handle_arm_hw_error()
495 sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_arm_hw_error()
544 static void ghes_handle_aer(struct acpi_hest_generic_data *gdata) in ghes_handle_aer() argument
547 struct cper_sec_pcie *pcie_err = acpi_hest_get_payload(gdata); in ghes_handle_aer()
556 aer_severity = cper_severity_to_aer(gdata->error_severity); in ghes_handle_aer()
[all …]
/linux-5.19.10/drivers/acpi/
Dacpi_extlog.c140 struct acpi_hest_generic_data *gdata; in extlog_print() local
163 gdata = (struct acpi_hest_generic_data *)(tmp + 1); in extlog_print()
164 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in extlog_print()
165 fru_id = (guid_t *)gdata->fru_id; in extlog_print()
166 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in extlog_print()
167 fru_text = gdata->fru_text; in extlog_print()
168 sec_type = (guid_t *)gdata->section_type; in extlog_print()
170 struct cper_sec_mem_err *mem = (void *)(gdata + 1); in extlog_print()
171 if (gdata->error_data_length >= sizeof(*mem)) in extlog_print()
173 (u8)gdata->error_severity); in extlog_print()
/linux-5.19.10/arch/x86/crypto/
Daesni-intel_glue.c117 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,
144 struct gcm_context_data *gdata,
151 struct gcm_context_data *gdata, u8 *out,
154 struct gcm_context_data *gdata, u8 *out,
158 struct gcm_context_data *gdata,
167 struct gcm_context_data *gdata,
174 struct gcm_context_data *gdata, u8 *out,
[all …]
/linux-5.19.10/drivers/pci/controller/
Dpcie-hisi-error.c252 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()
/linux-5.19.10/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c5056 u32 data, gdata; in rt2800_config_txpower_rt6352() local
5093 gdata = t; in rt2800_config_txpower_rt6352()
5099 gdata |= (t << 8); in rt2800_config_txpower_rt6352()
5109 gdata |= (t << 16); in rt2800_config_txpower_rt6352()
5115 gdata |= (t << 24); in rt2800_config_txpower_rt6352()
5126 if (gdata != 0xffffffff) in rt2800_config_txpower_rt6352()
5129 gdata); in rt2800_config_txpower_rt6352()