Lines Matching refs:base
77 int mec_hal_kbc_init(struct mec_kbc_regs *base, uint32_t flags);
82 int mec_hal_kbc_activate(struct mec_kbc_regs *base, uint8_t enable, uint8_t flags);
84 int mec_hal_kbc_girq_en(struct mec_kbc_regs *base, uint32_t flags);
85 int mec_hal_kbc_girq_dis(struct mec_kbc_regs *base, uint32_t flags);
86 int mec_hal_kbc_girq_clr(struct mec_kbc_regs *base, uint32_t flags);
87 uint32_t mec_hal_kbc_girq_result(struct mec_kbc_regs *base);
88 int mec_hal_kbc_is_enabled(struct mec_kbc_regs *base);
89 int mec_hal_kbc_is_irq_gen_enabled(struct mec_kbc_regs *base);
90 uint8_t mec_hal_kbc_status(struct mec_kbc_regs *base);
96 void mec_hal_kbc_wr_data(struct mec_kbc_regs *base, uint8_t data, uint8_t data_is_aux);
97 void mec_hal_kbc_status_wr(struct mec_kbc_regs *base, uint8_t val, uint8_t msk);
100 void mec_hal_kbc_status_set(struct mec_kbc_regs *base, uint8_t msk);
103 void mec_hal_kbc_status_clear(struct mec_kbc_regs *base, uint8_t msk);
105 uint8_t mec_hal_kbc_rd_host_data(struct mec_kbc_regs *base, uint8_t is_host_data_reg);