Lines Matching full:lpc
2 * PowerNV LPC bus handling.
191 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local
208 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read()
214 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read()
228 * respective positions (ie, LPC position). in lpc_debug_read()
233 * IE. If the LPC transaction has bytes B0, B1, B2 and B3 in that in lpc_debug_read()
282 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local
299 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write()
338 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write()
378 root = debugfs_create_dir("lpc", powerpc_debugfs_root); in opal_lpc_init_debugfs()
393 * Look for a Power8 LPC bus tagged as "primary", in opal_lpc_init()
397 for_each_compatible_node(np, NULL, "ibm,power8-lpc") { in opal_lpc_init()
410 pr_info("OPAL: Found memory mapped LPC bus on chip %d\n", in opal_lpc_init()
414 pr_info("OPAL: Found non-mapped LPC bus on chip %d\n", in opal_lpc_init()