Searched refs:mac_res (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/axgbe/ |
H A D | if_axgbe.c | 309 struct resource *mac_res[11]; in axgbe_attach() local 322 if (bus_alloc_resources(dev, mac_spec, mac_res)) { in axgbe_attach() 328 sc->prv.xgmac_res = mac_res[0]; in axgbe_attach() 329 sc->prv.xpcs_res = mac_res[1]; in axgbe_attach() 330 sc->prv.rxtx_res = mac_res[2]; in axgbe_attach() 331 sc->prv.sir0_res = mac_res[3]; in axgbe_attach() 332 sc->prv.sir1_res = mac_res[4]; in axgbe_attach() 334 sc->prv.dev_irq_res = mac_res[5]; in axgbe_attach() 337 for (i = 0, j = 6; j < nitems(mac_res) - 1 && in axgbe_attach() 338 mac_res[j + 1] != NULL; i++, j++) { in axgbe_attach() [all …]
|
H A D | if_axgbe_pci.c | 396 struct resource *mac_res[2]; in axgbe_if_attach_pre() local 433 if (bus_alloc_resources(dev, axgbe_pci_mac_spec, mac_res)) { in axgbe_if_attach_pre() 439 sc->pdata.xgmac_res = mac_res[0]; in axgbe_if_attach_pre() 440 sc->pdata.xpcs_res = mac_res[1]; in axgbe_if_attach_pre() 582 bus_release_resources(dev, axgbe_pci_mac_spec, mac_res); in axgbe_if_attach_pre() 1563 struct resource *mac_res[2]; in axgbe_if_detach() local 1565 mac_res[0] = pdata->xgmac_res; in axgbe_if_detach() 1566 mac_res[1] = pdata->xpcs_res; in axgbe_if_detach() 1578 bus_release_resources(iflib_get_dev(ctx), axgbe_pci_mac_spec, mac_res); in axgbe_if_detach()
|
/freebsd/crypto/openssl/crypto/crmf/ |
H A D | crmf_pbm.c | 142 unsigned char *mac_res = 0; in OSSL_CRMF_pbm_new() local 150 if ((mac_res = OPENSSL_malloc(EVP_MAX_MD_SIZE)) == NULL) in OSSL_CRMF_pbm_new() 209 msg, msglen, mac_res, EVP_MAX_MD_SIZE, outlen) == NULL) in OSSL_CRMF_pbm_new() 220 *out = mac_res; in OSSL_CRMF_pbm_new() 224 OPENSSL_free(mac_res); in OSSL_CRMF_pbm_new()
|
/freebsd/sys/dev/al_eth/ |
H A D | al_eth.h | 231 struct resource *mac_res; member
|
H A D | al_eth.c | 314 adapter->mac_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in al_attach() 316 if (adapter->mac_res == NULL) { in al_attach() 322 adapter->mac_base = al_bus_dma_to_va(rman_get_bustag(adapter->mac_res), in al_attach() 323 rman_get_bushandle(adapter->mac_res)); in al_attach() 444 bus_release_resource(dev, SYS_RES_MEMORY, bar_mac, adapter->mac_res); in al_attach() 466 bus_release_resource(dev, SYS_RES_MEMORY, 0, adapter->mac_res); in al_detach()
|
/freebsd/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()
|