Lines Matching refs:port
204 int mec_hal_ps2_girq_wake_enable(struct mec_ps2_regs *base, uint8_t port, uint8_t enable) in mec_hal_ps2_girq_wake_enable() argument
209 if (!psi || (port >= MEC5_PS2_PORT_MAX)) { in mec_hal_ps2_girq_wake_enable()
213 if ((uint32_t)psi->port_map & MEC_BIT(port)) { in mec_hal_ps2_girq_wake_enable()
218 if (port == MEC5_PS2_PORT_B) { in mec_hal_ps2_girq_wake_enable()
227 uint32_t mec_hal_ps2_girq_wake_result(struct mec_ps2_regs *base, uint8_t port) in mec_hal_ps2_girq_wake_result() argument
235 if (port == MEC5_PS2_PORT_A) { in mec_hal_ps2_girq_wake_result()
242 void mec_hal_ps2_girq_wake_clr(struct mec_ps2_regs *base, uint8_t port) in mec_hal_ps2_girq_wake_clr() argument
252 if (port != MEC5_PS2_PORT_A) { in mec_hal_ps2_girq_wake_clr()
288 int mec_hal_ps2_inst_wake_enable(uint8_t instance, uint8_t port, uint8_t enable) in mec_hal_ps2_inst_wake_enable() argument
295 int ret = mec_hal_ps2_girq_wake_enable(regs, port, enable); in mec_hal_ps2_inst_wake_enable()
300 int mec_hal_ps2_inst_wake_status_clr(uint8_t instance, uint8_t port) in mec_hal_ps2_inst_wake_status_clr() argument
308 mec_hal_ps2_girq_wake_clr(regs, port); in mec_hal_ps2_inst_wake_status_clr()