Lines Matching refs:pri_data
497 static int u1_init(struct hid_device *hdev, struct alps_dev *pri_data) in u1_init() argument
554 pri_data->x_active_len_mm = in u1_init()
556 pri_data->y_active_len_mm = in u1_init()
559 pri_data->x_max = in u1_init()
561 pri_data->x_min = 1; in u1_init()
562 pri_data->y_max = in u1_init()
564 pri_data->y_min = 1; in u1_init()
573 pri_data->btn_cnt = (tmp & 0x0F); in u1_init()
576 pri_data->btn_cnt = 1; in u1_init()
579 pri_data->has_sp = 0; in u1_init()
597 &pri_data->sp_btn_info, 0, true); in u1_init()
602 pri_data->has_sp = 1; in u1_init()
604 pri_data->max_fingers = 5; in u1_init()
609 static int T4_init(struct hid_device *hdev, struct alps_dev *pri_data) in T4_init() argument
622 pri_data->x_max = sen_line_num_x * T4_COUNT_PER_ELECTRODE; in T4_init()
623 pri_data->x_min = T4_COUNT_PER_ELECTRODE; in T4_init()
624 pri_data->y_max = sen_line_num_y * T4_COUNT_PER_ELECTRODE; in T4_init()
625 pri_data->y_min = T4_COUNT_PER_ELECTRODE; in T4_init()
626 pri_data->x_active_len_mm = pri_data->y_active_len_mm = 0; in T4_init()
627 pri_data->btn_cnt = 1; in T4_init()
654 pri_data->max_fingers = 5; in T4_init()
655 pri_data->has_sp = 0; in T4_init()