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. */
290 sprintf(event_string, "EVENT=dock");
293 * Indicate that the status of the dock station has
307 * handle_dock - handle a dock event
308 * @ds: the dock station
309 * @dock: to dock, or undock - that is the question
313 static void handle_dock(struct dock_station *ds, int dock)
320 acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking");
326 arg.integer.value = dock;
333 static inline void dock(struct dock_station *ds)
365 * dock_in_progress - see if we are in the middle of handling a dock event
366 * @ds: the dock station
368 * Sometimes while docking, false dock events can be sent to the driver
383 * Check to make sure the dock device is still present, then undock and
395 * Also, even send the dock event if the
413 * dock_notify - Handle ACPI dock notification.
417 * If we are notified to dock, then check to see if the dock is
418 * present and then dock. Notify all drivers of the dock event,
439 * dock station: BUS_CHECK - docked or surprise removal
443 * To simplify event handling, dock dependent device handler always
452 dock(ds);
454 acpi_handle_err(handle, "Unable to dock!\n");
580 * acpi_dock_add - Add a new dock station
583 * allocated and initialize a new dock station device.
594 pdevinfo.name = "dock";
612 /* we want the dock device to send uevents */
626 /* add the dock station as a device dependent on itself */
634 dev_info(&adev->dev, "ACPI dock station (docks/bays count: %d)\n",