Searched refs:EP0_TX_LEN (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | aspeed_usbtty.c | 83 #define EP0_TX_LEN(x) (((x) & 0x7f) << 8) macro 313 ast_udc_write(EP0_TX_LEN(last), AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_tx() 314 ast_udc_write(EP0_TX_LEN(last) | EP0_TX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_tx()
|
H A D | aspeed_udc.c | 86 #define EP0_TX_LEN(x) (((x) & 0x7f) << 8) macro 187 writel(EP0_TX_LEN(len), reg + AST_VHUB_EP0_CTRL); in ast_udc_ep0_data_tx() 188 writel(EP0_TX_LEN(len) | EP0_TX_BUFF_RDY, in ast_udc_ep0_data_tx() 338 writel(EP0_TX_LEN(tx_len), reg); in aspeed_udc_ep0_queue() 339 writel(EP0_TX_LEN(tx_len) | EP0_TX_BUFF_RDY, reg); in aspeed_udc_ep0_queue()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | aspeed_udc.c | 103 #define EP0_TX_LEN(x) ((x & 0x7f) << 8) macro 605 ast_udc_write(udc, EP0_TX_LEN(tx_len), AST_UDC_EP0_CTRL); in ast_udc_ep0_queue() 606 ast_udc_write(udc, EP0_TX_LEN(tx_len) | EP0_TX_BUFF_RDY, in ast_udc_ep0_queue() 985 ast_udc_write(udc, EP0_TX_LEN(len), AST_UDC_EP0_CTRL); in ast_udc_ep0_data_tx() 986 ast_udc_write(udc, EP0_TX_LEN(len) | EP0_TX_BUFF_RDY, in ast_udc_ep0_data_tx()
|