Home
last modified time | relevance | path

Searched refs:dest_epid (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/fjes/
Dfjes_main.c631 int max_epid, my_epid, dest_epid; in fjes_xmit_frame() local
656 dest_epid = 0; in fjes_xmit_frame()
660 dest_epid = eth->h_dest[ETH_ALEN - 1]; in fjes_xmit_frame()
661 max_epid = dest_epid + 1; in fjes_xmit_frame()
666 (dest_epid < hw->max_epid)) { in fjes_xmit_frame()
669 dest_epid = 0; in fjes_xmit_frame()
679 dest_epid = 0; in fjes_xmit_frame()
689 for (; dest_epid < max_epid; dest_epid++) { in fjes_xmit_frame()
690 if (my_epid == dest_epid) in fjes_xmit_frame()
693 pstatus = fjes_hw_get_partner_ep_status(hw, dest_epid); in fjes_xmit_frame()
[all …]
Dfjes_hw.c474 int fjes_hw_register_buff_addr(struct fjes_hw *hw, int dest_epid, in fjes_hw_register_buff_addr() argument
486 if (test_bit(dest_epid, &hw->hw_info.buffer_share_bit)) in fjes_hw_register_buff_addr()
495 req_buf->share_buffer.epid = dest_epid; in fjes_hw_register_buff_addr()
553 set_bit(dest_epid, &hw->hw_info.buffer_share_bit); in fjes_hw_register_buff_addr()
583 int fjes_hw_unregister_buff_addr(struct fjes_hw *hw, int dest_epid) in fjes_hw_unregister_buff_addr() argument
598 if (!test_bit(dest_epid, &hw->hw_info.buffer_share_bit)) in fjes_hw_unregister_buff_addr()
606 req_buf->unshare_buffer.epid = dest_epid; in fjes_hw_unregister_buff_addr()
643 clear_bit(dest_epid, &hw->hw_info.buffer_share_bit); in fjes_hw_unregister_buff_addr()
673 int fjes_hw_raise_interrupt(struct fjes_hw *hw, int dest_epid, in fjes_hw_raise_interrupt() argument
676 u32 ig = mask | dest_epid; in fjes_hw_raise_interrupt()
[all …]