Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 25 of 237) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwifi_monitor.c172 wlc_he_su_fill_rtap_data(struct wl_rxsts *sts, uint8 *plcp) in wlc_he_su_fill_rtap_data() argument
177 sts->data1 |= WL_RXS_HEF_SIGA_PPDU_SU; in wlc_he_su_fill_rtap_data()
180 sts->data1 |= WL_RXS_HEF_SIGA_BSS_COLOR; in wlc_he_su_fill_rtap_data()
181 sts->data3 |= HE_PACK_RTAP_FROM_PLCP(plcp, SU, BSS_COLOR); in wlc_he_su_fill_rtap_data()
184 sts->data1 |= WL_RXS_HEF_SIGA_BEAM_CHANGE; in wlc_he_su_fill_rtap_data()
185 sts->data3 |= HE_PACK_RTAP_FROM_PLCP(plcp, SU, BEAM_CHANGE); in wlc_he_su_fill_rtap_data()
188 sts->data1 |= WL_RXS_HEF_SIGA_DL_UL; in wlc_he_su_fill_rtap_data()
189 sts->data3 |= HE_PACK_RTAP_FROM_PLCP(plcp, SU, DL_UL); in wlc_he_su_fill_rtap_data()
192 sts->data1 |= WL_RXS_HEF_SIGA_MCS; in wlc_he_su_fill_rtap_data()
193 sts->data3 |= HE_PACK_RTAP_FROM_PLCP(plcp, SU, MCS); in wlc_he_su_fill_rtap_data()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_cmd_dispr_controller.c51 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_resume_io_ctrl() local
57 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
58 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_resume_io_ctrl()
69 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
70 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_resume_io_ctrl()
91 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_cannot_io_ctrl() local
96 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_cannot_io_ctrl()
97 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_cannot_io_ctrl()
114 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_hw_trx_rst_resume_ctrl() local
119 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_hw_trx_rst_resume_ctrl()
[all …]
H A Dphl_tx.c150 stats->tx_traffic.sts = 0; in phl_reset_tx_stats()
172 phl_tx_traffic_upd(struct rtw_stats *sts) in phl_tx_traffic_upd() argument
176 tp_k = sts->tx_tp_kbits; in phl_tx_traffic_upd()
177 tp_m = sts->tx_tp_kbits >> 10; in phl_tx_traffic_upd()
190 if (sts->tx_traffic.lvl > tx_tfc_lvl) { in phl_tx_traffic_upd()
191 sts->tx_traffic.sts = (TRAFFIC_CHANGED | TRAFFIC_DECREASE); in phl_tx_traffic_upd()
192 sts->tx_traffic.lvl = tx_tfc_lvl; in phl_tx_traffic_upd()
193 } else if (sts->tx_traffic.lvl < tx_tfc_lvl) { in phl_tx_traffic_upd()
194 sts->tx_traffic.sts = (TRAFFIC_CHANGED | TRAFFIC_INCREASE); in phl_tx_traffic_upd()
195 sts->tx_traffic.lvl = tx_tfc_lvl; in phl_tx_traffic_upd()
[all …]
H A Dphl_cmd_ser.c303 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _ser_m1_pause_trx() local
309 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
310 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
316 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
317 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
323 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
325 if (RTW_PHL_STATUS_SUCCESS != sts && RTW_PHL_STATUS_CMD_TIMEOUT != sts) { in _ser_m1_pause_trx()
330 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
337 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
338 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_cmd_dispr_controller.c51 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_resume_io_ctrl() local
57 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
58 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_resume_io_ctrl()
69 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_resume_io_ctrl()
70 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_resume_io_ctrl()
91 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_cannot_io_ctrl() local
96 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_cannot_io_ctrl()
97 if (RTW_PHL_STATUS_SUCCESS != sts) { in _dispr_cannot_io_ctrl()
114 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _dispr_hw_trx_rst_resume_ctrl() local
119 sts = phl_data_ctrler(phl_info, &ctl, msg); in _dispr_hw_trx_rst_resume_ctrl()
[all …]
H A Dphl_tx.c150 stats->tx_traffic.sts = 0; in phl_reset_tx_stats()
172 phl_tx_traffic_upd(struct rtw_stats *sts) in phl_tx_traffic_upd() argument
176 tp_k = sts->tx_tp_kbits; in phl_tx_traffic_upd()
177 tp_m = sts->tx_tp_kbits >> 10; in phl_tx_traffic_upd()
190 if (sts->tx_traffic.lvl > tx_tfc_lvl) { in phl_tx_traffic_upd()
191 sts->tx_traffic.sts = (TRAFFIC_CHANGED | TRAFFIC_DECREASE); in phl_tx_traffic_upd()
192 sts->tx_traffic.lvl = tx_tfc_lvl; in phl_tx_traffic_upd()
193 } else if (sts->tx_traffic.lvl < tx_tfc_lvl) { in phl_tx_traffic_upd()
194 sts->tx_traffic.sts = (TRAFFIC_CHANGED | TRAFFIC_INCREASE); in phl_tx_traffic_upd()
195 sts->tx_traffic.lvl = tx_tfc_lvl; in phl_tx_traffic_upd()
[all …]
H A Dphl_cmd_ser.c303 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in _ser_m1_pause_trx() local
309 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
310 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
316 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
317 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
323 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
325 if (RTW_PHL_STATUS_SUCCESS != sts && RTW_PHL_STATUS_CMD_TIMEOUT != sts) { in _ser_m1_pause_trx()
330 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
337 sts = phl_data_ctrler(phl_info, &ctl, NULL); in _ser_m1_pause_trx()
338 if (RTW_PHL_STATUS_SUCCESS != sts) { in _ser_m1_pause_trx()
[all …]
/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dfsl_sec_mon.c19 u32 sts; in set_sec_mon_state_non_sec() local
24 sts = get_sec_mon_state(); in set_sec_mon_state_non_sec()
26 switch (sts) { in set_sec_mon_state_non_sec()
37 sts = get_sec_mon_state(); in set_sec_mon_state_non_sec()
39 if ((sts & HPSR_SSM_ST_MASK) == in set_sec_mon_state_non_sec()
66 sts = get_sec_mon_state(); in set_sec_mon_state_non_sec()
68 if ((sts & HPSR_SSM_ST_MASK) == in set_sec_mon_state_non_sec()
95 sts = get_sec_mon_state(); in set_sec_mon_state_non_sec()
97 if ((sts & HPSR_SSM_ST_MASK) == in set_sec_mon_state_non_sec()
120 u32 sts; in set_sec_mon_state_soft_fail() local
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/curl/curl/
H A DCVE-2022-30115.patch25 struct stsentry *sts = hsts_entry();
28 if(!sts)
31 - sts->expires = expires;
32 - sts->includeSubDomains = subdomains;
33 - sts->host = strdup(hostname);
34 - if(!sts->host) {
37 free(sts);
46 + sts->host = duphost;
47 + sts->expires = expires;
48 + sts->includeSubDomains = subdomains;
[all …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dapplespi.c607 int sts) in applespi_check_write_status() argument
611 if (sts < 0) { in applespi_check_write_status()
613 sts); in applespi_check_write_status()
660 int sts; in applespi_setup_spi() local
662 sts = applespi_get_spi_settings(applespi); in applespi_setup_spi()
663 if (sts) in applespi_setup_spi()
664 return sts; in applespi_setup_spi()
751 int sts; in applespi_send_cmd_msg() local
860 sts = applespi_async(applespi, &applespi->wr_m, in applespi_send_cmd_msg()
862 if (sts) { in applespi_send_cmd_msg()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/
H A Dtrx_test.c636 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in phl_test_sw_alloc() local
637 FUNCIN_WSTS(sts); in phl_test_sw_alloc()
639 sts = _phl_alloc_tx_req_pool(phl, MAX_TEST_TXREQ_NUM); in phl_test_sw_alloc()
640 if (RTW_PHL_STATUS_SUCCESS != sts) in phl_test_sw_alloc()
642 sts = _phl_alloc_rx_req_pool(phl, MAX_TEST_RXREQ_NUM); in phl_test_sw_alloc()
643 if (RTW_PHL_STATUS_SUCCESS != sts) in phl_test_sw_alloc()
645 sts = _phl_alloc_tx_pkt_pool(phl, MAX_TEST_PAYLOAD_NUM, in phl_test_sw_alloc()
649 FUNCOUT_WSTS(sts); in phl_test_sw_alloc()
651 return sts; in phl_test_sw_alloc()
684 sts = phl_register_handler(phl_info->phl_com, &gtest_rxq_handler); in phl_trx_test_init()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/
H A Dtrx_test.c636 enum rtw_phl_status sts = RTW_PHL_STATUS_FAILURE; in phl_test_sw_alloc() local
637 FUNCIN_WSTS(sts); in phl_test_sw_alloc()
639 sts = _phl_alloc_tx_req_pool(phl, MAX_TEST_TXREQ_NUM); in phl_test_sw_alloc()
640 if (RTW_PHL_STATUS_SUCCESS != sts) in phl_test_sw_alloc()
642 sts = _phl_alloc_rx_req_pool(phl, MAX_TEST_RXREQ_NUM); in phl_test_sw_alloc()
643 if (RTW_PHL_STATUS_SUCCESS != sts) in phl_test_sw_alloc()
645 sts = _phl_alloc_tx_pkt_pool(phl, MAX_TEST_PAYLOAD_NUM, in phl_test_sw_alloc()
649 FUNCOUT_WSTS(sts); in phl_test_sw_alloc()
651 return sts; in phl_test_sw_alloc()
684 sts = phl_register_handler(phl_info->phl_com, &gtest_rxq_handler); in phl_trx_test_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/
H A Dfiq_debugger_arm.c188 struct stacktrace_state *sts = d; in report_trace() local
190 if (sts->depth) { in report_trace()
191 sts->output->printf(sts->output, in report_trace()
195 sts->depth--; in report_trace()
198 sts->output->printf(sts->output, " ...\n"); in report_trace()
200 return sts->depth == 0; in report_trace()
242 struct stacktrace_state sts; in fiq_debugger_dump_stacktrace() local
244 sts.depth = depth; in fiq_debugger_dump_stacktrace()
245 sts.output = output; in fiq_debugger_dump_stacktrace()
262 walk_stackframe(&frame, report_trace, &sts); in fiq_debugger_dump_stacktrace()
H A Dfiq_debugger_arm64.c163 struct stacktrace_state *sts = data; in report_trace() local
165 if (sts->depth) { in report_trace()
166 sts->output->printf(sts->output, "[<%016lx>] %pS:\n", pc, pc); in report_trace()
167 sts->depth--; in report_trace()
170 sts->output->printf(sts->output, " ...\n"); in report_trace()
172 return sts->depth != 0; in report_trace()
178 struct stacktrace_state sts; in fiq_debugger_dump_stacktrace() local
180 sts.depth = depth; in fiq_debugger_dump_stacktrace()
181 sts.output = output; in fiq_debugger_dump_stacktrace()
196 walk_stackframe(current, &frame, report_trace, &sts); in fiq_debugger_dump_stacktrace()
/OK3568_Linux_fs/kernel/drivers/misc/eeprom/
H A Didt_89hpesx.c292 s32 sts; in idt_smb_write_byte() local
306 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte()
308 if (sts != 0) in idt_smb_write_byte()
309 return (int)sts; in idt_smb_write_byte()
324 s32 sts; in idt_smb_read_byte() local
338 sts = idt_smb_safe(read_byte, pdev->client, ccode); in idt_smb_read_byte()
339 if (sts < 0) in idt_smb_read_byte()
340 return (int)sts; in idt_smb_read_byte()
342 seq->data[idx] = (u8)sts; in idt_smb_read_byte()
357 s32 sts; in idt_smb_write_word() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/rcar/
H A Drcar_canfd.c625 u32 sts, ch; in rcar_canfd_reset_controller() local
631 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
632 !(sts & RCANFD_GSTS_GRAMINIT), 2, 500000); in rcar_canfd_reset_controller()
644 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
645 (sts & RCANFD_GSTS_GRSTSTS), 2, 500000); in rcar_canfd_reset_controller()
672 err = readl_poll_timeout((gpriv->base + RCANFD_CSTS(ch)), sts, in rcar_canfd_reset_controller()
673 (sts & RCANFD_CSTS_CRSTSTS), in rcar_canfd_reset_controller()
871 u32 gerfl, sts; in rcar_canfd_global_error() local
884 sts = rcar_canfd_read(priv->base, in rcar_canfd_global_error()
886 if (sts & RCANFD_CFSTS_CFMLT) { in rcar_canfd_global_error()
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-s35390a.c280 char buf[3], sts = 0; in s35390a_rtc_set_alarm() local
292 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm()
297 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &sts, sizeof(sts)); in s35390a_rtc_set_alarm()
302 sts = S35390A_INT2_MODE_ALARM; in s35390a_rtc_set_alarm()
304 sts = S35390A_INT2_MODE_NOINTR; in s35390a_rtc_set_alarm()
307 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm()
336 char buf[3], sts; in s35390a_rtc_read_alarm() local
339 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_read_alarm()
343 if ((sts & S35390A_INT2_MODE_MASK) != S35390A_INT2_MODE_ALARM) { in s35390a_rtc_read_alarm()
393 char sts; in s35390a_rtc_ioctl() local
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dptp_clock_kernel.h138 struct ptp_system_timestamp *sts);
298 static inline void ptp_read_system_prets(struct ptp_system_timestamp *sts) in ptp_read_system_prets() argument
300 if (sts) in ptp_read_system_prets()
301 ktime_get_real_ts64(&sts->pre_ts); in ptp_read_system_prets()
304 static inline void ptp_read_system_postts(struct ptp_system_timestamp *sts) in ptp_read_system_postts() argument
306 if (sts) in ptp_read_system_postts()
307 ktime_get_real_ts64(&sts->post_ts); in ptp_read_system_postts()
/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Dtwl4030.c127 u8 clk, sts, pwr; in twl4030_usb_ulpi_init() local
141 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS); in twl4030_usb_ulpi_init()
142 while (!(sts & PHY_DPLL_CLK) && 0 < timeout) { in twl4030_usb_ulpi_init()
144 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS); in twl4030_usb_ulpi_init()
149 sts = twl4030_usb_read(TWL4030_USB_PHY_CLK_CTRL_STS); in twl4030_usb_ulpi_init()
150 if (!(sts & PHY_DPLL_CLK)) { in twl4030_usb_ulpi_init()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-amd-mp2-pci.c139 enum status_type sts = i2c_common->eventval.r.status; in __amd_mp2_process_event() local
151 if (sts == i2c_readcomplete_event) { in __amd_mp2_process_event()
157 } else if (sts != i2c_readfail_event) { in __amd_mp2_process_event()
159 "invalid i2c status after read (%d)!\n", sts); in __amd_mp2_process_event()
163 if (sts == i2c_writecomplete_event) in __amd_mp2_process_event()
165 else if (sts != i2c_writefail_event) in __amd_mp2_process_event()
167 "invalid i2c status after write (%d)!\n", sts); in __amd_mp2_process_event()
170 if (sts == i2c_busenable_complete) in __amd_mp2_process_event()
172 else if (sts != i2c_busenable_failed) in __amd_mp2_process_event()
175 sts); in __amd_mp2_process_event()
[all …]
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-sbefifo.c97 #define sbefifo_empty(sts) ((sts) & SBEFIFO_STS_EMPTY) argument
98 #define sbefifo_full(sts) ((sts) & SBEFIFO_STS_FULL) argument
99 #define sbefifo_parity_err(sts) ((sts) & SBEFIFO_STS_PARITY_ERR) argument
100 #define sbefifo_populated(sts) (((sts) & SBEFIFO_STS_ECNT_MASK) >> SBEFIFO_STS_ECNT_SHIFT) argument
101 #define sbefifo_vacant(sts) (SBEFIFO_FIFO_DEPTH - sbefifo_populated(sts)) argument
102 #define sbefifo_eot_set(sts) (((sts) & SBEFIFO_STS_EOT_MASK) >> SBEFIFO_STS_EOT_SHIFT) argument
441 u32 addr, sts = 0; in sbefifo_wait() local
451 rc = sbefifo_regr(sbefifo, addr, &sts); in sbefifo_wait()
456 if (!up && sbefifo_parity_err(sts)) { in sbefifo_wait()
460 ready = !(up ? sbefifo_full(sts) : sbefifo_empty(sts)); in sbefifo_wait()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dpnv_php.c533 uint16_t sts; in pnv_php_reset_slot() local
550 pcie_capability_read_word(php_slot->pdev, PCI_EXP_SLTSTA, &sts); in pnv_php_reset_slot()
551 sts &= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC); in pnv_php_reset_slot()
552 pcie_capability_write_word(php_slot->pdev, PCI_EXP_SLTSTA, sts); in pnv_php_reset_slot()
768 u16 sts, lsts; in pnv_php_interrupt() local
774 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &sts); in pnv_php_interrupt()
775 sts &= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC); in pnv_php_interrupt()
776 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts); in pnv_php_interrupt()
780 !!(sts & PCI_EXP_SLTSTA_DLLSC), in pnv_php_interrupt()
781 !!(sts & PCI_EXP_SLTSTA_PDC)); in pnv_php_interrupt()
[all …]
/OK3568_Linux_fs/kernel/drivers/power/reset/
H A Dpiix4-poweroff.c31 u16 sts; in piix4_poweroff() local
35 sts = inw(io_offset + PIIX4_FUNC3IO_PMSTS); in piix4_poweroff()
36 if (!(sts & PIIX4_FUNC3IO_PMSTS_PWRBTN_STS)) in piix4_poweroff()
38 outw(sts, io_offset + PIIX4_FUNC3IO_PMSTS); in piix4_poweroff()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/
H A Dippasync.hpp108 hppStatus sts; in copyHppToMat() local
113 sts = hppiInquireMatrix(src, &type, &width, &height); in copyHppToMat()
115 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat()
127 sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); in copyHppToMat()
129 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/
H A Dippasync.hpp108 hppStatus sts; in copyHppToMat() local
113 sts = hppiInquireMatrix(src, &type, &width, &height); in copyHppToMat()
115 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat()
127 sts = hppiGetMatrixData(accel,src,(hpp32u)(dst.step),dst.data,&newSize); in copyHppToMat()
129 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat()

12345678910