__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Greybus Module code
*
* Copyright 2016 Google Inc.
* Copyright 2016 Linaro Ltd.
*/
#ifndef __MODULE_H
#define __MODULE_H
#include <linux/types.h>
#include <linux/device.h>
struct gb_module {
struct device dev;
struct gb_host_device *hd;
struct list_head hd_node;
u8 module_id;
size_t num_interfaces;
bool disconnected;
struct gb_interface *interfaces[];
};
#define to_gb_module(d) container_of(d, struct gb_module, dev)
struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id,
size_t num_interfaces);
int gb_module_add(struct gb_module *module);
void gb_module_del(struct gb_module *module);
void gb_module_put(struct gb_module *module);
#endif /* __MODULE_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bundle.h | File | 2.02 KB | 0644 |
|
| connection.h | File | 3.66 KB | 0644 |
|
| control.h | File | 2.2 KB | 0644 |
|
| greybus_id.h | File | 590 B | 0644 |
|
| greybus_manifest.h | File | 4.79 KB | 0644 |
|
| greybus_protocols.h | File | 59.44 KB | 0644 |
|
| hd.h | File | 2.65 KB | 0644 |
|
| interface.h | File | 2.15 KB | 0644 |
|
| manifest.h | File | 331 B | 0644 |
|
| module.h | File | 753 B | 0644 |
|
| operation.h | File | 6.53 KB | 0644 |
|
| svc.h | File | 3.15 KB | 0644 |
|