Home
last modified time | relevance | path

Searched refs:gen2cp (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_core.c408 bool gen2cp = mtu->gen2cp; in mtu3_config_ep() local
429 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep()
465 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep()
665 if (mtu->gen2cp) in mtu3_regs_init()
861 mtu->gen2cp = !!(mtu->hw_version >= MTU3_TRUNK_VERS_1003); in mtu3_hw_init()
Dmtu3_qmu.c41 ((mtu)->gen2cp) ? GPD_RX_BUF_LEN_EL(x_) : GPD_RX_BUF_LEN_OG(x_); \
49 ((mtu)->gen2cp) ? GPD_DATA_LEN_EL(x_) : GPD_DATA_LEN_OG(x_); \
60 ((mtu)->gen2cp) ? GPD_EXT_NGP_EL(x_) : GPD_EXT_NGP_OG(x_); \
66 ((mtu)->gen2cp) ? GPD_EXT_BUF_EL(x_) : GPD_EXT_BUF_OG(x_); \
270 if (mtu->gen2cp) in mtu3_prepare_tx_gpd()
Dmtu3.h359 unsigned gen2cp:1; member
Dmtu3_gadget.c279 (mtu->gen2cp && req->length > GPD_BUF_SIZE_EL)) { in mtu3_gadget_queue()
282 mtu->gen2cp ? GPD_BUF_SIZE_EL : GPD_BUF_SIZE, in mtu3_gadget_queue()