Lines Matching +full:device +full:- +full:handle

1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
3 * Copyright (C) 2017-2020 Mellanox Technologies Ltd.
14 * enum mlxreg_wdt_type - type of HW watchdog
28 * enum mlxreg_hotplug_kind - kind of hotplug entry
36 * after hardware-firmware synchronization handshake;
57 * enum mlxreg_hotplug_device_action - hotplug device action required for
60 * @MLXREG_HOTPLUG_DEVICE_DEFAULT_ACTION: probe device for 'on' event, remove
62 * @MLXREG_HOTPLUG_DEVICE_PLATFORM_ACTION: probe platform device for 'on'
73 * struct mlxreg_core_hotplug_notifier - hotplug notifier block:
76 * @handle: user handle to be passed by user handler function;
81 void *handle; member
82 int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
86 * struct mlxreg_hotplug_device - I2C device data:
88 * @adapter: I2C device adapter;
89 * @client: I2C device client;
90 * @brdinfo: device board information;
91 * @nr: I2C device adapter number, to which device is to be attached;
92 * @pdev: platform device, if device is instantiated as a platform device;
94 * @handle: user handle to be passed by user handler function;
98 * Structure represents I2C hotplug device static data (board topology) and
108 void *handle; member
109 int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
114 * struct mlxreg_core_data - attributes control data:
126 * @np - pointer to node platform associated with attribute;
127 * @hpdev - hotplug device data;
129 * @health_cntr: dynamic device health indication counter;
130 * @attached: true if device has been attached after good health indication;
131 * @regnum: number of registers occupied by multi-register attribute;
132 * @slot: slot number, at which device is located;
157 * struct mlxreg_core_item - same type components controlled by the driver:
168 * @inversed: if 0: 0 for signal status is OK, if 1 - 1 is OK;
169 * @health: true if device has health indication, false in other case;
186 * struct mlxreg_core_platform_data - platform data:
189 * @regmap: register map of parent device;
191 * @features: supported features of device;
193 * @identity: device identity name;
194 * @capability: device capability register;
207 * struct mlxreg_core_hotplug_platform_data - hotplug platform data:
211 * @regmap: register map of parent device;
220 * @handle: handle to be passed by callback;
235 void *handle; member
236 int (*completion_notify)(void *handle, int id);