Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/acpi/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dcper.c372 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 …]
/OK3568_Linux_fs/kernel/drivers/iio/gyro/
H A Dst_gyro_core.c365 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 …]
H A 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()
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()
/OK3568_Linux_fs/kernel/drivers/acpi/apei/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dacpi_extlog.c141 struct acpi_hest_generic_data *gdata; in extlog_print() local
164 apei_estatus_for_each_section(tmp, gdata) { in extlog_print()
165 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in extlog_print()
166 fru_id = (guid_t *)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()
173 sec_type = (guid_t *)gdata->section_type; in extlog_print()
175 struct cper_sec_mem_err *mem = (void *)(gdata + 1); in extlog_print()
177 if (gdata->error_data_length >= sizeof(*mem)) in extlog_print()
179 (u8)gdata->error_severity); in extlog_print()
/OK3568_Linux_fs/yocto/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"
21 export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Daesni-intel_glue.c129 struct gcm_context_data *gdata, u8 *out,
151 struct gcm_context_data *gdata, u8 *out,
158 struct gcm_context_data *gdata,
163 struct gcm_context_data *gdata, u8 *out,
166 struct gcm_context_data *gdata, u8 *out,
170 struct gcm_context_data *gdata,
174 void (*init)(void *ctx, struct gcm_context_data *gdata, u8 *iv,
176 void (*enc_update)(void *ctx, struct gcm_context_data *gdata, u8 *out,
178 void (*dec_update)(void *ctx, struct gcm_context_data *gdata, u8 *out,
180 void (*finalize)(void *ctx, struct gcm_context_data *gdata,
[all …]
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/pgms/
H A Dgfx-x11435 my $gdata = $testGroups->{$group};
436 if (!defined($gdata)) {
443 foreach my $test (@$gdata) {
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_boot.c21 static gd_t gdata __section(".data");
126 gd = &gdata; in mxs_common_spl_init()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dspl.h46 extern gd_t gdata;
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dspl.c25 gd_t gdata __attribute__ ((section(".data"))); variable
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/
H A Dlowlevel_init.S43 ldr r9, =gdata
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-max96755f.c86 struct max96755f_group_data *gdata = grp->data; in max96755f_pinmux_set_mux() local
88 for (i = 0; i < gdata->num_configs; i++) { in max96755f_pinmux_set_mux()
89 const struct config_desc *config = &gdata->configs[i]; in max96755f_pinmux_set_mux()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c5047 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()