Home
last modified time | relevance | path

Searched refs:hw_status (Results 1 – 25 of 61) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Dintel-rng.c161 u8 hw_status) in hwstatus_set() argument
163 writeb(hw_status, mem + INTEL_RNG_HW_STATUS); in hwstatus_set()
194 u8 hw_status; in intel_rng_init() local
197 hw_status = hwstatus_get(mem); in intel_rng_init()
199 if ((hw_status & INTEL_RNG_ENABLED) == 0) in intel_rng_init()
200 hw_status = hwstatus_set(mem, hw_status | INTEL_RNG_ENABLED); in intel_rng_init()
201 if ((hw_status & INTEL_RNG_ENABLED) == 0) { in intel_rng_init()
213 u8 hw_status; in intel_rng_cleanup() local
215 hw_status = hwstatus_get(mem); in intel_rng_cleanup()
216 if (hw_status & INTEL_RNG_ENABLED) in intel_rng_cleanup()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu540c.c275 cfg1.reg = &reg_out->hw_status; in hal_jpege_v540c_start()
309 RK_U32 hw_status = elem->hw_status; in hal_jpege_vepu540c_status_check() local
311 mpp_err_f("hw_status: 0x%08x", hw_status); in hal_jpege_vepu540c_status_check()
312 if (hw_status & RKV_ENC_INT_LINKTABLE_FINISH) in hal_jpege_vepu540c_status_check()
315 if (hw_status & RKV_ENC_INT_ONE_FRAME_FINISH) in hal_jpege_vepu540c_status_check()
318 if (hw_status & RKV_ENC_INT_ONE_SLICE_FINISH) in hal_jpege_vepu540c_status_check()
321 if (hw_status & RKV_ENC_INT_SAFE_CLEAR_FINISH) in hal_jpege_vepu540c_status_check()
324 if (hw_status & RKV_ENC_INT_BIT_STREAM_OVERFLOW) in hal_jpege_vepu540c_status_check()
327 if (hw_status & RKV_ENC_INT_BUS_WRITE_FULL) in hal_jpege_vepu540c_status_check()
330 if (hw_status & RKV_ENC_INT_BUS_WRITE_ERROR) in hal_jpege_vepu540c_status_check()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dinit.c59 adapter->hw_status = MWIFIEX_HW_STATUS_RESET; in wakeup_timer_fn()
237 adapter->hw_status = MWIFIEX_HW_STATUS_INITIALIZING; in mwifiex_init_adapter()
505 adapter->hw_status = MWIFIEX_HW_STATUS_INITIALIZING; in mwifiex_init_fw()
526 adapter->hw_status = MWIFIEX_HW_STATUS_READY; in mwifiex_init_fw()
552 adapter->hw_status = MWIFIEX_HW_STATUS_READY; in mwifiex_init_fw()
629 if (adapter->hw_status == MWIFIEX_HW_STATUS_NOT_READY) in mwifiex_shutdown_drv()
677 adapter->hw_status = MWIFIEX_HW_STATUS_NOT_READY; in mwifiex_shutdown_drv()
H A Dmain.c262 if (adapter->hw_status == MWIFIEX_HW_STATUS_NOT_READY) in mwifiex_main_process()
356 if (adapter->hw_status == MWIFIEX_HW_STATUS_INIT_DONE) { in mwifiex_main_process()
357 adapter->hw_status = MWIFIEX_HW_STATUS_READY; in mwifiex_main_process()
570 adapter->hw_status = MWIFIEX_HW_STATUS_READY; in _mwifiex_fw_dpc()
577 if (adapter->hw_status != MWIFIEX_HW_STATUS_READY) in _mwifiex_fw_dpc()
656 if (adapter->hw_status == MWIFIEX_HW_STATUS_READY) { in _mwifiex_fw_dpc()
1498 adapter->hw_status = MWIFIEX_HW_STATUS_INITIALIZING; in mwifiex_reinit_sw()
1560 if (adapter->hw_status == MWIFIEX_HW_STATUS_READY) { in mwifiex_reinit_sw()
1654 adapter->hw_status = MWIFIEX_HW_STATUS_INITIALIZING; in mwifiex_add_card()
1707 if (adapter->hw_status == MWIFIEX_HW_STATUS_READY) { in mwifiex_add_card()
H A Dcmdevt.c204 if (adapter->hw_status == MWIFIEX_HW_STATUS_RESET && in mwifiex_dnld_cmd_to_fw()
596 if (adapter->hw_status == MWIFIEX_HW_STATUS_RESET) { in mwifiex_send_cmd()
900 if (adapter->hw_status == MWIFIEX_HW_STATUS_INITIALIZING) { in mwifiex_process_cmdresp()
908 adapter->hw_status = MWIFIEX_HW_STATUS_INIT_DONE; in mwifiex_process_cmdresp()
1009 if (adapter->hw_status == MWIFIEX_HW_STATUS_INITIALIZING) { in mwifiex_cmd_timeout_func()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_shim.c693 pmadapter->hw_status = WlanHardwareStatusGetHwSpec; in mlan_init_fw()
730 if (pmadapter->hw_status == WlanHardwareStatusNotReady) { in mlan_shutdown_fw()
735 pmadapter->hw_status = WlanHardwareStatusClosing; in mlan_shutdown_fw()
1031 if ((pmadapter->hw_status == WlanHardwareStatusClosing) || in mlan_main_process()
1032 (pmadapter->hw_status == WlanHardwareStatusNotReady)) in mlan_main_process()
1112 if (pmadapter->hw_status == WlanHardwareStatusInitdone) { in mlan_main_process()
1113 pmadapter->hw_status = WlanHardwareStatusReady; in mlan_main_process()
1115 } else if (pmadapter->hw_status == in mlan_main_process()
1117 pmadapter->hw_status = in mlan_main_process()
1216 if (pmadapter->hw_status == WlanHardwareStatusClosing) in mlan_main_process()
H A Dmlan_init.c1132 pmadapter->hw_status = WlanHardwareStatusInitializing; in wlan_init_fw()
1297 pmadapter->hw_status = WlanHardwareStatusReady; in wlan_init_priv_fw()
1550 if (pmadapter->hw_status != WlanHardwareStatusInitializing) in wlan_get_hw_spec_complete()
1568 if (pmadapter->hw_status == WlanHardwareStatusInitializing) in wlan_get_hw_spec_complete()
1592 if (pmadapter->hw_status != WlanHardwareStatusReady) in wlan_init_fw_complete()
1625 pmadapter->hw_status = WlanHardwareStatusNotReady; in wlan_shutdown_fw_complete()
H A Dmlan_cmdevt.c1385 if (pmadapter->hw_status == WlanHardwareStatusReset) { in wlan_prepare_cmd()
1803 if (pmadapter->hw_status == WlanHardwareStatusInitializing || in wlan_process_cmdresp()
1804 pmadapter->hw_status == WlanHardwareStatusGetHwSpec) { in wlan_process_cmdresp()
1844 if ((pmadapter->hw_status == WlanHardwareStatusInitializing) && in wlan_process_cmdresp()
1856 pmadapter->hw_status = WlanHardwareStatusReady; in wlan_process_cmdresp()
1866 pmadapter->hw_status = WlanHardwareStatusInitdone; in wlan_process_cmdresp()
1871 } else if ((pmadapter->hw_status == WlanHardwareStatusGetHwSpec) && in wlan_process_cmdresp()
1873 pmadapter->hw_status = WlanHardwareStatusGetHwSpecdone; in wlan_process_cmdresp()
1945 if (pmadapter->hw_status == WlanHardwareStatusInitializing || in wlan_cmd_timeout_func()
1946 pmadapter->hw_status == WlanHardwareStatusGetHwSpec) in wlan_cmd_timeout_func()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i810/
H A Di810_dma.c290 u32 *hw_status = (u32 *) (dev_priv->hw_status_page + my_idx); in i810_freelist_init() local
302 buf_priv->in_use = hw_status++; in i810_freelist_init()
934 u32 *hw_status = dev_priv->hw_status_page; in i810_dma_vertex() local
952 sarea_priv->last_dispatch = (int)hw_status[5]; in i810_dma_vertex()
988 u32 *hw_status = dev_priv->hw_status_page; in i810_getage() local
992 sarea_priv->last_dispatch = (int)hw_status[5]; in i810_getage()
1002 u32 *hw_status = dev_priv->hw_status_page; in i810_getbuf() local
1015 sarea_priv->last_dispatch = (int)hw_status[5]; in i810_getbuf()
1097 u32 *hw_status = dev_priv->hw_status_page; in i810_dma_mc() local
1111 sarea_priv->last_dispatch = (int)hw_status[5]; in i810_dma_mc()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu540c.c48 RK_U32 hw_status; /* 0:corret, 1:error */ member
1386 cfg1.reg = &reg_out->hw_status; in hal_h265e_v540c_start()
1423 RK_U32 hw_status = elem->hw_status; in vepu540c_h265_set_feedback() local
1434 fb->hw_status = hw_status; in vepu540c_h265_set_feedback()
1435 hal_h265e_dbg_detail("hw_status: 0x%08x", hw_status); in vepu540c_h265_set_feedback()
1436 if (hw_status & RKV_ENC_INT_LINKTABLE_FINISH) in vepu540c_h265_set_feedback()
1439 if (hw_status & RKV_ENC_INT_ONE_FRAME_FINISH) in vepu540c_h265_set_feedback()
1442 if (hw_status & RKV_ENC_INT_ONE_SLICE_FINISH) in vepu540c_h265_set_feedback()
1445 if (hw_status & RKV_ENC_INT_SAFE_CLEAR_FINISH) in vepu540c_h265_set_feedback()
1448 if (hw_status & RKV_ENC_INT_BIT_STREAM_OVERFLOW) in vepu540c_h265_set_feedback()
[all …]
H A Dhal_h265e_vepu580.c51 RK_U32 hw_status; /* 0:corret, 1:error */ member
2175 cfg1.reg = &reg_out->hw_status; in hal_h265e_v580_send_regs()
2826 RK_U32 hw_status = elem->hw_status; in vepu580_h265_set_feedback() local
2835 fb->hw_status = hw_status; in vepu580_h265_set_feedback()
2836 hal_h265e_dbg_detail("hw_status: 0x%08x", hw_status); in vepu580_h265_set_feedback()
2837 if (hw_status & RKV_ENC_INT_LINKTABLE_FINISH) in vepu580_h265_set_feedback()
2840 if (hw_status & RKV_ENC_INT_ONE_FRAME_FINISH) in vepu580_h265_set_feedback()
2843 if (hw_status & RKV_ENC_INT_ONE_SLICE_FINISH) in vepu580_h265_set_feedback()
2846 if (hw_status & RKV_ENC_INT_SAFE_CLEAR_FINISH) in vepu580_h265_set_feedback()
2849 if (hw_status & RKV_ENC_INT_BIT_STREAM_OVERFLOW) in vepu580_h265_set_feedback()
[all …]
H A Dhal_h265e_vepu541.c50 RK_U32 hw_status; /* 0:corret, 1:error */ member
1787 cfg1.reg = &reg_out->hw_status; in hal_h265e_v540_start()
1879 cfg1.reg = &reg_out->hw_status; in hal_h265e_v541_start()
1937 RK_U32 hw_status = elem->hw_status; in vepu541_h265_set_feedback() local
1943 fb->hw_status = hw_status; in vepu541_h265_set_feedback()
1944 hal_h265e_dbg_detail("hw_status: 0x%08x", hw_status); in vepu541_h265_set_feedback()
1945 if (hw_status & RKV_ENC_INT_LINKTABLE_FINISH) in vepu541_h265_set_feedback()
1948 if (hw_status & RKV_ENC_INT_ONE_FRAME_FINISH) in vepu541_h265_set_feedback()
1951 if (hw_status & RKV_ENC_INT_ONE_SLICE_FINISH) in vepu541_h265_set_feedback()
1954 if (hw_status & RKV_ENC_INT_SAFE_CLEAR_FINISH) in vepu541_h265_set_feedback()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhealth.c42 u8 hw_status; in mlx5e_health_cq_diag_fmsg() local
51 hw_status = MLX5_GET(cqc, cqc, status); in mlx5e_health_cq_diag_fmsg()
61 err = devlink_fmsg_u8_pair_put(fmsg, "HW status", hw_status); in mlx5e_health_cq_diag_fmsg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_shim.c794 pmadapter->hw_status = WlanHardwareStatusGetHwSpec; in mlan_init_fw()
829 if (pmadapter->hw_status == WlanHardwareStatusNotReady) { in mlan_shutdown_fw()
834 pmadapter->hw_status = WlanHardwareStatusClosing; in mlan_shutdown_fw()
1168 if ((pmadapter->hw_status == WlanHardwareStatusClosing) || in mlan_main_process()
1169 (pmadapter->hw_status == WlanHardwareStatusNotReady)) in mlan_main_process()
1273 if (pmadapter->hw_status == in mlan_main_process()
1275 pmadapter->hw_status = WlanHardwareStatusReady; in mlan_main_process()
1277 } else if (pmadapter->hw_status == in mlan_main_process()
1279 pmadapter->hw_status = in mlan_main_process()
1387 if (pmadapter->hw_status == WlanHardwareStatusClosing) in mlan_main_process()
H A Dmlan_init.c1454 pmadapter->hw_status = WlanHardwareStatusInitializing; in wlan_init_fw()
1674 pmadapter->hw_status = WlanHardwareStatusReady; in wlan_init_priv_fw()
1678 pmadapter->hw_status = WlanHardwareStatusReady; in wlan_init_priv_fw()
1997 if (pmadapter->hw_status != WlanHardwareStatusInitializing) in wlan_get_hw_spec_complete()
2016 pmadapter->hw_status = WlanHardwareStatusNotReady; in wlan_get_hw_spec_complete()
2022 if (pmadapter->hw_status == WlanHardwareStatusInitializing) in wlan_get_hw_spec_complete()
2046 if (pmadapter->hw_status != WlanHardwareStatusReady) in wlan_init_fw_complete()
2080 pmadapter->hw_status = WlanHardwareStatusNotReady; in wlan_shutdown_fw_complete()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c1652 rd_cfg.reg = &ctx->regs_ret.hw_status; in hal_h264e_vepu541_start()
1690 if (regs_ret->hw_status.lkt_done_sta) in hal_h264e_vepu541_status_check()
1693 if (regs_ret->hw_status.enc_done_sta) in hal_h264e_vepu541_status_check()
1696 if (regs_ret->hw_status.enc_slice_done_sta) in hal_h264e_vepu541_status_check()
1699 if (regs_ret->hw_status.sclr_done_sta) in hal_h264e_vepu541_status_check()
1702 if (regs_ret->hw_status.oflw_done_sta) in hal_h264e_vepu541_status_check()
1705 if (regs_ret->hw_status.brsp_done_sta) in hal_h264e_vepu541_status_check()
1708 if (regs_ret->hw_status.berr_done_sta) in hal_h264e_vepu541_status_check()
1711 if (regs_ret->hw_status.rerr_done_sta) in hal_h264e_vepu541_status_check()
1714 if (regs_ret->hw_status.wdg_done_sta) in hal_h264e_vepu541_status_check()
/OK3568_Linux_fs/external/mpp/mpp/common/
H A Djpege_syntax.h88 RK_U32 hw_status; /* zero -> correct; non-zero -> error */ member
H A Dvp8e_syntax.h38 RK_U32 hw_status; /* 0:corret, 1:error */ member
/OK3568_Linux_fs/u-boot/board/keymile/common/
H A Dcommon.h106 u8 hw_status; member
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.h165 RK_U32 hw_status; member
/OK3568_Linux_fs/kernel/sound/i2c/
H A Dcs8427.c30 char hw_status[24]; /* hardware status */ member
105 chip->playback.hw_udata : chip->playback.hw_status; in snd_cs8427_send_corudata()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/
H A Dtg3.c1028 (tp->napi[0].hw_status->status & SD_STATUS_UPDATED)) in tg3_enable_ints()
1039 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work()
5764 tp->napi[0].hw_status->status = in tg3_setup_fiber_phy()
5766 (tp->napi[0].hw_status->status & ~SD_STATUS_LINK_CHG)); in tg3_setup_fiber_phy()
6486 tnapi->hw_status->status, in tg3_dump_state()
6487 tnapi->hw_status->status_tag, in tg3_dump_state()
6488 tnapi->hw_status->rx_jumbo_consumer, in tg3_dump_state()
6489 tnapi->hw_status->rx_consumer, in tg3_dump_state()
6490 tnapi->hw_status->rx_mini_consumer, in tg3_dump_state()
6491 tnapi->hw_status->idx[0].rx_producer, in tg3_dump_state()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/include/
H A Drga_drv.h303 uint32_t hw_status; member
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpege/
H A Dhal_jpege_vepu2_v2.c770 feedback->hw_status = val & 0x70; in multi_core_wait()
785 feedback->hw_status = val & 0x70; in multi_core_wait()
877 feedback->hw_status = val & 0x70; in hal_jpege_vepu2_wait()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga2_reg_info.c2697 job->hw_status = rga_read(RGA2_STATUS2, scheduler); in rga2_irq()
2702 job->intr_status, job->hw_status, job->cmd_status); in rga2_irq()
2711 job->intr_status, job->hw_status, job->cmd_status); in rga2_irq()
2734 if (job->hw_status & m_RGA2_STATUS2_RPP_ERROR) in rga2_isr_thread()
2736 if (job->hw_status & m_RGA2_STATUS2_BUS_ERROR) in rga2_isr_thread()

123