Lines Matching refs:data
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()
905 r = simple_read_from_buffer(user_buf, count, ppos, blob->data, in read_file_blob()
973 struct array_data *data = inode->i_private; in u32_array_open() local
974 int size, elements = data->elements; in u32_array_open()
989 u32_format_array(buf, size, data->array, data->elements); in u32_array_open()
1037 struct array_data *data = kmalloc(sizeof(*data), GFP_KERNEL); in debugfs_create_u32_array() local
1039 if (data == NULL) in debugfs_create_u32_array()
1042 data->array = array; in debugfs_create_u32_array()
1043 data->elements = elements; in debugfs_create_u32_array()
1045 debugfs_create_file_unsafe(name, mode, parent, data, &u32_array_fops); in debugfs_create_u32_array()
1088 static int debugfs_show_regset32(struct seq_file *s, void *data) in debugfs_show_regset32() argument
1143 int (*read)(struct seq_file *seq, void *data);
1175 void *data)) in debugfs_create_devm_seqfile() argument