Home
last modified time | relevance | path

Searched refs:cmd_sts (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dmvgbe.c391 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring()
529 u32 cmd_sts; in mvgbe_send() local
544 p_txdesc->cmd_sts = MVGBE_ZERO_PADDING | MVGBE_GEN_CRC; in mvgbe_send()
545 p_txdesc->cmd_sts |= MVGBE_TX_FIRST_DESC | MVGBE_TX_LAST_DESC; in mvgbe_send()
546 p_txdesc->cmd_sts |= MVGBE_BUFFER_OWNED_BY_DMA; in mvgbe_send()
547 p_txdesc->cmd_sts |= MVGBE_TX_EN_INTERRUPT; in mvgbe_send()
564 cmd_sts = readl(&p_txdesc->cmd_sts); in mvgbe_send()
565 while (cmd_sts & MVGBE_BUFFER_OWNED_BY_DMA) { in mvgbe_send()
567 if ((cmd_sts & (MVGBE_ERROR_SUMMARY | MVGBE_TX_LAST_FRAME)) == in mvgbe_send()
569 cmd_sts & (MVGBE_UR_ERROR | MVGBE_RL_ERROR)) { in mvgbe_send()
[all …]
H A Darmada100_fec.c408 p_rx_desc->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in armdfec_init_rx_desc_ring()
553 u32 cmd_sts, temp; in armdfec_send() local
566 p_txdesc->cmd_sts = TX_ZERO_PADDING | TX_GEN_CRC; in armdfec_send()
567 p_txdesc->cmd_sts |= TX_FIRST_DESC | TX_LAST_DESC; in armdfec_send()
568 p_txdesc->cmd_sts |= BUF_OWNED_BY_DMA; in armdfec_send()
569 p_txdesc->cmd_sts |= TX_EN_INT; in armdfec_send()
581 cmd_sts = readl(&p_txdesc->cmd_sts); in armdfec_send()
582 while (cmd_sts & BUF_OWNED_BY_DMA) { in armdfec_send()
584 if ((cmd_sts & (TX_ERROR | TX_LAST_DESC)) == in armdfec_send()
589 cmd_sts = readl(&p_txdesc->cmd_sts); in armdfec_send()
[all …]
H A Darmada100_fec.h136 u32 cmd_sts; /* Command/status field */ member
144 u32 cmd_sts; /* Descriptor command status */ member
H A Dmvgbe.h472 u32 cmd_sts; /* Descriptor command status */ member
480 u32 cmd_sts; /* Descriptor command status */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c192 u32 cmd_sts; /* Descriptor command status */ member
200 u32 cmd_sts; /* Command/status field */ member
206 u32 cmd_sts; /* Descriptor command status */ member
214 u32 cmd_sts; /* Command/status field */ member
514 unsigned int cmd_sts; in rxq_process() local
520 cmd_sts = rx_desc->cmd_sts; in rxq_process()
521 if (cmd_sts & BUFFER_OWNED_BY_DMA) in rxq_process()
557 if ((cmd_sts & (RX_FIRST_DESC | RX_LAST_DESC | ERROR_SUMMARY)) in rxq_process()
567 if (cmd_sts & LAYER_4_CHECKSUM_OK) in rxq_process()
578 if ((cmd_sts & (RX_FIRST_DESC | RX_LAST_DESC)) != in rxq_process()
[all …]
H A Dpxa168_eth.c176 u32 cmd_sts; /* Descriptor command status */ member
184 u32 cmd_sts; /* Command/status field */ member
332 p_used_rx_desc->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in rxq_refill()
700 u32 cmd_sts; in txq_reclaim() local
713 cmd_sts = desc->cmd_sts; in txq_reclaim()
714 if (!force && (cmd_sts & BUF_OWNED_BY_DMA)) { in txq_reclaim()
730 if (cmd_sts & TX_ERROR) { in txq_reclaim()
774 unsigned int cmd_sts; in rxq_process() local
782 cmd_sts = rx_desc->cmd_sts; in rxq_process()
784 if (cmd_sts & (BUF_OWNED_BY_DMA)) in rxq_process()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_sound_cmd.c168 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_set_info()
174 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_set_info()
180 cmdbuf->cmd_sts = MDL_RET_SUCCESS; in _phl_snd_cmd_module_set_info()
248 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_msg_msg_hdlr_post()
254 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_msg_msg_hdlr_post()
257 cmdbuf->cmd_sts = MDL_RET_SUCCESS; in _phl_snd_cmd_module_msg_msg_hdlr_post()
410 if (MDL_RET_SUCCESS == cmdbuf->cmd_sts) { in _phl_snd_cmd_post_set_aid()
H A Dphl_sound_cmd.h34 enum phl_mdl_ret_code cmd_sts; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_sound_cmd.c168 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_set_info()
174 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_set_info()
180 cmdbuf->cmd_sts = MDL_RET_SUCCESS; in _phl_snd_cmd_module_set_info()
248 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_msg_msg_hdlr_post()
254 cmdbuf->cmd_sts = MDL_RET_FAIL; in _phl_snd_cmd_module_msg_msg_hdlr_post()
257 cmdbuf->cmd_sts = MDL_RET_SUCCESS; in _phl_snd_cmd_module_msg_msg_hdlr_post()
410 if (MDL_RET_SUCCESS == cmdbuf->cmd_sts) { in _phl_snd_cmd_post_set_aid()
H A Dphl_sound_cmd.h34 enum phl_mdl_ret_code cmd_sts; member