/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
H A D | ispp.c | 81 if (ispp_sdev->state & ISPP_START) { in rkispp_subdev_link_setup() 276 ispp_sdev->state = ISPP_START; in rkispp_sd_s_stream() 279 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream() 287 ispp_sdev->state = ISPP_STOP; in rkispp_sd_s_stream() 303 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream() 319 if (ispp_sdev->state == ISPP_START) { in rkispp_sd_s_rx_buffer() 545 ispp_sdev->state = ISPP_STOP; in rkispp_register_subdev()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
H A D | ispp.c | 82 if (ispp_sdev->state & ISPP_START) in rkispp_subdev_link_setup() 277 ispp_sdev->state = ISPP_START; in rkispp_sd_s_stream() 280 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream() 287 ispp_sdev->state = ISPP_STOP; in rkispp_sd_s_stream() 299 rkispp_event_handle(dev, CMD_STREAM, &ispp_sdev->state); in rkispp_sd_s_stream() 315 if (ispp_sdev->state == ISPP_START) { in rkispp_sd_s_rx_buffer() 549 ispp_sdev->state = ISPP_STOP; in rkispp_register_subdev()
|
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | n2-drv.c | 84 * And then the fourth value sets the final chip state and enables 112 unsigned long hv_err, state, ticks, watchdog_delta, watchdog_status; in n2rng_generic_read_control_v2() local 116 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2() 155 unsigned long state, in n2rng_write_ctl_one() 163 hv_err = sun4v_rng_ctl_write_v1(control_ra, state, in n2rng_write_ctl_one() 166 hv_err = sun4v_rng_ctl_write_v2(control_ra, state, in n2rng_write_ctl_one() 252 unsigned long state) in n2rng_generic_write_control() 258 hv_err = n2rng_write_ctl_one(np, unit, state, control_ra, in n2rng_generic_write_control() 154 n2rng_write_ctl_one(struct n2rng *np, int unit, unsigned long state, unsigned long control_ra, unsigned long watchdog_timeout, unsigned long *ticks) n2rng_write_ctl_one() argument 249 n2rng_generic_write_control(struct n2rng *np, unsigned long control_ra, unsigned long unit, unsigned long state) n2rng_generic_write_control() argument
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | perf_event.c | 298 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start() 300 hwc->state = 0; in arc_pmu_start() 330 if (!(event->hw.state & PERF_HES_STOPPED)) { in arc_pmu_stop() 337 event->hw.state |= PERF_HES_STOPPED; in arc_pmu_stop() 341 !(event->hw.state & PERF_HES_UPTODATE)) { in arc_pmu_stop() 343 event->hw.state |= PERF_HES_UPTODATE; in arc_pmu_stop() 390 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.h | 169 u8 state; member 178 u8 state; member 224 u8 state; member 652 u8 state; member 776 enum hinic_port_state state); 779 enum hinic_func_port_state state); 786 int hinic_port_set_tso(struct hinic_dev *nic_dev, enum hinic_tso_state state);
|
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 99 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode() 111 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode() 362 /* test state error bits according to their priority */ in pucan_handle_status() 365 priv->can.state = CAN_STATE_BUS_OFF; in pucan_handle_status() 373 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status() 386 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status() 397 } else if (priv->can.state != CAN_STATE_ERROR_ACTIVE) { in pucan_handle_status() 774 priv->can.state = CAN_STATE_STOPPED; in alloc_peak_canfd_dev()
|
/kernel/linux/linux-5.10/drivers/net/dsa/qca/ |
H A D | ar9331.c | 359 struct phylink_link_state *state) in ar9331_sw_phylink_validate() 365 if (state->interface != PHY_INTERFACE_MODE_GMII) in ar9331_sw_phylink_validate() 376 if (state->interface != PHY_INTERFACE_MODE_INTERNAL) in ar9331_sw_phylink_validate() 396 bitmap_and(state->advertising, state->advertising, mask, in ar9331_sw_phylink_validate() 404 state->interface, port); in ar9331_sw_phylink_validate() 409 const struct phylink_link_state *state) in ar9331_sw_phylink_mac_config() 357 ar9331_sw_phylink_validate(struct dsa_switch *ds, int port, unsigned long *supported, struct phylink_link_state *state) ar9331_sw_phylink_validate() argument 407 ar9331_sw_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) ar9331_sw_phylink_mac_config() argument
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | perf_event.c | 460 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start() 462 hwc->state = 0; in arc_pmu_start() 492 if (!(event->hw.state & PERF_HES_STOPPED)) { in arc_pmu_stop() 499 event->hw.state |= PERF_HES_STOPPED; in arc_pmu_stop() 503 !(event->hw.state & PERF_HES_UPTODATE)) { in arc_pmu_stop() 505 event->hw.state |= PERF_HES_UPTODATE; in arc_pmu_stop() 552 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt.c | 396 * register state on the GPU should reflect its defaults values. in __engines_record_defaults() 398 * over to a second context to save that default register state. We in __engines_record_defaults() 399 * can then prime every new context with that state so they all start in __engines_record_defaults() 455 struct file *state; in __engines_record_defaults() local 467 if (!rq->context->state) in __engines_record_defaults() 470 /* Keep a copy of the state's backing pages; free the obj */ in __engines_record_defaults() 471 state = shmem_create_from_object(rq->context->state->obj); in __engines_record_defaults() 472 if (IS_ERR(state)) { in __engines_record_defaults() 473 err = PTR_ERR(state); in __engines_record_defaults() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-roccat-kone.c | 478 unsigned long state; in kone_sysfs_set_tcu() local 484 retval = kstrtoul(buf, 10, &state); in kone_sysfs_set_tcu() 488 if (state != 0 && state != 1) in kone_sysfs_set_tcu() 493 if (state == 1) { /* state activate */ in kone_sysfs_set_tcu() 524 /* only write settings back if activation state is different */ in kone_sysfs_set_tcu() 525 if (kone->settings.tcu != state) { in kone_sysfs_set_tcu() 526 kone->settings.tcu = state; in kone_sysfs_set_tcu() 531 dev_err(&usb_dev->dev, "couldn't set tcu state\ in kone_sysfs_set_tcu() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.c | 49 const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state) in usnic_ib_qp_grp_state_to_string() argument 51 switch (state) { in usnic_ib_qp_grp_state_to_string() 87 qp_grp->state), in usnic_ib_qp_grp_dump_rows() 400 old_state = qp_grp->state; in usnic_ib_qp_grp_modify() 451 * Doesn't make sense to go into INIT state in usnic_ib_qp_grp_modify() 452 * from INIT state w/o adding filters. in usnic_ib_qp_grp_modify() 517 qp_grp->state = new_state; in usnic_ib_qp_grp_modify() 709 qp_grp->state = IB_QPS_RESET; in usnic_ib_qp_grp_create() 744 WARN_ON(qp_grp->state != IB_QPS_RESET); in usnic_ib_qp_grp_destroy()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 179 * state mutex to avoid dereferencing the IB device which 196 if (unlikely(iser_conn->state != ISER_CONN_UP)) { in iser_initialize_task_headers() 454 * state is not UP (teardown already started). 482 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_conn_bind() 484 iser_err("iser_conn %p state is %d, teardown started\n", in iscsi_iser_conn_bind() 485 iser_conn, iser_conn->state); in iscsi_iser_conn_bind() 535 * handle, so we call it under iser the state lock to protect against 638 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_session_create() 843 * or more likely iser connection state transitioned to TEMINATING or 857 if (iser_conn->state in iscsi_iser_ep_poll() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | transobj.c | 150 int mlx5_core_query_sq_state(struct mlx5_core_dev *dev, u32 sqn, u8 *state) in mlx5_core_query_sq_state() argument 167 *state = MLX5_GET(sqc, sqc, state); in mlx5_core_query_sq_state() 284 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5_hairpin_create_rq() 303 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in mlx5_hairpin_create_sq() 366 MLX5_SET(rqc, rqc, state, next_state); in mlx5_hairpin_modify_rq() 386 MLX5_SET(sqc, sqc, state, next_state); in mlx5_hairpin_modify_sq()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps() 84 if (ar->ps.state != new_ps) { in carl9170_handle_ps() 92 ar->ps.state = new_ps; in carl9170_handle_ps() 264 bool state = !!(cmd->gpio.gpio & cpu_to_le32( in carl9170_handle_command_response() local 267 if (state != ar->wps.pbc_state) { in carl9170_handle_command_response() 268 ar->wps.pbc_state = state; in carl9170_handle_command_response() 270 state); in carl9170_handle_command_response()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 543 2400, /* cooling state 0 */ 544 2000, /* cooling state 1 */ 545 1800, /* cooling state 2 */ 546 1600, /* cooling state 3 */ 547 1400, /* cooling state 4 */ 548 1200, /* cooling state 5 */ 549 1000, /* cooling state 6 */ 550 900, /* cooling state 7 */ 551 800, /* cooling state 8 */ 552 700, /* cooling state 566 iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) iwl_mvm_ctdp_command() argument 832 iwl_mvm_tcool_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) iwl_mvm_tcool_get_max_state() argument 840 iwl_mvm_tcool_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) iwl_mvm_tcool_get_cur_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | uartlite.c | 125 struct tty_port *tport = &port->state->port; in ulite_receive() 175 struct circ_buf *xmit = &port->state->xmit; in ulite_transmit() 218 tty_flip_buffer_push(&port->state->port); in ulite_isr() 390 static void ulite_pm(struct uart_port *port, unsigned int state, in ulite_pm() argument 395 if (!state) in ulite_pm() 498 /* restore interrupt state */ in ulite_console_write() 782 if (!ulite_uart_driver.state) { in ulite_probe() 834 if (ulite_uart_driver.state) in ulite_exit()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-trace.h | 212 __field(int, state) 223 __entry->state = vdev->udev->state; 229 TP_printk("vdev %p ctx %llx | %llx num %d state %d speed %d port %d level %d slot %d", 231 __entry->devnum, __entry->state, __entry->speed, 370 __field(u32, state) 377 __entry->state = le32_to_cpu(ctx->dev_state); 381 __entry->tt_info, __entry->state)
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | call_object.c | 54 if (call->state < RXRPC_CALL_COMPLETE) { in rxrpc_call_timer_expired() 207 call->state = RXRPC_CALL_CLIENT_AWAIT_CONN; in rxrpc_alloc_client_call() 417 call->state = RXRPC_CALL_SERVER_SECURING; in rxrpc_incoming_call() 540 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_release_call() 635 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_put_call() 691 ASSERTCMP(call->state, ==, RXRPC_CALL_COMPLETE); in rxrpc_cleanup_call() 724 rxrpc_call_states[call->state], in rxrpc_destroy_all_calls()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | hcd.h | 105 * hardware info/state 162 * do not manage the PHY state in the HCD core, instead let the driver 192 * the addressed state. 208 int state; member 219 #define HC_IS_RUNNING(state) ((state) & __ACTIVE) 220 #define HC_IS_SUSPENDED(state) ((state) & __SUSPEND) 295 /* manage i/o requests, device state */ 318 /* (optional) reset any endpoint state suc [all...] |
/kernel/linux/linux-5.10/net/atm/ |
H A D | svc.c | 107 if (sock->state == SS_CONNECTED) { in svc_bind() 111 if (sock->state != SS_UNCONNECTED) { in svc_bind() 167 switch (sock->state) { in svc_connect() 179 sock->state = SS_UNCONNECTED; in svc_connect() 209 sock->state = SS_CONNECTING; in svc_connect() 274 sock->state = SS_CONNECTED; in svc_connect() 415 newsock->state = SS_CONNECTED; in svc_accept()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
H A D | via_dmablit.c | 162 vsg->state = dr_via_device_mapped; in via_map_blit_for_device() 179 switch (vsg->state) { in via_free_sg_info() 198 vsg->state = dr_via_sg_init; in via_free_sg_info() 249 vsg->state = dr_via_pages_locked; in via_lock_all_dma_pages() 252 vsg->state = dr_via_pages_locked; in via_lock_all_dma_pages() 275 vsg->state = dr_via_desc_pages_alloc; in via_alloc_desc_pages() 582 vsg->state = dr_via_sg_init; in via_build_sg_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/ |
H A D | cirrus.c | 451 struct drm_plane_state *state = pipe->plane.state; in cirrus_pipe_update() local 455 if (pipe->plane.state->fb && in cirrus_pipe_update() 456 cirrus->cpp != cirrus_cpp(pipe->plane.state->fb)) in cirrus_pipe_update() 458 pipe->plane.state->fb); in cirrus_pipe_update() 460 if (drm_atomic_helper_damage_merged(old_state, state, &rect)) in cirrus_pipe_update() 461 cirrus_fb_blit_rect(pipe->plane.state->fb, &rect); in cirrus_pipe_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.h | 175 /* The memory used for storing binner tile alloc, tile state, 267 /* Struct for shader validation state, if created by 283 /* Store purgeable/purged state here */ 425 to_vc4_plane_state(struct drm_plane_state *state) in to_vc4_plane_state() argument 427 return container_of(state, struct vc4_plane_state, base); in to_vc4_plane_state() 535 /* Transitional state below, only valid during atomic commits */ 603 * This tracks the per-shader-record state (packet 64) that 611 * shader state. 618 /** How many shader state records the validator has seen. */ 730 * For a given shader, each time a shader state recor [all...] |
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 25 int state; member 458 sysmon->state = SSCTL_SSR_EVENT_BEFORE_POWERUP; in sysmon_prepare() 486 sysmon->state = SSCTL_SSR_EVENT_AFTER_POWERUP; in sysmon_start() 497 event.ssr_event = target->state; in sysmon_start() 519 sysmon->state = SSCTL_SSR_EVENT_BEFORE_SHUTDOWN; in sysmon_stop() 548 sysmon->state = SSCTL_SSR_EVENT_AFTER_SHUTDOWN; in sysmon_unprepare() 566 if (sysmon->state != SSCTL_SSR_EVENT_AFTER_POWERUP || in sysmon_notify()
|
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 100 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode() 112 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode() 363 /* test state error bits according to their priority */ in pucan_handle_status() 366 priv->can.state = CAN_STATE_BUS_OFF; in pucan_handle_status() 374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status() 387 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status() 398 } else if (priv->can.state != CAN_STATE_ERROR_ACTIVE) { in pucan_handle_status() 817 priv->can.state = CAN_STATE_STOPPED; in alloc_peak_canfd_dev()
|