Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_core.c26 u32 num_bits = DIV_ROUND_UP(seg_size, MTU3_EP_FIFO_UNIT); in ep_fifo_alloc()
34 mep->fifo_seg_size = num_bits * MTU3_EP_FIFO_UNIT; in ep_fifo_alloc()
42 mep->fifo_size = num_bits * MTU3_EP_FIFO_UNIT; in ep_fifo_alloc()
43 mep->fifo_addr = fifo->base + MTU3_EP_FIFO_UNIT * start_bit; in ep_fifo_alloc()
55 u32 bits = mep->fifo_size / MTU3_EP_FIFO_UNIT; in ep_fifo_free()
61 start_bit = (addr - fifo->base) / MTU3_EP_FIFO_UNIT; in ep_fifo_free()
512 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
518 rx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
525 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
530 tx_fifo->base + tx_fifo->limit * MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
Dmtu3.h81 #define MTU3_EP_FIFO_UNIT (1 << 9) macro