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