Lines Matching full:raw
15 * BPF interface for raw IR
141 struct ir_raw_event_ctrl *raw; in lirc_bpf_attach() local
151 raw = rcdev->raw; in lirc_bpf_attach()
152 if (!raw) { in lirc_bpf_attach()
157 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach()
167 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach()
179 struct ir_raw_event_ctrl *raw; in lirc_bpf_detach() local
189 raw = rcdev->raw; in lirc_bpf_detach()
190 if (!raw) { in lirc_bpf_detach()
195 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach()
205 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach()
215 struct ir_raw_event_ctrl *raw = rcdev->raw; in lirc_bpf_run() local
217 raw->bpf_sample = sample; in lirc_bpf_run()
219 if (raw->progs) { in lirc_bpf_run()
221 bpf_prog_run_array(rcu_dereference(raw->progs), in lirc_bpf_run()
222 &raw->bpf_sample, bpf_prog_run); in lirc_bpf_run()
238 array = lirc_rcu_dereference(rcdev->raw->progs); in lirc_bpf_free()
319 progs = lirc_rcu_dereference(rcdev->raw->progs); in lirc_prog_query()