Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c2268 struct enetc_bdr_resource *tx_res; in enetc_alloc_tx_resources() local
2271 tx_res = kcalloc(priv->num_tx_rings, sizeof(*tx_res), GFP_KERNEL); in enetc_alloc_tx_resources()
2272 if (!tx_res) in enetc_alloc_tx_resources()
2278 err = enetc_alloc_tx_resource(&tx_res[i], tx_ring->dev, in enetc_alloc_tx_resources()
2284 return tx_res; in enetc_alloc_tx_resources()
2288 enetc_free_tx_resource(&tx_res[i]); in enetc_alloc_tx_resources()
2290 kfree(tx_res); in enetc_alloc_tx_resources()
2295 static void enetc_free_tx_resources(const struct enetc_bdr_resource *tx_res, in enetc_free_tx_resources() argument
2301 enetc_free_tx_resource(&tx_res[i]); in enetc_free_tx_resources()
2303 kfree(tx_res); in enetc_free_tx_resources()
[all …]
H A Denetc.h460 const struct enetc_bdr_resource *tx_res; member
/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) */
/linux/sound/soc/fsl/
H A Dfsl_xcvr.c1542 struct resource *rx_res, *tx_res; in fsl_xcvr_probe() local
1642 tx_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "txfifo"); in fsl_xcvr_probe()
1643 if (!rx_res || !tx_res) in fsl_xcvr_probe()
1648 xcvr->dma_prms_tx.addr = tx_res->start; in fsl_xcvr_probe()