Home
last modified time | relevance | path

Searched refs:estatus (Results 1 – 6 of 6) sorted by relevance

/drivers/acpi/apei/
Dghes.c100 struct acpi_hest_generic_status *estatus; member
315 ghes->estatus = kmalloc(error_block_length, GFP_KERNEL); in ghes_new()
316 if (!ghes->estatus) { in ghes_new()
332 kfree(ghes->estatus); in ghes_fini()
415 ghes_copy_tofrom_phys(ghes->estatus, buf_paddr, in ghes_read_estatus()
416 sizeof(*ghes->estatus), 1); in ghes_read_estatus()
417 if (!ghes->estatus->block_status) in ghes_read_estatus()
424 len = apei_estatus_len(ghes->estatus); in ghes_read_estatus()
425 if (len < sizeof(*ghes->estatus)) in ghes_read_estatus()
429 if (apei_estatus_check_header(ghes->estatus)) in ghes_read_estatus()
[all …]
Dapei-internal.h124 #define apei_estatus_for_each_section(estatus, section) \ argument
125 for (section = (struct acpi_hest_generic_data *)(estatus + 1); \
126 (void *)section - (void *)estatus < estatus->data_length; \
129 static inline u32 apei_estatus_len(struct acpi_hest_generic_status *estatus) in apei_estatus_len() argument
131 if (estatus->raw_data_length) in apei_estatus_len()
132 return estatus->raw_data_offset + \ in apei_estatus_len()
133 estatus->raw_data_length; in apei_estatus_len()
135 return sizeof(*estatus) + estatus->data_length; in apei_estatus_len()
139 const struct acpi_hest_generic_status *estatus);
140 int apei_estatus_check_header(const struct acpi_hest_generic_status *estatus);
[all …]
Dcper.c348 const struct acpi_hest_generic_status *estatus) in apei_estatus_print() argument
356 severity = estatus->error_severity; in apei_estatus_print()
359 data_len = estatus->data_length; in apei_estatus_print()
360 gdata = (struct acpi_hest_generic_data *)(estatus + 1); in apei_estatus_print()
371 int apei_estatus_check_header(const struct acpi_hest_generic_status *estatus) in apei_estatus_check_header() argument
373 if (estatus->data_length && in apei_estatus_check_header()
374 estatus->data_length < sizeof(struct acpi_hest_generic_data)) in apei_estatus_check_header()
376 if (estatus->raw_data_length && in apei_estatus_check_header()
377 estatus->raw_data_offset < sizeof(*estatus) + estatus->data_length) in apei_estatus_check_header()
384 int apei_estatus_check(const struct acpi_hest_generic_status *estatus) in apei_estatus_check() argument
[all …]
/drivers/net/ethernet/intel/e1000e/
De1000.h276 u16 estatus; /* extended status register */ member
Dnetdev.c4286 ret_val |= e1e_rphy(hw, PHY_EXT_STATUS, &phy->estatus); in e1000_phy_read_status()
4304 phy->estatus = (ESTATUS_1000_TFULL | ESTATUS_1000_THALF); in e1000_phy_read_status()
5344 data->val_out = adapter->phy_regs.estatus; in e1000_mii_ioctl()
/drivers/net/ethernet/sun/
Dniu.c1096 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local
1123 estatus = err; in link_status_mii()
1135 estatus = ctrl1000 = stat1000 = 0; in link_status_mii()
1148 if (estatus & ESTATUS_1000_THALF) in link_status_mii()
1150 if (estatus & ESTATUS_1000_TFULL) in link_status_mii()