• Home
  • Raw
  • Download

Lines Matching full:dock

2  *  dock.c - ACPI dock station driver
36 ACPI_MODULE_NAME("dock");
77 * Dock Dependent device functions *
80 * add_dock_dependent_device - associate a device with the dock station
81 * @ds: Dock station.
84 * Add the dependent device to the dock's dependent device list.
157 * find_dock_dependent_device - get a device dependent on this dock
158 * @ds: the dock station
161 * iterate over the dependent device list for this dock. If the
186 * Dock functions *
190 * is_dock_device - see if a device is on a dock station
193 * If this device is either the dock station itself,
194 * or is a device dependent on the dock station, then it
195 * is a dock device
216 * dock_present - see if the dock station is present.
217 * @ds: the dock station
236 * hot_remove_dock_devices - Remove dock station devices.
237 * @ds: Dock station.
256 * hotplug_dock_devices - Insert devices on a dock station.
257 * @ds: the dock station
260 * Some devices on the dock station need to have drivers called
261 * to perform hotplug operations after a dock event has occurred.
262 * Traverse the list of dock devices that have registered a
269 /* Call driver specific post-dock fixups. */ in hotplug_dock_devices()
304 sprintf(event_string, "EVENT=dock"); in dock_event()
307 * Indicate that the status of the dock station has in dock_event()
321 * handle_dock - handle a dock event
322 * @ds: the dock station
323 * @dock: to dock, or undock - that is the question
327 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() argument
334 acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking"); in handle_dock()
340 arg.integer.value = dock; in handle_dock()
347 static inline void dock(struct dock_station *ds) in dock() function
379 * dock_in_progress - see if we are in the middle of handling a dock event
380 * @ds: the dock station
382 * Sometimes while docking, false dock events can be sent to the driver
397 * Check to make sure the dock device is still present, then undock and
409 * Also, even send the dock event if the in handle_eject_request()
427 * dock_notify - Handle ACPI dock notification.
428 * @adev: Dock station's ACPI device object.
431 * If we are notified to dock, then check to see if the dock is
432 * present and then dock. Notify all drivers of the dock event,
453 * dock station: BUS_CHECK - docked or surprise removal in dock_notify()
457 * To simplify event handling, dock dependent device handler always in dock_notify()
466 dock(ds); in dock_notify()
468 acpi_handle_err(handle, "Unable to dock!\n"); in dock_notify()
594 * acpi_dock_add - Add a new dock station
595 * @adev: Dock station ACPI device object.
597 * allocated and initialize a new dock station device.
608 pdevinfo.name = "dock"; in acpi_dock_add()
626 /* we want the dock device to send uevents */ in acpi_dock_add()
640 /* add the dock station as a device dependent on itself */ in acpi_dock_add()
648 dev_info(&adev->dev, "ACPI dock station (docks/bays count: %d)\n", in acpi_dock_add()