Home
last modified time | relevance | path

Searched refs:tx_cnt (Results 1 – 25 of 99) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/media/cec/platform/stm32/
H A Dstm32-cec.c77 int tx_cnt; member
112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done()
114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done()
117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done()
222 cec->tx_cnt = 0; in stm32_cec_adap_transmit()
236 cec->tx_cnt++; in stm32_cec_adap_transmit()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/test/mp/
H A Dhal_test_mp_tx.c46 PHL_INFO("%s: tx count: %d\n", __FUNCTION__, arg->tx_cnt); in rtw_hal_mp_tx_pmac_packet()
53 arg->tx_cnt, in rtw_hal_mp_tx_pmac_packet()
90 PHL_INFO("%s: tx count: %d\n", __FUNCTION__, arg->tx_cnt); in rtw_hal_mp_tx_pmac_fw_trigger()
96 arg->tx_cnt, in rtw_hal_mp_tx_pmac_fw_trigger()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/test/mp/
H A Dhal_test_mp_tx.c46 PHL_INFO("%s: tx count: %d\n", __FUNCTION__, arg->tx_cnt); in rtw_hal_mp_tx_pmac_packet()
53 arg->tx_cnt, in rtw_hal_mp_tx_pmac_packet()
90 PHL_INFO("%s: tx count: %d\n", __FUNCTION__, arg->tx_cnt); in rtw_hal_mp_tx_pmac_fw_trigger()
96 arg->tx_cnt, in rtw_hal_mp_tx_pmac_fw_trigger()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c26 u32 tx_cnt = 0; in sun4i_ss_opti_poll() local
101 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_opti_poll()
113 todo = min(tx_cnt, oleft); in sun4i_ss_opti_poll()
180 u32 tx_cnt = 0; in sun4i_ss_cipher_poll() local
309 tx_cnt = SS_TXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
311 if (!tx_cnt) in sun4i_ss_cipher_poll()
324 todo = min(tx_cnt, oleft / 4); in sun4i_ss_cipher_poll()
340 readsl(ss->base + SS_TXFIFO, ss->bufo, tx_cnt); in sun4i_ss_cipher_poll()
341 obl = tx_cnt * 4; in sun4i_ss_cipher_poll()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Drk_scr.c256 int remainder = scr->tx_expected - scr->tx_cnt; in rk_scr_write_bytes()
263 scr_reg->FIFODATA = scr->tx_buf[scr->tx_cnt++]; in rk_scr_write_bytes()
297 if (scr->tx_cnt == scr->tx_expected) { in rk_scr_irqhandler()
621 scr->tx_cnt = 0; in rk_scr_write()
626 while ((scr->tx_cnt < scr->tx_expected) && in rk_scr_write()
629 scr_reg->FIFODATA = scr->tx_buf[scr->tx_cnt++]; in rk_scr_write()
632 if (scr->tx_cnt < scr->tx_expected) { in rk_scr_write()
677 scr->tx_cnt = 0; in rk_scr_transfer()
692 while ((scr->tx_cnt < scr->tx_expected) && in rk_scr_transfer()
694 scr_reg->FIFODATA = scr->tx_buf[scr->tx_cnt++]; in rk_scr_transfer()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_pmac_tx_setting.c413 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
479 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
482 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
485 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
492 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
494 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c414 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
480 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
483 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
486 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
493 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
495 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_pmac_tx_setting.c413 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
479 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
482 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
485 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
492 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
494 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/input/serio/
H A Dps2-gpio.c57 unsigned char tx_cnt; member
234 cnt = drvdata->tx_cnt; in ps2_gpio_irq_tx()
310 drvdata->tx_cnt = cnt; in ps2_gpio_irq_tx()
406 drvdata->tx_cnt = 1; in ps2_gpio_probe()
/OK3568_Linux_fs/kernel/drivers/rapidio/
H A Drio_cm.c154 int tx_cnt; member
644 cm->mport->id, slot, cm->tx_cnt); in rio_txcq_handler()
652 while (cm->tx_cnt && ((ack_slot != slot) || in rio_txcq_handler()
653 (cm->tx_cnt == RIOCM_TX_RING_SIZE))) { in rio_txcq_handler()
658 cm->tx_cnt--; in rio_txcq_handler()
661 if (cm->tx_cnt < 0 || cm->tx_cnt > RIOCM_TX_RING_SIZE) in rio_txcq_handler()
662 riocm_error("tx_cnt %d out of sync", cm->tx_cnt); in rio_txcq_handler()
664 WARN_ON((cm->tx_cnt < 0) || (cm->tx_cnt > RIOCM_TX_RING_SIZE)); in rio_txcq_handler()
671 if (!list_empty(&cm->tx_reqs) && (cm->tx_cnt < RIOCM_TX_RING_SIZE)) { in rio_txcq_handler()
683 ++cm->tx_cnt; in rio_txcq_handler()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c483 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
553 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
556 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
568 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c483 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
554 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
557 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
560 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
567 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
569 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c483 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
553 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
556 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
568 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c483 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
553 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
556 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
568 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c484 u32 tx_cnt = 0x0; in phydm_pmac_tx_dbg() local
554 tx_cnt = odm_get_bb_reg(dm, R_0x2de4, in phydm_pmac_tx_dbg()
557 tx_cnt = odm_get_bb_reg(dm, R_0x2de0, in phydm_pmac_tx_dbg()
560 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
567 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
569 "polling time out(1s), tx_cnt = %d\n", tx_cnt); in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/
H A Drionet.c57 int tx_cnt; member
156 if (++rnet->tx_cnt == RIONET_TX_RING_SIZE) in rionet_queue_tx_msg()
184 if ((rnet->tx_cnt + add_num) > RIONET_TX_RING_SIZE) { in rionet_start_xmit()
294 while (rnet->tx_cnt && (rnet->ack_slot != slot)) { in rionet_outb_msg_event()
300 rnet->tx_cnt--; in rionet_outb_msg_event()
303 if (rnet->tx_cnt < RIONET_TX_RING_SIZE) in rionet_outb_msg_event()
348 rnet->tx_cnt = 0; in rionet_open()
/OK3568_Linux_fs/kernel/drivers/media/radio/wl128x/
H A Dfmdrv_common.c302 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
317 atomic_set(&fmdev->tx_cnt, 1); in recv_tasklet()
326 if (num_fm_hci_cmds && atomic_read(&fmdev->tx_cnt)) in recv_tasklet()
341 if (!atomic_read(&fmdev->tx_cnt)) in send_tasklet()
347 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
355 atomic_dec(&fmdev->tx_cnt); in send_tasklet()
369 atomic_set(&fmdev->tx_cnt, 1); in send_tasklet()
1549 atomic_set(&fmdev->tx_cnt, 1); in fmc_prepare()
H A Dfmdrv.h208 atomic_t tx_cnt; /* Number of packets can send at a time */ member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_api_bb.c783 u8 is_cck, u16 tx_cnt ,u16 period, u16 tx_time, in rtw_hal_bb_set_pmac_packet_tx() argument
792 __FUNCTION__, tx_cnt, period, tx_time); in rtw_hal_bb_set_pmac_packet_tx()
797 tx_info.tx_cnt = tx_cnt; in rtw_hal_bb_set_pmac_packet_tx()
807 u8 is_cck, u16 tx_cnt, u8 tx_duty, in rtw_hal_bb_set_pmac_fw_trigger_tx() argument
815 PHL_INFO("%s: tx_cnt = %d\n", __FUNCTION__, tx_cnt); in rtw_hal_bb_set_pmac_fw_trigger_tx()
821 tx_info.tx_cnt = tx_cnt; in rtw_hal_bb_set_pmac_fw_trigger_tx()
1958 u8 is_cck, u16 tx_cnt ,u16 period, u16 tx_time, in rtw_hal_bb_set_pmac_packet_tx() argument
1966 u8 is_cck, u16 tx_cnt, u8 tx_duty, in rtw_hal_bb_set_pmac_fw_trigger_tx() argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_api_bb.c783 u8 is_cck, u16 tx_cnt ,u16 period, u16 tx_time, in rtw_hal_bb_set_pmac_packet_tx() argument
792 __FUNCTION__, tx_cnt, period, tx_time); in rtw_hal_bb_set_pmac_packet_tx()
797 tx_info.tx_cnt = tx_cnt; in rtw_hal_bb_set_pmac_packet_tx()
807 u8 is_cck, u16 tx_cnt, u8 tx_duty, in rtw_hal_bb_set_pmac_fw_trigger_tx() argument
815 PHL_INFO("%s: tx_cnt = %d\n", __FUNCTION__, tx_cnt); in rtw_hal_bb_set_pmac_fw_trigger_tx()
821 tx_info.tx_cnt = tx_cnt; in rtw_hal_bb_set_pmac_fw_trigger_tx()
1957 u8 is_cck, u16 tx_cnt ,u16 period, u16 tx_time, in rtw_hal_bb_set_pmac_packet_tx() argument
1965 u8 is_cck, u16 tx_cnt, u8 tx_duty, in rtw_hal_bb_set_pmac_fw_trigger_tx() argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_pmac_setting_ex.h40 u16 tx_cnt; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_pmac_setting_ex.h40 u16 tx_cnt; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c335 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_enable_eee_mode() local
339 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_enable_eee_mode()
827 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_mac_flow_ctrl() local
830 priv->pause, tx_cnt); in stmmac_mac_flow_ctrl()
840 int tx_cnt = priv->plat->tx_queues_to_use; in stmmac_validate() local
914 if (tx_cnt > 1) { in stmmac_validate()
1203 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_display_tx_rings() local
1209 for (queue = 0; queue < tx_cnt; queue++) { in stmmac_display_tx_rings()
2718 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_hw_setup() local
2807 for (chan = 0; chan < tx_cnt; chan++) { in stmmac_hw_setup()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/
H A Dtrx_test.c913 u32 tx_cnt = 0; in phl_tx_ring_test() local
917 for (tx_cnt = 0; tx_cnt < test_param->tx_req_num; tx_cnt++) { in phl_tx_ring_test()
952 PHL_INFO("add new tx request (%d) to phl ring fail\n", tx_cnt); in phl_tx_ring_test()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/
H A Dtrx_test.c913 u32 tx_cnt = 0; in phl_tx_ring_test() local
917 for (tx_cnt = 0; tx_cnt < test_param->tx_req_num; tx_cnt++) { in phl_tx_ring_test()
952 PHL_INFO("add new tx request (%d) to phl ring fail\n", tx_cnt); in phl_tx_ring_test()

1234