Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/eth/
Dlan7x.c387 u32 tx_cmd_a; in lan7x_eth_send() local
390 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in lan7x_eth_send()
398 tx_cmd_a = (u32) (length & TX_CMD_A_LEN_MASK) | TX_CMD_A_FCS; in lan7x_eth_send()
400 cpu_to_le32s(&tx_cmd_a); in lan7x_eth_send()
404 memcpy(msg, &tx_cmd_a, sizeof(tx_cmd_a)); in lan7x_eth_send()
405 memcpy(msg + sizeof(tx_cmd_a), &tx_cmd_b, sizeof(tx_cmd_b)); in lan7x_eth_send()
406 memcpy(msg + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), (void *)packet, in lan7x_eth_send()
411 length + sizeof(tx_cmd_a) + in lan7x_eth_send()
415 (unsigned int)(length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)), in lan7x_eth_send()
Dsmsc95xx.c679 u32 tx_cmd_a; in smsc95xx_send_common() local
682 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in smsc95xx_send_common()
689 tx_cmd_a = (u32)length | TX_CMD_A_FIRST_SEG_ | TX_CMD_A_LAST_SEG_; in smsc95xx_send_common()
691 cpu_to_le32s(&tx_cmd_a); in smsc95xx_send_common()
695 memcpy(msg, &tx_cmd_a, sizeof(tx_cmd_a)); in smsc95xx_send_common()
696 memcpy(msg + sizeof(tx_cmd_a), &tx_cmd_b, sizeof(tx_cmd_b)); in smsc95xx_send_common()
697 memcpy(msg + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), (void *)packet, in smsc95xx_send_common()
702 length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b), in smsc95xx_send_common()
706 (unsigned int)(length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)), in smsc95xx_send_common()