Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h90 unsigned char dsize_log2; member
118 unsigned char dsize_log2; member
H A Dam65-cpsw-nuss.c587 unsigned char dsize_log2) in am65_cpsw_nuss_desc_idx() argument
591 return (desc - pool_addr) >> dsize_log2; in am65_cpsw_nuss_desc_idx()
601 tx_chn->dsize_log2); in am65_cpsw_nuss_set_buf_type()
614 tx_chn->dsize_log2); in am65_cpsw_nuss_buf_type()
2343 tx_chn->dsize_log2 = __fls(hdesc_size_out); in am65_cpsw_nuss_init_tx_chns()
2344 WARN_ON(hdesc_size_out != (1 << tx_chn->dsize_log2)); in am65_cpsw_nuss_init_tx_chns()
2456 rx_chn->dsize_log2 = __fls(hdesc_size_out); in am65_cpsw_nuss_init_rx_chns()
2457 WARN_ON(hdesc_size_out != (1 << rx_chn->dsize_log2)); in am65_cpsw_nuss_init_rx_chns()
/linux/drivers/net/ethernet/freescale/
H A Dfec.h526 unsigned char dsize_log2; member
H A Dfec_main.c330 return ((const char *)bdp - (const char *)bd->base) >> bd->dsize_log2; in fec_enet_get_bd_index()
338 (const char *)txq->bd.cur) >> txq->bd.dsize_log2) - 1; in fec_enet_get_free_txdesc_num()
4024 unsigned dsize_log2 = __fls(dsize); in fec_enet_init() local
4027 WARN_ON(dsize != (1 << dsize_log2)); in fec_enet_init()
4076 rxq->bd.dsize_log2 = dsize_log2; in fec_enet_init()
4092 txq->bd.dsize_log2 = dsize_log2; in fec_enet_init()