Home
last modified time | relevance | path

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

/drivers/acpi/apei/
Dghes.c265 ghes->estatus = kmalloc(error_block_length, GFP_KERNEL); in ghes_new()
266 if (!ghes->estatus) { in ghes_new()
285 kfree(ghes->estatus); in ghes_fini()
334 struct acpi_hest_generic_status *estatus) in __ghes_check_estatus() argument
336 u32 len = cper_estatus_len(estatus); in __ghes_check_estatus()
338 if (len < sizeof(*estatus)) { in __ghes_check_estatus()
348 if (cper_estatus_check_header(estatus)) { in __ghes_check_estatus()
358 struct acpi_hest_generic_status *estatus, in __ghes_peek_estatus() argument
375 ghes_copy_tofrom_phys(estatus, *buf_paddr, sizeof(*estatus), 1, in __ghes_peek_estatus()
377 if (!estatus->block_status) { in __ghes_peek_estatus()
[all …]
Dapei-internal.h124 static inline u32 cper_estatus_len(struct acpi_hest_generic_status *estatus) in cper_estatus_len() argument
126 if (estatus->raw_data_length) in cper_estatus_len()
127 return estatus->raw_data_offset + \ in cper_estatus_len()
128 estatus->raw_data_length; in cper_estatus_len()
130 return sizeof(*estatus) + estatus->data_length; in cper_estatus_len()
134 const struct acpi_hest_generic_status *estatus);
135 int cper_estatus_check_header(const struct acpi_hest_generic_status *estatus);
136 int cper_estatus_check(const struct acpi_hest_generic_status *estatus);
Dbert.c48 struct acpi_hest_generic_status *estatus = in bert_print_all() local
55 estatus_len = cper_estatus_len(estatus); in bert_print_all()
63 if (!estatus->block_status) in bert_print_all()
66 if (cper_estatus_check(estatus)) { in bert_print_all()
74 cper_estatus_print(KERN_INFO HW_ERR, estatus); in bert_print_all()
85 estatus->block_status = 0; in bert_print_all()
87 estatus = (void *)estatus + estatus_len; in bert_print_all()
/drivers/acpi/
Dacpi_extlog.c76 struct acpi_hest_generic_status *estatus; in extlog_elog_entry_check() local
85 estatus = (struct acpi_hest_generic_status *)ELOG_ENTRY_ADDR(data); in extlog_elog_entry_check()
88 if (estatus->block_status == 0) in extlog_elog_entry_check()
91 return estatus; in extlog_elog_entry_check()
95 struct acpi_hest_generic_status *estatus, int cpu) in __print_extlog_rcd() argument
102 if (estatus->error_severity <= CPER_SEV_CORRECTED) in __print_extlog_rcd()
110 cper_estatus_print(pfx_seq, estatus); in __print_extlog_rcd()
114 struct acpi_hest_generic_status *estatus, int cpu) in print_extlog_rcd() argument
121 if (estatus->error_severity == CPER_SEV_CORRECTED || in print_extlog_rcd()
122 (estatus->error_severity == CPER_SEV_INFORMATIONAL)) in print_extlog_rcd()
[all …]
/drivers/firmware/efi/
Dcper.c615 const struct acpi_hest_generic_status *estatus) in cper_estatus_print() argument
622 severity = estatus->error_severity; in cper_estatus_print()
630 apei_estatus_for_each_section(estatus, gdata) { in cper_estatus_print()
637 int cper_estatus_check_header(const struct acpi_hest_generic_status *estatus) in cper_estatus_check_header() argument
639 if (estatus->data_length && in cper_estatus_check_header()
640 estatus->data_length < sizeof(struct acpi_hest_generic_data)) in cper_estatus_check_header()
642 if (estatus->raw_data_length && in cper_estatus_check_header()
643 estatus->raw_data_offset < sizeof(*estatus) + estatus->data_length) in cper_estatus_check_header()
650 int cper_estatus_check(const struct acpi_hest_generic_status *estatus) in cper_estatus_check() argument
656 rc = cper_estatus_check_header(estatus); in cper_estatus_check()
[all …]
/drivers/net/ethernet/freescale/
Dfec_main.c480 unsigned int estatus = 0; in fec_enet_txq_submit_frag_skb() local
501 estatus |= BD_ENET_TX_INT; in fec_enet_txq_submit_frag_skb()
504 estatus |= BD_ENET_TX_TS; in fec_enet_txq_submit_frag_skb()
510 estatus |= FEC_TX_BD_FTYPE(txq->bd.qid); in fec_enet_txq_submit_frag_skb()
512 estatus |= BD_ENET_TX_PINS | BD_ENET_TX_IINS; in fec_enet_txq_submit_frag_skb()
515 ebdp->cbd_esc = cpu_to_fec32(estatus); in fec_enet_txq_submit_frag_skb()
568 unsigned int estatus = 0; in fec_enet_txq_submit_skb() local
626 estatus = BD_ENET_TX_INT; in fec_enet_txq_submit_skb()
629 estatus |= BD_ENET_TX_TS; in fec_enet_txq_submit_skb()
644 estatus |= FEC_TX_BD_FTYPE(txq->bd.qid); in fec_enet_txq_submit_skb()
[all …]
/drivers/net/ethernet/intel/e1000e/
De1000.h186 u16 estatus; /* extended status register */ member
Dnetdev.c5064 ret_val |= e1e_rphy(hw, MII_ESTATUS, &phy->estatus); in e1000_phy_read_status()
5081 phy->estatus = (ESTATUS_1000_TFULL | ESTATUS_1000_THALF); in e1000_phy_read_status()
6129 data->val_out = adapter->phy_regs.estatus; in e1000_mii_ioctl()
/drivers/net/ethernet/sun/
Dniu.c1116 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local
1143 estatus = err; in link_status_mii()
1155 estatus = ctrl1000 = stat1000 = 0; in link_status_mii()
1168 if (estatus & ESTATUS_1000_THALF) in link_status_mii()
1170 if (estatus & ESTATUS_1000_TFULL) in link_status_mii()