Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 1306) sorted by relevance

12345678910>>...53

/openbmc/linux/tools/tracing/rtla/src/
H A Dosnoise.c24 char *osnoise_get_cpus(struct osnoise_context *context) in osnoise_get_cpus()
48 int osnoise_set_cpus(struct osnoise_context *context, char *cpus) in osnoise_set_cpus()
82 void osnoise_restore_cpus(struct osnoise_context *context) in osnoise_restore_cpus()
110 void osnoise_put_cpus(struct osnoise_context *context) in osnoise_put_cpus()
168 unsigned long long osnoise_get_runtime(struct osnoise_context *context) in osnoise_get_runtime()
194 unsigned long long osnoise_get_period(struct osnoise_context *context) in osnoise_get_period()
215 static int __osnoise_write_runtime(struct osnoise_context *context, in __osnoise_write_runtime()
231 static int __osnoise_write_period(struct osnoise_context *context, in __osnoise_write_period()
254 int osnoise_set_runtime_period(struct osnoise_context *context, in osnoise_set_runtime_period()
304 void osnoise_restore_runtime_period(struct osnoise_context *context) in osnoise_restore_runtime_period()
[all …]
/openbmc/hiomapd/
H A Dprotocol.c23 static inline uint8_t protocol_get_bmc_event_mask(struct mbox_context *context) in protocol_get_bmc_event_mask()
40 int protocol_events_put(struct mbox_context *context, in protocol_events_put()
55 int protocol_events_set(struct mbox_context *context, uint8_t bmc_event) in protocol_events_set()
77 int protocol_events_clear(struct mbox_context *context, uint8_t bmc_event) in protocol_events_clear()
89 static int protocol_v1_reset(struct mbox_context *context) in protocol_v1_reset()
97 static int protocol_v1_get_info(struct mbox_context *context, in protocol_v1_get_info()
134 static int protocol_v1_get_flash_info(struct mbox_context *context, in protocol_v1_get_flash_info()
149 static inline uint16_t get_lpc_addr_shifted(struct mbox_context *context) in get_lpc_addr_shifted()
174 static void blktrace_flush_start(struct mbox_context *context) in blktrace_flush_start()
209 static void blktrace_flush_done(struct mbox_context *context) in blktrace_flush_done()
[all …]
H A Dtransport_mbox.c73 static inline int mbox_xlate_errno(struct mbox_context *context, in mbox_xlate_errno()
96 static int transport_mbox_flush_events(struct mbox_context *context, uint8_t events) in transport_mbox_flush_events()
127 static int transport_mbox_put_events(struct mbox_context *context, in transport_mbox_put_events()
133 static int transport_mbox_update_events(struct mbox_context *context, in transport_mbox_update_events()
153 static int mbox_handle_reset(struct mbox_context *context, in mbox_handle_reset()
182 static int mbox_handle_mbox_info(struct mbox_context *context, in mbox_handle_mbox_info()
225 static int mbox_handle_flash_info(struct mbox_context *context, in mbox_handle_flash_info()
262 static inline uint16_t get_lpc_addr_shifted(struct mbox_context *context) in get_lpc_addr_shifted()
276 static int mbox_handle_create_window(struct mbox_context *context, bool ro, in mbox_handle_create_window()
318 static int mbox_handle_read_window(struct mbox_context *context, in mbox_handle_read_window()
[all …]
H A Dcontrol.c14 int control_ping(struct mbox_context *context __attribute__((unused))) in control_ping()
19 int control_daemon_state(struct mbox_context *context) in control_daemon_state()
25 int control_lpc_state(struct mbox_context *context) in control_lpc_state()
37 int control_reset(struct mbox_context *context) in control_reset()
53 int control_kill(struct mbox_context *context) in control_kill()
62 int control_modified(struct mbox_context *context) in control_modified()
76 int control_suspend(struct mbox_context *context) in control_suspend()
96 int control_resume(struct mbox_context *context, bool modified) in control_resume()
120 int control_set_backend(struct mbox_context *context, struct backend *backend, in control_set_backend()
H A Dmboxctl.c53 static int init_mboxctl_dbus(struct mboxctl_context *context) in init_mboxctl_dbus()
66 static int mboxctl_directive(struct mboxctl_context *context, const char *cmd) in mboxctl_directive()
95 static int mboxctl_getter(struct mboxctl_context *context, in mboxctl_getter()
106 static int handle_cmd_ping(struct mboxctl_context *context) in handle_cmd_ping()
116 static int handle_cmd_daemon_state(struct mboxctl_context *context) in handle_cmd_daemon_state()
130 static int handle_cmd_lpc_state(struct mboxctl_context *context) in handle_cmd_lpc_state()
148 static int handle_cmd_kill(struct mboxctl_context *context) in handle_cmd_kill()
158 static int handle_cmd_reset(struct mboxctl_context *context) in handle_cmd_reset()
168 static int handle_cmd_suspend(struct mboxctl_context *context) in handle_cmd_suspend()
178 static int handle_cmd_resume(struct mboxctl_context *context, char *sarg) in handle_cmd_resume()
[all …]
H A Dwindows.c59 static int init_window_mem(struct mbox_context *context) in init_window_mem()
94 int windows_init(struct mbox_context *context) in windows_init()
130 void windows_free(struct mbox_context *context) in windows_free()
160 int window_flush_v1(struct mbox_context *context, in window_flush_v1()
281 int window_flush(struct mbox_context *context, uint32_t offset, in window_flush()
342 void windows_alloc_dirty_bytemap(struct mbox_context *context) in windows_alloc_dirty_bytemap()
368 int window_set_bytemap(struct mbox_context *context, struct window_context *cur, in window_set_bytemap()
395 void windows_close_current(struct mbox_context *context, uint8_t flags) in windows_close_current()
412 void window_reset(struct mbox_context *context, struct window_context *window) in window_reset()
430 bool windows_reset_all(struct mbox_context *context) in windows_reset_all()
[all …]
H A Dtransport_dbus.c16 static int transport_dbus_property_update(struct mbox_context *context, in transport_dbus_property_update()
50 static int transport_dbus_put_events(struct mbox_context *context, uint8_t mask) in transport_dbus_put_events()
55 static int transport_dbus_set_events(struct mbox_context *context, in transport_dbus_set_events()
61 static int transport_dbus_clear_events(struct mbox_context *context, in transport_dbus_clear_events()
76 struct mbox_context *context = userdata; in transport_dbus_reset() local
104 struct mbox_context *context = userdata; in transport_dbus_get_info() local
159 struct mbox_context *context = userdata; in transport_dbus_get_flash_info() local
193 static int transport_dbus_create_window(struct mbox_context *context, in transport_dbus_create_window()
242 struct mbox_context *context = userdata; in transport_dbus_create_read_window() local
250 struct mbox_context *context = userdata; in transport_dbus_create_write_window() local
[all …]
H A Dcontrol_legacy.c43 static int control_legacy_ping(struct mbox_context *context, in control_legacy_ping()
57 static int control_legacy_daemon_state(struct mbox_context *context, in control_legacy_daemon_state()
75 static int control_legacy_lpc_state(struct mbox_context *context, in control_legacy_lpc_state()
95 static int control_legacy_reset(struct mbox_context *context, in control_legacy_reset()
120 static int control_legacy_kill(struct mbox_context *context, in control_legacy_kill()
137 static int control_legacy_modified(struct mbox_context *context, in control_legacy_modified()
153 static int control_legacy_suspend(struct mbox_context *context, in control_legacy_suspend()
175 static int control_legacy_resume(struct mbox_context *context, in control_legacy_resume()
212 struct mbox_context *context; in method_cmd() local
299 int control_legacy_init(struct mbox_context *context) in control_legacy_init()
[all …]
H A Dmboxd.c59 static int dbus_init(struct mbox_context *context, in dbus_init()
111 static void dbus_free(struct mbox_context *context) in dbus_free()
119 static int poll_loop(struct mbox_context *context) in poll_loop()
188 static int init_signals(struct mbox_context *context, sigset_t *set) in init_signals()
220 struct mbox_context *context) in parse_cmdline()
340 static int mboxd_backend_init(struct mbox_context *context) in mboxd_backend_init()
386 struct mbox_context *context; in main() local
/openbmc/qemu/libdecnumber/
H A DdecContext.c74 decContext *decContextClearStatus(decContext *context, uInt mask) { in decContextClearStatus()
92 decContext * decContextDefault(decContext *context, Int kind) { in decContextDefault()
166 enum rounding decContextGetRounding(decContext *context) { in decContextGetRounding()
178 uInt decContextGetStatus(decContext *context) { in decContextGetStatus()
194 decContext *decContextRestoreStatus(decContext *context, in decContextRestoreStatus()
211 uInt decContextSaveStatus(decContext *context, uInt mask) { in decContextSaveStatus()
224 decContext *decContextSetRounding(decContext *context, in decContextSetRounding()
240 decContext * decContextSetStatus(decContext *context, uInt status) { in decContextSetStatus()
259 decContext * decContextSetStatusFromString(decContext *context, in decContextSetStatusFromString()
310 decContext * decContextSetStatusFromStringQuiet(decContext *context, in decContextSetStatusFromStringQuiet()
[all …]
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_context.c44 static void ctx_signal_notify(struct vmci_ctx *context) in ctx_signal_notify()
49 static void ctx_clear_notify(struct vmci_ctx *context) in ctx_clear_notify()
58 static void ctx_clear_notify_call(struct vmci_ctx *context) in ctx_clear_notify_call()
69 void vmci_ctx_check_signal_notify(struct vmci_ctx *context) in vmci_ctx_check_signal_notify()
85 struct vmci_ctx *context; in vmci_ctx_create() local
188 void vmci_ctx_destroy(struct vmci_ctx *context) in vmci_ctx_destroy()
278 struct vmci_ctx *context; in vmci_ctx_pending_datagrams() local
299 struct vmci_ctx *context; in vmci_ctx_enqueue_datagram() local
372 struct vmci_ctx *context; in vmci_ctx_exists() local
393 struct vmci_ctx *c, *context = NULL; in vmci_ctx_get() local
[all …]
/openbmc/phosphor-mboxd/
H A Dmboxd_msg.c39 static int write_bmc_event_reg(struct mbox_context *context) in write_bmc_event_reg()
78 int set_bmc_events(struct mbox_context *context, uint8_t bmc_event, in set_bmc_events()
106 int clr_bmc_events(struct mbox_context *context, uint8_t bmc_event, in clr_bmc_events()
122 int mbox_handle_reset(struct mbox_context *context, in mbox_handle_reset()
136 static uint16_t get_suggested_timeout(struct mbox_context *context) in get_suggested_timeout()
171 int mbox_handle_mbox_info(struct mbox_context *context, in mbox_handle_mbox_info()
250 int mbox_handle_flash_info(struct mbox_context *context, in mbox_handle_flash_info()
281 static inline uint16_t get_lpc_addr_shifted(struct mbox_context *context) in get_lpc_addr_shifted()
314 int mbox_handle_read_window(struct mbox_context *context, in mbox_handle_read_window()
387 int mbox_handle_write_window(struct mbox_context *context, in mbox_handle_write_window()
[all …]
H A Dmboxd_windows.c56 static int init_window_mem(struct mbox_context *context) in init_window_mem()
91 int init_windows(struct mbox_context *context) in init_windows()
127 void free_windows(struct mbox_context *context) in free_windows()
157 int write_from_window_v1(struct mbox_context *context, in write_from_window_v1()
278 int write_from_window(struct mbox_context *context, uint32_t offset, in write_from_window()
337 void alloc_window_dirty_bytemap(struct mbox_context *context) in alloc_window_dirty_bytemap()
363 int set_window_bytemap(struct mbox_context *context, struct window_context *cur, in set_window_bytemap()
391 void close_current_window(struct mbox_context *context, bool set_bmc_event, in close_current_window()
413 void reset_window(struct mbox_context *context, struct window_context *window) in reset_window()
430 void reset_all_windows(struct mbox_context *context, bool set_bmc_event) in reset_all_windows()
[all …]
H A Dmboxd_dbus.c49 static int dbus_handle_ping(struct mbox_context *context, in dbus_handle_ping()
63 static int dbus_handle_daemon_state(struct mbox_context *context, in dbus_handle_daemon_state()
82 static int dbus_handle_lpc_state(struct mbox_context *context, in dbus_handle_lpc_state()
108 static int dbus_handle_reset(struct mbox_context *context, in dbus_handle_reset()
140 static int dbus_handle_kill(struct mbox_context *context, in dbus_handle_kill()
161 static int dbus_handle_modified(struct mbox_context *context, in dbus_handle_modified()
183 static int dbus_handle_suspend(struct mbox_context *context, in dbus_handle_suspend()
212 static int dbus_handle_resume(struct mbox_context *context, in dbus_handle_resume()
258 struct mbox_context *context; in method_cmd() local
343 int init_mboxd_dbus(struct mbox_context *context) in init_mboxd_dbus()
[all …]
H A Dmboxctl.c77 static int init_mboxctl_dbus(struct mboxctl_context *context) in init_mboxctl_dbus()
90 static int send_dbus_msg(struct mboxctl_context *context, in send_dbus_msg()
171 static int handle_cmd_ping(struct mboxctl_context *context) in handle_cmd_ping()
190 static int handle_cmd_daemon_state(struct mboxctl_context *context) in handle_cmd_daemon_state()
223 static int handle_cmd_lpc_state(struct mboxctl_context *context) in handle_cmd_lpc_state()
259 static int handle_cmd_kill(struct mboxctl_context *context) in handle_cmd_kill()
278 static int handle_cmd_reset(struct mboxctl_context *context) in handle_cmd_reset()
297 static int handle_cmd_suspend(struct mboxctl_context *context) in handle_cmd_suspend()
316 static int handle_cmd_resume(struct mboxctl_context *context, char *arg) in handle_cmd_resume()
359 static int handle_cmd_modified(struct mboxctl_context *context) in handle_cmd_modified()
[all …]
H A Dmboxd_flash.c33 int init_flash_dev(struct mbox_context *context) in init_flash_dev()
100 void free_flash_dev(struct mbox_context *context) in free_flash_dev()
115 static inline bool flash_is_erased(struct mbox_context *context, in flash_is_erased()
134 int set_flash_bytemap(struct mbox_context *context, uint32_t offset, in set_flash_bytemap()
159 int erase_flash(struct mbox_context *context, uint32_t offset, uint32_t count) in erase_flash()
231 int64_t copy_flash(struct mbox_context *context, uint32_t offset, void *mem, in copy_flash()
270 int write_flash(struct mbox_context *context, uint32_t offset, void *buf, in write_flash()
H A Dmboxd_lpc.c35 int __init_lpc_dev(struct mbox_context *context, const char *path) in __init_lpc_dev()
82 int init_lpc_dev(struct mbox_context *context) in init_lpc_dev()
87 void free_lpc_dev(struct mbox_context *context) in free_lpc_dev()
101 int point_to_flash(struct mbox_context *context) in point_to_flash()
150 int point_to_memory(struct mbox_context *context) in point_to_memory()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c16 static void etnaviv_context_unmap(struct etnaviv_iommu_context *context, in etnaviv_context_unmap()
39 static int etnaviv_context_map(struct etnaviv_iommu_context *context, in etnaviv_context_map()
72 static int etnaviv_iommu_map(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_map()
104 static void etnaviv_iommu_unmap(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_unmap()
126 static void etnaviv_iommu_remove_mapping(struct etnaviv_iommu_context *context, in etnaviv_iommu_remove_mapping()
140 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_iommu_reap_mapping() local
151 static int etnaviv_iommu_find_iova(struct etnaviv_iommu_context *context, in etnaviv_iommu_find_iova()
233 static int etnaviv_iommu_insert_exact(struct etnaviv_iommu_context *context, in etnaviv_iommu_insert_exact()
278 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_map_gem()
333 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_unmap_gem()
[all …]
H A Detnaviv_iommu_v2.c42 to_v2_context(struct etnaviv_iommu_context *context) in to_v2_context()
47 static void etnaviv_iommuv2_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_free()
92 static int etnaviv_iommuv2_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_map()
121 static size_t etnaviv_iommuv2_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_unmap()
138 static size_t etnaviv_iommuv2_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_dump_size()
151 static void etnaviv_iommuv2_dump(struct etnaviv_iommu_context *context, void *buf) in etnaviv_iommuv2_dump()
166 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_nonsec()
190 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_sec()
231 u32 etnaviv_iommuv2_get_mtlb_addr(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_get_mtlb_addr()
238 unsigned short etnaviv_iommuv2_get_pta_id(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_get_pta_id()
[all …]
H A Detnaviv_iommu.c28 to_v1_context(struct etnaviv_iommu_context *context) in to_v1_context()
33 static void etnaviv_iommuv1_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_free()
47 static int etnaviv_iommuv1_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_map()
62 static size_t etnaviv_iommuv1_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_unmap()
76 static size_t etnaviv_iommuv1_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_dump_size()
81 static void etnaviv_iommuv1_dump(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_dump()
90 struct etnaviv_iommu_context *context) in etnaviv_iommuv1_restore()
130 struct etnaviv_iommu_context *context; in etnaviv_iommuv1_context_alloc() local
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Duser_ringbuf_fail.c30 bad_access1(struct bpf_dynptr *dynptr, void *context) in bad_access1()
53 bad_access2(struct bpf_dynptr *dynptr, void *context) in bad_access2()
76 write_forbidden(struct bpf_dynptr *dynptr, void *context) in write_forbidden()
96 null_context_write(struct bpf_dynptr *dynptr, void *context) in null_context_write()
116 null_context_read(struct bpf_dynptr *dynptr, void *context) in null_context_read()
138 try_discard_dynptr(struct bpf_dynptr *dynptr, void *context) in try_discard_dynptr()
158 try_submit_dynptr(struct bpf_dynptr *dynptr, void *context) in try_submit_dynptr()
178 invalid_drain_callback_return(struct bpf_dynptr *dynptr, void *context) in invalid_drain_callback_return()
196 try_reinit_dynptr_mem(struct bpf_dynptr *dynptr, void *context) in try_reinit_dynptr_mem()
203 try_reinit_dynptr_ringbuf(struct bpf_dynptr *dynptr, void *context) in try_reinit_dynptr_ringbuf()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c163 static int check_one(struct i915_syncmap **sync, u64 context, u32 seqno) in check_one()
217 u64 context = i915_prandom_u64_state(&prng); in igt_syncmap_one() local
238 static int check_leaf(struct i915_syncmap **sync, u64 context, u32 seqno) in check_leaf()
297 u64 context = BIT_ULL(order); in igt_syncmap_join_above() local
346 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() local
363 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() local
385 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() local
414 u64 context = i915_prandom_u64_state(&prng) & ~MASK; in igt_syncmap_neighbours() local
469 u64 context = idx * BIT_ULL(order) + idx; in igt_syncmap_compact() local
562 u64 context = i915_prandom_u64_state(&prng); in igt_syncmap_random() local
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap-fsi.c15 static int regmap_fsi32_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi32_reg_read()
28 static int regmap_fsi32_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi32_reg_write()
40 static int regmap_fsi32le_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi32le_reg_read()
53 static int regmap_fsi32le_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi32le_reg_write()
65 static int regmap_fsi16_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi16_reg_read()
78 static int regmap_fsi16_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi16_reg_write()
94 static int regmap_fsi16le_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi16le_reg_read()
107 static int regmap_fsi16le_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi16le_reg_write()
123 static int regmap_fsi8_reg_read(void *context, unsigned int reg, unsigned int *val) in regmap_fsi8_reg_read()
136 static int regmap_fsi8_reg_write(void *context, unsigned int reg, unsigned int val) in regmap_fsi8_reg_write()
/openbmc/linux/drivers/platform/x86/intel/int1092/
H A Dintel_sar.c38 static void update_sar_data(struct wwan_sar_context *context) in update_sar_data()
77 static acpi_status parse_package(struct wwan_sar_context *context, union acpi_object *item) in parse_package()
130 struct wwan_sar_context *context = dev_get_drvdata(&device->dev); in sar_get_device_mode() local
159 struct wwan_sar_context *context = dev_get_drvdata(dev); in intc_data_show() local
170 struct wwan_sar_context *context = dev_get_drvdata(dev); in intc_reg_show() local
178 struct wwan_sar_context *context = dev_get_drvdata(dev); in intc_reg_store() local
216 static void sar_get_data(int reg, struct wwan_sar_context *context) in sar_get_data()
247 struct wwan_sar_context *context; in sar_probe() local
297 struct wwan_sar_context *context = dev_get_drvdata(&device->dev); in sar_remove() local
/openbmc/linux/kernel/
H A Dauditsc.c914 static inline void audit_proctitle_free(struct audit_context *context) in audit_proctitle_free()
921 static inline void audit_free_module(struct audit_context *context) in audit_free_module()
928 static inline void audit_free_names(struct audit_context *context) in audit_free_names()
945 static inline void audit_free_aux(struct audit_context *context) in audit_free_aux()
1031 struct audit_context *context; in audit_alloc_context() local
1057 struct audit_context *context; in audit_alloc() local
1083 static inline void audit_free_context(struct audit_context *context) in audit_free_context()
1093 static int audit_log_pid_context(struct audit_context *context, pid_t pid, in audit_log_pid_context()
1125 static void audit_log_execve_info(struct audit_context *context, in audit_log_execve_info()
1322 static void audit_log_time(struct audit_context *context, struct audit_buffer **ab) in audit_log_time()
[all …]

12345678910>>...53