Searched refs:tx_res (Results 1 – 5 of 5) sorted by relevance
2275 struct enetc_bdr_resource *tx_res; in enetc_alloc_tx_resources() local2278 tx_res = kzalloc_objs(*tx_res, priv->num_tx_rings); in enetc_alloc_tx_resources()2279 if (!tx_res) in enetc_alloc_tx_resources()2285 err = enetc_alloc_tx_resource(&tx_res[i], tx_ring->dev, in enetc_alloc_tx_resources()2291 return tx_res; in enetc_alloc_tx_resources()2295 enetc_free_tx_resource(&tx_res[i]); in enetc_alloc_tx_resources()2297 kfree(tx_res); in enetc_alloc_tx_resources()2302 static void enetc_free_tx_resources(const struct enetc_bdr_resource *tx_res, in enetc_free_tx_resources() argument2308 enetc_free_tx_resource(&tx_res[i]); in enetc_free_tx_resources()2310 kfree(tx_res); in enetc_free_tx_resources()[all …]
458 const struct enetc_bdr_resource *tx_res; member
532 } __packed * tx_res; in mt7921_mcu_parse_tx_resource() local534 tx_res = (struct mt7921_tx_resource *)skb->data; in mt7921_mcu_parse_tx_resource()535 sdio->sched.pse_data_quota = le32_to_cpu(tx_res->pse_data_quota); in mt7921_mcu_parse_tx_resource()536 sdio->pse_mcu_quota_max = le32_to_cpu(tx_res->pse_mcu_quota); in mt7921_mcu_parse_tx_resource()540 sdio->sched.ple_data_quota = le32_to_cpu(tx_res->ple_data_quota); in mt7921_mcu_parse_tx_resource()541 sdio->sched.pse_page_size = le16_to_cpu(tx_res->pse_page_size); in mt7921_mcu_parse_tx_resource()542 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) */
1618 struct resource *rx_res, *tx_res;1718 tx_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "txfifo"); in fsl_xcvr_probe() 1719 if (!rx_res || !tx_res) in fsl_xcvr_probe() 1724 xcvr->dma_prms_tx.addr = tx_res->start; in fsl_xcvr_probe() 1629 struct resource *rx_res, *tx_res; fsl_xcvr_probe() local