Searched refs:opal_lpc_chip_id (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/powernv/ |
D | opal-lpc.c | 22 static int opal_lpc_chip_id = -1; variable 29 if (opal_lpc_chip_id < 0 || port > 0xffff) in opal_lpc_inb() 31 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 1); in opal_lpc_inb() 40 if (opal_lpc_chip_id < 0 || port > 0xfffe) in __opal_lpc_inw() 44 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 2); in __opal_lpc_inw() 57 if (opal_lpc_chip_id < 0 || port > 0xfffc) in __opal_lpc_inl() 64 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 4); in __opal_lpc_inl() 75 if (opal_lpc_chip_id < 0 || port > 0xffff) in opal_lpc_outb() 77 opal_lpc_write(opal_lpc_chip_id, OPAL_LPC_IO, port, val, 1); in opal_lpc_outb() 82 if (opal_lpc_chip_id < 0 || port > 0xfffe) in __opal_lpc_outw() [all …]
|