Lines Matching defs:applespi_data
361 struct applespi_data { struct
362 struct spi_device *spi;
363 struct spi_settings spi_settings;
364 struct input_dev *keyboard_input_dev;
365 struct input_dev *touchpad_input_dev;
367 u8 *tx_buffer;
368 u8 *tx_status;
369 u8 *rx_buffer;
371 u8 *msg_buf;
372 unsigned int saved_msg_len;
374 struct applespi_tp_info tp_info;
376 u8 last_keys_pressed[MAX_ROLLOVER];
377 u8 last_keys_fn_pressed[MAX_ROLLOVER];
378 u8 last_fn_pressed;
379 struct input_mt_pos pos[MAX_FINGERS];
380 int slots[MAX_FINGERS];
381 int gpe;
382 acpi_handle sien;
383 acpi_handle sist;
385 struct spi_transfer dl_t;
386 struct spi_transfer rd_t;
387 struct spi_message rd_m;
389 struct spi_transfer ww_t;
390 struct spi_transfer wd_t;
391 struct spi_transfer wr_t;
392 struct spi_transfer st_t;
393 struct spi_message wr_m;
395 bool want_tp_info_cmd;
396 bool want_mt_init_cmd;
397 bool want_cl_led_on;
398 bool have_cl_led_on;
399 unsigned int want_bl_level;
400 unsigned int have_bl_level;
401 unsigned int cmd_msg_cntr;
403 spinlock_t cmd_msg_lock;
404 ktime_t cmd_msg_queued;
405 enum applespi_evt_type cmd_evt_type;
407 struct led_classdev backlight_info;
409 bool suspended;
410 bool drain;
411 wait_queue_head_t drain_complete;
412 bool read_active;
413 bool write_active;
415 struct work_struct work;
416 struct touchpad_info_protocol rcvd_tp_info;
418 struct dentry *debugfs_root;
419 bool debug_tp_dim;
420 char tp_dim_val[40];
421 int tp_dim_min_x;
422 int tp_dim_max_x;
423 int tp_dim_min_y;
424 int tp_dim_max_y;