Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 2663) sorted by relevance

12345678910>>...107

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_sock_addr.c11 int recvmsg4_good_return_code(struct bpf_sock_addr *ctx) in recvmsg4_good_return_code()
18 int recvmsg4_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg4_bad_return_code()
25 int recvmsg6_good_return_code(struct bpf_sock_addr *ctx) in recvmsg6_good_return_code()
32 int recvmsg6_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg6_bad_return_code()
39 int recvmsg_unix_good_return_code(struct bpf_sock_addr *ctx) in recvmsg_unix_good_return_code()
46 int recvmsg_unix_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg_unix_bad_return_code()
53 int sendmsg4_good_return_code_0(struct bpf_sock_addr *ctx) in sendmsg4_good_return_code_0()
60 int sendmsg4_good_return_code_1(struct bpf_sock_addr *ctx) in sendmsg4_good_return_code_1()
67 int sendmsg4_bad_return_code(struct bpf_sock_addr *ctx) in sendmsg4_bad_return_code()
74 int sendmsg6_good_return_code_0(struct bpf_sock_addr *ctx) in sendmsg6_good_return_code_0()
[all …]
H A Dstring_kfuncs_success.c13 __test(0) int test_strcmp_eq(void *ctx) { return bpf_strcmp(str, "hello world"); } in test_strcmp_eq() argument
14 __test(1) int test_strcmp_neq(void *ctx) { return bpf_strcmp(str, "hello"); } in test_strcmp_neq() argument
15 __test(0) int test_strcasecmp_eq1(void *ctx) { return bpf_strcasecmp(str, "hello world"); } in test_strcasecmp_eq1() argument
16 __test(0) int test_strcasecmp_eq2(void *ctx) { return bpf_strcasecmp(str, "HELLO WORLD"); } in test_strcasecmp_eq2() argument
17 __test(0) int test_strcasecmp_eq3(void *ctx) { return bpf_strcasecmp(str, "HELLO world"); } in test_strcasecmp_eq3() argument
18 __test(1) int test_strcasecmp_neq1(void *ctx) { return bpf_strcasecmp(str, "hello"); } in test_strcasecmp_neq1() argument
19 __test(1) int test_strcasecmp_neq2(void *ctx) { return bpf_strcasecmp(str, "HELLO"); } in test_strcasecmp_neq2() argument
20 __test(0) int test_strncasecmp_eq1(void *ctx) { return bpf_strncasecmp(str, "hello world", 11); } in test_strchr_found() argument
21 __test(0) int test_strncasecmp_eq2(void *ctx) { return bpf_strncasecmp(str, "HELLO WORLD", 11); } in test_strchr_null() argument
22 __test(0) int test_strncasecmp_eq3(void *ctx) { retur in test_strchr_null() argument
23 test_strchrnul_found(void * ctx) test_strchrnul_found() argument
24 test_strchrnul_notfound(void * ctx) test_strchrnul_notfound() argument
25 test_strnchr_found(void * ctx) test_strnchr_found() argument
26 test_strnchr_null(void * ctx) test_strnchr_null() argument
27 test_strnchr_notfound(void * ctx) test_strnchr_notfound() argument
28 test_strrchr_found(void * ctx) test_strrchr_found() argument
29 test_strrchr_null(void * ctx) test_strrchr_null() argument
30 test_strrchr_notfound(void * ctx) test_strrchr_notfound() argument
31 test_strlen(void * ctx) test_strlen() argument
32 test_strnlen(void * ctx) test_strnlen() argument
33 test_strspn(void * ctx) test_strspn() argument
34 test_strcspn(void * ctx) test_strcspn() argument
35 test_strstr_found(void * ctx) test_strstr_found() argument
36 test_strcasestr_found(void * ctx) test_strcasestr_found() argument
37 test_strstr_notfound(void * ctx) test_strstr_notfound() argument
38 test_strcasestr_notfound(void * ctx) test_strcasestr_notfound() argument
39 test_strstr_empty(void * ctx) test_strstr_empty() argument
40 test_strcasestr_empty(void * ctx) test_strcasestr_empty() argument
41 test_strnstr_found1(void * ctx) test_strnstr_found1() argument
42 test_strnstr_found2(void * ctx) test_strnstr_found2() argument
43 test_strnstr_found3(void * ctx) test_strnstr_found3() argument
44 test_strnstr_notfound1(void * ctx) test_strnstr_notfound1() argument
45 test_strnstr_notfound2(void * ctx) test_strnstr_notfound2() argument
46 test_strnstr_notfound3(void * ctx) test_strnstr_notfound3() argument
47 test_strnstr_empty(void * ctx) test_strnstr_empty() argument
48 test_strncasestr_found1(void * ctx) test_strncasestr_found1() argument
49 test_strncasestr_found2(void * ctx) test_strncasestr_found2() argument
50 test_strncasestr_found3(void * ctx) test_strncasestr_found3() argument
51 test_strncasestr_notfound1(void * ctx) test_strncasestr_notfound1() argument
52 test_strncasestr_notfound2(void * ctx) test_strncasestr_notfound2() argument
53 test_strncasestr_notfound3(void * ctx) test_strncasestr_notfound3() argument
54 test_strncasestr_empty(void * ctx) test_strncasestr_empty() argument
[all...]
H A Dlinked_list_fail.c171 int map_compat_kprobe(void *ctx) in map_compat_kprobe()
178 int map_compat_kretprobe(void *ctx) in map_compat_kretprobe()
185 int map_compat_tp(void *ctx) in map_compat_tp()
192 int map_compat_perf(void *ctx) in map_compat_perf()
199 int map_compat_raw_tp(void *ctx) in map_compat_raw_tp()
206 int map_compat_raw_tp_w(void *ctx) in map_compat_raw_tp_w()
213 int obj_type_id_oor(void *ctx) in obj_type_id_oor()
220 int obj_new_no_composite(void *ctx) in obj_new_no_composite()
227 int obj_new_no_struct(void *ctx) in obj_new_no_struct()
234 int obj_drop_non_zero_off(void *ctx) in obj_drop_non_zero_off()
[all …]
H A Dstring_kfuncs_failure2.c9 SEC("syscall") int test_strcmp_too_long(void *ctx) { return bpf_strcmp(long_str, long_str); } in test_strcmp_too_long() argument
10 SEC("syscall") int test_strcasecmp_too_long(void *ctx) { return bpf_strcasecmp(long_str, long_str); } in test_strcasecmp_too_long() argument
11 SEC("syscall") int test_strncasecmp_too_long(void *ctx) { return bpf_strncasecmp(long_str, long_str, sizeof(long_str)); } in test_strchr_too_long() argument
12 SEC("syscall") int test_strchr_too_long(void *ctx) { return bpf_strchr(long_str, 'b'); } in test_strchrnul_too_long() argument
13 SEC("syscall") int test_strchrnul_too_long(void *ctx) { return bpf_strchrnul(long_str, 'b'); } in test_strnchr_too_long() argument
14 SEC("syscall") int test_strnchr_too_long(void *ctx) { return bpf_strnchr(long_str, sizeof(long_str), 'b'); } in test_strrchr_too_long() argument
15 SEC("syscall") int test_strrchr_too_long(void *ctx) { return bpf_strrchr(long_str, 'b'); } in test_strlen_too_long() argument
16 SEC("syscall") int test_strlen_too_long(void *ctx) { return bpf_strlen(long_str); } in test_strnlen_too_long() argument
17 SEC("syscall") int test_strnlen_too_long(void *ctx) { return bpf_strnlen(long_str, sizeof(long_str)); } in test_strspn_str_too_long() argument
18 SEC("syscall") int test_strspn_str_too_long(void *ctx) { retur in test_strspn_str_too_long() argument
19 test_strcspn_str_too_long(void * ctx) test_strcspn_str_too_long() argument
20 test_strcspn_reject_too_long(void * ctx) test_strcspn_reject_too_long() argument
21 test_strstr_too_long(void * ctx) test_strstr_too_long() argument
22 test_strcasestr_too_long(void * ctx) test_strcasestr_too_long() argument
23 test_strnstr_too_long(void * ctx) test_strnstr_too_long() argument
24 test_strncasestr_too_long(void * ctx) test_strncasestr_too_long() argument
[all...]
H A Dverifier_lsm.c10 errno_zero_retval_test1(void * ctx) errno_zero_retval_test1() argument
21 errno_zero_retval_test2(void * ctx) errno_zero_retval_test2() argument
32 errno_zero_retval_test4(void * ctx) errno_zero_retval_test4() argument
43 errno_zero_retval_test5(void * ctx) errno_zero_retval_test5() argument
54 errno_zero_retval_test6(void * ctx) errno_zero_retval_test6() argument
65 bool_retval_test1(void * ctx) bool_retval_test1() argument
77 bool_retval_test2(void * ctx) bool_retval_test2() argument
88 bool_retval_test3(void * ctx) bool_retval_test3() argument
99 bool_retval_test4(void * ctx) bool_retval_test4() argument
110 void_retval_test1(void * ctx) void_retval_test1() argument
121 void_retval_test2(void * ctx) void_retval_test2() argument
132 disabled_hook_test1(void * ctx) disabled_hook_test1() argument
143 disabled_hook_test2(void * ctx) disabled_hook_test2() argument
154 disabled_hook_test3(void * ctx) disabled_hook_test3() argument
[all...]
H A Dirq.c19 int irq_save_bad_arg(struct __sk_buff *ctx) in irq_save_bad_arg()
27 int irq_restore_bad_arg(struct __sk_buff *ctx) in irq_restore_bad_arg()
35 int irq_restore_missing_2(struct __sk_buff *ctx) in irq_restore_missing_2()
47 int irq_restore_missing_3(struct __sk_buff *ctx) in irq_restore_missing_3()
61 int irq_restore_missing_3_minus_2(struct __sk_buff *ctx) in irq_restore_missing_3_minus_2()
87 int irq_restore_missing_1_subprog(struct __sk_buff *ctx) in irq_restore_missing_1_subprog()
97 int irq_restore_missing_2_subprog(struct __sk_buff *ctx) in irq_restore_missing_2_subprog()
109 int irq_restore_missing_3_subprog(struct __sk_buff *ctx) in irq_restore_missing_3_subprog()
123 int irq_restore_missing_3_minus_2_subprog(struct __sk_buff *ctx) in irq_restore_missing_3_minus_2_subprog()
139 int irq_balance(struct __sk_buff *ctx) in irq_balance()
[all …]
H A Dtrigger_bench.c29 bench_trigger_uprobe(void * ctx) bench_trigger_uprobe() argument
36 bench_trigger_uprobe_multi(void * ctx) bench_trigger_uprobe_multi() argument
45 trigger_kernel_count(void * ctx) trigger_kernel_count() argument
58 trigger_driver(void * ctx) trigger_driver() argument
71 trigger_driver_kfunc(void * ctx) trigger_driver_kfunc() argument
82 bench_trigger_kprobe(void * ctx) bench_trigger_kprobe() argument
89 bench_trigger_kretprobe(void * ctx) bench_trigger_kretprobe() argument
96 bench_trigger_kprobe_multi(void * ctx) bench_trigger_kprobe_multi() argument
103 bench_kprobe_multi_empty(void * ctx) bench_kprobe_multi_empty() argument
109 bench_trigger_kretprobe_multi(void * ctx) bench_trigger_kretprobe_multi() argument
116 bench_kretprobe_multi_empty(void * ctx) bench_kretprobe_multi_empty() argument
122 bench_trigger_fentry(void * ctx) bench_trigger_fentry() argument
129 bench_trigger_fexit(void * ctx) bench_trigger_fexit() argument
136 bench_trigger_fmodret(void * ctx) bench_trigger_fmodret() argument
143 bench_trigger_tp(void * ctx) bench_trigger_tp() argument
150 bench_trigger_rawtp(void * ctx) bench_trigger_rawtp() argument
[all...]
H A Drcu_read_lock.c31 get_cgroup_id(void * ctx) get_cgroup_id() argument
52 task_succ(void * ctx) task_succ() argument
81 no_lock(void * ctx) no_lock() argument
93 two_regions(void * ctx) two_regions() argument
112 non_sleepable_1(void * ctx) non_sleepable_1() argument
128 non_sleepable_2(void * ctx) non_sleepable_2() argument
147 task_acquire(void * ctx) task_acquire() argument
175 miss_lock(void * ctx) miss_lock() argument
189 miss_unlock(void * ctx) miss_unlock() argument
201 non_sleepable_rcu_mismatch(void * ctx) non_sleepable_rcu_mismatch() argument
219 inproper_sleepable_helper(void * ctx) inproper_sleepable_helper() argument
263 nested_rcu_region(void * ctx) nested_rcu_region() argument
282 nested_rcu_region_unbalanced_1(void * ctx) nested_rcu_region_unbalanced_1() argument
302 nested_rcu_region_unbalanced_2(void * ctx) nested_rcu_region_unbalanced_2() argument
322 task_trusted_non_rcuptr(void * ctx) task_trusted_non_rcuptr() argument
336 task_untrusted_rcuptr(void * ctx) task_untrusted_rcuptr() argument
350 cross_rcu_region(void * ctx) cross_rcu_region() argument
366 static_subprog(void * ctx) static_subprog() argument
384 static_subprog_lock(void * ctx) static_subprog_lock() argument
403 static_subprog_unlock(void * ctx) static_subprog_unlock() argument
422 rcu_read_lock_subprog(void * ctx) rcu_read_lock_subprog() argument
434 rcu_read_lock_global_subprog(void * ctx) rcu_read_lock_global_subprog() argument
446 rcu_read_lock_subprog_lock(void * ctx) rcu_read_lock_subprog_lock() argument
456 rcu_read_lock_global_subprog_lock(void * ctx) rcu_read_lock_global_subprog_lock() argument
466 rcu_read_lock_subprog_unlock(void * ctx) rcu_read_lock_subprog_unlock() argument
476 rcu_read_lock_global_subprog_unlock(void * ctx) rcu_read_lock_global_subprog_unlock() argument
511 rcu_read_lock_sleepable_helper_global_subprog(void * ctx) rcu_read_lock_sleepable_helper_global_subprog() argument
522 rcu_read_lock_sleepable_kfunc_global_subprog(void * ctx) rcu_read_lock_sleepable_kfunc_global_subprog() argument
533 rcu_read_lock_sleepable_global_subprog_indirect(void * ctx) rcu_read_lock_sleepable_global_subprog_indirect() argument
[all...]
H A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx) in kprobe_typedef_ctx_subprog()
24 int kprobe_typedef_ctx(void *ctx) in kprobe_typedef_ctx()
48 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx) in kprobe_struct_ctx_subprog()
55 int kprobe_resolved_ctx(void *ctx) in kprobe_resolved_ctx()
65 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx) in kprobe_workaround_ctx_subprog()
72 int kprobe_workaround_ctx(void *ctx) in kprobe_workaround_ctx()
81 __weak int raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_ctx_subprog()
88 int raw_tp_ctx(void *ctx) in raw_tp_ctx()
97 __weak int raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_writable_ctx_subprog()
104 int raw_tp_writable_ctx(void *ctx) in raw_tp_writable_ctx()
[all …]
H A Dexceptions_fail.c102 int reject_async_callback_throw(struct __sk_buff *ctx) in reject_async_callback_throw()
112 __noinline static int subprog_lock(struct __sk_buff *ctx) in subprog_lock()
124 int reject_with_lock(void *ctx) in reject_with_lock()
133 int reject_subprog_with_lock(void *ctx) in reject_subprog_with_lock()
140 int reject_with_rcu_read_lock(void *ctx) in reject_with_rcu_read_lock()
147 __noinline static int throwing_subprog(struct __sk_buff *ctx) in throwing_subprog()
156 int reject_subprog_with_rcu_read_lock(void *ctx) in reject_subprog_with_rcu_read_lock()
172 int reject_with_rbtree_add_throw(void *ctx) in reject_with_rbtree_add_throw()
187 int reject_with_reference(void *ctx) in reject_with_reference()
198 __noinline static int subprog_ref(struct __sk_buff *ctx) in subprog_ref()
[all …]
H A Dpreempt_lock.c12 int preempt_lock_missing_1(struct __sk_buff *ctx) in preempt_lock_missing_1()
20 int preempt_lock_missing_2(struct __sk_buff *ctx) in preempt_lock_missing_2()
29 int preempt_lock_missing_3(struct __sk_buff *ctx) in preempt_lock_missing_3()
39 int preempt_lock_missing_3_minus_2(struct __sk_buff *ctx) in preempt_lock_missing_3_minus_2()
61 int preempt_lock_missing_1_subprog(struct __sk_buff *ctx) in preempt_lock_missing_1_subprog()
69 int preempt_lock_missing_2_subprog(struct __sk_buff *ctx) in preempt_lock_missing_2_subprog()
78 int preempt_lock_missing_2_minus_1_subprog(struct __sk_buff *ctx) in preempt_lock_missing_2_minus_1_subprog()
93 __success int preempt_balance(struct __sk_buff *ctx) in preempt_balance()
100 __success int preempt_balance_subprog_test(struct __sk_buff *ctx) in preempt_balance_subprog_test()
108 int preempt_sleepable_helper(void *ctx) in preempt_sleepable_helper()
[all …]
H A Dtest_sk_lookup.c76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass()
82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop()
88 int check_ifindex(struct bpf_sk_lookup *ctx) in check_ifindex()
96 int reuseport_pass(struct sk_reuseport_md *ctx) in reuseport_pass()
102 int reuseport_drop(struct sk_reuseport_md *ctx) in reuseport_drop()
109 int redir_port(struct bpf_sk_lookup *ctx) in redir_port()
128 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4()
151 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6()
176 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a()
191 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) in select_sock_a_no_reuseport()
[all …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.h21 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) in i915_gem_context_is_closed()
26 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) in i915_gem_context_set_closed()
32 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) in i915_gem_context_no_error_capture()
37 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_set_no_error_capture()
42 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) in i915_gem_context_clear_no_error_capture()
47 static inline bool i915_gem_context_is_bannable(const struct i915_gem_context *ctx) in i915_gem_context_is_bannable()
52 static inline void i915_gem_context_set_bannable(struct i915_gem_context *ctx) in i915_gem_context_set_bannable()
57 static inline void i915_gem_context_clear_bannable(struct i915_gem_context *ctx) in i915_gem_context_clear_bannable()
62 static inline bool i915_gem_context_is_recoverable(const struct i915_gem_context *ctx) in i915_gem_context_is_recoverable()
67 static inline void i915_gem_context_set_recoverable(struct i915_gem_context *ctx) in i915_gem_context_set_recoverable()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
115 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
139 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
170 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
175 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
187 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
192 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
H A Dhw_ops.c24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll()
82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
124 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
129 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
134 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
155 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
H A Dfile.c160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local
174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local
184 spufs_mem_dump(struct spu_context *ctx, struct coredump_params *cprm) in spufs_mem_dump()
193 struct spu_context *ctx = file->private_data; in spufs_mem_read() local
210 struct spu_context *ctx = file->private_data; in spufs_mem_write() local
233 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault() local
265 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access() local
314 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault() local
396 struct spu_context *ctx = data; in spufs_cntl_get() local
410 struct spu_context *ctx = data; in spufs_cntl_set() local
[all …]
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
96 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
137 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
155 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
167 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
256 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
267 struct spu_context *ctx; in aff_set_offsets() local
288 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e3ha2.c244 static int s6e3ha2_dcs_write(struct s6e3ha2 *ctx, const void *data, size_t len) in s6e3ha2_dcs_write()
251 #define s6e3ha2_dcs_write_seq_static(ctx, seq...) do { \ argument
265 static int s6e3ha2_test_key_on_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_f0()
271 static int s6e3ha2_test_key_off_f0(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_f0()
277 static int s6e3ha2_test_key_on_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_on_fc()
283 static int s6e3ha2_test_key_off_fc(struct s6e3ha2 *ctx) in s6e3ha2_test_key_off_fc()
289 static int s6e3ha2_single_dsi_set(struct s6e3ha2 *ctx) in s6e3ha2_single_dsi_set()
296 static int s6e3ha2_freq_calibration(struct s6e3ha2 *ctx) in s6e3ha2_freq_calibration()
317 static int s6e3ha2_aor_control(struct s6e3ha2 *ctx) in s6e3ha2_aor_control()
323 static int s6e3ha2_caps_elvss_set(struct s6e3ha2 *ctx) in s6e3ha2_caps_elvss_set()
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c137 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error()
145 static void sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) in sii8620_read_buf()
179 static u8 sii8620_readb(struct sii8620 *ctx, u16 addr) in sii8620_readb()
187 static void sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, in sii8620_write_buf()
230 #define sii8620_write(ctx, addr, arr...) \ argument
236 static void __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) in __sii8620_write_seq()
244 #define sii8620_write_seq(ctx, seq...) \ argument
250 #define sii8620_write_seq_static(ctx, seq...) \ argument
256 static void sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) in sii8620_setbits()
262 static inline bool sii8620_is_mhl3(struct sii8620 *ctx) in sii8620_is_mhl3()
[all …]
/linux/drivers/ras/amd/atl/
H A Dmap.c15 static int df2_get_intlv_mode(struct addr_ctx *ctx) in df2_get_intlv_mode()
30 static int df3_get_intlv_mode(struct addr_ctx *ctx) in df3_get_intlv_mode()
36 static int df3p5_get_intlv_mode(struct addr_ctx *ctx) in df3p5_get_intlv_mode()
46 static int df4_get_intlv_mode(struct addr_ctx *ctx) in df4_get_intlv_mode()
59 static int df4p5_get_intlv_mode(struct addr_ctx *ctx) in df4p5_get_intlv_mode()
80 static int get_intlv_mode(struct addr_ctx *ctx) in get_intlv_mode()
143 static int get_dram_offset(struct addr_ctx *ctx, u64 *norm_offset) in get_dram_offset()
182 static int df3_6ch_get_dram_addr_map(struct addr_ctx *ctx) in df3_6ch_get_dram_addr_map()
212 static int df2_get_dram_addr_map(struct addr_ctx *ctx) in df2_get_dram_addr_map()
227 static int df3_get_dram_addr_map(struct addr_ctx *ctx) in df3_get_dram_addr_map()
[all …]
H A Ddenormalize.c19 static u16 get_dst_fabric_id(struct addr_ctx *ctx) in get_dst_fabric_id()
44 static u64 make_space_for_coh_st_id_at_intlv_bit(struct addr_ctx *ctx) in make_space_for_coh_st_id_at_intlv_bit()
70 static u64 make_space_for_coh_st_id_split_2_1(struct addr_ctx *ctx) in make_space_for_coh_st_id_split_2_1()
94 static u64 make_space_for_coh_st_id_mi300(struct addr_ctx *ctx) in make_space_for_coh_st_id_mi300()
121 static u64 make_space_for_coh_st_id(struct addr_ctx *ctx) in make_space_for_coh_st_id()
156 static u16 get_coh_st_id_df2(struct addr_ctx *ctx) in get_coh_st_id_df2()
196 static u16 get_coh_st_id_df4(struct addr_ctx *ctx) in get_coh_st_id_df4()
256 static u16 get_coh_st_id_mi300(struct addr_ctx *ctx) in get_coh_st_id_mi300()
282 static u16 calculate_coh_st_id(struct addr_ctx *ctx) in calculate_coh_st_id()
323 static u64 insert_coh_st_id_at_intlv_bit(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id) in insert_coh_st_id_at_intlv_bit()
[all …]
/linux/security/ipe/
H A Deval.c33 static void build_ipe_sb_ctx(struct ipe_eval_ctx *ctx, const struct file *const file) in build_ipe_sb_ctx()
44 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx()
50 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx()
57 static void build_ipe_inode_blob_ctx(struct ipe_eval_ctx *ctx, in build_ipe_inode_blob_ctx()
63 static inline void build_ipe_inode_blob_ctx(struct ipe_eval_ctx *ctx, in build_ipe_inode_blob_ctx()
74 static void build_ipe_inode_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_inode_ctx()
80 static void build_ipe_inode_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_inode_ctx()
92 void ipe_build_eval_ctx(struct ipe_eval_ctx *ctx, in ipe_build_eval_ctx()
119 static bool evaluate_boot_verified(const struct ipe_eval_ctx *const ctx) in evaluate_boot_verified()
134 static bool evaluate_dmv_roothash(const struct ipe_eval_ctx *const ctx, in evaluate_dmv_roothash()
[all …]
/linux/drivers/base/regmap/
H A Dregmap-mmio.c65 static void regmap_mmio_write8(struct regmap_mmio_context *ctx, in regmap_mmio_write8()
72 static void regmap_mmio_write8_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write8_relaxed()
79 static void regmap_mmio_iowrite8(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite8()
85 static void regmap_mmio_write16le(struct regmap_mmio_context *ctx, in regmap_mmio_write16le()
92 static void regmap_mmio_write16le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write16le_relaxed()
99 static void regmap_mmio_iowrite16le(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite16le()
105 static void regmap_mmio_write16be(struct regmap_mmio_context *ctx, in regmap_mmio_write16be()
112 static void regmap_mmio_iowrite16be(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite16be()
118 static void regmap_mmio_write32le(struct regmap_mmio_context *ctx, in regmap_mmio_write32le()
125 static void regmap_mmio_write32le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write32le_relaxed()
[all …]
/linux/drivers/media/i2c/
H A Dmax2175.c30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) argument
31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) argument
316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val) in max2175_read()
330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val) in max2175_write()
342 static u8 max2175_read_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb) in max2175_read_bits()
352 static int max2175_write_bits(struct max2175 *ctx, u8 idx, in max2175_write_bits()
364 static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) in max2175_write_bit()
370 static int max2175_poll_timeout(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, in max2175_poll_timeout()
380 static int max2175_poll_csm_ready(struct max2175 *ctx) in max2175_poll_csm_ready()
391 #define MAX2175_IS_BAND_AM(ctx) \ argument
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5()
55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5()
61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
193 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
200 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
242 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
260 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
267 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
274 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
316 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5()
[all …]

12345678910>>...107