Lines Matching full:payload

31  * has a well-defined format, having a payload of a known length.  This
33 * immediate command's opcode. The payload for a command resides in AP
137 /* Immediate command payload */
259 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_offset_valid() local
269 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid()
367 struct ipa_cmd_hw_ip_fltrt_init *payload; in ipa_cmd_table_init_add() local
388 payload = &cmd_payload->table_init; in ipa_cmd_table_init_add()
392 payload->hash_rules_addr = cpu_to_le64(hash_addr); in ipa_cmd_table_init_add()
393 payload->flags = cpu_to_le64(val); in ipa_cmd_table_init_add()
394 payload->nhash_rules_addr = cpu_to_le64(addr); in ipa_cmd_table_init_add()
396 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_table_init_add()
406 struct ipa_cmd_hw_hdr_init_local *payload; in ipa_cmd_hdr_init_local_add() local
419 payload = &cmd_payload->hdr_init_local; in ipa_cmd_hdr_init_local_add()
421 payload->hdr_table_addr = cpu_to_le64(addr); in ipa_cmd_hdr_init_local_add()
424 payload->flags = cpu_to_le32(flags); in ipa_cmd_hdr_init_local_add()
426 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_hdr_init_local_add()
434 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_add() local
447 * bits in the payload flags field. in ipa_cmd_register_write_add()
475 payload = &cmd_payload->register_write; in ipa_cmd_register_write_add()
477 payload->flags = cpu_to_le16(flags); in ipa_cmd_register_write_add()
478 payload->offset = cpu_to_le16((u16)offset); in ipa_cmd_register_write_add()
479 payload->value = cpu_to_le32(value); in ipa_cmd_register_write_add()
480 payload->value_mask = cpu_to_le32(mask); in ipa_cmd_register_write_add()
481 payload->clear_options = cpu_to_le32(options); in ipa_cmd_register_write_add()
483 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_register_write_add()
492 struct ipa_cmd_ip_packet_init *payload; in ipa_cmd_ip_packet_init_add() local
497 payload = &cmd_payload->ip_packet_init; in ipa_cmd_ip_packet_init_add()
500 payload->dest_endpoint = in ipa_cmd_ip_packet_init_add()
504 payload->dest_endpoint = endpoint_id; in ipa_cmd_ip_packet_init_add()
507 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_packet_init_add()
517 struct ipa_cmd_hw_dma_mem_mem *payload; in ipa_cmd_dma_shared_mem_add() local
530 payload = &cmd_payload->dma_shared_mem; in ipa_cmd_dma_shared_mem_add()
532 /* payload->clear_after_read was reserved prior to IPA v4.0. It's in ipa_cmd_dma_shared_mem_add()
535 payload->size = cpu_to_le16(size); in ipa_cmd_dma_shared_mem_add()
536 payload->local_addr = cpu_to_le16(offset); in ipa_cmd_dma_shared_mem_add()
537 /* payload->flags: in ipa_cmd_dma_shared_mem_add()
546 payload->flags = cpu_to_le16(flags); in ipa_cmd_dma_shared_mem_add()
547 payload->system_addr = cpu_to_le64(addr); in ipa_cmd_dma_shared_mem_add()
549 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_dma_shared_mem_add()
557 struct ipa_cmd_ip_packet_tag_status *payload; in ipa_cmd_ip_tag_status_add() local
562 payload = &cmd_payload->ip_packet_tag_status; in ipa_cmd_ip_tag_status_add()
564 payload->tag = le64_encode_bits(0, IP_PACKET_TAG_STATUS_TAG_FMASK); in ipa_cmd_ip_tag_status_add()
566 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_tag_status_add()
575 union ipa_cmd_payload *payload; in ipa_cmd_transfer_add() local
578 /* Just transfer a zero-filled payload structure */ in ipa_cmd_transfer_add()
579 payload = ipa_cmd_payload_alloc(ipa, &payload_addr); in ipa_cmd_transfer_add()
581 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_transfer_add()