Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixl/
H A Di40e_osdep.h194 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 Dif_ixl.c390 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 Dixl_pf.h117 struct i40e_osdep osdep; member
/freebsd/sys/dev/ixgbe/
H A Dixgbe_osdep.c51 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 Dixgbe.h353 struct ixgbe_osdep osdep; member
H A Dif_ixv.c1116 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 Dif_ix.c2856 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 Diavf_osdep.c333 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 Diavf_lib.c113 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 Diavf_iflib.h335 struct iavf_osdep osdep; member
H A Dif_iavf_iflib.c269 sc->dev = sc->osdep.dev = dev; in iavf_if_attach_pre()
/freebsd/lib/libefivar/
H A DFreeBSD-update28 efi-osdep.h shims the EDK2 types to FreeBSD's types. It's included by
/freebsd/sys/dev/igc/
H A Dif_igc.h307 struct igc_osdep osdep; member
H A Dif_igc.c447 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 Dif_em.c831 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 Dif_em.h471 struct e1000_osdep osdep; member
/freebsd/contrib/diff/
H A DChangeLog697 intl/ngettext.c, intl/os2compat.c, intl/os2compat.h, intl/osdep.c,