Searched refs:SC_MSG_LEN (Results 1 – 4 of 4) sorted by relevance
124 if (write(fd, req_pkt, SC_SEND_HEADER + SC_MSG_LEN(req_pkt)) < 0) { in smc_send_local_cmd()175 SC_MSG_LEN(&req_pkt) = 0; in get_geo_addr()222 for (i = 0; i < SC_MSG_LEN(req_pkt); i++) { in smc_send_ipmi_message()236 SC_MSG_LEN(req_pkt))) < 0) { in smc_send_ipmi_message()285 SC_MSG_LEN(rsp_pkt), SC_MSG_CC(rsp_pkt)); in smc_send_ipmi_message()337 SC_MSG_LEN(req_msg) = IPMI_REQ_HDR_LEN + msg_data_size; in smc_init_ipmi_msg()373 SC_MSG_LEN(req_msg) = msg_data_size; in smc_init_smc_msg()422 dsize = SC_MSG_LEN(req_msg) - IPMI_REQ_HDR_LEN; in smc_send_msg()
169 SC_MSG_LEN(&req_pkt) = 4; in get_fru_data()189 if (SC_MSG_LEN(&res_pkt) != size) { in get_fru_data()636 SC_MSG_LEN(&req_pkt) = 4 + size; in write_fru_data()816 SC_MSG_LEN(&req_pkt) = 4; in is_ipmi_fru_data_available()950 if (SC_MSG_LEN(&rsp_pkt) == 0) { in is_fru_data_available()
131 SC_MSG_LEN(&req_pkt) = 6; in get_onboard_sdr()167 SC_MSG_LEN(&req_pkt) = 0; in get_sdr_info()
127 #define SC_MSG_LEN(msg) (SC_MSG_HDR(msg).len) macro