Home
last modified time | relevance | path

Searched refs:tx_res (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1843 struct enetc_bdr_resource *tx_res; in enetc_alloc_tx_resources() local
1846 tx_res = kcalloc(priv->num_tx_rings, sizeof(*tx_res), GFP_KERNEL); in enetc_alloc_tx_resources()
1847 if (!tx_res) in enetc_alloc_tx_resources()
1853 err = enetc_alloc_tx_resource(&tx_res[i], tx_ring->dev, in enetc_alloc_tx_resources()
1859 return tx_res; in enetc_alloc_tx_resources()
1863 enetc_free_tx_resource(&tx_res[i]); in enetc_alloc_tx_resources()
1865 kfree(tx_res); in enetc_alloc_tx_resources()
1870 static void enetc_free_tx_resources(const struct enetc_bdr_resource *tx_res, in enetc_free_tx_resources() argument
1876 enetc_free_tx_resource(&tx_res[i]); in enetc_free_tx_resources()
1878 kfree(tx_res); in enetc_free_tx_resources()
[all …]
H A Denetc.h370 const struct enetc_bdr_resource *tx_res; member
/openbmc/linux/drivers/net/fddi/skfp/h/
H A Dsupern_2.h162 unsigned int tx_res :8 ; /* reserved (bit 16..23) */ member
176 unsigned int tx_res :8 ; /* reserved (bit 16..23) */
/openbmc/linux/sound/soc/fsl/
H A Dfsl_xcvr.c1255 struct resource *rx_res, *tx_res; in fsl_xcvr_probe() local
1324 tx_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "txfifo"); in fsl_xcvr_probe()
1325 if (!rx_res || !tx_res) { in fsl_xcvr_probe()
1332 xcvr->dma_prms_tx.addr = tx_res->start; in fsl_xcvr_probe()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c1946 } __packed * tx_res; in mt76_connac_mcu_parse_tx_resource() local
1948 tx_res = (struct mt76_connac_tx_resource *)skb->data; in mt76_connac_mcu_parse_tx_resource()
1949 sdio->sched.pse_data_quota = le32_to_cpu(tx_res->pse_data_quota); in mt76_connac_mcu_parse_tx_resource()
1950 sdio->sched.pse_mcu_quota = le32_to_cpu(tx_res->pse_mcu_quota); in mt76_connac_mcu_parse_tx_resource()
1951 sdio->sched.ple_data_quota = le32_to_cpu(tx_res->ple_data_quota); in mt76_connac_mcu_parse_tx_resource()
1952 sdio->sched.pse_page_size = le16_to_cpu(tx_res->pse_page_size); in mt76_connac_mcu_parse_tx_resource()
1953 sdio->sched.deficit = tx_res->pp_padding; in mt76_connac_mcu_parse_tx_resource()