Home
last modified time | relevance | path

Searched refs:fwlog_ring (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_fwlog.c95 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()
[all …]
Dice_debugfs.c403 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()
Dice_type.h949 struct ice_fwlog_ring fwlog_ring; member
Dice_main.c1260 fwlog = &hw->fwlog_ring.rings[hw->fwlog_ring.tail]; in ice_get_fwlog_data()
1266 ice_fwlog_ring_increment(&hw->fwlog_ring.tail, hw->fwlog_ring.size); in ice_get_fwlog_data()
1268 if (ice_fwlog_ring_full(&hw->fwlog_ring)) { in ice_get_fwlog_data()
1270 ice_fwlog_ring_increment(&hw->fwlog_ring.head, in ice_get_fwlog_data()
1271 hw->fwlog_ring.size); in ice_get_fwlog_data()