Searched refs:bit_position (Results 1 – 3 of 3) sorted by relevance
213 int bit_position = button & 0x07; in rmi_f30_is_valid_button() local219 return !(ctrl[2].regs[byte_position] & BIT(bit_position)) && in rmi_f30_is_valid_button()220 (ctrl[3].regs[byte_position] & BIT(bit_position)); in rmi_f30_is_valid_button()
74 [bit_position: <integer>]
535 u8 bit_position = 0, b0, b1, b2; in stm32_fmc2_nfc_ham_correct() local553 bit_position += shifting; in stm32_fmc2_nfc_ham_correct()581 dat[byte_addr] ^= (1 << bit_position); in stm32_fmc2_nfc_ham_correct()