Lines Matching defs:dock

3  *  dock.c - ACPI dock station driver
65 * add_dock_dependent_device - associate a device with the dock station
69 * Add the dependent device to the dock's dependent device list.
142 * find_dock_dependent_device - get a device dependent on this dock
143 * @ds: the dock station
146 * iterate over the dependent device list for this dock. If the
175 * is_dock_device - see if a device is on a dock station
178 * If this device is either the dock station itself,
179 * or is a device dependent on the dock station, then it
180 * is a dock device
201 * dock_present - see if the dock station is present.
202 * @ds: the dock station
221 * hot_remove_dock_devices - Remove dock station devices.
242 * hotplug_dock_devices - Insert devices on a dock station.
243 * @ds: the dock station
246 * Some devices on the dock station need to have drivers called
247 * to perform hotplug operations after a dock event has occurred.
248 * Traverse the list of dock devices that have registered a
255 /* Call driver specific post-dock fixups. */
291 sprintf(event_string, "EVENT=dock");
294 * Indicate that the status of the dock station has
308 * handle_dock - handle a dock event
309 * @ds: the dock station
310 * @dock: to dock, or undock - that is the question
314 static void handle_dock(struct dock_station *ds, int dock)
321 acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking");
327 arg.integer.value = dock;
334 static inline void dock(struct dock_station *ds)
366 * dock_in_progress - see if we are in the middle of handling a dock event
367 * @ds: the dock station
369 * Sometimes while docking, false dock events can be sent to the driver
384 * Check to make sure the dock device is still present, then undock and
396 * Also, even send the dock event if the
414 * dock_notify - Handle ACPI dock notification.
418 * If we are notified to dock, then check to see if the dock is
419 * present and then dock. Notify all drivers of the dock event,
440 * dock station: BUS_CHECK - docked or surprise removal
444 * To simplify event handling, dock dependent device handler always
453 dock(ds);
455 acpi_handle_err(handle, "Unable to dock!\n");
582 * acpi_dock_add - Add a new dock station
585 * allocated and initialize a new dock station device.
596 pdevinfo.name = "dock";
614 /* we want the dock device to send uevents */
628 /* add the dock station as a device dependent on itself */
636 dev_info(&adev->dev, "ACPI dock station (docks/bays count: %d)\n",