Lines Matching refs:bit
19 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() argument
27 : "a" (reg), "Nd" (port), "Ir" (bit)); in sys_io_set_bit()
31 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() argument
39 : "a" (reg), "Nd" (port), "Ir" (bit)); in sys_io_clear_bit()
43 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() argument
50 : "Nd" (port), "Ir" (bit)); in sys_io_test_bit()
56 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() argument
60 ret = sys_io_test_bit(port, bit); in sys_io_test_and_set_bit()
61 sys_io_set_bit(port, bit); in sys_io_test_and_set_bit()
67 int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) in sys_io_test_and_clear_bit() argument
71 ret = sys_io_test_bit(port, bit); in sys_io_test_and_clear_bit()
72 sys_io_clear_bit(port, bit); in sys_io_test_and_clear_bit()