other versions
STRUCT W1_ASYNC_CMD(9) | W1 API internal to the kernel | STRUCT W1_ASYNC_CMD(9) |
NAME¶
struct_w1_async_cmd - execute callback from the w1_process kthreadSYNOPSIS¶
struct w1_async_cmd { struct list_head async_entry; void (* cb) (struct w1_master *dev, struct w1_async_cmd *async_cmd); };
MEMBERS¶
struct list_head async_entrylink entry
void (*)(struct w1_master *dev, struct w1_async_cmd *async_cmd) cb
callback function, must list_del and destroy this list
before returning
DESCRIPTION¶
When inserted into the w1_master async_list, w1_process will execute the callback. Embed this into the structure with the command details.AUTHOR¶
David Fries <David@Fries.net>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |