Home
last modified time | relevance | path

Searched refs:state (Results 1 - 25 of 399) sorted by relevance

12345678910>>...16

/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c172 void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) {} in fiq_debugger_enable_wakeup_irq() argument
174 void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) {} in fiq_debugger_disable_wakeup_irq() argument
177 void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
179 if (state->wakeup_irq < 0) in fiq_debugger_enable_wakeup_irq()
181 enable_irq(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
182 if (!state->wakeup_irq_no_set_wake) in fiq_debugger_enable_wakeup_irq()
183 enable_irq_wake(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
186 void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
188 if (state->wakeup_irq < 0) in fiq_debugger_disable_wakeup_irq()
190 disable_irq_nosync(state in fiq_debugger_disable_wakeup_irq()
196 fiq_debugger_have_fiq(struct fiq_debugger_state *state) fiq_debugger_have_fiq() argument
201 fiq_debugger_force_irq(struct fiq_debugger_state *state) fiq_debugger_force_irq() argument
218 fiq_debugger_uart_enable(struct fiq_debugger_state *state) fiq_debugger_uart_enable() argument
226 fiq_debugger_uart_disable(struct fiq_debugger_state *state) fiq_debugger_uart_disable() argument
234 fiq_debugger_uart_flush(struct fiq_debugger_state *state) fiq_debugger_uart_flush() argument
240 fiq_debugger_putc(struct fiq_debugger_state *state, char c) fiq_debugger_putc() argument
246 fiq_debugger_puts(struct fiq_debugger_state *state, char *s) fiq_debugger_puts() argument
256 fiq_debugger_prompt(struct fiq_debugger_state *state) fiq_debugger_prompt() argument
262 fiq_debugger_dump_kernel_log(struct fiq_debugger_state *state) fiq_debugger_dump_kernel_log() argument
282 struct fiq_debugger_state *state; fiq_debugger_printf() local
298 struct fiq_debugger_state *state = cookie; fiq_debugger_printf_nfiq() local
315 fiq_debugger_dump_irqs(struct fiq_debugger_state *state) fiq_debugger_dump_irqs() argument
337 fiq_debugger_do_ps(struct fiq_debugger_state *state) fiq_debugger_do_ps() argument
364 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
369 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
375 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
380 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
388 fiq_debugger_do_sysrq(struct fiq_debugger_state *state, char rq) fiq_debugger_do_sysrq() argument
401 fiq_debugger_do_kgdb(struct fiq_debugger_state *state) fiq_debugger_do_kgdb() argument
414 fiq_debugger_schedule_work(struct fiq_debugger_state *state, char *cmd) fiq_debugger_schedule_work() argument
434 struct fiq_debugger_state *state; fiq_debugger_work() local
464 fiq_debugger_irq_exec(struct fiq_debugger_state *state, char *cmd) fiq_debugger_irq_exec() argument
533 fiq_debugger_help(struct fiq_debugger_state *state) fiq_debugger_help() argument
573 fiq_debugger_take_affinity(struct fiq_debugger_state *state, int cpu) fiq_debugger_take_affinity() argument
582 fiq_debugger_take_affinity(struct fiq_debugger_state *state, int cpu) fiq_debugger_take_affinity() argument
587 fiq_debugger_switch_cpu(struct fiq_debugger_state *state, int cpu) fiq_debugger_switch_cpu() argument
623 fiq_debugger_fiq_exec(struct fiq_debugger_state *state, const char *cmd, const struct pt_regs *regs, void *svc_sp) fiq_debugger_fiq_exec() argument
721 struct fiq_debugger_state *state = from_timer(state, t, sleep_timer); fiq_debugger_sleep_timer_expired() local
740 fiq_debugger_handle_wakeup(struct fiq_debugger_state *state) fiq_debugger_handle_wakeup() argument
759 struct fiq_debugger_state *state = dev; fiq_debugger_wakeup_irq_handler() local
769 fiq_debugger_handle_console_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_console_irq_context() argument
786 fiq_debugger_handle_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_irq_context() argument
805 fiq_debugger_getc(struct fiq_debugger_state *state) fiq_debugger_getc() argument
813 fiq_debugger_cmd_check_back(struct fiq_debugger_state *state, char c) fiq_debugger_cmd_check_back() argument
872 fiq_debugger_cmd_tab(struct fiq_debugger_state *state) fiq_debugger_cmd_tab() argument
912 fiq_debugger_handle_uart_interrupt(struct fiq_debugger_state *state, int this_cpu, const struct pt_regs *regs, void *svc_sp) fiq_debugger_handle_uart_interrupt() argument
1063 struct fiq_debugger_state *state = fiq_debugger_fiq() local
1078 struct fiq_debugger_state *state = state_tf; fiq_debugger_fiq() local
1099 struct fiq_debugger_state *state = dev; fiq_debugger_uart_irq() local
1121 struct fiq_debugger_state *state = dev; fiq_debugger_signal_irq() local
1134 struct fiq_debugger_state *state = fiq_debugger_resume() local
1151 struct fiq_debugger_state *state; fiq_debugger_console_write() local
1189 struct fiq_debugger_state *state = states[line]; fiq_tty_open() local
1204 struct fiq_debugger_state *state = states[line]; fiq_tty_write() local
1233 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_get_char() local
1256 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_put_char() local
1268 struct fiq_debugger_state *state; fiq_tty_proc_show() local
1354 fiq_debugger_tty_init_one(struct fiq_debugger_state *state) fiq_debugger_tty_init_one() argument
1396 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_suspend() local
1406 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_resume() local
1417 struct fiq_debugger_state *state; fiq_debugger_probe() local
[all...]
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c171 static inline void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
174 static inline void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
178 static inline void fiq_debugger_enable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_enable_wakeup_irq() argument
180 if (state->wakeup_irq < 0) { in fiq_debugger_enable_wakeup_irq()
183 enable_irq(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
184 if (!state->wakeup_irq_no_set_wake) { in fiq_debugger_enable_wakeup_irq()
185 enable_irq_wake(state->wakeup_irq); in fiq_debugger_enable_wakeup_irq()
188 static inline void fiq_debugger_disable_wakeup_irq(struct fiq_debugger_state *state) in fiq_debugger_disable_wakeup_irq() argument
190 if (state->wakeup_irq < 0) { in fiq_debugger_disable_wakeup_irq()
193 disable_irq_nosync(state in fiq_debugger_disable_wakeup_irq()
200 fiq_debugger_have_fiq(struct fiq_debugger_state *state) fiq_debugger_have_fiq() argument
206 fiq_debugger_force_irq(struct fiq_debugger_state *state) fiq_debugger_force_irq() argument
229 fiq_debugger_uart_enable(struct fiq_debugger_state *state) fiq_debugger_uart_enable() argument
239 fiq_debugger_uart_disable(struct fiq_debugger_state *state) fiq_debugger_uart_disable() argument
249 fiq_debugger_uart_flush(struct fiq_debugger_state *state) fiq_debugger_uart_flush() argument
256 fiq_debugger_putc(struct fiq_debugger_state *state, char c) fiq_debugger_putc() argument
263 fiq_debugger_puts(struct fiq_debugger_state *state, char *s) fiq_debugger_puts() argument
274 fiq_debugger_prompt(struct fiq_debugger_state *state) fiq_debugger_prompt() argument
280 fiq_debugger_dump_kernel_log(struct fiq_debugger_state *state) fiq_debugger_dump_kernel_log() argument
296 struct fiq_debugger_state *state; fiq_debugger_printf() local
311 struct fiq_debugger_state *state = cookie; fiq_debugger_printf_nfiq() local
328 fiq_debugger_dump_irqs(struct fiq_debugger_state *state) fiq_debugger_dump_irqs() argument
349 fiq_debugger_do_ps(struct fiq_debugger_state *state) fiq_debugger_do_ps() argument
377 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
382 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
388 fiq_debugger_begin_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_begin_syslog_dump() argument
393 fiq_debugger_end_syslog_dump(struct fiq_debugger_state *state) fiq_debugger_end_syslog_dump() argument
401 fiq_debugger_do_sysrq(struct fiq_debugger_state *state, char rq) fiq_debugger_do_sysrq() argument
414 fiq_debugger_do_kgdb(struct fiq_debugger_state *state) fiq_debugger_do_kgdb() argument
427 fiq_debugger_schedule_work(struct fiq_debugger_state *state, char *cmd) fiq_debugger_schedule_work() argument
446 struct fiq_debugger_state *state; fiq_debugger_work() local
477 fiq_debugger_irq_exec(struct fiq_debugger_state *state, char *cmd) fiq_debugger_irq_exec() argument
537 fiq_debugger_help(struct fiq_debugger_state *state) fiq_debugger_help() argument
574 struct fiq_debugger_state *state = info; fiq_debugger_take_affinity() local
589 fiq_debugger_switch_cpu(struct fiq_debugger_state *state, int cpu) fiq_debugger_switch_cpu() argument
623 fiq_debugger_fiq_exec(struct fiq_debugger_state *state, const char *cmd, const struct pt_regs *regs, void *svc_sp) fiq_debugger_fiq_exec() argument
723 struct fiq_debugger_state *state = from_timer(state, t, sleep_timer); fiq_debugger_sleep_timer_expired() local
741 fiq_debugger_handle_wakeup(struct fiq_debugger_state *state) fiq_debugger_handle_wakeup() argument
760 struct fiq_debugger_state *state = dev; fiq_debugger_wakeup_irq_handler() local
770 fiq_debugger_handle_console_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_console_irq_context() argument
788 fiq_debugger_handle_irq_context(struct fiq_debugger_state *state) fiq_debugger_handle_irq_context() argument
808 fiq_debugger_getc(struct fiq_debugger_state *state) fiq_debugger_getc() argument
817 fiq_debugger_cmd_check_back(struct fiq_debugger_state *state, char c) fiq_debugger_cmd_check_back() argument
874 fiq_debugger_cmd_tab(struct fiq_debugger_state *state) fiq_debugger_cmd_tab() argument
918 fiq_debugger_handle_uart_interrupt(struct fiq_debugger_state *state, int this_cpu, const struct pt_regs *regs, void *svc_sp) fiq_debugger_handle_uart_interrupt() argument
1065 struct fiq_debugger_state *state = container_of(h, struct fiq_debugger_state, handler); fiq_debugger_fiq() local
1079 struct fiq_debugger_state *state = state_tf; fiq_debugger_fiq() local
1101 struct fiq_debugger_state *state = dev; fiq_debugger_uart_irq() local
1122 struct fiq_debugger_state *state = dev; fiq_debugger_signal_irq() local
1136 struct fiq_debugger_state *state = container_of(h, struct fiq_debugger_state, handler); fiq_debugger_resume() local
1152 struct fiq_debugger_state *state; fiq_debugger_console_write() local
1192 struct fiq_debugger_state *state = states[line]; fiq_tty_open() local
1207 struct fiq_debugger_state *state = states[line]; fiq_tty_write() local
1238 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_get_char() local
1262 struct fiq_debugger_state *state = states[line]; fiq_tty_poll_put_char() local
1274 struct fiq_debugger_state *state; fiq_tty_proc_show() local
1359 fiq_debugger_tty_init_one(struct fiq_debugger_state *state) fiq_debugger_tty_init_one() argument
1400 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_suspend() local
1411 struct fiq_debugger_state *state = platform_get_drvdata(pdev); fiq_debugger_dev_resume() local
1423 struct fiq_debugger_state *state; fiq_debugger_probe() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c42 * DOC: atomic state reset and initialization
45 * and correct atomic software state for all connectors, CRTCs and planes
47 * suspend. One way to solve this is to have a hardware state read-out
48 * infrastructure which reconstructs the full software state (e.g. the i915
51 * The simpler solution is to just reset the software state to everything off,
55 * On the upside the precise state tracking of atomic simplifies system suspend
63 * __drm_atomic_helper_crtc_state_reset - reset the CRTC state
64 * @crtc_state: atomic CRTC state, must not be NULL
68 * values. This is useful for drivers that subclass the CRTC state.
77 * __drm_atomic_helper_crtc_reset - reset state o
129 __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc, struct drm_crtc_state *state) __drm_atomic_helper_crtc_duplicate_state() argument
175 struct drm_crtc_state *state; drm_atomic_helper_crtc_duplicate_state() local
198 __drm_atomic_helper_crtc_destroy_state(struct drm_crtc_state *state) __drm_atomic_helper_crtc_destroy_state() argument
238 drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) drm_atomic_helper_crtc_destroy_state() argument
314 __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, struct drm_plane_state *state) __drm_atomic_helper_plane_duplicate_state() argument
337 struct drm_plane_state *state; drm_atomic_helper_plane_duplicate_state() local
360 __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state) __drm_atomic_helper_plane_destroy_state() argument
386 drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) drm_atomic_helper_plane_destroy_state() argument
459 struct drm_connector_state *state = connector->state; drm_atomic_helper_connector_tv_reset() local
476 __drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector, struct drm_connector_state *state) __drm_atomic_helper_connector_duplicate_state() argument
502 struct drm_connector_state *state; drm_atomic_helper_connector_duplicate_state() local
525 __drm_atomic_helper_connector_destroy_state(struct drm_connector_state *state) __drm_atomic_helper_connector_destroy_state() argument
551 drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, struct drm_connector_state *state) drm_atomic_helper_connector_destroy_state() argument
566 __drm_atomic_helper_private_obj_duplicate_state(struct drm_private_obj *obj, struct drm_private_state *state) __drm_atomic_helper_private_obj_duplicate_state() argument
580 __drm_atomic_helper_bridge_duplicate_state(struct drm_bridge *bridge, struct drm_bridge_state *state) __drm_atomic_helper_bridge_duplicate_state() argument
624 drm_atomic_helper_bridge_destroy_state(struct drm_bridge *bridge, struct drm_bridge_state *state) drm_atomic_helper_bridge_destroy_state() argument
640 __drm_atomic_helper_bridge_reset(struct drm_bridge *bridge, struct drm_bridge_state *state) __drm_atomic_helper_bridge_reset() argument
[all...]
H A Ddrm_atomic_uapi.c55 * @state: the CRTC whose incoming state to update
58 * Set a mode (originating from the kernel) on the desired CRTC state and update
64 int drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state, const struct drm_display_mode *mode) in drm_atomic_set_mode_for_crtc() argument
66 struct drm_crtc *crtc = state->crtc; in drm_atomic_set_mode_for_crtc()
70 if (mode && memcmp(&state->mode, mode, sizeof(*mode)) == 0) { in drm_atomic_set_mode_for_crtc()
74 drm_property_blob_put(state->mode_blob); in drm_atomic_set_mode_for_crtc()
75 state->mode_blob = NULL; in drm_atomic_set_mode_for_crtc()
79 state->mode_blob = drm_property_create_blob(state in drm_atomic_set_mode_for_crtc()
110 drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state, struct drm_property_blob *blob) drm_atomic_set_mode_prop_for_crtc() argument
318 set_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc, s32 __user *fence_ptr) set_out_fence_for_crtc() argument
323 get_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc) get_out_fence_for_crtc() argument
333 set_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector, s32 __user *fence_ptr) set_out_fence_for_connector() argument
351 get_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector) get_out_fence_for_connector() argument
390 drm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) drm_atomic_crtc_set_property() argument
452 drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() argument
485 drm_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_plane_set_property() argument
568 drm_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() argument
637 drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_connector_set_property() argument
744 drm_atomic_connector_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() argument
870 drm_atomic_connector_commit_dpms(struct drm_atomic_state *state, struct drm_connector *connector, int mode) drm_atomic_connector_commit_dpms() argument
924 drm_atomic_set_property(struct drm_atomic_state *state, struct drm_file *file_priv, struct drm_mode_object *obj, struct drm_property *prop, uint64_t prop_value) drm_atomic_set_property() argument
1060 prepare_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_mode_atomic *arg, struct drm_file *file_priv, struct drm_out_fence_state **fence_state, unsigned int *num_fences) prepare_signaling() argument
1188 complete_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_out_fence_state *fence_state, unsigned int num_fences, bool install_fds) complete_signaling() argument
1247 struct drm_atomic_state *state; drm_mode_atomic_ioctl() local
[all...]
H A Ddrm_atomic_helper.c52 * also provides convenience implementations for the atomic state handling
54 * add their own additional internal state.
74 static void drm_atomic_helper_plane_changed(struct drm_atomic_state *state, struct drm_plane_state *old_plane_state, in drm_atomic_helper_plane_changed() argument
80 crtc_state = drm_atomic_get_new_crtc_state(state, old_plane_state->crtc); in drm_atomic_helper_plane_changed()
89 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); in drm_atomic_helper_plane_changed()
98 static int handle_conflicting_encoders(struct drm_atomic_state *state, bool disable_conflicting_encoders) in handle_conflicting_encoders() argument
109 * part of the state. If the same encoder is assigned to multiple in handle_conflicting_encoders()
112 for_each_new_connector_in_state(state, connector, new_conn_state, i) in handle_conflicting_encoders()
146 * Second loop, iterate over all connectors not part of the state. in handle_conflicting_encoders()
156 drm_connector_list_iter_begin(state in handle_conflicting_encoders()
210 set_best_encoder(struct drm_atomic_state *state, struct drm_connector_state *conn_state, struct drm_encoder *encoder) set_best_encoder() argument
247 steal_encoder(struct drm_atomic_state *state, struct drm_encoder *encoder) steal_encoder() argument
276 update_connector_routing(struct drm_atomic_state *state, struct drm_connector *connector, struct drm_connector_state *old_connector_state, struct drm_connector_state *new_connector_state) update_connector_routing() argument
380 mode_fixup(struct drm_atomic_state *state) mode_fixup() argument
496 mode_valid(struct drm_atomic_state *state) mode_valid() argument
577 drm_atomic_helper_check_modeset(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check_modeset() argument
857 drm_atomic_helper_check_planes(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check_planes() argument
1128 drm_atomic_helper_calc_timestamping_constants(struct drm_atomic_state *state) drm_atomic_helper_calc_timestamping_constants() argument
1365 drm_atomic_helper_wait_for_fences(struct drm_device *dev, struct drm_atomic_state *state, bool pre_swap) drm_atomic_helper_wait_for_fences() argument
1618 struct drm_atomic_state *state = container_of(work, struct drm_atomic_state, commit_work); commit_work() local
1635 drm_atomic_helper_async_check(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_async_check() argument
1711 drm_atomic_helper_check(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_check() argument
1755 drm_atomic_helper_async_commit(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_async_commit() argument
1905 crtc_or_fake_commit(struct drm_atomic_state *state, struct drm_crtc *crtc) crtc_or_fake_commit() argument
1970 drm_atomic_helper_setup_commit(struct drm_atomic_state *state, bool nonblock) drm_atomic_helper_setup_commit() argument
2304 drm_atomic_helper_prepare_planes(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_prepare_planes() argument
2360 plane_crtc_active(const struct drm_plane_state *state) plane_crtc_active() argument
2666 drm_atomic_helper_commit(struct drm_device *dev, struct drm_atomic_state *state, bool nonblock) drm_atomic_helper_commit() argument
2782 drm_atomic_helper_swap_state(struct drm_atomic_state *state, bool stall) drm_atomic_helper_swap_state() argument
2928 struct drm_atomic_state *state; drm_atomic_helper_update_plane() local
2981 struct drm_atomic_state *state; drm_atomic_helper_disable_plane() local
3031 struct drm_atomic_state *state; drm_atomic_helper_set_config() local
3084 struct drm_atomic_state *state; drm_atomic_helper_disable_all() local
3204 struct drm_atomic_state *state; drm_atomic_helper_duplicate_state() local
3296 struct drm_atomic_state *state; drm_atomic_helper_suspend() local
3341 drm_atomic_helper_commit_duplicated_state(struct drm_atomic_state *state, struct drm_modeset_acquire_ctx *ctx) drm_atomic_helper_commit_duplicated_state() argument
3384 drm_atomic_helper_resume(struct drm_device *dev, struct drm_atomic_state *state) drm_atomic_helper_resume() argument
3402 page_flip_common(struct drm_atomic_state *state, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags) page_flip_common() argument
3461 struct drm_atomic_state *state; drm_atomic_helper_page_flip() local
3504 struct drm_atomic_state *state; drm_atomic_helper_page_flip_target() local
3552 struct drm_atomic_state *state; drm_atomic_helper_legacy_gamma_set() local
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpwm.h37 * Do not confuse this with the PWM state: PWM arguments represent the initial
39 * current PWM hardware state.
52 * struct pwm_state - state of a PWM channel
77 * @state: last applied state
78 * @last: last implemented state (for PWM_DEBUG)
89 struct pwm_state state; member
94 * pwm_get_state() - retrieve the current PWM state
96 * @state: state t
98 pwm_get_state(const struct pwm_device *pwm, struct pwm_state *state) pwm_get_state() argument
105 struct pwm_state state; pwm_is_enabled() local
121 struct pwm_state state; pwm_get_period() local
137 struct pwm_state state; pwm_get_duty_cycle() local
146 struct pwm_state state; pwm_get_polarity() local
175 pwm_init_state(const struct pwm_device *pwm, struct pwm_state *state) pwm_init_state() argument
203 pwm_get_relative_duty_cycle(const struct pwm_state *state, unsigned int scale) pwm_get_relative_duty_cycle() argument
230 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, unsigned int scale) pwm_set_relative_duty_cycle() argument
323 struct pwm_state state; pwm_config() local
351 struct pwm_state state; pwm_enable() local
372 struct pwm_state state; pwm_disable() local
417 pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) pwm_apply_state() argument
513 struct pwm_state state = {}; pwm_apply_args() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dsuspend.c164 static bool valid_state(suspend_state_t state) in valid_state() argument
171 return suspend_ops && suspend_ops->valid && suspend_ops->valid(state); in valid_state()
176 /* "mem" and "freeze" are always present in /sys/power/state. */ in pm_states_init()
188 suspend_state_t state; in mem_sleep_default_setup() local
190 for (state = PM_SUSPEND_TO_IDLE; state <= PM_SUSPEND_MEM; state++) { in mem_sleep_default_setup()
191 if (mem_sleep_labels[state] && !strcmp(str, mem_sleep_labels[state])) { in mem_sleep_default_setup()
192 mem_sleep_default = state; in mem_sleep_default_setup()
236 suspend_valid_only_mem(suspend_state_t state) suspend_valid_only_mem() argument
242 sleep_state_supported(suspend_state_t state) sleep_state_supported() argument
247 platform_suspend_prepare(suspend_state_t state) platform_suspend_prepare() argument
252 platform_suspend_prepare_late(suspend_state_t state) platform_suspend_prepare_late() argument
257 platform_suspend_prepare_noirq(suspend_state_t state) platform_suspend_prepare_noirq() argument
266 platform_resume_noirq(suspend_state_t state) platform_resume_noirq() argument
277 platform_resume_early(suspend_state_t state) platform_resume_early() argument
284 platform_resume_finish(suspend_state_t state) platform_resume_finish() argument
291 platform_suspend_begin(suspend_state_t state) platform_suspend_begin() argument
302 platform_resume_end(suspend_state_t state) platform_resume_end() argument
311 platform_recover(suspend_state_t state) platform_recover() argument
318 platform_suspend_again(suspend_state_t state) platform_suspend_again() argument
348 suspend_prepare(suspend_state_t state) suspend_prepare() argument
398 suspend_enter(suspend_state_t state, bool *wakeup) suspend_enter() argument
493 suspend_devices_and_enter(suspend_state_t state) suspend_devices_and_enter() argument
569 enter_state(suspend_state_t state) enter_state() argument
631 pm_suspend(suspend_state_t state) pm_suspend() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/regs/
H A Dhdmi_reg_aon.c53 tx_aon_intr_state state; in hdmi_reg_aon_intr_stat1_set() local
56 state.u32 = 0; in hdmi_reg_aon_intr_stat1_set()
57 state.bits.aon_intr_stat1 = aon_intr_stat1; in hdmi_reg_aon_intr_stat1_set()
58 hdmi_tx_reg_write(reg_addr, state.u32); in hdmi_reg_aon_intr_stat1_set()
66 tx_aon_intr_state state; in hdmi_reg_aon_intr_stat0_set() local
69 state.u32 = 0; in hdmi_reg_aon_intr_stat0_set()
70 state.bits.aon_intr_stat0 = aon_intr_stat0; in hdmi_reg_aon_intr_stat0_set()
71 hdmi_tx_reg_write(reg_addr, state.u32); in hdmi_reg_aon_intr_stat0_set()
118 ddc_mst_state state; in hdmi_reg_ddc_i2c_no_ack_get() local
121 state in hdmi_reg_ddc_i2c_no_ack_get()
128 ddc_mst_state state; hdmi_reg_ddc_i2c_bus_low_get() local
148 tx_aon_state state; hdmi_reg_phy_rx_sense_get() local
158 tx_aon_state state; hdmi_reg_hotplug_state_get() local
168 tx_aon_intr_state state; hdmi_reg_aon_intr_stat1_get() local
178 tx_aon_intr_state state; hdmi_reg_aon_intr_stat0_get() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
H A Dsysfs.c39 struct pwm_state state; in period_show() local
41 pwm_get_state(pwm, &state); in period_show()
43 return sprintf(buf, "%llu\n", state.period); in period_show()
50 struct pwm_state state; in period_store() local
60 pwm_get_state(pwm, &state); in period_store()
61 state.period = val; in period_store()
62 ret = pwm_apply_state(pwm, &state); in period_store()
71 struct pwm_state state; in duty_cycle_show() local
73 pwm_get_state(pwm, &state); in duty_cycle_show()
75 return sprintf(buf, "%llu\n", state in duty_cycle_show()
82 struct pwm_state state; duty_cycle_store() local
104 struct pwm_state state; oneshot_count_show() local
115 struct pwm_state state; oneshot_count_store() local
137 struct pwm_state state; enable_show() local
148 struct pwm_state state; enable_store() local
183 struct pwm_state state; polarity_show() local
205 struct pwm_state state; polarity_store() local
403 pwm_class_get_state(struct device *parent, struct pwm_device *pwm, struct pwm_state *state) pwm_class_get_state() argument
426 pwm_class_apply_state(struct pwm_export *export, struct pwm_device *pwm, struct pwm_state *state) pwm_class_apply_state() argument
444 struct pwm_state state; pwm_class_resume_npwm() local
470 struct pwm_state state; pwm_class_suspend() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dlegacy_freezer.c28 * set if "FROZEN" is written to freezer.state cgroupfs file, and cleared
45 unsigned int state; member
70 ret = task_freezer(task)->state & CGROUP_FREEZING; in cgroup_freezing()
76 static const char *freezer_state_strs(unsigned int state) in freezer_state_strs() argument
78 if (state & CGROUP_FROZEN) { in freezer_state_strs()
81 if (state & CGROUP_FREEZING) { in freezer_state_strs()
104 * parent's freezing state while holding both parent's and our
114 freezer->state |= CGROUP_FREEZER_ONLINE; in freezer_css_online()
116 if (parent && (parent->state & CGROUP_FREEZING)) { in freezer_css_online()
117 freezer->state | in freezer_css_online()
360 freezer_apply_state(struct freezer *freezer, bool freeze, unsigned int state) freezer_apply_state() argument
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c50 * cpuhp_cpu_state - Per cpu hotplug state storage
51 * @state: The current cpu state
52 * @target: The target state
58 * @cb_state: The state for a single callback (install/uninstall)
64 enum cpuhp_state state; member
115 * cpuhp_step - Hotplug state machine step
139 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step() argument
141 return cpuhp_hp_states + state; in cpuhp_get_step()
145 * cpuhp_invoke_callback _ Invoke the callbacks for a given state
154 cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node, struct hlist_node **lastp) cpuhp_invoke_callback() argument
248 cpuhp_is_ap_state(enum cpuhp_state state) cpuhp_is_ap_state() argument
272 cpuhp_is_atomic_state(enum cpuhp_state state) cpuhp_is_atomic_state() argument
702 enum cpuhp_state state; cpuhp_thread_fun() local
773 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node) cpuhp_invoke_ap_callback() argument
1279 cpuhp_online_idle(enum cpuhp_state state) cpuhp_online_idle() argument
1824 cpuhp_cb_check(enum cpuhp_state state) cpuhp_cb_check() argument
1837 cpuhp_reserve_state(enum cpuhp_state state) cpuhp_reserve_state() argument
1864 cpuhp_store_callbacks(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) cpuhp_store_callbacks() argument
1900 cpuhp_get_teardown_cb(enum cpuhp_state state) cpuhp_get_teardown_cb() argument
1909 cpuhp_issue_call(int cpu, enum cpuhp_state state, bool bringup, struct hlist_node *node) cpuhp_issue_call() argument
1943 cpuhp_rollback_install(int failedcpu, enum cpuhp_state state, struct hlist_node *node) cpuhp_rollback_install() argument
1964 __cpuhp_state_add_instance_cpuslocked(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_add_instance_cpuslocked() argument
2012 __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_add_instance() argument
2040 __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, bool invoke, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) __cpuhp_setup_state_cpuslocked() argument
2102 __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance) __cpuhp_setup_state() argument
2114 __cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke) __cpuhp_state_remove_instance() argument
2165 __cpuhp_remove_state_cpuslocked(enum cpuhp_state state, bool invoke) __cpuhp_remove_state_cpuslocked() argument
2204 __cpuhp_remove_state(enum cpuhp_state state, bool invoke) __cpuhp_remove_state() argument
2492 const char *state = smt_states[cpu_smt_control]; show_smt_control() local
[all...]
/device/qemu/arm_mps3_an547/liteos_m/board/driver/
H A Darm_uart_drv.c25 volatile uint32_t state; /* Offset: 0x004 (R/W) status register */ member
51 /* UART state definitions */
73 dev->data->state = ARM_UART_INITIALIZED; in arm_uart_init()
89 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_set_baudrate()
122 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_set_clock()
140 if(!(p_uart->state & ARM_UART_RX_BF)) { in arm_uart_read()
155 if(p_uart->state & ARM_UART_TX_BF) { in arm_uart_write()
170 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_irq_tx_enable()
184 if(dev->data->state & ARM_UART_INITIALIZED ) { in arm_uart_irq_tx_disable()
194 if(!(dev->data->state in arm_uart_tx_ready()
[all...]
/device/qemu/arm_mps2_an386/liteos_m/board/driver/
H A Darm_uart_drv.c25 volatile uint32_t state; /* Offset: 0x004 (R/W) status register */ member
51 /* UART state definitions */
73 dev->data->state = ARM_UART_INITIALIZED; in arm_uart_init()
89 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_set_baudrate()
122 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_set_clock()
140 if(!(p_uart->state & ARM_UART_RX_BF)) { in arm_uart_read()
155 if(p_uart->state & ARM_UART_TX_BF) { in arm_uart_write()
170 if(!(dev->data->state & ARM_UART_INITIALIZED)) { in arm_uart_irq_tx_enable()
184 if(dev->data->state & ARM_UART_INITIALIZED ) { in arm_uart_irq_tx_disable()
194 if(!(dev->data->state in arm_uart_tx_ready()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_instr_backend.c44 KBASE_DEBUG_ASSERT(kbdev->hwcnt.backend.state == in kbasep_instr_hwcnt_cacheclean()
59 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_CLEANING; in kbasep_instr_hwcnt_cacheclean()
92 if (kbdev->hwcnt.backend.state != KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_enable_internal()
111 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_REQUEST_CLEAN; in kbase_instr_hwcnt_enable_internal()
125 KBASE_DEBUG_ASSERT(kbdev->hwcnt.backend.state == in kbase_instr_hwcnt_enable_internal()
177 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_IDLE; in kbase_instr_hwcnt_enable_internal()
205 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_disable_internal()
217 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_IDLE) in kbase_instr_hwcnt_disable_internal()
227 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_DISABLED; in kbase_instr_hwcnt_disable_internal()
274 if (kbdev->hwcnt.backend.state ! in kbase_instr_hwcnt_request_dump()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_instr_backend.c40 KBASE_DEBUG_ASSERT(kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_REQUEST_CLEAN); in kbasep_instr_hwcnt_cacheclean()
52 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_CLEANING; in kbasep_instr_hwcnt_cacheclean()
84 if (kbdev->hwcnt.backend.state != KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_enable_internal()
102 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_REQUEST_CLEAN; in kbase_instr_hwcnt_enable_internal()
114 KBASE_DEBUG_ASSERT(kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_IDLE); in kbase_instr_hwcnt_enable_internal()
156 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_IDLE; in kbase_instr_hwcnt_enable_internal()
184 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_disable_internal()
196 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_IDLE) { in kbase_instr_hwcnt_disable_internal()
206 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_DISABLED; in kbase_instr_hwcnt_disable_internal()
250 if (kbdev->hwcnt.backend.state ! in kbase_instr_hwcnt_request_dump()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_irq/kernel/
H A Dhiirq.c266 static void read_int_status_for_aio(hiirq_aio_reg_map *map, hi_aio_int_state *state) in read_int_status_for_aio() argument
270 state->aio_int_status_state = *map->aio_int_status_reg; in read_int_status_for_aio()
271 state->aio_int_raw_state = *map->aio_int_raw_reg; in read_int_status_for_aio()
274 state->tx_raw_state[i] = *map->tx_raw_reg[i]; in read_int_status_for_aio()
275 state->tx_stat_state[i] = *map->tx_stat_reg[i]; in read_int_status_for_aio()
278 state->rx_raw_state[i] = *map->rx_raw_reg[i]; in read_int_status_for_aio()
279 state->rx_stat_state[i] = *map->rx_stat_reg[i]; in read_int_status_for_aio()
284 static void read_int_status_for_vicap(hiirq_vicap_reg_map *map, hi_vicap_int_state *state) in read_int_status_for_vicap() argument
288 state->cap_state = *map->cap_int_reg; in read_int_status_for_vicap()
290 state in read_int_status_for_vicap()
301 read_int_status_for_normal(hiirq_normal_reg_map *map, hi_normal_int_state *state) read_int_status_for_normal() argument
327 clear_int_for_aio(hiirq_aio_reg_map *map, hi_aio_int_state *state) clear_int_for_aio() argument
342 clear_int_for_vicap(hiirq_vicap_reg_map *map, hi_vicap_int_state *state) clear_int_for_vicap() argument
368 clear_int_for_vdh(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_vdh() argument
377 clear_int_for_nnie(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_nnie() argument
386 clear_int_for_normal(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_normal() argument
413 save_int_status_for_aio(hi_aio_int_state *save, hi_aio_int_state *state) save_int_status_for_aio() argument
430 save_int_status_for_vicap(hi_vicap_int_state *save, hi_vicap_int_state *state) save_int_status_for_vicap() argument
447 save_int_status_for_normal(hi_normal_int_state *save, hi_normal_int_state *state) save_int_status_for_normal() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/
H A Dmali_kbase_debug_ktrace.c252 struct trace_seq_state *state = s->private; in kbasep_ktrace_seq_start() local
261 i = state->start + *pos; in kbasep_ktrace_seq_start()
262 if ((state->end >= state->start && i >= state->end) || in kbasep_ktrace_seq_start()
263 i >= state->end + KBASE_KTRACE_SIZE) in kbasep_ktrace_seq_start()
268 return &state->trace_buf[i]; in kbasep_ktrace_seq_start()
277 struct trace_seq_state *state = s->private; in kbasep_ktrace_seq_next() local
283 i = (state->start + *pos) & KBASE_KTRACE_MASK; in kbasep_ktrace_seq_next()
284 if (i == state in kbasep_ktrace_seq_next()
317 struct trace_seq_state *state; kbasep_ktrace_debugfs_open() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/debug/
H A Dmali_kbase_debug_ktrace.c243 struct trace_seq_state *state = s->private; in kbasep_ktrace_seq_start() local
254 i = state->start + *pos; in kbasep_ktrace_seq_start()
255 if ((state->end >= state->start && i >= state->end) || i >= state->end + KBASE_KTRACE_SIZE) { in kbasep_ktrace_seq_start()
261 return &state->trace_buf[i]; in kbasep_ktrace_seq_start()
270 struct trace_seq_state *state = s->private; in kbasep_ktrace_seq_next() local
277 i = (state->start + *pos) & KBASE_KTRACE_MASK; in kbasep_ktrace_seq_next()
278 if (i == state in kbasep_ktrace_seq_next()
313 struct trace_seq_state *state; kbasep_ktrace_debugfs_open() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_soft_job.c168 job->state = MALI_SOFT_JOB_STATE_ALLOCATED; in mali_soft_job_create()
180 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_ALLOCATED == job->state); in mali_soft_job_create()
205 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_ALLOCATED == job->state); in mali_soft_job_start()
206 job->state = MALI_SOFT_JOB_STATE_STARTED; in mali_soft_job_start()
241 || !(MALI_SOFT_JOB_STATE_STARTED == job->state || MALI_SOFT_JOB_STATE_TIMED_OUT == job->state)) { in mali_soft_job_system_signal_job()
247 if (MALI_SOFT_JOB_STATE_TIMED_OUT == job->state) { in mali_soft_job_system_signal_job()
248 job->state = MALI_SOFT_JOB_STATE_SIGNALED; in mali_soft_job_system_signal_job()
258 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_STARTED == job->state); in mali_soft_job_system_signal_job()
260 job->state in mali_soft_job_system_signal_job()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_soft_job.c174 job->state = MALI_SOFT_JOB_STATE_ALLOCATED; in mali_soft_job_create()
186 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_ALLOCATED == job->state); in mali_soft_job_create()
211 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_ALLOCATED == job->state); in mali_soft_job_start()
212 job->state = MALI_SOFT_JOB_STATE_STARTED; in mali_soft_job_start()
246 !(MALI_SOFT_JOB_STATE_STARTED == job->state || MALI_SOFT_JOB_STATE_TIMED_OUT == job->state)) { in mali_soft_job_system_signal_job()
252 if (MALI_SOFT_JOB_STATE_TIMED_OUT == job->state) { in mali_soft_job_system_signal_job()
253 job->state = MALI_SOFT_JOB_STATE_SIGNALED; in mali_soft_job_system_signal_job()
263 MALI_DEBUG_ASSERT(MALI_SOFT_JOB_STATE_STARTED == job->state); in mali_soft_job_system_signal_job()
265 job->state in mali_soft_job_system_signal_job()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_power_gpu_frequency_trace.h40 TP_PROTO(unsigned int state, unsigned int gpu_id),
42 TP_ARGS(state, gpu_id),
45 __field( u32, state )
50 __entry->state = state;
54 TP_printk("state=%lu gpu_id=%lu", (unsigned long)__entry->state,
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_power_gpu_frequency_trace.h43 TP_PROTO(unsigned int state, unsigned int gpu_id),
45 TP_ARGS(state, gpu_id),
47 TP_STRUCT__entry(__field(u32, state) __field(u32, gpu_id)),
49 TP_fast_assign(__entry->state = state; __entry->gpu_id = gpu_id;),
51 TP_printk("state=%lu gpu_id=%lu", (unsigned long)__entry->state, (unsigned long)__entry->gpu_id));
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_instr_backend.c50 if (kbdev->hwcnt.backend.state != KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_enable_internal()
108 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_IDLE; in kbase_instr_hwcnt_enable_internal()
156 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_UNRECOVERABLE_ERROR) { in kbase_instr_hwcnt_disable_internal()
157 /* Instrumentation is in unrecoverable error state, in kbase_instr_hwcnt_disable_internal()
166 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_DISABLED) { in kbase_instr_hwcnt_disable_internal()
180 if (kbdev->hwcnt.backend.state == KBASE_INSTR_STATE_IDLE) in kbase_instr_hwcnt_disable_internal()
191 kbdev->hwcnt.backend.state = KBASE_INSTR_STATE_DISABLED; in kbase_instr_hwcnt_disable_internal()
218 if (kbdev->hwcnt.backend.state != KBASE_INSTR_STATE_IDLE) { in kbase_instr_hwcnt_request_dump()
220 * resetting, or we are in unrecoverable error state. in kbase_instr_hwcnt_request_dump()
234 kbdev->hwcnt.backend.state in kbase_instr_hwcnt_request_dump()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Dbq25700_charger.c197 struct bq25700_state state; member
620 struct bq25700_state *state) in bq25700_get_chip_state()
628 {AC_STAT, &state->ac_stat}, in bq25700_get_chip_state()
629 {ICO_DONE, &state->ico_done}, in bq25700_get_chip_state()
630 {IN_VINDPM, &state->in_vindpm}, in bq25700_get_chip_state()
631 {IN_IINDPM, &state->in_iindpm}, in bq25700_get_chip_state()
632 {IN_FCHRG, &state->in_fchrg}, in bq25700_get_chip_state()
633 {IN_PCHRG, &state->in_pchrg}, in bq25700_get_chip_state()
634 {IN_OTG, &state->in_otg}, in bq25700_get_chip_state()
635 {F_ACOV, &state in bq25700_get_chip_state()
619 bq25700_get_chip_state(struct bq25700_device *charger, struct bq25700_state *state) bq25700_get_chip_state() argument
658 struct bq25700_state state; bq25700_dump_regs() local
759 struct bq25700_state state; bq25703_dump_regs() local
962 struct bq25700_state state; bq25700_hw_init() local
1118 struct bq25700_state state; bq25700_power_supply_get_property() local
1244 struct bq25700_state state; bq2570x_pd_notifier_call() local
1304 struct bq25700_state state; bq25700_irq_handler_thread() local
1370 struct bq25700_state state; bq25700_charger_evt_handel() local
1416 struct bq25700_state state; bq25700_charger_usb_bc_handel() local
1549 struct bq25700_state state; bq25700_discnt() local
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
H A Dhiirq.c342 static void read_int_status_for_aio(hiirq_aio_reg_map *map, hi_aio_int_state *state) in read_int_status_for_aio() argument
346 state->aio_int_status_state = *map->aio_int_status_reg; in read_int_status_for_aio()
347 state->aio_int_raw_state = *map->aio_int_raw_reg; in read_int_status_for_aio()
350 state->tx_raw_state[i] = *map->tx_raw_reg[i]; in read_int_status_for_aio()
351 state->tx_stat_state[i] = *map->tx_stat_reg[i]; in read_int_status_for_aio()
354 state->rx_raw_state[i] = *map->rx_raw_reg[i]; in read_int_status_for_aio()
355 state->rx_stat_state[i] = *map->rx_stat_reg[i]; in read_int_status_for_aio()
358 state->spdiftx_raw_state[i] = *map->spdiftx_raw_reg[i]; in read_int_status_for_aio()
359 state->spdiftx_stat_state[i] = *map->spdiftx_stat_reg[i]; in read_int_status_for_aio()
364 static void read_int_status_for_vicap(hiirq_vicap_reg_map *map, hi_vicap_int_state *state) in read_int_status_for_vicap() argument
381 read_int_status_for_normal(hiirq_normal_reg_map *map, hi_normal_int_state *state) read_int_status_for_normal() argument
407 clear_int_for_aio(hiirq_aio_reg_map *map, hi_aio_int_state *state) clear_int_for_aio() argument
426 clear_int_for_vicap(hiirq_vicap_reg_map *map, hi_vicap_int_state *state) clear_int_for_vicap() argument
452 clear_int_for_vdh(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_vdh() argument
473 clear_int_for_nnie(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_nnie() argument
482 clear_int_for_normal(hiirq_normal_reg_map *map, hi_normal_int_state *state) clear_int_for_normal() argument
509 save_int_status_for_aio(hi_aio_int_state *save, hi_aio_int_state *state) save_int_status_for_aio() argument
530 save_int_status_for_vicap(hi_vicap_int_state *save, hi_vicap_int_state *state) save_int_status_for_vicap() argument
547 save_int_status_for_normal(hi_normal_int_state *save, hi_normal_int_state *state) save_int_status_for_normal() argument
[all...]

Completed in 19 milliseconds

12345678910>>...16