Searched refs:vec_type (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | fpsimd.h | 151 enum vec_type type; 180 extern int vec_set_vector_length(struct task_struct *task, enum vec_type type, 209 enum vec_type; 211 extern void __init vec_init_vq_map(enum vec_type type); 212 extern void vec_update_vq_map(enum vec_type type); 213 extern int vec_verify_vq_map(enum vec_type type); 218 static inline void write_vl(enum vec_type type, u64 val) in write_vl() 241 static inline int vec_max_vl(enum vec_type type) in vec_max_vl() 246 static inline int vec_max_virtualisable_vl(enum vec_type type) in vec_max_virtualisable_vl() 262 static inline bool vq_available(enum vec_type type, unsigned int vq) in vq_available() [all …]
|
H A D | processor.h | 119 enum vec_type { enum 185 enum vec_type type) in thread_get_vl() 208 unsigned int task_get_vl(const struct task_struct *task, enum vec_type type); 209 void task_set_vl(struct task_struct *task, enum vec_type type, 211 void task_set_vl_onexec(struct task_struct *task, enum vec_type type, 214 enum vec_type type);
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 43 struct vec_type { struct 51 static const struct vec_type vec_types[] = { argument 111 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type, in get_sve() 149 static int set_sve(pid_t pid, const struct vec_type *type, in set_sve() 160 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) in ptrace_set_get_inherit() 214 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, in ptrace_set_get_vl() 271 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) in ptrace_sve_fpsimd() 327 const struct vec_type *type, in ptrace_set_sve_get_sve_data() 425 const struct vec_type *type, in ptrace_set_sve_get_fpsimd_data() 508 const struct vec_type *type, in ptrace_set_fpsimd_get_sve_data()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | fpsimd.c | 142 static unsigned int vec_vl_inherit_flag(enum vec_type type) in vec_vl_inherit_flag() 161 static inline int get_default_vl(enum vec_type type) in get_default_vl() 173 static inline void set_default_vl(enum vec_type type, int val) in set_default_vl() 276 unsigned int task_get_vl(const struct task_struct *task, enum vec_type type) in task_get_vl() 281 void task_set_vl(struct task_struct *task, enum vec_type type, in task_set_vl() 288 enum vec_type type) in task_get_vl_onexec() 293 void task_set_vl_onexec(struct task_struct *task, enum vec_type type, in task_set_vl_onexec() 533 static unsigned int find_supported_vector_length(enum vec_type type, in find_supported_vector_length() 562 enum vec_type type = info->type; in vec_proc_do_default_vl() 848 int vec_set_vector_length(struct task_struct *task, enum vec_type type, in vec_set_vector_length() [all …]
|
H A D | ptrace.c | 727 enum vec_type type) in sve_init_header_from_task() 731 enum vec_type task_type; in sve_init_header_from_task() 781 enum vec_type type) in sve_get_common() 844 enum vec_type type) in sve_set_common()
|
/openbmc/qemu/hw/riscv/ |
H A D | riscv-iommu.c | 79 static uint8_t riscv_iommu_get_icvec_vector(uint32_t icvec, uint32_t vec_type) in riscv_iommu_get_icvec_vector() argument 81 switch (vec_type) { in riscv_iommu_get_icvec_vector() 95 static void riscv_iommu_notify(RISCVIOMMUState *s, int vec_type) in riscv_iommu_notify() argument 105 ipsr = riscv_iommu_reg_mod32(s, RISCV_IOMMU_REG_IPSR, (1 << vec_type), 0); in riscv_iommu_notify() 107 if (!(ipsr & (1 << vec_type))) { in riscv_iommu_notify() 108 vector = riscv_iommu_get_icvec_vector(icvec, vec_type); in riscv_iommu_notify() 110 trace_riscv_iommu_notify_int_vector(vec_type, vector); in riscv_iommu_notify()
|