Lines Matching refs:payload
96 struct ipmi_v2_payload * payload);
499 rsp->payload.sol_packet.packet_sequence_number = in ipmi_lan_poll_recv()
502 rsp->payload.sol_packet.acked_packet_number = in ipmi_lan_poll_recv()
505 rsp->payload.sol_packet.accepted_character_count = in ipmi_lan_poll_recv()
508 rsp->payload.sol_packet.is_nack = in ipmi_lan_poll_recv()
511 rsp->payload.sol_packet.transfer_unavailable = in ipmi_lan_poll_recv()
514 rsp->payload.sol_packet.sol_inactive = in ipmi_lan_poll_recv()
517 rsp->payload.sol_packet.transmit_overrun = in ipmi_lan_poll_recv()
520 rsp->payload.sol_packet.break_detected = in ipmi_lan_poll_recv()
526 rsp->payload.sol_packet.packet_sequence_number); in ipmi_lan_poll_recv()
529 rsp->payload.sol_packet.acked_packet_number); in ipmi_lan_poll_recv()
532 rsp->payload.sol_packet.accepted_character_count); in ipmi_lan_poll_recv()
535 rsp->payload.sol_packet.is_nack? "true" : "false"); in ipmi_lan_poll_recv()
538 rsp->payload.sol_packet.transfer_unavailable? "true" : "false"); in ipmi_lan_poll_recv()
541 rsp->payload.sol_packet.sol_inactive? "true" : "false"); in ipmi_lan_poll_recv()
544 rsp->payload.sol_packet.transmit_overrun? "true" : "false"); in ipmi_lan_poll_recv()
547 rsp->payload.sol_packet.break_detected? "true" : "false"); in ipmi_lan_poll_recv()
557 rsp->payload.ipmi_response.rq_addr = rsp->data[x++]; in ipmi_lan_poll_recv()
558 rsp->payload.ipmi_response.netfn = rsp->data[x] >> 2; in ipmi_lan_poll_recv()
559 rsp->payload.ipmi_response.rq_lun = rsp->data[x++] & 0x3; in ipmi_lan_poll_recv()
561 rsp->payload.ipmi_response.rs_addr = rsp->data[x++]; in ipmi_lan_poll_recv()
562 rsp->payload.ipmi_response.rq_seq = rsp->data[x] >> 2; in ipmi_lan_poll_recv()
563 rsp->payload.ipmi_response.rs_lun = rsp->data[x++] & 0x3; in ipmi_lan_poll_recv()
564 rsp->payload.ipmi_response.cmd = rsp->data[x++]; in ipmi_lan_poll_recv()
579 rsp->payload.ipmi_response.rq_addr); in ipmi_lan_poll_recv()
581 rsp->payload.ipmi_response.netfn); in ipmi_lan_poll_recv()
583 rsp->payload.ipmi_response.rq_lun); in ipmi_lan_poll_recv()
585 rsp->payload.ipmi_response.rs_addr); in ipmi_lan_poll_recv()
587 rsp->payload.ipmi_response.rq_seq); in ipmi_lan_poll_recv()
589 rsp->payload.ipmi_response.rs_lun); in ipmi_lan_poll_recv()
591 rsp->payload.ipmi_response.cmd); in ipmi_lan_poll_recv()
596 entry = ipmi_req_lookup_entry(rsp->payload.ipmi_response.rq_seq, in ipmi_lan_poll_recv()
597 rsp->payload.ipmi_response.cmd); in ipmi_lan_poll_recv()
601 if ((rsp->data_len) && (rsp->payload.ipmi_response.netfn == 7) && in ipmi_lan_poll_recv()
602 (rsp->payload.ipmi_response.cmd != 0x34)) { in ipmi_lan_poll_recv()
609 rsp->payload.ipmi_response.netfn == 7 && in ipmi_lan_poll_recv()
610 rsp->payload.ipmi_response.cmd == 0x34) { in ipmi_lan_poll_recv()
640 ipmi_req_remove_entry(rsp->payload.ipmi_response.rq_seq, in ipmi_lan_poll_recv()
641 rsp->payload.ipmi_response.cmd); in ipmi_lan_poll_recv()
1145 struct ipmi_v2_payload * payload, in ipmi_lan_build_sol_msg() argument
1163 payload->payload.sol_packet.character_count; // The actual payload in ipmi_lan_build_sol_msg()
1188 msg[len++] = payload->payload.sol_packet.character_count + 5; in ipmi_lan_build_sol_msg()
1191 msg[len++] = payload->payload.sol_packet.packet_sequence_number; in ipmi_lan_build_sol_msg()
1192 msg[len++] = payload->payload.sol_packet.acked_packet_number; in ipmi_lan_build_sol_msg()
1193 msg[len++] = payload->payload.sol_packet.accepted_character_count; in ipmi_lan_build_sol_msg()
1194 msg[len] = payload->payload.sol_packet.is_nack ? 0x40 : 0; in ipmi_lan_build_sol_msg()
1195 msg[len] |= payload->payload.sol_packet.assert_ring_wor ? 0x20 : 0; in ipmi_lan_build_sol_msg()
1196 msg[len] |= payload->payload.sol_packet.generate_break ? 0x10 : 0; in ipmi_lan_build_sol_msg()
1197 msg[len] |= payload->payload.sol_packet.deassert_cts ? 0x08 : 0; in ipmi_lan_build_sol_msg()
1198 msg[len] |= payload->payload.sol_packet.deassert_dcd_dsr ? 0x04 : 0; in ipmi_lan_build_sol_msg()
1199 msg[len] |= payload->payload.sol_packet.flush_inbound ? 0x02 : 0; in ipmi_lan_build_sol_msg()
1200 msg[len++] |= payload->payload.sol_packet.flush_outbound ? 0x01 : 0; in ipmi_lan_build_sol_msg()
1204 if (payload->payload.sol_packet.character_count) { in ipmi_lan_build_sol_msg()
1207 payload->payload.sol_packet.data, in ipmi_lan_build_sol_msg()
1208 payload->payload.sol_packet.character_count); in ipmi_lan_build_sol_msg()
1209 len += payload->payload.sol_packet.character_count; in ipmi_lan_build_sol_msg()
1237 struct ipmi_v2_payload * payload) in sol_response_acks_packet() argument
1240 payload && in sol_response_acks_packet()
1241 (payload->payload_type == IPMI_PAYLOAD_TYPE_SOL) && in sol_response_acks_packet()
1242 (rsp->payload.sol_packet.acked_packet_number == in sol_response_acks_packet()
1243 payload->payload.sol_packet.packet_sequence_number)); in sol_response_acks_packet()
1252 struct ipmi_v2_payload * payload) in ipmi_lan_send_sol_payload() argument
1264 msg = ipmi_lan_build_sol_msg(intf, payload, &len); in ipmi_lan_send_sol_payload()
1287 if (payload->payload.sol_packet.packet_sequence_number == 0) { in ipmi_lan_send_sol_payload()
1296 if (sol_response_acks_packet(rsp, payload)) in ipmi_lan_send_sol_payload()
1340 (rsp->payload.sol_packet.accepted_character_count < in is_sol_partial_ack()
1341 v2_payload->payload.sol_packet.character_count)) in is_sol_partial_ack()
1343 if (rsp->payload.sol_packet.accepted_character_count == 0) { in is_sol_partial_ack()
1350 v2_payload->payload.sol_packet.character_count - in is_sol_partial_ack()
1351 rsp->payload.sol_packet.accepted_character_count; in is_sol_partial_ack()
1368 v2_payload->payload.sol_packet.packet_sequence_number = in set_sol_packet_sequence_number()
1394 v2_payload->payload.sol_packet.acked_packet_number = 0; /* NA */ in ipmi_lan_send_sol()
1398 v2_payload->payload.sol_packet.accepted_character_count = 0; /* NA */ in ipmi_lan_send_sol()
1417 memmove(v2_payload->payload.sol_packet.data, in ipmi_lan_send_sol()
1418 v2_payload->payload.sol_packet.data + in ipmi_lan_send_sol()
1419 rsp->payload.sol_packet.accepted_character_count, in ipmi_lan_send_sol()
1422 v2_payload->payload.sol_packet.character_count = chars_to_resend; in ipmi_lan_send_sol()
1457 if (rsp->payload.sol_packet.packet_sequence_number == in check_sol_packet_for_new_data()
1481 if (rsp && rsp->payload.sol_packet.packet_sequence_number) in check_sol_packet_for_new_data()
1484 rsp->payload.sol_packet.packet_sequence_number; in check_sol_packet_for_new_data()
1503 (rsp->payload.sol_packet.packet_sequence_number)) in ack_sol_packet()
1518 ack.payload.sol_packet.packet_sequence_number = 0; in ack_sol_packet()
1520 ack.payload.sol_packet.acked_packet_number = in ack_sol_packet()
1521 rsp->payload.sol_packet.packet_sequence_number; in ack_sol_packet()
1523 ack.payload.sol_packet.accepted_character_count = rsp->data_len; in ack_sol_packet()