Lines Matching refs:op
805 int npcx_host_periph_read_request(enum lpc_peripheral_opcode op, in npcx_host_periph_read_request() argument
808 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in npcx_host_periph_read_request()
817 switch (op) { in npcx_host_periph_read_request()
834 } else if (op >= EACPI_START_OPCODE && op <= EACPI_MAX_OPCODE) { in npcx_host_periph_read_request()
842 switch (op) { in npcx_host_periph_read_request()
866 else if (op >= ECUSTOM_START_OPCODE && op <= ECUSTOM_MAX_OPCODE) { in npcx_host_periph_read_request()
868 switch (op) { in npcx_host_periph_read_request()
887 int npcx_host_periph_write_request(enum lpc_peripheral_opcode op, in npcx_host_periph_write_request() argument
893 if (op >= E8042_START_OPCODE && op <= E8042_MAX_OPCODE) { in npcx_host_periph_write_request()
900 LOG_DBG("op 0x%x data %x", op, *data); in npcx_host_periph_write_request()
902 LOG_DBG("op 0x%x only", op); in npcx_host_periph_write_request()
905 switch (op) { in npcx_host_periph_write_request()
945 } else if (op >= EACPI_START_OPCODE && op <= EACPI_MAX_OPCODE) { in npcx_host_periph_write_request()
953 switch (op) { in npcx_host_periph_write_request()
965 else if (op >= ECUSTOM_START_OPCODE && op <= ECUSTOM_MAX_OPCODE) { in npcx_host_periph_write_request()
969 switch (op) { in npcx_host_periph_write_request()