Lines Matching refs:port
26 void sys_out8(uint8_t data, io_port_t port) in sys_out8() argument
28 z_arc_v2_aux_reg_write(port, data); in sys_out8()
32 uint8_t sys_in8(io_port_t port) in sys_in8() argument
34 return (uint8_t)(z_arc_v2_aux_reg_read(port) & 0x000000ff); in sys_in8()
38 void sys_out16(uint16_t data, io_port_t port) in sys_out16() argument
40 z_arc_v2_aux_reg_write(port, data); in sys_out16()
44 uint16_t sys_in16(io_port_t port) in sys_in16() argument
46 return (uint16_t)(z_arc_v2_aux_reg_read(port) & 0x0000ffff); in sys_in16()
50 void sys_out32(uint32_t data, io_port_t port) in sys_out32() argument
52 z_arc_v2_aux_reg_write(port, data); in sys_out32()
56 uint32_t sys_in32(io_port_t port) in sys_in32() argument
58 return z_arc_v2_aux_reg_read(port); in sys_in32()
62 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() argument
70 : "ir" (port), in sys_io_set_bit()
76 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() argument
84 : "ir" (port), in sys_io_clear_bit()
90 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() argument
100 : "ir" (port), 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()