Searched refs:mode_switch (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/platform/surface/ |
H A D | surface_aggregator_tabletsw.c | 41 struct input_dev *mode_switch; member 104 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_update_workfn() 105 input_sync(sw->mode_switch); in ssam_tablet_sw_update_workfn() 149 sw->mode_switch = devm_input_allocate_device(&sdev->dev); in ssam_tablet_sw_probe() 150 if (!sw->mode_switch) in ssam_tablet_sw_probe() 153 sw->mode_switch->name = desc->dev.name; in ssam_tablet_sw_probe() 154 sw->mode_switch->phys = desc->dev.phys; in ssam_tablet_sw_probe() 155 sw->mode_switch->id.bustype = BUS_HOST; in ssam_tablet_sw_probe() 156 sw->mode_switch->dev.parent = &sdev->dev; in ssam_tablet_sw_probe() 159 input_set_capability(sw->mode_switch, EV_SW, SW_TABLET_MODE); in ssam_tablet_sw_probe() [all …]
|
H A D | surface_dtx.c | 167 struct input_dev *mode_switch; member 781 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in sdtx_device_mode_workfn() 782 input_sync(ddev->mode_switch); in sdtx_device_mode_workfn() 850 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in __sdtx_device_state_update_mode() 851 input_sync(ddev->mode_switch); in __sdtx_device_state_update_mode() 998 ddev->mode_switch = input_allocate_device(); in sdtx_device_init() 999 if (!ddev->mode_switch) in sdtx_device_init() 1002 ddev->mode_switch->name = "Microsoft Surface DTX Device Mode Switch"; in sdtx_device_init() 1003 ddev->mode_switch->phys = "ssam/01:11:01:00:00/input0"; in sdtx_device_init() 1004 ddev->mode_switch->id.bustype = BUS_HOST; in sdtx_device_init() [all …]
|
/linux/drivers/greybus/ |
H A D | greybus_trace.h | 306 __field(int, mode_switch) /* bool */ 317 __entry->mode_switch = intf->mode_switch; 323 __entry->enabled, __entry->mode_switch)
|
H A D | connection.c | 361 if (connection->mode_switch) in gb_connection_hd_cport_quiesce() 509 if (connection->mode_switch) { in gb_connection_control_disconnected() 804 connection->mode_switch = true; in gb_connection_mode_switch_prepare() 814 connection->mode_switch = false; in gb_connection_mode_switch_complete() 842 if (!connection->mode_switch) { in gb_connection_disable()
|
/linux/drivers/video/console/ |
H A D | dummycon.c | 83 bool mode_switch) in dummycon_blank() argument 94 bool mode_switch) in dummycon_blank() argument
|
H A D | sticon.c | 303 bool mode_switch) in sticon_blank() argument 306 if (mode_switch) in sticon_blank() 312 if (mode_switch) in sticon_blank()
|
H A D | vgacon.c | 801 bool mode_switch) in vgacon_blank() argument 818 if (!mode_switch && vga_video_type == VIDEO_TYPE_VGAC) { in vgacon_blank() 826 if (mode_switch) in vgacon_blank()
|
H A D | mdacon.c | 455 bool mode_switch) in mdacon_blank() argument
|
H A D | newport_con.c | 480 bool mode_switch) in newport_blank() argument
|
/linux/include/linux/greybus/ |
H A D | interface.h | 63 bool mode_switch; member
|
H A D | connection.h | 64 bool mode_switch; member
|
/linux/drivers/hid/ |
H A D | hid-steam.c | 309 struct delayed_work mode_switch; member 1051 struct steam_device, mode_switch); in steam_mode_switch_cb() 1251 INIT_DELAYED_WORK(&steam->mode_switch, steam_mode_switch_cb); in steam_probe() 1314 cancel_delayed_work_sync(&steam->mode_switch); in steam_probe() 1331 cancel_delayed_work_sync(&steam->mode_switch); in steam_remove() 1620 cancel_delayed_work(&steam->mode_switch); in steam_do_deck_input_event() 1623 schedule_delayed_work(&steam->mode_switch, 45 * HZ / 100); in steam_do_deck_input_event()
|
/linux/include/linux/ |
H A D | console.h | 106 bool mode_switch);
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeonfb.h | 507 extern int radeon_screen_blank(struct radeonfb_info *rinfo, int blank, int mode_switch);
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcon.c | 2221 bool mode_switch) in fbcon_blank() argument 2226 if (mode_switch) { in fbcon_blank() 2254 if (mode_switch || fbcon_is_inactive(vc, info) || in fbcon_blank()
|