Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dethoc.c197 struct ethoc_bd { struct
218 struct ethoc_bd *bd) in ethoc_read_bd() argument
220 size_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); in ethoc_read_bd()
226 const struct ethoc_bd *bd) in ethoc_write_bd()
228 size_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); in ethoc_write_bd()
262 struct ethoc_bd bd; in ethoc_init_ring()
360 static int ethoc_update_rx_stats(struct ethoc_bd *bd) in ethoc_update_rx_stats()
397 struct ethoc_bd bd; in ethoc_rx_common()
437 static int ethoc_update_tx_stats(struct ethoc_bd *bd) in ethoc_update_tx_stats()
457 struct ethoc_bd bd; in ethoc_tx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/
H A Dethoc.c232 struct ethoc_bd { struct
254 struct ethoc_bd *bd) in ethoc_read_bd() argument
256 loff_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); in ethoc_read_bd()
262 const struct ethoc_bd *bd) in ethoc_write_bd()
264 loff_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); in ethoc_write_bd()
304 struct ethoc_bd bd; in ethoc_init_ring()
374 struct ethoc_bd *bd) in ethoc_update_rx_stats()
427 struct ethoc_bd bd; in ethoc_rx()
480 static void ethoc_update_tx_stats(struct ethoc *dev, struct ethoc_bd *bd) in ethoc_update_tx_stats()
516 struct ethoc_bd bd; in ethoc_tx()
[all …]