Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/pfe_eth/
Dpfe_driver.c33 struct hif_header_s *hif_header; in pfe_recv() local
43 hif_header = (struct hif_header_s *)DDR_PFE_TO_VIRT(readl(&bd->data)); in pfe_recv()
48 hif_header, len, hif_header->port_no, readl(&bd->status)); in pfe_recv()
52 unsigned char *p = (unsigned char *)hif_header; in pfe_recv()
63 *pkt_ptr = (uchar *)(hif_header + 1); in pfe_recv()
64 *phy_port = hif_header->port_no; in pfe_recv()
128 struct hif_header_s hif_header; in pfe_send() local
149 memset(&hif_header, 0, sizeof(struct hif_header_s)); in pfe_send()
150 hif_header.port_no = phy_port; in pfe_send()
152 memcpy(tx_buf_va, (u8 *)&hif_header, sizeof(struct hif_header_s)); in pfe_send()