Home
last modified time | relevance | path

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

/linux/include/acpi/
A Dghes.h86 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()
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()
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) >= 3) in acpi_hest_get_size()
114 return (acpi_hest_get_size(gdata) + acpi_hest_get_error_length(gdata)); in acpi_hest_get_record_size()
117 static inline void *acpi_hest_get_next(struct acpi_hest_generic_data *gdata) in acpi_hest_get_next() argument
[all …]
/linux/drivers/firmware/efi/
A Dcper.c468 void *buf = acpi_hest_get_payload(gdata); in cper_print_fw_err()
550 if (acpi_hest_get_version(gdata) >= 3) in cper_estatus_print_section()
553 severity = gdata->error_severity; in cper_estatus_print_section()
582 if (gdata->error_data_length >= in cper_estatus_print_section()
585 gdata->error_data_length); in cper_estatus_print_section()
593 cper_print_pcie(newpfx, pcie, gdata); in cper_estatus_print_section()
622 if (gdata->error_data_length >= SZ_16) in cper_estatus_print_section()
639 gdata->error_data_length); in cper_estatus_print_section()
641 gdata->error_data_length, true); in cper_estatus_print_section()
653 struct acpi_hest_generic_data *gdata; in cper_estatus_print() local
[all …]
/linux/drivers/iio/gyro/
A 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()
492 gdata->current_fullscale = &gdata->sensor_settings->fs.fs_avl[0]; in st_gyro_common_probe()
493 gdata->odr = gdata->sensor_settings->odr.odr_avl[0].hz; in st_gyro_common_probe()
[all …]
A Dst_gyro_i2c.c64 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()
A 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()
/linux/drivers/acpi/apei/
A Dghes.c611 if (gdata->flags & CPER_SEC_RESET) in ghes_handle_aer()
646 struct acpi_hest_generic_data *gdata; in ghes_vendor_record_work_func() local
653 entry->error_severity, gdata); in ghes_vendor_record_work_func()
672 memcpy(copied_gdata, gdata, acpi_hest_get_record_size(gdata)); in ghes_defer_non_standard_event()
752 struct acpi_hest_generic_data *gdata; in ghes_do_proc() local
761 sec_type = (guid_t *)gdata->section_type; in ghes_do_proc()
764 fru_id = (guid_t *)gdata->fru_id; in ghes_do_proc()
767 fru_text = gdata->fru_text; in ghes_do_proc()
778 ghes_handle_aer(gdata); in ghes_do_proc()
795 void *err = acpi_hest_get_payload(gdata); in ghes_do_proc()
[all …]
/linux/drivers/acpi/
A Dacpi_extlog.c141 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->error_severity); in extlog_print()
/linux/drivers/pci/controller/
A 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/drivers/net/wireless/ralink/rt2x00/
A Drt2800lib.c5210 u32 data, gdata; in rt2800_config_txpower_rt6352() local
5247 gdata = t; in rt2800_config_txpower_rt6352()
5253 gdata |= (t << 8); in rt2800_config_txpower_rt6352()
5263 gdata |= (t << 16); in rt2800_config_txpower_rt6352()
5269 gdata |= (t << 24); in rt2800_config_txpower_rt6352()
5280 if (gdata != 0xffffffff) in rt2800_config_txpower_rt6352()
5283 gdata); in rt2800_config_txpower_rt6352()

Completed in 36 milliseconds