Searched refs:tx_cmd_b (Results 1 – 2 of 2) sorted by relevance
/u-boot/drivers/usb/eth/ |
A D | lan7x.c | 390 u32 tx_cmd_b; in lan7x_eth_send() local 392 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in lan7x_eth_send() 401 tx_cmd_b = 0; in lan7x_eth_send() 403 cpu_to_le32s(&tx_cmd_b); in lan7x_eth_send() 407 memcpy(msg + sizeof(tx_cmd_a), &tx_cmd_b, sizeof(tx_cmd_b)); in lan7x_eth_send() 408 memcpy(msg + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), (void *)packet, in lan7x_eth_send() 414 sizeof(tx_cmd_b), in lan7x_eth_send() 417 (unsigned int)(length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)), in lan7x_eth_send()
|
A D | smsc95xx.c | 683 u32 tx_cmd_b; in smsc95xx_send_common() local 685 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in smsc95xx_send_common() 693 tx_cmd_b = (u32)length; in smsc95xx_send_common() 695 cpu_to_le32s(&tx_cmd_b); in smsc95xx_send_common() 699 memcpy(msg + sizeof(tx_cmd_a), &tx_cmd_b, sizeof(tx_cmd_b)); in smsc95xx_send_common() 700 memcpy(msg + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), (void *)packet, in smsc95xx_send_common() 705 length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), in smsc95xx_send_common() 709 (unsigned int)(length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)), in smsc95xx_send_common()
|
Completed in 6 milliseconds