Home
last modified time | relevance | path

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

/libmctp-latest/
Dlibmctp-astlpc.h24 uint8_t *val);
26 uint8_t val);
Dastlpc.c296 uint8_t val) in mctp_astlpc_kcs_write() argument
298 return astlpc->ops.kcs_write(astlpc->ops_data, reg, val); in mctp_astlpc_kcs_write()
303 uint8_t *val) in mctp_astlpc_kcs_read() argument
305 return astlpc->ops.kcs_read(astlpc->ops_data, reg, val); in mctp_astlpc_kcs_read()
1424 uint8_t *val) in __mctp_astlpc_fileio_kcs_read() argument
1430 rc = pread(astlpc->kcs_fd, val, 1, offset); in __mctp_astlpc_fileio_kcs_read()
1437 uint8_t val) in __mctp_astlpc_fileio_kcs_write() argument
1443 rc = pwrite(astlpc->kcs_fd, &val, 1, offset); in __mctp_astlpc_fileio_kcs_write()
/libmctp-latest/tests/
Dtest_astlpc.c68 uint8_t *val) in mctp_astlpc_mmio_kcs_read() argument
72 *val = (*mmio->kcs)[reg]; in mctp_astlpc_mmio_kcs_read()
74 mctp_prdebug("%s: 0x%hhx from %s", __func__, *val, in mctp_astlpc_mmio_kcs_read()
87 uint8_t val) in mctp_astlpc_mmio_kcs_write() argument
102 *regp = (val & ~0xbU) | (val & *regp & 1); in mctp_astlpc_mmio_kcs_write()
104 *regp = val; in mctp_astlpc_mmio_kcs_write()
106 mctp_prdebug("%s: 0x%hhx to %s", __func__, val, in mctp_astlpc_mmio_kcs_write()