Lines Matching refs:val
399 static int debugfs_u8_set(void *data, u64 val) in debugfs_u8_set() argument
401 *(u8 *)data = val; in debugfs_u8_set()
404 static int debugfs_u8_get(void *data, u64 *val) in debugfs_u8_get() argument
406 *val = *(u8 *)data; in debugfs_u8_get()
444 static int debugfs_u16_set(void *data, u64 val) in debugfs_u16_set() argument
446 *(u16 *)data = val; in debugfs_u16_set()
449 static int debugfs_u16_get(void *data, u64 *val) in debugfs_u16_get() argument
451 *val = *(u16 *)data; in debugfs_u16_get()
489 static int debugfs_u32_set(void *data, u64 val) in debugfs_u32_set() argument
491 *(u32 *)data = val; in debugfs_u32_set()
494 static int debugfs_u32_get(void *data, u64 *val) in debugfs_u32_get() argument
496 *val = *(u32 *)data; in debugfs_u32_get()
534 static int debugfs_u64_set(void *data, u64 val) in debugfs_u64_set() argument
536 *(u64 *)data = val; in debugfs_u64_set()
540 static int debugfs_u64_get(void *data, u64 *val) in debugfs_u64_get() argument
542 *val = *(u64 *)data; in debugfs_u64_get()
580 static int debugfs_ulong_set(void *data, u64 val) in debugfs_ulong_set() argument
582 *(unsigned long *)data = val; in debugfs_ulong_set()
586 static int debugfs_ulong_get(void *data, u64 *val) in debugfs_ulong_get() argument
588 *val = *(unsigned long *)data; in debugfs_ulong_get()
729 static int debugfs_size_t_set(void *data, u64 val) in debugfs_size_t_set() argument
731 *(size_t *)data = val; in debugfs_size_t_set()
734 static int debugfs_size_t_get(void *data, u64 *val) in debugfs_size_t_get() argument
736 *val = *(size_t *)data; in debugfs_size_t_get()
763 static int debugfs_atomic_t_set(void *data, u64 val) in debugfs_atomic_t_set() argument
765 atomic_set((atomic_t *)data, val); in debugfs_atomic_t_set()
768 static int debugfs_atomic_t_get(void *data, u64 *val) in debugfs_atomic_t_get() argument
770 *val = atomic_read((atomic_t *)data); in debugfs_atomic_t_get()
804 bool val; in debugfs_read_file_bool() local
811 val = *(bool *)file->private_data; in debugfs_read_file_bool()
814 if (val) in debugfs_read_file_bool()
829 bool *val = file->private_data; in debugfs_write_file_bool() local
837 *val = bv; in debugfs_write_file_bool()