Searched refs:gdata (Results 1 – 7 of 7) sorted by relevance
/drivers/firmware/efi/ |
D | cper.c | 352 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument 388 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie() 403 const char *pfx, const struct acpi_hest_generic_data *gdata, int sec_no) in cper_estatus_print_section() argument 405 uuid_le *sec_type = (uuid_le *)gdata->section_type; in cper_estatus_print_section() 409 severity = gdata->error_severity; in cper_estatus_print_section() 412 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in cper_estatus_print_section() 413 printk("%s""fru_id: %pUl\n", pfx, (uuid_le *)gdata->fru_id); in cper_estatus_print_section() 414 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in cper_estatus_print_section() 415 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section() 419 struct cper_sec_proc_generic *proc_err = (void *)(gdata + 1); in cper_estatus_print_section() [all …]
|
/drivers/iio/gyro/ |
D | st_gyro_core.c | 321 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_read_raw() local 332 *val2 = gdata->current_fullscale->gain; in st_gyro_read_raw() 335 *val = gdata->odr; in st_gyro_read_raw() 401 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_common_probe() local 402 int irq = gdata->get_irq_data_ready(indio_dev); in st_gyro_common_probe() 407 mutex_init(&gdata->tb.buf_lock); in st_gyro_common_probe() 417 gdata->num_data_channels = ST_GYRO_NUMBER_DATA_CHANNELS; in st_gyro_common_probe() 418 gdata->multiread_bit = gdata->sensor_settings->multi_read_bit; in st_gyro_common_probe() 419 indio_dev->channels = gdata->sensor_settings->ch; in st_gyro_common_probe() 422 gdata->current_fullscale = (struct st_sensor_fullscale_avl *) in st_gyro_common_probe() [all …]
|
D | st_gyro_buffer.c | 41 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_buffer_postenable() local 43 gdata->buffer_data = kmalloc(indio_dev->scan_bytes, GFP_KERNEL); in st_gyro_buffer_postenable() 44 if (gdata->buffer_data == NULL) { in st_gyro_buffer_postenable() 61 kfree(gdata->buffer_data); in st_gyro_buffer_postenable() 69 struct st_sensor_data *gdata = iio_priv(indio_dev); in st_gyro_buffer_predisable() local 82 kfree(gdata->buffer_data); in st_gyro_buffer_predisable()
|
D | st_gyro_spi.c | 24 struct st_sensor_data *gdata; in st_gyro_spi_probe() local 27 indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*gdata)); in st_gyro_spi_probe() 31 gdata = iio_priv(indio_dev); in st_gyro_spi_probe() 33 st_sensors_spi_configure(indio_dev, spi, gdata); in st_gyro_spi_probe()
|
D | st_gyro_i2c.c | 62 struct st_sensor_data *gdata; in st_gyro_i2c_probe() local 65 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*gdata)); in st_gyro_i2c_probe() 69 gdata = iio_priv(indio_dev); in st_gyro_i2c_probe() 72 st_sensors_i2c_configure(indio_dev, client, gdata); in st_gyro_i2c_probe()
|
/drivers/acpi/ |
D | acpi_extlog.c | 143 struct acpi_hest_generic_data *gdata; in extlog_print() local 166 gdata = (struct acpi_hest_generic_data *)(tmp + 1); in extlog_print() 167 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in extlog_print() 168 fru_id = (uuid_le *)gdata->fru_id; in extlog_print() 169 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in extlog_print() 170 fru_text = gdata->fru_text; in extlog_print() 171 sec_type = (uuid_le *)gdata->section_type; in extlog_print() 173 struct cper_sec_mem_err *mem = (void *)(gdata + 1); in extlog_print() 174 if (gdata->error_data_length >= sizeof(*mem)) in extlog_print() 176 (u8)gdata->error_severity); in extlog_print()
|
/drivers/acpi/apei/ |
D | ghes.c | 391 static void ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, int sev) in ghes_handle_memory_failure() argument 396 int sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_memory_failure() 398 mem_err = (struct cper_sec_mem_err *)(gdata + 1); in ghes_handle_memory_failure() 413 (gdata->flags & CPER_SEC_ERROR_THRESHOLD_EXCEEDED)) in ghes_handle_memory_failure() 427 struct acpi_hest_generic_data *gdata; in ghes_do_proc() local 430 apei_estatus_for_each_section(estatus, gdata) { in ghes_do_proc() 431 sec_sev = ghes_severity(gdata->error_severity); in ghes_do_proc() 432 if (!uuid_le_cmp(*(uuid_le *)gdata->section_type, in ghes_do_proc() 435 mem_err = (struct cper_sec_mem_err *)(gdata+1); in ghes_do_proc() 439 ghes_handle_memory_failure(gdata, sev); in ghes_do_proc() [all …]
|