Lines Matching refs:fwlog_ring
95 if (ring_size == hw->fwlog_ring.size) in ice_fwlog_realloc_rings()
116 ice_fwlog_free_ring_buffs(&hw->fwlog_ring); in ice_fwlog_realloc_rings()
117 kfree(hw->fwlog_ring.rings); in ice_fwlog_realloc_rings()
119 hw->fwlog_ring.rings = ring.rings; in ice_fwlog_realloc_rings()
120 hw->fwlog_ring.size = ring.size; in ice_fwlog_realloc_rings()
121 hw->fwlog_ring.index = index; in ice_fwlog_realloc_rings()
122 hw->fwlog_ring.head = 0; in ice_fwlog_realloc_rings()
123 hw->fwlog_ring.tail = 0; in ice_fwlog_realloc_rings()
149 hw->fwlog_ring.rings = kcalloc(ICE_FWLOG_RING_SIZE_DFLT, in ice_fwlog_init()
150 sizeof(*hw->fwlog_ring.rings), in ice_fwlog_init()
152 if (!hw->fwlog_ring.rings) { in ice_fwlog_init()
157 hw->fwlog_ring.size = ICE_FWLOG_RING_SIZE_DFLT; in ice_fwlog_init()
158 hw->fwlog_ring.index = ICE_FWLOG_RING_SIZE_INDEX_DFLT; in ice_fwlog_init()
160 status = ice_fwlog_alloc_ring_buffs(&hw->fwlog_ring); in ice_fwlog_init()
163 ice_fwlog_free_ring_buffs(&hw->fwlog_ring); in ice_fwlog_init()
164 kfree(hw->fwlog_ring.rings); in ice_fwlog_init()
211 if (hw->fwlog_ring.rings) { in ice_fwlog_deinit()
212 ice_fwlog_free_ring_buffs(&hw->fwlog_ring); in ice_fwlog_deinit()
213 kfree(hw->fwlog_ring.rings); in ice_fwlog_deinit()