Searched refs:mec_emi_base (Results 1 – 1 of 1) sorted by relevance
27 static u16 mec_emi_base, mec_emi_end; variable81 outb((addr & 0xfc) | access_type, MEC_EMI_EC_ADDRESS_B0(mec_emi_base)); in cros_ec_lpc_mec_emi_write_address()82 outb((addr >> 8) & 0x7f, MEC_EMI_EC_ADDRESS_B1(mec_emi_base)); in cros_ec_lpc_mec_emi_write_address()96 if (WARN_ON(mec_emi_base == 0 || mec_emi_end == 0)) in cros_ec_lpc_mec_in_range()99 if (offset >= mec_emi_base && offset < mec_emi_end) { in cros_ec_lpc_mec_in_range()105 if (WARN_ON(offset + length > mec_emi_base && offset < mec_emi_end)) in cros_ec_lpc_mec_in_range()136 WARN_ON(mec_emi_base == 0 || mec_emi_end == 0); in cros_ec_lpc_io_bytes_mec()137 if (mec_emi_base == 0 || mec_emi_end == 0) in cros_ec_lpc_io_bytes_mec()157 io_addr = MEC_EMI_EC_DATA_B0(mec_emi_base) + (offset & 0x3); in cros_ec_lpc_io_bytes_mec()159 while (io_addr <= MEC_EMI_EC_DATA_B3(mec_emi_base)) { in cros_ec_lpc_io_bytes_mec()[all …]