Clean up .available & .poll

This commit is contained in:
Jasmine Iwanek
2025-01-07 01:12:42 -05:00
parent de488fe779
commit 81b8038bc5
254 changed files with 1214 additions and 1313 deletions

View File

@@ -240,7 +240,7 @@ const device_t catalyst_flash_device = {
.init = catalyst_flash_init,
.close = catalyst_flash_close,
.reset = catalyst_flash_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -564,7 +564,7 @@ const device_t intel_flash_bxt_ami_device = {
.init = intel_flash_init,
.close = intel_flash_close,
.reset = intel_flash_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -578,7 +578,7 @@ const device_t intel_flash_bxt_device = {
.init = intel_flash_init,
.close = intel_flash_close,
.reset = intel_flash_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -592,7 +592,7 @@ const device_t intel_flash_bxb_device = {
.init = intel_flash_init,
.close = intel_flash_close,
.reset = intel_flash_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -334,15 +334,15 @@ row_init(const device_t *info)
/* NOTE: NOT const, so that we can patch it at init. */
device_t row_device = {
.name = "DRAM Rows",
.name = "DRAM Rows",
.internal_name = "dram_rows",
.flags = DEVICE_AT,
.local = 0x0000,
.init = row_init,
.close = row_close,
.reset = row_reset,
{ .available = NULL },
.flags = DEVICE_AT,
.local = 0x0000,
.init = row_init,
.close = row_close,
.reset = row_reset,
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
.force_redraw = NULL,
.config = NULL
};

View File

@@ -595,7 +595,7 @@ static const device_t spd_device = {
.init = spd_init,
.close = spd_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -576,7 +576,7 @@ const device_t sst_flash_29ee010_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -590,7 +590,7 @@ const device_t sst_flash_29ee020_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -604,7 +604,7 @@ const device_t winbond_flash_w29c512_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -618,7 +618,7 @@ const device_t winbond_flash_w29c010_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -632,7 +632,7 @@ const device_t winbond_flash_w29c020_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -646,7 +646,7 @@ const device_t winbond_flash_w29c040_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -660,7 +660,7 @@ const device_t sst_flash_39sf512_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -674,7 +674,7 @@ const device_t sst_flash_39sf010_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -688,7 +688,7 @@ const device_t sst_flash_39sf020_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -702,7 +702,7 @@ const device_t sst_flash_39sf040_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -716,7 +716,7 @@ const device_t sst_flash_39lf512_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -730,7 +730,7 @@ const device_t sst_flash_39lf010_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -744,7 +744,7 @@ const device_t sst_flash_39lf020_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -758,7 +758,7 @@ const device_t sst_flash_39lf040_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -772,7 +772,7 @@ const device_t sst_flash_39lf080_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -786,7 +786,7 @@ const device_t sst_flash_39lf016_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -808,7 +808,7 @@ const device_t sst_flash_49lf002_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -822,7 +822,7 @@ const device_t sst_flash_49lf020_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -836,7 +836,7 @@ const device_t sst_flash_49lf020a_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -850,7 +850,7 @@ const device_t sst_flash_49lf003_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -864,7 +864,7 @@ const device_t sst_flash_49lf030_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -878,7 +878,7 @@ const device_t sst_flash_49lf004_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -892,7 +892,7 @@ const device_t sst_flash_49lf004c_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -906,7 +906,7 @@ const device_t sst_flash_49lf040_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -920,7 +920,7 @@ const device_t sst_flash_49lf008_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -934,7 +934,7 @@ const device_t sst_flash_49lf008c_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -948,7 +948,7 @@ const device_t sst_flash_49lf080_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -962,7 +962,7 @@ const device_t sst_flash_49lf016_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -977,7 +977,7 @@ const device_t sst_flash_49lf160_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -991,7 +991,7 @@ const device_t amd_flash_29f020a_device = {
.init = sst_init,
.close = sst_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL