Home
last modified time | relevance | path

Searched refs:dock (Results 1 – 14 of 14) sorted by relevance

/drivers/platform/x86/
Dasus-tf103c-dock.c170 static int tf103c_dock_kbd_read(struct tf103c_dock_data *dock) in tf103c_dock_kbd_read() argument
172 struct i2c_client *client = dock->kbd_client; in tf103c_dock_kbd_read()
173 struct device *dev = &dock->ec_client->dev; in tf103c_dock_kbd_read()
189 msgs[1].buf = dock->kbd_buf; in tf103c_dock_kbd_read()
200 static void tf103c_dock_kbd_write(struct tf103c_dock_data *dock, u16 cmd) in tf103c_dock_kbd_write() argument
202 struct device *dev = &dock->ec_client->dev; in tf103c_dock_kbd_write()
209 ret = i2c_master_send(dock->kbd_client, buf, sizeof(buf)); in tf103c_dock_kbd_write()
233 struct tf103c_dock_data *dock = hid->driver_data; in tf103c_dock_hid_open() local
235 set_bit(TF103C_DOCK_FLAG_HID_OPEN, &dock->flags); in tf103c_dock_hid_open()
241 struct tf103c_dock_data *dock = hid->driver_data; in tf103c_dock_hid_close() local
[all …]
Dfujitsu-tablet.c188 int dock, tablet_mode; in fujitsu_send_state() local
192 dock = state & 0x02; in fujitsu_send_state()
194 dock = !dock; in fujitsu_send_state()
196 if ((fujitsu.config.quirks & FORCE_TABLET_MODE_IF_UNDOCK) && (!dock)) { in fujitsu_send_state()
204 input_report_switch(fujitsu.idev, SW_DOCK, dock); in fujitsu_send_state()
DMakefile39 obj-$(CONFIG_ASUS_TF103C_DOCK) += asus-tf103c-dock.o
DKconfig302 tristate "Asus TF103C 2-in-1 keyboard dock"
310 keyboard dock for the Asus TF103C 2-in-1 tablet.
312 This keyboard dock has its own I2C attached embedded controller
315 keyboard dock requires this special driver to function.
584 the ones on the dock stations.
Dfujitsu-laptop.c312 static DEVICE_ATTR_RO(dock);
/drivers/extcon/
Dextcon-max77693.c89 struct input_dev *dock; member
535 struct input_dev *dock = info->dock; in max77693_muic_dock_button_handler() local
569 input_event(dock, EV_KEY, code, attached); in max77693_muic_dock_button_handler()
570 input_sync(dock); in max77693_muic_dock_button_handler()
1104 info->dock = devm_input_allocate_device(&pdev->dev); in max77693_muic_probe()
1105 if (!info->dock) { in max77693_muic_probe()
1109 info->dock->name = "max77693-muic/dock"; in max77693_muic_probe()
1110 info->dock->phys = "max77693-muic/extcon"; in max77693_muic_probe()
1111 info->dock->dev.parent = &pdev->dev; in max77693_muic_probe()
1113 __set_bit(EV_REP, info->dock->evbit); in max77693_muic_probe()
[all …]
/drivers/base/
Dphysical_location.c35 dev->physical_location->dock = pld->dock; in dev_add_physical_location()
121 dev->physical_location->dock ? "yes" : "no"); in dock_show()
123 static DEVICE_ATTR_RO(dock);
/drivers/acpi/
Ddock.c314 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() argument
321 acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking"); in handle_dock()
327 arg.integer.value = dock; in handle_dock()
334 static inline void dock(struct dock_station *ds) in dock() function
453 dock(ds); in dock_notify()
DMakefile46 acpi-$(CONFIG_ACPI_DOCK) += dock.o
/drivers/acpi/acpica/
Ddbconvert.c298 ACPI_PLD_SET_DOCK(&dword, pld_info->dock); in acpi_db_encode_pld_buffer()
412 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Dock", pld_info->dock); in acpi_db_dump_pld_buffer()
Dutxface.c489 pld_info->dock = ACPI_PLD_GET_DOCK(&dword); in ACPI_EXPORT_SYMBOL()
/drivers/pnp/pnpbios/
Dcore.c86 static int pnp_dock_event(int dock, struct pnp_docking_station_info *info) in pnp_dock_event() argument
122 scratch += sprintf(scratch, "ACTION=%s", dock ? "add" : "remove") + 1; in pnp_dock_event()
/drivers/hwmon/
Ddell-smm-hwmon.c817 bool dock = false; in dell_smm_fan_label() local
824 dock = true; in dell_smm_fan_label()
831 return dock ? docking_labels[type] : fan_labels[type]; in dell_smm_fan_label()
/drivers/platform/x86/hp/
Dhp-wmi.c744 static DEVICE_ATTR_RO(dock);