Searched refs:tx_res (Results 1 – 4 of 4) sorted by relevance
2207 tx_res = kcalloc(priv->num_tx_rings, sizeof(*tx_res), GFP_KERNEL); in enetc_alloc_tx_resources()2208 if (!tx_res) in enetc_alloc_tx_resources()2220 return tx_res; in enetc_alloc_tx_resources()2226 kfree(tx_res); in enetc_alloc_tx_resources()2239 kfree(tx_res); in enetc_free_tx_resources()2337 if (priv->tx_res) in enetc_assign_tx_resources()2345 priv->tx_res = res; in enetc_assign_tx_resources()2912 if (IS_ERR(tx_res)) { in enetc_open()2913 err = PTR_ERR(tx_res); in enetc_open()3022 if (IS_ERR(tx_res)) { in enetc_reconfigure()[all …]
445 const struct enetc_bdr_resource *tx_res; member
512 } __packed * tx_res; in mt7921_mcu_parse_tx_resource() local514 tx_res = (struct mt7921_tx_resource *)skb->data; in mt7921_mcu_parse_tx_resource()515 sdio->sched.pse_data_quota = le32_to_cpu(tx_res->pse_data_quota); in mt7921_mcu_parse_tx_resource()516 sdio->pse_mcu_quota_max = le32_to_cpu(tx_res->pse_mcu_quota); in mt7921_mcu_parse_tx_resource()520 sdio->sched.ple_data_quota = le32_to_cpu(tx_res->ple_data_quota); in mt7921_mcu_parse_tx_resource()521 sdio->sched.pse_page_size = le16_to_cpu(tx_res->pse_page_size); in mt7921_mcu_parse_tx_resource()522 sdio->sched.deficit = tx_res->pp_padding; in mt7921_mcu_parse_tx_resource()
162 unsigned int tx_res :8 ; /* reserved (bit 16..23) */ member176 unsigned int tx_res :8 ; /* reserved (bit 16..23) */
Completed in 25 milliseconds