Searched refs:mac_res (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/sys/dev/axgbe/ |
| H A D | if_axgbe.c | 312 struct resource *mac_res[11]; in axgbe_attach() local 331 sc->prv.xgmac_res = mac_res[0]; in axgbe_attach() 332 sc->prv.xpcs_res = mac_res[1]; in axgbe_attach() 333 sc->prv.rxtx_res = mac_res[2]; in axgbe_attach() 334 sc->prv.sir0_res = mac_res[3]; in axgbe_attach() 335 sc->prv.sir1_res = mac_res[4]; in axgbe_attach() 337 sc->prv.dev_irq_res = mac_res[5]; in axgbe_attach() 348 sc->prv.an_irq_res = mac_res[j]; in axgbe_attach() 370 sc->prv.xgmac_res = mac_res[0]; in axgbe_attach() 371 sc->prv.xpcs_res = mac_res[1]; in axgbe_attach() [all …]
|
| H A D | if_axgbe_pci.c | 391 struct resource *mac_res[2]; in axgbe_if_attach_pre() local 426 if (bus_alloc_resources(dev, axgbe_pci_mac_spec, mac_res)) in axgbe_if_attach_pre() 429 sc->pdata.xgmac_res = mac_res[0]; in axgbe_if_attach_pre() 430 sc->pdata.xpcs_res = mac_res[1]; in axgbe_if_attach_pre() 1504 struct resource *mac_res[2]; in axgbe_if_detach() local 1506 mac_res[0] = pdata->xgmac_res; in axgbe_if_detach() 1507 mac_res[1] = pdata->xpcs_res; in axgbe_if_detach() 1518 bus_release_resources(iflib_get_dev(ctx), axgbe_pci_mac_spec, mac_res); in axgbe_if_detach()
|
| /freebsd-13.1/sys/dev/al_eth/ |
| H A D | al_eth.h | 233 struct resource *mac_res; member
|
| H A D | al_eth.c | 319 adapter->mac_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in al_attach() 321 if (adapter->mac_res == NULL) { in al_attach() 327 adapter->mac_base = al_bus_dma_to_va(rman_get_bustag(adapter->mac_res), in al_attach() 328 rman_get_bushandle(adapter->mac_res)); in al_attach() 451 bus_release_resource(dev, SYS_RES_MEMORY, bar_mac, adapter->mac_res); in al_attach() 473 bus_release_resource(dev, SYS_RES_MEMORY, 0, adapter->mac_res); in al_detach()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_resource_tracker.c | 54 struct mac_res { struct 1959 struct mac_res *res, *tmp; in mac_find_smac_ix_in_slave() 1976 struct mac_res *res, *tmp; in mac_add_to_slave() 2009 struct mac_res *res, *tmp; in mac_del_from_slave() 2029 struct mac_res *res, *tmp; in rem_slave_macs() 4148 struct mac_res *res, *tmp; in validate_eth_header_mac() 4190 struct mac_res *res, *tmp; in add_eth_header()
|