Searched refs:fwlog_ring (Results 1 – 4 of 4) sorted by relevance
95 if (ring_size == hw->fwlog_ring.size) 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()152 if (!hw->fwlog_ring.rings) { in ice_fwlog_init()164 kfree(hw->fwlog_ring.rings); in ice_fwlog_init()211 if (hw->fwlog_ring.rings) { in ice_fwlog_deinit()[all …]
403 index = hw->fwlog_ring.index; in ice_debugfs_log_size_read()492 if (ice_fwlog_ring_empty(&hw->fwlog_ring)) in ice_debugfs_data_read()495 while (!ice_fwlog_ring_empty(&hw->fwlog_ring) && !done) { in ice_debugfs_data_read()499 log = &hw->fwlog_ring.rings[hw->fwlog_ring.head]; in ice_debugfs_data_read()518 ice_fwlog_ring_increment(&hw->fwlog_ring.head, in ice_debugfs_data_read()519 hw->fwlog_ring.size); in ice_debugfs_data_read()549 hw->fwlog_ring.head = 0; in ice_debugfs_data_write()550 hw->fwlog_ring.tail = 0; in ice_debugfs_data_write()
893 struct ice_fwlog_ring fwlog_ring; member
1268 fwlog = &hw->fwlog_ring.rings[hw->fwlog_ring.tail]; in ice_get_fwlog_data()1274 ice_fwlog_ring_increment(&hw->fwlog_ring.tail, hw->fwlog_ring.size); in ice_get_fwlog_data()1276 if (ice_fwlog_ring_full(&hw->fwlog_ring)) { in ice_get_fwlog_data()1278 ice_fwlog_ring_increment(&hw->fwlog_ring.head, in ice_get_fwlog_data()1279 hw->fwlog_ring.size); in ice_get_fwlog_data()