Lines Matching refs:bit
62 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() argument
71 "r" (reg), "ir" (bit) in sys_io_set_bit()
76 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() argument
85 "r" (reg), "ir" (bit) in sys_io_clear_bit()
90 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() argument
101 "r" (reg), "ir" (bit), "i" (status) in sys_io_test_bit()
108 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() argument
112 ret = sys_io_test_bit(port, bit); in sys_io_test_and_set_bit()
113 sys_io_set_bit(port, bit); in sys_io_test_and_set_bit()
119 int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) in sys_io_test_and_clear_bit() argument
123 ret = sys_io_test_bit(port, bit); in sys_io_test_and_clear_bit()
124 sys_io_clear_bit(port, bit); in sys_io_test_and_clear_bit()