Searched refs:buf_pair (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/fjes/
H A Dfjes_hw.c216 struct ep_share_mem_info *buf_pair; fjes_hw_setup() local
255 buf_pair = &hw->ep_shm_info[epidx]; fjes_hw_setup()
257 result = fjes_hw_alloc_epbuf(&buf_pair->tx); fjes_hw_setup()
261 result = fjes_hw_alloc_epbuf(&buf_pair->rx); fjes_hw_setup()
265 fjes_hw_setup_epbuf(&buf_pair->tx, mac, fjes_hw_setup()
267 fjes_hw_setup_epbuf(&buf_pair->rx, mac, fjes_hw_setup()
463 struct ep_share_mem_info *buf_pair) fjes_hw_register_buff_addr()
481 buf_pair->tx.size, fjes_hw_register_buff_addr()
482 buf_pair->rx.size); fjes_hw_register_buff_addr()
486 req_buf->share_buffer.buffer[idx++] = buf_pair->tx.size; fjes_hw_register_buff_addr()
487 page_count = buf_pair->tx.size / EP_BUFFER_INFO_SIZE; fjes_hw_register_buff_addr()
489 addr = ((u8 *)(buf_pair->tx.buffer)) + fjes_hw_register_buff_addr()
496 req_buf->share_buffer.buffer[idx++] = buf_pair->rx.size; fjes_hw_register_buff_addr()
497 page_count = buf_pair->rx.size / EP_BUFFER_INFO_SIZE; fjes_hw_register_buff_addr()
499 addr = ((u8 *)(buf_pair->rx.buffer)) + fjes_hw_register_buff_addr()
462 fjes_hw_register_buff_addr(struct fjes_hw *hw, int dest_epid, struct ep_share_mem_info *buf_pair) fjes_hw_register_buff_addr() argument
H A Dfjes_main.c331 struct ep_share_mem_info *buf_pair; fjes_setup_resources() local
372 buf_pair = &hw->ep_shm_info[epidx]; fjes_setup_resources()
374 fjes_hw_setup_epbuf(&buf_pair->tx, netdev->dev_addr, fjes_setup_resources()
380 fjes_hw_register_buff_addr(hw, epidx, buf_pair); fjes_setup_resources()
402 struct ep_share_mem_info *buf_pair; fjes_free_resources() local
419 buf_pair = &hw->ep_shm_info[epidx]; fjes_free_resources()
421 fjes_hw_setup_epbuf(&buf_pair->tx, fjes_free_resources()

Completed in 109 milliseconds