Home
last modified time | relevance | path

Searched refs:osdep (Results 1 – 9 of 9) sorted by relevance

/dragonfly/sys/dev/netif/ix/
HDixgbe_osdep_pf.c66 retval = bus_space_read_4(sc->osdep.mem_bus_space_tag, in ixgbe_read_reg_pf()
67 sc->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg_pf()
86 retval = bus_space_read_4(sc->osdep.mem_bus_space_tag, in ixgbe_read_reg_pf()
87 sc->osdep.mem_bus_space_handle, IXGBE_MAC_SGMII_BUSY); in ixgbe_read_reg_pf()
96 retval = bus_space_read_4(sc->osdep.mem_bus_space_tag, in ixgbe_read_reg_pf()
97 sc->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg_pf()
106 bus_space_write_4(((struct ix_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_pf()
107 ((struct ix_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg_pf()
114 return bus_space_read_4(((struct ix_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg_array_pf()
115 ((struct ix_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_read_reg_array_pf()
[all …]
HDif_ix.h310 struct ixgbe_osdep osdep; member
HDif_ix.c516 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->mem_res); in ix_attach()
517 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->mem_res); in ix_attach()
519 sc->hw.hw_addr = (uint8_t *)&sc->osdep.mem_bus_space_handle; in ix_attach()
/dragonfly/sys/dev/netif/em/
HDif_em.h265 struct e1000_osdep osdep; member
HDif_em.c540 adapter->dev = adapter->osdep.dev = dev; in em_attach()
590 adapter->osdep.flash_bus_space_tag = in em_attach()
592 adapter->osdep.flash_bus_space_handle = in em_attach()
607 adapter->osdep.flash_bus_space_tag = in em_attach()
608 adapter->osdep.mem_bus_space_tag; in em_attach()
609 adapter->osdep.flash_bus_space_handle = in em_attach()
610 adapter->osdep.mem_bus_space_handle + E1000_FLASH_BASE_ADDR; in em_attach()
2429 adapter->osdep.mem_bus_space_tag = in em_alloc_pci_res()
2431 adapter->osdep.mem_bus_space_handle = in em_alloc_pci_res()
2435 adapter->hw.hw_addr = (uint8_t *)&adapter->osdep.mem_bus_space_handle; in em_alloc_pci_res()
[all …]
/dragonfly/sys/dev/netif/emx/
HDif_emx.h366 struct e1000_osdep osdep; member
HDif_emx.c589 sc->dev = sc->osdep.dev = dev; in emx_attach()
617 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->memory); in emx_attach()
618 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->memory); in emx_attach()
621 sc->hw.hw_addr = (uint8_t *)&sc->osdep.mem_bus_space_handle; in emx_attach()
674 sc->hw.back = &sc->osdep; in emx_attach()
690 sc->osdep.flash_bus_space_tag = rman_get_bustag(sc->flash); in emx_attach()
691 sc->osdep.flash_bus_space_handle = in emx_attach()
706 sc->osdep.flash_bus_space_tag = sc->osdep.mem_bus_space_tag; in emx_attach()
707 sc->osdep.flash_bus_space_handle = in emx_attach()
708 sc->osdep.mem_bus_space_handle + E1000_FLASH_BASE_ADDR; in emx_attach()
/dragonfly/sys/dev/netif/igb/
HDif_igb.h327 struct e1000_osdep osdep; member
HDif_igb.c505 sc->dev = sc->osdep.dev = dev; in igb_attach()
559 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->mem_res); in igb_attach()
560 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->mem_res); in igb_attach()
562 sc->hw.hw_addr = (uint8_t *)&sc->osdep.mem_bus_space_handle; in igb_attach()
566 sc->hw.back = &sc->osdep; in igb_attach()