/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_sock_addr.c | 11 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 D | linked_list_fail.c | 171 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() 235 int obj_drop_non_zero_off(void *ctx) in obj_drop_non_zero_off() [all …]
|
H A D | verifier_lsm.c | 10 __naked int errno_zero_retval_test1(void *ctx) in errno_zero_retval_test1() 21 __naked int errno_zero_retval_test2(void *ctx) in errno_zero_retval_test2() 32 __naked int errno_zero_retval_test4(void *ctx) in errno_zero_retval_test4() 43 __naked int errno_zero_retval_test5(void *ctx) in errno_zero_retval_test5() 54 __naked int errno_zero_retval_test6(void *ctx) in errno_zero_retval_test6() 65 __naked int bool_retval_test1(void *ctx) in bool_retval_test1() 77 __naked int bool_retval_test2(void *ctx) in bool_retval_test2() 88 __naked int bool_retval_test3(void *ctx) in bool_retval_test3() 99 __naked int bool_retval_test4(void *ctx) in bool_retval_test4() 110 __naked int void_retval_test1(void *ctx) in void_retval_test1() [all …]
|
H A D | irq.c | 16 irq_save_bad_arg(struct __sk_buff * ctx) irq_save_bad_arg() argument 24 irq_restore_bad_arg(struct __sk_buff * ctx) irq_restore_bad_arg() argument 32 irq_restore_missing_2(struct __sk_buff * ctx) irq_restore_missing_2() argument 44 irq_restore_missing_3(struct __sk_buff * ctx) irq_restore_missing_3() argument 58 irq_restore_missing_3_minus_2(struct __sk_buff * ctx) irq_restore_missing_3_minus_2() argument 84 irq_restore_missing_1_subprog(struct __sk_buff * ctx) irq_restore_missing_1_subprog() argument 94 irq_restore_missing_2_subprog(struct __sk_buff * ctx) irq_restore_missing_2_subprog() argument 106 irq_restore_missing_3_subprog(struct __sk_buff * ctx) irq_restore_missing_3_subprog() argument 120 irq_restore_missing_3_minus_2_subprog(struct __sk_buff * ctx) irq_restore_missing_3_minus_2_subprog() argument 136 irq_balance(struct __sk_buff * ctx) irq_balance() argument 147 irq_balance_n(struct __sk_buff * ctx) irq_balance_n() argument 186 irq_balance_subprog(struct __sk_buff * ctx) irq_balance_subprog() argument 194 irq_sleepable_helper(void * ctx) irq_sleepable_helper() argument 207 irq_sleepable_kfunc(void * ctx) irq_sleepable_kfunc() argument 226 irq_global_subprog(struct __sk_buff * ctx) irq_global_subprog() argument 238 irq_restore_ooo(struct __sk_buff * ctx) irq_restore_ooo() argument 252 irq_restore_ooo_3(struct __sk_buff * ctx) irq_restore_ooo_3() argument 277 irq_restore_3_subprog(struct __sk_buff * ctx) irq_restore_3_subprog() argument 292 irq_restore_4_subprog(struct __sk_buff * ctx) irq_restore_4_subprog() argument 309 irq_restore_ooo_3_subprog(struct __sk_buff * ctx) irq_restore_ooo_3_subprog() argument 325 irq_restore_invalid(struct __sk_buff * ctx) irq_restore_invalid() argument 337 irq_save_invalid(struct __sk_buff * ctx) irq_save_invalid() argument 348 irq_restore_iter(struct __sk_buff * ctx) irq_restore_iter() argument 359 irq_save_iter(struct __sk_buff * ctx) irq_save_iter() argument 376 irq_flag_overwrite(struct __sk_buff * ctx) irq_flag_overwrite() argument 388 irq_flag_overwrite_partial(struct __sk_buff * ctx) irq_flag_overwrite_partial() argument 400 irq_ooo_refs_array(struct __sk_buff * ctx) irq_ooo_refs_array() argument [all...] |
H A D | dynptr_fail.c | 82 int ringbuf_missing_release1(void *ctx) in ringbuf_missing_release1() 95 int ringbuf_missing_release2(void *ctx) in ringbuf_missing_release2() 131 int ringbuf_missing_release_callback(void *ctx) in ringbuf_missing_release_callback() 140 int ringbuf_release_uninit_dynptr(void *ctx) in ringbuf_release_uninit_dynptr() 153 int use_after_invalid(void *ctx) in use_after_invalid() 173 int ringbuf_invalid_api(void *ctx) in ringbuf_invalid_api() 196 int add_dynptr_to_map1(void *ctx) in add_dynptr_to_map1() 214 int add_dynptr_to_map2(void *ctx) in add_dynptr_to_map2() 232 int data_slice_out_of_bounds_ringbuf(void *ctx) in data_slice_out_of_bounds_ringbuf() 274 int data_slice_out_of_bounds_map_value(void *ctx) in data_slice_out_of_bounds_map_value() [all …]
|
H A D | test_global_func_ctx_args.c | 17 __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 D | rcu_read_lock.c | 30 int get_cgroup_id(void *ctx) in get_cgroup_id() argument 51 int task_succ(void *ctx) in task_succ() argument 80 int no_lock(void *ctx) in no_lock() argument 92 int two_regions(void *ctx) in two_regions() argument 111 int non_sleepable_1(void *ctx) in non_sleepable_1() argument 127 int non_sleepable_2(void *ctx) in non_sleepable_2() argument 146 int task_acquire(void *ctx) in task_acquire() argument 174 int miss_lock(void *ctx) in miss_lock() argument 188 int miss_unlock(void *ctx) in miss_unlock() argument 200 int non_sleepable_rcu_mismatch(void *ctx) in non_sleepable_rcu_mismatch() argument 218 inproper_sleepable_helper(void * ctx) inproper_sleepable_helper() argument 261 nested_rcu_region(void * ctx) nested_rcu_region() argument 280 task_trusted_non_rcuptr(void * ctx) task_trusted_non_rcuptr() argument 294 task_untrusted_rcuptr(void * ctx) task_untrusted_rcuptr() argument 308 cross_rcu_region(void * ctx) cross_rcu_region() argument 324 static_subprog(void * ctx) static_subprog() argument 342 static_subprog_lock(void * ctx) static_subprog_lock() argument 361 static_subprog_unlock(void * ctx) static_subprog_unlock() argument 380 rcu_read_lock_subprog(void * ctx) rcu_read_lock_subprog() argument 392 rcu_read_lock_global_subprog(void * ctx) rcu_read_lock_global_subprog() argument 404 rcu_read_lock_subprog_lock(void * ctx) rcu_read_lock_subprog_lock() argument 414 rcu_read_lock_global_subprog_lock(void * ctx) rcu_read_lock_global_subprog_lock() argument 424 rcu_read_lock_subprog_unlock(void * ctx) rcu_read_lock_subprog_unlock() argument 434 rcu_read_lock_global_subprog_unlock(void * ctx) rcu_read_lock_global_subprog_unlock() argument [all...] |
H A D | trigger_bench.c | 29 int bench_trigger_uprobe(void *ctx) in bench_trigger_uprobe() 36 int bench_trigger_uprobe_multi(void *ctx) in bench_trigger_uprobe_multi() 45 int trigger_count(void *ctx) in trigger_count() 56 int trigger_driver(void *ctx) in trigger_driver() 69 int trigger_driver_kfunc(void *ctx) in trigger_driver_kfunc() 80 int bench_trigger_kprobe(void *ctx) in bench_trigger_kprobe() 87 int bench_trigger_kretprobe(void *ctx) in bench_trigger_kretprobe() 94 int bench_trigger_kprobe_multi(void *ctx) in bench_trigger_kprobe_multi() 101 int bench_trigger_kretprobe_multi(void *ctx) in bench_trigger_kretprobe_multi() 108 int bench_trigger_fentry(void *ctx) in bench_trigger_fentry() [all …]
|
H A D | test_sk_lookup.c | 76 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 …]
|
H A D | exceptions.c | 46 int exception_throw_always_1(struct __sk_buff *ctx) in exception_throw_always_1() 57 int exception_throw_always_2(struct __sk_buff *ctx) in exception_throw_always_2() 63 int exception_throw_unwind_1(struct __sk_buff *ctx) in exception_throw_unwind_1() 69 int exception_throw_unwind_2(struct __sk_buff *ctx) in exception_throw_unwind_2() 75 int exception_throw_default(struct __sk_buff *ctx) in exception_throw_default() 82 int exception_throw_default_value(struct __sk_buff *ctx) in exception_throw_default_value() 89 int exception_tail_call_target(struct __sk_buff *ctx) in exception_tail_call_target() 96 int exception_tail_call_subprog(struct __sk_buff *ctx) in exception_tail_call_subprog() 105 int exception_tail_call(struct __sk_buff *ctx) { in exception_tail_call() 112 __noinline int exception_ext_global(struct __sk_buff *ctx) in exception_ext_global() [all …]
|
H A D | exceptions_fail.c | 97 int reject_async_callback_throw(struct __sk_buff *ctx) in reject_async_callback_throw() 107 __noinline static int subprog_lock(struct __sk_buff *ctx) in subprog_lock() 119 int reject_with_lock(void *ctx) in reject_with_lock() 128 int reject_subprog_with_lock(void *ctx) in reject_subprog_with_lock() 135 int reject_with_rcu_read_lock(void *ctx) in reject_with_rcu_read_lock() 142 __noinline static int throwing_subprog(struct __sk_buff *ctx) in throwing_subprog() 151 int reject_subprog_with_rcu_read_lock(void *ctx) in reject_subprog_with_rcu_read_lock() 165 int reject_with_rbtree_add_throw(void *ctx) in reject_with_rbtree_add_throw() 180 int reject_with_reference(void *ctx) in reject_with_reference() 191 __noinline static int subprog_ref(struct __sk_buff *ctx) in subprog_ref() [all …]
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | backing_ops.c | 34 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 D | hw_ops.c | 24 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 D | file.c | 160 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 D | sched.c | 85 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 D | panel-samsung-s6e3ha2.c | 244 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/ras/amd/atl/ |
H A D | map.c | 15 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 D | denormalize.c | 19 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 D | eval.c | 33 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 D | regmap-mmio.c | 65 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 D | max2175.c | 30 #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/io_uring/ |
H A D | io_uring.h | 44 struct io_ring_ctx *ctx; member 61 struct io_ring_ctx *ctx = iowq->ctx; in io_should_wake() local 124 static inline void io_lockdep_assert_cq_locked(struct io_ring_ctx *ctx) in io_lockdep_assert_cq_locked() 149 static inline bool io_is_compat(struct io_ring_ctx *ctx) in io_is_compat() 159 static inline void io_submit_flush_completions(struct io_ring_ctx *ctx) in io_submit_flush_completions() 169 static inline bool io_get_cqe_overflow(struct io_ring_ctx *ctx, in io_get_cqe_overflow() 187 static inline bool io_get_cqe(struct io_ring_ctx *ctx, struct io_uring_cqe **ret) in io_get_cqe() 192 static inline bool io_defer_get_uncommited_cqe(struct io_ring_ctx *ctx, in io_defer_get_uncommited_cqe() 201 static __always_inline bool io_fill_cqe_req(struct io_ring_ctx *ctx, in io_fill_cqe_req() 268 static inline void io_ring_submit_unlock(struct io_ring_ctx *ctx, in io_ring_submit_unlock() [all …]
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 33 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _queue_setup() local 52 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare() local 69 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_queue() local 82 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _start_streaming() local 90 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _stop_streaming() local 108 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _dmxdev_lock() local 116 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vq); in _dmxdev_unlock() local 135 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_dmx_buffer() local 147 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _fill_vb2_buffer() local 163 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int nonblocking) in dvb_vb2_init() [all …]
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 34 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 …]
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read() 118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write() 123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits() 130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits() 137 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset() 162 static void fimc_set_type_ctrl(struct fimc_context *ctx) in fimc_set_type_ctrl() 182 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg() 197 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq() 212 static void fimc_clear_irq(struct fimc_context *ctx) in fimc_clear_irq() 217 static bool fimc_check_ovf(struct fimc_context *ctx) in fimc_check_ovf() [all …]
|