Searched refs:dsize_log2 (Results 1 – 4 of 4) sorted by relevance
90 unsigned char dsize_log2; member118 unsigned char dsize_log2; member
587 unsigned char dsize_log2) in am65_cpsw_nuss_desc_idx() argument591 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()
526 unsigned char dsize_log2; member
330 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() local4027 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()