Home
last modified time | relevance | path

Searched refs:tx_cmd_b (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/usb/eth/
H A Dlan7x.c388 u32 tx_cmd_b; in lan7x_eth_send() local
390 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in lan7x_eth_send()
399 tx_cmd_b = 0; in lan7x_eth_send()
401 cpu_to_le32s(&tx_cmd_b); 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()
412 sizeof(tx_cmd_b), in lan7x_eth_send()
415 (unsigned int)(length + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)), in lan7x_eth_send()
H A Dsmsc95xx.c680 u32 tx_cmd_b; in smsc95xx_send_common() local
682 PKTSIZE + sizeof(tx_cmd_a) + sizeof(tx_cmd_b)); in smsc95xx_send_common()
690 tx_cmd_b = (u32)length; in smsc95xx_send_common()
692 cpu_to_le32s(&tx_cmd_b); 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()
/openbmc/linux/drivers/net/usb/
H A Dsmsc95xx.c1937 u32 tx_cmd_a, tx_cmd_b; in smsc95xx_tx_fixup() local
1952 tx_cmd_b = (u32)skb->len; in smsc95xx_tx_fixup()
1953 tx_cmd_a = tx_cmd_b | TX_CMD_A_FIRST_SEG_ | TX_CMD_A_LAST_SEG_; in smsc95xx_tx_fixup()
1972 tx_cmd_b += 4; in smsc95xx_tx_fixup()
1973 tx_cmd_b |= TX_CMD_B_CSUM_ENABLE; in smsc95xx_tx_fixup()
1979 put_unaligned_le32(tx_cmd_b, ptr+4); in smsc95xx_tx_fixup()
H A Dsmsc75xx.c2274 u32 tx_cmd_a, tx_cmd_b; in smsc75xx_tx_fixup() local
2289 tx_cmd_b = (mss << TX_CMD_B_MSS_SHIFT) & TX_CMD_B_MSS; in smsc75xx_tx_fixup()
2293 tx_cmd_b = 0; in smsc75xx_tx_fixup()
2298 put_unaligned_le32(tx_cmd_b, ptr + 4); in smsc75xx_tx_fixup()
H A Dlan78xx.c3792 u32 tx_cmd_b; in lan78xx_fill_tx_cmd_words() local
3799 tx_cmd_b = 0; in lan78xx_fill_tx_cmd_words()
3803 tx_cmd_b = (mss << TX_CMD_B_MSS_SHIFT_) & TX_CMD_B_MSS_MASK_; in lan78xx_fill_tx_cmd_words()
3810 tx_cmd_b |= skb_vlan_tag_get(skb) & TX_CMD_B_VTAG_MASK_; in lan78xx_fill_tx_cmd_words()
3814 put_unaligned_le32(tx_cmd_b, buffer + 4); in lan78xx_fill_tx_cmd_words()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmsc911x.c1791 unsigned int tx_cmd_b; in smsc911x_hard_start_xmit() local
1807 tx_cmd_b = ((unsigned int)skb->len) << 16; in smsc911x_hard_start_xmit()
1808 tx_cmd_b |= (unsigned int)skb->len; in smsc911x_hard_start_xmit()
1811 smsc911x_reg_write(pdata, TX_DATA_FIFO, tx_cmd_b); in smsc911x_hard_start_xmit()