Lines Matching +full:back +full:- +full:to +full:- +full:back
3 Copyright (c) 2001-2020, Intel Corporation
17 contributors may be used to endorse or promote products derived from
21 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
39 return ((struct ixgbe_softc *)hw->back)->dev; in ixgbe_dev_from_hw()
45 return pci_read_config(((struct ixgbe_softc *)hw->back)->dev, reg, 2); in ixgbe_read_pci_cfg()
51 pci_write_config(((struct ixgbe_softc *)hw->back)->dev, reg, value, 2); in ixgbe_write_pci_cfg()
57 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg()
58 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, reg); in ixgbe_read_reg()
64 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg()
65 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg()
72 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_read_reg_array()
73 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_read_reg_array()
80 bus_space_write_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag, in ixgbe_write_reg_array()
81 ((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_handle, in ixgbe_write_reg_array()
121 mtx_init(&lock->mutex, "mutex", in ixgbe_init_lock()
128 mtx_lock(&lock->mutex); in ixgbe_acquire_lock()
134 mtx_unlock(&lock->mutex); in ixgbe_release_lock()
140 if (mtx_initialized(&lock->mutex)) in ixgbe_destroy_lock()
141 mtx_destroy(&lock->mutex); in ixgbe_destroy_lock()