Hardware drivers: Use names for struct entries.
This commit is contained in:
parent
c0a4b9716d
commit
e519ba8645
|
@ -359,17 +359,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin alsa_plugin_info = {
|
struct sr_device_plugin alsa_plugin_info = {
|
||||||
"alsa",
|
.name = "alsa",
|
||||||
"ALSA driver",
|
.longname = "ALSA driver",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
|
@ -1362,17 +1362,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin asix_sigma_plugin_info = {
|
struct sr_device_plugin asix_sigma_plugin_info = {
|
||||||
"asix-sigma",
|
.name = "asix-sigma",
|
||||||
"ASIX SIGMA",
|
.longname = "ASIX SIGMA",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
|
@ -415,17 +415,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin demo_plugin_info = {
|
struct sr_device_plugin demo_plugin_info = {
|
||||||
"demo",
|
.name = "demo",
|
||||||
"Demo driver and pattern generator",
|
.longname = "Demo driver and pattern generator",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
|
@ -948,17 +948,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin ols_plugin_info = {
|
struct sr_device_plugin ols_plugin_info = {
|
||||||
"ols",
|
.name = "ols",
|
||||||
"Openbench Logic Sniffer",
|
.longname = "Openbench Logic Sniffer",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
|
@ -754,17 +754,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin saleae_logic_plugin_info = {
|
struct sr_device_plugin saleae_logic_plugin_info = {
|
||||||
"saleae-logic",
|
.name = "saleae-logic",
|
||||||
"Saleae Logic",
|
.longname = "Saleae Logic",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
|
@ -565,17 +565,17 @@ static void hw_stop_acquisition(int device_index, gpointer session_device_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sr_device_plugin zeroplus_logic_cube_plugin_info = {
|
struct sr_device_plugin zeroplus_logic_cube_plugin_info = {
|
||||||
"zeroplus-logic-cube",
|
.name = "zeroplus-logic-cube",
|
||||||
"Zeroplus Logic Cube LAP-C series",
|
.longname = "Zeroplus Logic Cube LAP-C series",
|
||||||
1,
|
.api_version = 1,
|
||||||
hw_init,
|
.init = hw_init,
|
||||||
hw_cleanup,
|
.cleanup = hw_cleanup,
|
||||||
hw_opendev,
|
.open = hw_opendev,
|
||||||
hw_closedev,
|
.close = hw_closedev,
|
||||||
hw_get_device_info,
|
.get_device_info = hw_get_device_info,
|
||||||
hw_get_status,
|
.get_status = hw_get_status,
|
||||||
hw_get_capabilities,
|
.get_capabilities = hw_get_capabilities,
|
||||||
hw_set_configuration,
|
.set_configuration = hw_set_configuration,
|
||||||
hw_start_acquisition,
|
.start_acquisition = hw_start_acquisition,
|
||||||
hw_stop_acquisition,
|
.stop_acquisition = hw_stop_acquisition,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue