Home
last modified time | relevance | path

Searched refs:io_area (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/smbus/smbus_emul/src/
Demul.c32 uint8_t io_area[24] = { variable
84 io_area[PCH_SMBUS_HD0] = found->addr; in peripheral_handle_smbalert()
97 io_area[PCH_SMBUS_NDA] = peripheral->addr << 1; in peripheral_handle_host_notify()
108 uint8_t addr = PCH_SMBUS_TSA_ADDR_GET(io_area[PCH_SMBUS_TSA]); in peripheral_write()
122 uint8_t addr = PCH_SMBUS_TSA_ADDR_GET(io_area[PCH_SMBUS_TSA]); in peripheral_read()
136 uint8_t smbus_cmd = PCH_SMBUS_HCTL_CMD_GET(io_area[PCH_SMBUS_HCTL]); in emul_start_smbus_protocol()
138 (io_area[PCH_SMBUS_TSA] & PCH_SMBUS_TSA_RW) == SMBUS_MSG_WRITE; in emul_start_smbus_protocol()
139 uint8_t addr = PCH_SMBUS_TSA_ADDR_GET(io_area[PCH_SMBUS_TSA]); in emul_start_smbus_protocol()
165 peripheral_write(0, io_area[PCH_SMBUS_HCMD]); in emul_start_smbus_protocol()
168 peripheral_read(0, &io_area[PCH_SMBUS_HD0]); in emul_start_smbus_protocol()
[all …]