Lines Matching refs:regs

48 uint32_t mec_hal_vci_in_pin_states(struct mec_vci_regs *regs);
51 int mec_hal_vci_in_filter_enable(struct mec_vci_regs *regs, uint8_t enable);
56 int mec_hal_vci_sw_vci_out_set(struct mec_vci_regs *regs, uint8_t pin_state);
59 int mec_hal_vci_sw_vci_out_enable(struct mec_vci_regs *regs, uint8_t enable);
61 uint8_t mec_hal_vci_out_get(struct mec_vci_regs *regs);
62 uint8_t mec_hal_vci_ovrd_in_get(struct mec_vci_regs *regs);
65 uint32_t mec_hal_vci_in_latched_get(struct mec_vci_regs *regs);
67 int mec_hal_vci_in_latch_enable(struct mec_vci_regs *regs, uint32_t latch_bitmap);
68 int mec_hal_vci_in_latch_disable(struct mec_vci_regs *regs, uint32_t latch_bitmap);
69 uint32_t mec_hal_vci_in_latch_enable_get(struct mec_vci_regs *regs);
72 int mec_hal_vci_in_latch_reset(struct mec_vci_regs *regs, uint32_t latch_bitmap);
73 int mec_hal_vci_in_input_enable(struct mec_vci_regs *regs, uint32_t latch_bitmap);
74 uint32_t mec_hal_vci_in_input_enable_get(struct mec_vci_regs *regs);
80 int mec_hal_vci_out_power_on_delay(struct mec_vci_regs *regs, uint32_t delay_ms);
86 int mec_hal_vci_in_polarity(struct mec_vci_regs *regs, uint32_t vci_in_bitmap,
90 uint32_t mec_hal_vci_pedge_detect(struct mec_vci_regs *regs);
93 uint32_t mec_hal_vci_nedge_detect(struct mec_vci_regs *regs);
96 void mec_hal_vci_pedge_detect_clr(struct mec_vci_regs *regs, uint32_t bitmap);
97 void mec_hal_vci_nedge_detect_clr(struct mec_vci_regs *regs, uint32_t bitmap);
98 void mec_hal_vci_edge_detect_clr_all(struct mec_vci_regs *regs);
105 uint32_t mec_hal_vci_vbat_edge_detect_get(struct mec_vci_regs *regs);
106 int mec_hal_vci_vbat_edge_detect(struct mec_vci_regs *regs, uint32_t bitmap);
109 int mec_hal_vci_lid_detect_enable(struct mec_vci_regs *regs);