Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-its.c757 static u64 its_cmd_mask_field(u64 *its_cmd, int word, int shift, int size) in its_cmd_mask_field() function
762 #define its_cmd_get_command(cmd) its_cmd_mask_field(cmd, 0, 0, 8)
763 #define its_cmd_get_deviceid(cmd) its_cmd_mask_field(cmd, 0, 32, 32)
764 #define its_cmd_get_size(cmd) (its_cmd_mask_field(cmd, 1, 0, 5) + 1)
765 #define its_cmd_get_id(cmd) its_cmd_mask_field(cmd, 1, 0, 32)
766 #define its_cmd_get_physical_id(cmd) its_cmd_mask_field(cmd, 1, 32, 32)
767 #define its_cmd_get_collection(cmd) its_cmd_mask_field(cmd, 2, 0, 16)
768 #define its_cmd_get_ittaddr(cmd) (its_cmd_mask_field(cmd, 2, 8, 44) << 8)
769 #define its_cmd_get_target_addr(cmd) its_cmd_mask_field(cmd, 2, 16, 32)
770 #define its_cmd_get_validbit(cmd) its_cmd_mask_field(cmd, 2, 63, 1)
[all …]