Home
last modified time | relevance | path

Searched refs:mac_res (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/axgbe/
H A Dif_axgbe.c309 struct resource *mac_res[11]; in axgbe_attach() local
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()
345 sc->prv.an_irq_res = mac_res[j]; in axgbe_attach()
367 sc->prv.xgmac_res = mac_res[0]; in axgbe_attach()
368 sc->prv.xpcs_res = mac_res[1]; in axgbe_attach()
[all …]
H A Dif_axgbe_pci.c395 struct resource *mac_res[2]; in axgbe_if_attach_pre() local
432 if (bus_alloc_resources(dev, axgbe_pci_mac_spec, mac_res)) { in axgbe_if_attach_pre()
438 sc->pdata.xgmac_res = mac_res[0]; in axgbe_if_attach_pre()
439 sc->pdata.xpcs_res = mac_res[1]; in axgbe_if_attach_pre()
588 bus_release_resources(dev, axgbe_pci_mac_spec, mac_res); in axgbe_if_attach_pre()
1580 struct resource *mac_res[2]; in axgbe_if_detach() local
1582 mac_res[0] = pdata->xgmac_res; in axgbe_if_detach()
1583 mac_res[1] = pdata->xpcs_res; in axgbe_if_detach()
1595 bus_release_resources(iflib_get_dev(ctx), axgbe_pci_mac_spec, mac_res); in axgbe_if_detach()
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_pbm.c142 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 Dal_eth.h231 struct resource *mac_res; member
H A Dal_eth.c314 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 Dmlx4_resource_tracker.c54 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()