Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-its.c822 static u64 its_cmd_mask_field(u64 *its_cmd, int word, int shift, int size) in its_cmd_mask_field() function
827 #define its_cmd_get_command(cmd) its_cmd_mask_field(cmd, 0, 0, 8)
828 #define its_cmd_get_deviceid(cmd) its_cmd_mask_field(cmd, 0, 32, 32)
829 #define its_cmd_get_size(cmd) (its_cmd_mask_field(cmd, 1, 0, 5) + 1)
830 #define its_cmd_get_id(cmd) its_cmd_mask_field(cmd, 1, 0, 32)
831 #define its_cmd_get_physical_id(cmd) its_cmd_mask_field(cmd, 1, 32, 32)
832 #define its_cmd_get_collection(cmd) its_cmd_mask_field(cmd, 2, 0, 16)
833 #define its_cmd_get_ittaddr(cmd) (its_cmd_mask_field(cmd, 2, 8, 44) << 8)
834 #define its_cmd_get_target_addr(cmd) its_cmd_mask_field(cmd, 2, 16, 32)
835 #define its_cmd_get_validbit(cmd) its_cmd_mask_field(cmd, 2, 63, 1)
[all …]