Lines Matching refs:payload
276 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_offset_valid() local
286 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid()
395 struct ipa_cmd_hw_ip_fltrt_init *payload; in ipa_cmd_table_init_add() local
416 payload = &cmd_payload->table_init; in ipa_cmd_table_init_add()
420 payload->hash_rules_addr = cpu_to_le64(hash_addr); in ipa_cmd_table_init_add()
421 payload->flags = cpu_to_le64(val); in ipa_cmd_table_init_add()
422 payload->nhash_rules_addr = cpu_to_le64(addr); in ipa_cmd_table_init_add()
424 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_table_init_add()
434 struct ipa_cmd_hw_hdr_init_local *payload; in ipa_cmd_hdr_init_local_add() local
447 payload = &cmd_payload->hdr_init_local; in ipa_cmd_hdr_init_local_add()
449 payload->hdr_table_addr = cpu_to_le64(addr); in ipa_cmd_hdr_init_local_add()
452 payload->flags = cpu_to_le32(flags); in ipa_cmd_hdr_init_local_add()
454 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_hdr_init_local_add()
462 struct ipa_cmd_register_write *payload; in ipa_cmd_register_write_add() local
503 payload = &cmd_payload->register_write; in ipa_cmd_register_write_add()
505 payload->flags = cpu_to_le16(flags); in ipa_cmd_register_write_add()
506 payload->offset = cpu_to_le16((u16)offset); in ipa_cmd_register_write_add()
507 payload->value = cpu_to_le32(value); in ipa_cmd_register_write_add()
508 payload->value_mask = cpu_to_le32(mask); in ipa_cmd_register_write_add()
509 payload->clear_options = cpu_to_le32(options); in ipa_cmd_register_write_add()
511 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_register_write_add()
520 struct ipa_cmd_ip_packet_init *payload; in ipa_cmd_ip_packet_init_add() local
525 payload = &cmd_payload->ip_packet_init; in ipa_cmd_ip_packet_init_add()
527 payload->dest_endpoint = u8_encode_bits(endpoint_id, in ipa_cmd_ip_packet_init_add()
530 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_packet_init_add()
540 struct ipa_cmd_hw_dma_mem_mem *payload; in ipa_cmd_dma_shared_mem_add() local
553 payload = &cmd_payload->dma_shared_mem; in ipa_cmd_dma_shared_mem_add()
558 payload->size = cpu_to_le16(size); in ipa_cmd_dma_shared_mem_add()
559 payload->local_addr = cpu_to_le16(offset); in ipa_cmd_dma_shared_mem_add()
569 payload->flags = cpu_to_le16(flags); in ipa_cmd_dma_shared_mem_add()
570 payload->system_addr = cpu_to_le64(addr); in ipa_cmd_dma_shared_mem_add()
572 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_dma_shared_mem_add()
580 struct ipa_cmd_ip_packet_tag_status *payload; in ipa_cmd_ip_tag_status_add() local
585 payload = &cmd_payload->ip_packet_tag_status; in ipa_cmd_ip_tag_status_add()
587 payload->tag = le64_encode_bits(0, IP_PACKET_TAG_STATUS_TAG_FMASK); in ipa_cmd_ip_tag_status_add()
589 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_ip_tag_status_add()
598 union ipa_cmd_payload *payload; in ipa_cmd_transfer_add() local
602 payload = ipa_cmd_payload_alloc(ipa, &payload_addr); in ipa_cmd_transfer_add()
604 gsi_trans_cmd_add(trans, payload, sizeof(*payload), payload_addr, in ipa_cmd_transfer_add()