Home
last modified time | relevance | path

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

/linux-5.19.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()
551 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
557 rx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
564 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
569 tx_fifo->base + tx_fifo->limit * MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
Dmtu3.h83 #define MTU3_EP_FIFO_UNIT (1 << 9) macro