Lines Matching full:lpc
3 * PowerNV LPC bus handling.
187 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local
204 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read()
210 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read()
224 * respective positions (ie, LPC position). in lpc_debug_read()
229 * IE. If the LPC transaction has bytes B0, B1, B2 and B3 in that in lpc_debug_read()
278 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local
295 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write()
334 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write()
374 root = debugfs_create_dir("lpc", arch_debugfs_dir); in opal_lpc_init_debugfs()
389 * Look for a Power8 LPC bus tagged as "primary", in opal_lpc_init()
393 for_each_compatible_node(np, NULL, "ibm,power8-lpc") { in opal_lpc_init()
407 pr_info("OPAL: Found memory mapped LPC bus on chip %d\n", in opal_lpc_init()
411 pr_info("OPAL: Found non-mapped LPC bus on chip %d\n", in opal_lpc_init()