Searched refs:gdata (Results 1 – 8 of 8) sorted by relevance
/drivers/firmware/efi/ |
D | cper.c | 372 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument 408 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie() 429 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() argument 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() argument 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->section_type; in cper_estatus_print_section() [all …]
|
/drivers/iio/gyro/ |
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->sensor_settings->odr.odr_avl[0].hz; in st_gyro_common_probe() 490 if (gdata->irq > 0) { in st_gyro_common_probe() 507 if (gdata->irq > 0) in st_gyro_common_probe() [all …]
|
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()
|
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()
|
/drivers/acpi/apei/ |
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->error_severity); in ghes_handle_aer() [all …]
|
/drivers/acpi/ |
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->error_severity); in extlog_print()
|
/drivers/pci/controller/ |
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()
|
/drivers/net/wireless/ralink/rt2x00/ |
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()
|