/** * typedef i8042_filter_t - i8042 filter callback * @data: Data received by the i8042 controller * @str: Status register of the i8042 controller * @serio: Serio of the i8042 controller * @context: Context pointer associated with this callback * * This represents a i8042 filter callback which can be used with i8042_install_filter() * and i8042_remove_filter() to filter the i8042 input for platform-specific key codes. * * Context: Interrupt context. * Returns: true if the data should be filtered out, false if otherwise.
*/ typedefbool (*i8042_filter_t)(unsignedchar data, unsignedchar str, struct serio *serio, void *context);
void i8042_lock_chip(void); void i8042_unlock_chip(void); int i8042_command(unsignedchar *param, int command); int i8042_install_filter(i8042_filter_t filter, void *context); int i8042_remove_filter(i8042_filter_t filter);
#else
staticinlinevoid i8042_lock_chip(void)
{
}
staticinlinevoid i8042_unlock_chip(void)
{
}
staticinlineint i8042_command(unsignedchar *param, int command)
{ return -ENODEV;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.