Home
last modified time | relevance | path

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

/openbmc/linux/include/acpi/
H 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()
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) >= 3) in acpi_hest_get_size()
[all …]
/openbmc/linux/drivers/firmware/efi/
H A Dcper.c403 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument
439 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie()
460 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() argument
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() argument
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->section_type; in cper_estatus_print_section()
[all …]
/openbmc/linux/drivers/iio/gyro/
H 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()
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 …]
H 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()
H 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()
/openbmc/linux/drivers/acpi/
H 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()
/openbmc/linux/drivers/acpi/apei/
H A Dghes.c503 static bool ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, in ghes_handle_memory_failure() argument
507 int sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_memory_failure()
508 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in ghes_handle_memory_failure()
515 (gdata->flags & CPER_SEC_ERROR_THRESHOLD_EXCEEDED)) in ghes_handle_memory_failure()
526 static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, in ghes_handle_arm_hw_error() argument
529 struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata); in ghes_handle_arm_hw_error()
537 sec_sev = ghes_severity(gdata->error_severity); in ghes_handle_arm_hw_error()
586 static void ghes_handle_aer(struct acpi_hest_generic_data *gdata) in ghes_handle_aer() argument
589 struct cper_sec_pcie *pcie_err = acpi_hest_get_payload(gdata); in ghes_handle_aer()
599 aer_severity = cper_severity_to_aer(gdata->error_severity); in ghes_handle_aer()
[all …]
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/libgdata/
H A Dlibgdata_0.18.1.bb7 file://gdata/gdata.h;endline=20;md5=079a554efcf65d46f96a515806e7e99a \
8 file://gdata/gdata-types.h;endline=20;md5=7399b111aac8718da13888fc634be6ef"
20 export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmac.c1420 uint32_t gdata = 0; in setup_buf() local
1447 gdata = rand() | (rand() << 16); in setup_buf()
1450 gdata = eng->arg.user_def_val; in setup_buf()
1453 Write_Mem_Dat_DD(adr, gdata); in setup_buf()
1485 case 0 : gdata = SimpleData_FixVal00; break; in setup_buf()
1486 case 1 : gdata = SimpleData_FixVal01; break; in setup_buf()
1487 case 2 : gdata = SimpleData_FixVal02; break; in setup_buf()
1488 case 3 : gdata = SimpleData_FixVal03; break; in setup_buf()
1489 case 4 : gdata = SimpleData_FixVal04; break; in setup_buf()
1490 case 5 : gdata = SimpleData_FixVal05; break; in setup_buf()
[all …]
/openbmc/u-boot/arch/mips/mach-jz47xx/jz4780/
H A Djz4780.c21 gd_t gdata __attribute__ ((section(".bss"))); variable
32 gd = &gdata; in board_init_f()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_boot.c20 static gd_t gdata __section(".data");
124 gd = &gdata; in mxs_common_spl_init()
/openbmc/linux/arch/x86/crypto/
H A 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,
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, u8 *out,
[all …]
/openbmc/linux/drivers/pci/controller/
H 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()
/openbmc/u-boot/arch/mips/include/asm/
H A Dspl.h30 extern gd_t gdata;
/openbmc/u-boot/arch/arm/include/asm/
H A Dspl.h41 extern gd_t gdata;
/openbmc/u-boot/arch/arm/lib/
H A Dspl.c25 gd_t gdata __attribute__ ((section(".data"))); variable
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dlowlevel_init.S42 ldr r9, =gdata
/openbmc/qemu/hw/i386/kvm/
H A Dxen_xenstore.c1567 GByteArray *gdata = g_byte_array_new(); in xs_be_write() local
1570 g_byte_array_append(gdata, data, len); in xs_be_write()
1571 err = xs_impl_write(h->impl, DOMID_QEMU, t, path, gdata); in xs_be_write()
1572 g_byte_array_unref(gdata); in xs_be_write()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c5181 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()