Home
last modified time | relevance | path

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

/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_fsm.c100 ncsi_buf->data, ncsi_buf->len, NCSI_CLEAR_INITIAL_STATE); in ncsi_fsm_poll_l2_config()
127 ncsi_buf->data, ncsi_buf->len, NCSI_GET_VERSION_ID); in ncsi_fsm_poll_l2_config()
146 ncsi_buf->data, ncsi_buf->len, NCSI_GET_CAPABILITIES); in ncsi_fsm_poll_l2_config()
172 ncsi_buf->data, ncsi_buf->len, NCSI_CLEAR_INITIAL_STATE); in ncsi_fsm_poll_l2_config()
190 ncsi_buf->data, ncsi_buf->len, NCSI_RESET_CHANNEL); in ncsi_fsm_poll_l2_config()
203 ncsi_buf->data, ncsi_buf->len, NCSI_RESET_CHANNEL); in ncsi_fsm_poll_l2_config()
243 ncsi_buf->data, ncsi_buf->len, NCSI_SET_MAC_ADDRESS); in ncsi_fsm_poll_l2_config()
256 ncsi_buf->data, ncsi_buf->len, NCSI_SET_MAC_ADDRESS); in ncsi_fsm_poll_l2_config()
269 ncsi_buf->data, ncsi_buf->len, NCSI_ENABLE_CHANNEL); in ncsi_fsm_poll_l2_config()
282 ncsi_buf->data, ncsi_buf->len, NCSI_ENABLE_CHANNEL); in ncsi_fsm_poll_l2_config()
[all …]
H A Dncsi_fsm.h197 ncsi_buf_t* ncsi_buf,
202 ncsi_buf_t* ncsi_buf,
209 ncsi_buf_t* ncsi_buf, mac_addr_t* mac,
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnic_mock.cpp28 bool NCSIFrame::parse_ethernet_frame(const ncsi_buf_t& ncsi_buf) in parse_ethernet_frame() argument
30 std::memcpy(&dst_mac_, ncsi_buf.data, sizeof(dst_mac_)); in parse_ethernet_frame()
34 const uint8_t et_hi = *(ncsi_buf.data + 2 * sizeof(mac_addr_t)); in parse_ethernet_frame()
35 const uint8_t et_lo = *(ncsi_buf.data + 2 * sizeof(mac_addr_t) + 1); in parse_ethernet_frame()
48 *(ncsi_buf.data + offsetof(ncsi_header_t, control_packet_type)); in parse_ethernet_frame()
49 channel_id_ = *(ncsi_buf.data + offsetof(ncsi_header_t, channel_id)); in parse_ethernet_frame()
56 std::memcpy(&response_code_, ncsi_buf.data + payload_offset, in parse_ethernet_frame()
60 ncsi_buf.data + payload_offset + sizeof(reason_code_), in parse_ethernet_frame()
68 std::memcpy(&manufacturer_id_, ncsi_buf.data + payload_offset, in parse_ethernet_frame()
77 packet_raw_ = std::vector<uint8_t>(ncsi_buf.data, in parse_ethernet_frame()
[all …]
H A Dnic_mock.h115 bool parse_ethernet_frame(const ncsi_buf_t& ncsi_buf);