Lines Matching refs:mask
47 uint8_t mask = BIT(pin); in gpio_kscan_it8xxx2_configure() local
57 *reg_ksi_kso_gctrl |= mask; in gpio_kscan_it8xxx2_configure()
66 *reg_ksi_kso_gpod |= mask; in gpio_kscan_it8xxx2_configure()
69 *reg_ksi_kso_gpod &= ~mask; in gpio_kscan_it8xxx2_configure()
76 *reg_ksi_kso_gdat |= mask; in gpio_kscan_it8xxx2_configure()
78 *reg_ksi_kso_gdat &= ~mask; in gpio_kscan_it8xxx2_configure()
84 *reg_ksi_kso_goen |= mask; in gpio_kscan_it8xxx2_configure()
87 *reg_ksi_kso_goen &= ~mask; in gpio_kscan_it8xxx2_configure()
91 *reg_ksi_kso_gpod |= mask; in gpio_kscan_it8xxx2_configure()
94 *reg_ksi_kso_gpod &= ~mask; in gpio_kscan_it8xxx2_configure()
110 uint8_t mask = BIT(pin); in gpio_kscan_it8xxx2_get_config() local
117 if (*reg_ksi_kso_goen & mask) { in gpio_kscan_it8xxx2_get_config()
121 if (*reg_ksi_kso_gpod & mask) { in gpio_kscan_it8xxx2_get_config()
126 if (*reg_ksi_kso_gdat & mask) { in gpio_kscan_it8xxx2_get_config()
135 if (*reg_ksi_kso_gpod & mask) { in gpio_kscan_it8xxx2_get_config()
159 gpio_port_pins_t mask, in gpio_kscan_it8xxx2_port_set_masked_raw() argument
168 *reg_ksi_kso_gdat = ((out & ~mask) | (value & mask)); in gpio_kscan_it8xxx2_port_set_masked_raw()