Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/ixgbe/
Dixgbe_osdep.c52 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg()
53 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg()
59 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg()
60 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg()
67 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg_array()
68 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_read_reg_array()
75 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_array()
76 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg_array()
Dixgbe.h354 struct ixgbe_osdep osdep; member
Dif_ixv.c1120 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixv_allocate_pci_resources()
1121 sc->osdep.mem_bus_space_handle = in ixv_allocate_pci_resources()
1123 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in ixv_allocate_pci_resources()
Dif_ix.c2708 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixgbe_allocate_pci_resources()
2709 sc->osdep.mem_bus_space_handle = in ixgbe_allocate_pci_resources()
2712 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in ixgbe_allocate_pci_resources()
/freebsd-12-stable/sys/dev/iavf/
Diavf_osdep.c334 struct iavf_osdep *osdep = (struct iavf_osdep *)hw->back; in iavf_rd32() local
336 KASSERT(reg < osdep->mem_bus_space_size, in iavf_rd32()
338 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in iavf_rd32()
340 return (bus_space_read_4(osdep->mem_bus_space_tag, in iavf_rd32()
341 osdep->mem_bus_space_handle, reg)); in iavf_rd32()
355 struct iavf_osdep *osdep = (struct iavf_osdep *)hw->back; in iavf_wr32() local
357 KASSERT(reg < osdep->mem_bus_space_size, in iavf_wr32()
359 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in iavf_wr32()
361 bus_space_write_4(osdep->mem_bus_space_tag, in iavf_wr32()
362 osdep->mem_bus_space_handle, reg, val); in iavf_wr32()
[all …]
Diavf_lib.c149 sc->osdep.mem_bus_space_tag = in iavf_allocate_pci_resources_common()
151 sc->osdep.mem_bus_space_handle = in iavf_allocate_pci_resources_common()
153 sc->osdep.mem_bus_space_size = rman_get_size(sc->pci_mem); in iavf_allocate_pci_resources_common()
154 sc->osdep.flush_reg = IAVF_VFGEN_RSTAT; in iavf_allocate_pci_resources_common()
155 sc->osdep.dev = dev; in iavf_allocate_pci_resources_common()
157 sc->hw.hw_addr = (u8 *)&sc->osdep.mem_bus_space_handle; in iavf_allocate_pci_resources_common()
158 sc->hw.back = &sc->osdep; in iavf_allocate_pci_resources_common()
Diavf_iflib.h339 struct iavf_osdep osdep; member
Dif_iavf_iflib.c269 sc->dev = sc->osdep.dev = dev; in iavf_if_attach_pre()
/freebsd-12-stable/sys/dev/ixl/
Di40e_osdep.h198 rd32_osdep(struct i40e_osdep *osdep, uint32_t reg) in rd32_osdep() argument
201 KASSERT(reg < osdep->mem_bus_space_size, in rd32_osdep()
203 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in rd32_osdep()
205 return (bus_space_read_4(osdep->mem_bus_space_tag, in rd32_osdep()
206 osdep->mem_bus_space_handle, reg)); in rd32_osdep()
210 wr32_osdep(struct i40e_osdep *osdep, uint32_t reg, uint32_t value) in wr32_osdep() argument
213 KASSERT(reg < osdep->mem_bus_space_size, in wr32_osdep()
215 (uintmax_t)reg, (uintmax_t)osdep->mem_bus_space_size)); in wr32_osdep()
217 bus_space_write_4(osdep->mem_bus_space_tag, in wr32_osdep()
218 osdep->mem_bus_space_handle, reg, value); in wr32_osdep()
[all …]
Dif_ixl.c396 pf->osdep.mem_bus_space_tag = in ixl_allocate_pci_resources()
398 pf->osdep.mem_bus_space_handle = in ixl_allocate_pci_resources()
400 pf->osdep.mem_bus_space_size = rman_get_size(pf->pci_mem); in ixl_allocate_pci_resources()
401 pf->osdep.flush_reg = I40E_GLGEN_STAT; in ixl_allocate_pci_resources()
402 pf->osdep.dev = dev; in ixl_allocate_pci_resources()
404 pf->hw.hw_addr = (u8 *) &pf->osdep.mem_bus_space_handle; in ixl_allocate_pci_resources()
405 pf->hw.back = &pf->osdep; in ixl_allocate_pci_resources()
Dixl_pf.h117 struct i40e_osdep osdep; member
/freebsd-12-stable/sys/cam/scsi/
Dscsi_low.c375 scsi_low_find_ccb(slp, target, lun, osdep) in scsi_low_find_ccb() argument
378 void *osdep;
389 if ((cb = slp->sl_Qnexus) != NULL && cb->osdep == osdep)
394 if (cb->osdep == osdep)
400 if (cb->osdep == osdep)
519 cb->osdep = ccb;
742 cb->osdep = ccb;
859 union ccb *ccb = (union ccb *) cb->osdep;
887 ccb = (union ccb *) cb->osdep;
1603 cb->osdep = NULL;
[all …]
Dscsi_low.h191 void *osdep; /* os depend structure */ member
/freebsd-12-stable/sys/dev/igc/
Dif_igc.h348 struct igc_osdep osdep; member
Dif_igc.c466 adapter->ctx = adapter->osdep.ctx = ctx; in igc_if_attach_pre()
467 adapter->dev = adapter->osdep.dev = dev; in igc_if_attach_pre()
1308 adapter->osdep.mem_bus_space_tag = rman_get_bustag(adapter->memory); in igc_allocate_pci_resources()
1309 adapter->osdep.mem_bus_space_handle = in igc_allocate_pci_resources()
1311 adapter->hw.hw_addr = (u8 *)&adapter->osdep.mem_bus_space_handle; in igc_allocate_pci_resources()
1313 adapter->hw.back = &adapter->osdep; in igc_allocate_pci_resources()
/freebsd-12-stable/lib/libefivar/
DFreeBSD-update31 efi-osdep.h shims the EDK2 types to FreeBSD's types. It's included by
/freebsd-12-stable/sys/dev/e1000/
Dif_em.c824 sc->ctx = sc->osdep.ctx = ctx; in em_if_attach_pre()
825 sc->dev = sc->osdep.dev = dev; in em_if_attach_pre()
977 sc->osdep.flash_bus_space_tag = in em_if_attach_pre()
979 sc->osdep.flash_bus_space_handle = in em_if_attach_pre()
989 sc->osdep.flash_bus_space_tag = in em_if_attach_pre()
990 sc->osdep.mem_bus_space_tag; in em_if_attach_pre()
991 sc->osdep.flash_bus_space_handle = in em_if_attach_pre()
992 sc->osdep.mem_bus_space_handle in em_if_attach_pre()
1977 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->memory); in em_allocate_pci_resources()
1978 sc->osdep.mem_bus_space_handle = in em_allocate_pci_resources()
[all …]
Dif_em.h452 struct e1000_osdep osdep; member
/freebsd-12-stable/contrib/diff/
DChangeLog697 intl/ngettext.c, intl/os2compat.c, intl/os2compat.h, intl/osdep.c,