/freebsd/sys/dev/ixl/ |
H A D | i40e_osdep.h | 194 rd32_osdep(struct i40e_osdep *osdep, uint32_t reg) in rd32_osdep() argument 197 KASSERT(reg < osdep->mem_bus_space_size, in rd32_osdep() 199 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in rd32_osdep() 201 return (bus_space_read_4(osdep->mem_bus_space_tag, in rd32_osdep() 202 osdep->mem_bus_space_handle, reg)); in rd32_osdep() 206 wr32_osdep(struct i40e_osdep *osdep, uint32_t reg, uint32_t value) in wr32_osdep() argument 209 KASSERT(reg < osdep->mem_bus_space_size, in wr32_osdep() 211 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in wr32_osdep() 213 bus_space_write_4(osdep->mem_bus_space_tag, in wr32_osdep() 214 osdep->mem_bus_space_handle, reg, value); in wr32_osdep() [all …]
|
H A D | if_ixl.c | 390 pf->osdep.mem_bus_space_tag = in ixl_allocate_pci_resources() 392 pf->osdep.mem_bus_space_handle = in ixl_allocate_pci_resources() 394 pf->osdep.mem_bus_space_size = rman_get_size(pf->pci_mem); in ixl_allocate_pci_resources() 395 pf->osdep.flush_reg = I40E_GLGEN_STAT; in ixl_allocate_pci_resources() 396 pf->osdep.dev = dev; in ixl_allocate_pci_resources() 398 pf->hw.hw_addr = (u8 *) &pf->osdep.mem_bus_space_handle; in ixl_allocate_pci_resources() 399 pf->hw.back = &pf->osdep; in ixl_allocate_pci_resources()
|
H A D | ixl_pf.h | 117 struct i40e_osdep osdep; member
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_osdep.c | 51 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg() 52 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg() 58 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg() 59 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg() 66 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg_array() 67 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_read_reg_array() 74 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_array() 75 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg_array()
|
H A D | ixgbe.h | 353 struct ixgbe_osdep osdep; member
|
H A D | if_ixv.c | 1116 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixv_allocate_pci_resources() 1117 sc->osdep.mem_bus_space_handle = in ixv_allocate_pci_resources() 1119 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in ixv_allocate_pci_resources()
|
H A D | if_ix.c | 2856 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixgbe_allocate_pci_resources() 2857 sc->osdep.mem_bus_space_handle = in ixgbe_allocate_pci_resources() 2860 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in ixgbe_allocate_pci_resources()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_osdep.c | 333 struct iavf_osdep *osdep = (struct iavf_osdep *)hw->back; in iavf_rd32() local 335 KASSERT(reg < osdep->mem_bus_space_size, in iavf_rd32() 337 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in iavf_rd32() 339 return (bus_space_read_4(osdep->mem_bus_space_tag, in iavf_rd32() 340 osdep->mem_bus_space_handle, reg)); in iavf_rd32() 354 struct iavf_osdep *osdep = (struct iavf_osdep *)hw->back; in iavf_wr32() local 356 KASSERT(reg < osdep->mem_bus_space_size, in iavf_wr32() 358 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in iavf_wr32() 360 bus_space_write_4(osdep->mem_bus_space_tag, in iavf_wr32() 361 osdep->mem_bus_space_handle, reg, val); in iavf_wr32() [all …]
|
H A D | iavf_lib.c | 113 sc->osdep.mem_bus_space_tag = in iavf_allocate_pci_resources_common() 115 sc->osdep.mem_bus_space_handle = in iavf_allocate_pci_resources_common() 117 sc->osdep.mem_bus_space_size = rman_get_size(sc->pci_mem); in iavf_allocate_pci_resources_common() 118 sc->osdep.flush_reg = IAVF_VFGEN_RSTAT; in iavf_allocate_pci_resources_common() 119 sc->osdep.dev = dev; in iavf_allocate_pci_resources_common() 121 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in iavf_allocate_pci_resources_common() 122 sc->hw.back = &sc->osdep; in iavf_allocate_pci_resources_common()
|
H A D | iavf_iflib.h | 335 struct iavf_osdep osdep; member
|
H A D | if_iavf_iflib.c | 269 sc->dev = sc->osdep.dev = dev; in iavf_if_attach_pre()
|
/freebsd/lib/libefivar/ |
H A D | FreeBSD-update | 28 efi-osdep.h shims the EDK2 types to FreeBSD's types. It's included by
|
/freebsd/sys/dev/igc/ |
H A D | if_igc.h | 307 struct igc_osdep osdep; member
|
H A D | if_igc.c | 447 sc->ctx = sc->osdep.ctx = ctx; in igc_if_attach_pre() 448 sc->dev = sc->osdep.dev = dev; in igc_if_attach_pre() 1447 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->memory); in igc_allocate_pci_resources() 1448 sc->osdep.mem_bus_space_handle = in igc_allocate_pci_resources() 1450 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in igc_allocate_pci_resources() 1452 sc->hw.back = &sc->osdep; in igc_allocate_pci_resources()
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | 831 sc->ctx = sc->osdep.ctx = ctx; in em_if_attach_pre() 832 sc->dev = sc->osdep.dev = dev; in em_if_attach_pre() 1037 sc->osdep.flash_bus_space_tag = in em_if_attach_pre() 1039 sc->osdep.flash_bus_space_handle = in em_if_attach_pre() 1049 sc->osdep.flash_bus_space_tag = in em_if_attach_pre() 1050 sc->osdep.mem_bus_space_tag; in em_if_attach_pre() 1051 sc->osdep.flash_bus_space_handle = in em_if_attach_pre() 1052 sc->osdep.mem_bus_space_handle in em_if_attach_pre() 2238 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->memory); in em_allocate_pci_resources() 2239 sc->osdep.mem_bus_space_handle = in em_allocate_pci_resources() [all …]
|
H A D | if_em.h | 471 struct e1000_osdep osdep; member
|
/freebsd/contrib/diff/ |
H A D | ChangeLog | 697 intl/ngettext.c, intl/os2compat.c, intl/os2compat.h, intl/osdep.c,
|