Searched refs:pinval (Results 1 – 2 of 2) sorted by relevance
69 uint32_t pinval = 0; in soc_i2c_port_lines_get() local83 pinval |= BIT(SOC_I2C_SCL_POS); in soc_i2c_port_lines_get()86 pinval |= BIT(SOC_I2C_SDA_POS); in soc_i2c_port_lines_get()89 *lines = pinval; in soc_i2c_port_lines_get()
144 uint32_t pinval; in stm32_pinval_get() local147 pinval = (1 << pin) << GPIO_PIN_MASK_POS; in stm32_pinval_get()149 pinval |= 1 << pin; in stm32_pinval_get()151 pinval |= (1 << (pin % 8)) | 0x04000000; in stm32_pinval_get()154 pinval = 1 << pin; in stm32_pinval_get()156 return pinval; in stm32_pinval_get()