Lines Matching full:sys_reg

321 	struct iqs269_sys_reg sys_reg;  member
346 if (!iqs269->sys_reg.slider_select[slider_num]) in iqs269_slider_type()
359 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set()
386 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_get()
405 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_set()
450 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_get()
485 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_set()
512 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_get()
576 iqs269->sys_reg.active |= BIT(reg); in iqs269_parse_chan()
578 iqs269->sys_reg.reseed |= BIT(reg); in iqs269_parse_chan()
581 iqs269->sys_reg.blocking |= BIT(reg); in iqs269_parse_chan()
584 iqs269->sys_reg.slider_select[0] |= BIT(reg); in iqs269_parse_chan()
588 iqs269->sys_reg.slider_select[1] |= BIT(reg); in iqs269_parse_chan()
590 ch_reg = &iqs269->sys_reg.ch_reg[reg]; in iqs269_parse_chan()
804 iqs269->sys_reg.event_mask &= ~iqs269_events[i].mask; in iqs269_parse_chan()
812 struct iqs269_sys_reg *sys_reg = &iqs269->sys_reg; in iqs269_parse_prop() local
821 error = regmap_raw_read(iqs269->regmap, IQS269_SYS_SETTINGS, sys_reg, in iqs269_parse_prop()
822 sizeof(*sys_reg)); in iqs269_parse_prop()
834 sys_reg->filter &= ~IQS269_FILT_STR_LP_LTA_MASK; in iqs269_parse_prop()
835 sys_reg->filter |= (val << IQS269_FILT_STR_LP_LTA_SHIFT); in iqs269_parse_prop()
846 sys_reg->filter &= ~IQS269_FILT_STR_LP_CNT_MASK; in iqs269_parse_prop()
847 sys_reg->filter |= (val << IQS269_FILT_STR_LP_CNT_SHIFT); in iqs269_parse_prop()
858 sys_reg->filter &= ~IQS269_FILT_STR_NP_LTA_MASK; in iqs269_parse_prop()
859 sys_reg->filter |= (val << IQS269_FILT_STR_NP_LTA_SHIFT); in iqs269_parse_prop()
870 sys_reg->filter &= ~IQS269_FILT_STR_NP_CNT_MASK; in iqs269_parse_prop()
871 sys_reg->filter |= val; in iqs269_parse_prop()
881 sys_reg->rate_np = val; in iqs269_parse_prop()
891 sys_reg->rate_lp = val; in iqs269_parse_prop()
901 sys_reg->rate_ulp = val / 16; in iqs269_parse_prop()
911 sys_reg->timeout_pwr = val / 512; in iqs269_parse_prop()
921 sys_reg->timeout_lta = val / 512; in iqs269_parse_prop()
924 misc_a = be16_to_cpu(sys_reg->misc_a); in iqs269_parse_prop()
925 misc_b = be16_to_cpu(sys_reg->misc_b); in iqs269_parse_prop()
1002 sys_reg->misc_a = cpu_to_be16(misc_a); in iqs269_parse_prop()
1003 sys_reg->misc_b = cpu_to_be16(misc_b); in iqs269_parse_prop()
1005 sys_reg->active = 0; in iqs269_parse_prop()
1006 sys_reg->reseed = 0; in iqs269_parse_prop()
1008 sys_reg->blocking = 0; in iqs269_parse_prop()
1010 sys_reg->slider_select[0] = 0; in iqs269_parse_prop()
1031 sys_reg->slider_select[1] = val / 256; in iqs269_parse_prop()
1043 sys_reg->slider_select[1] = IQS269_TOUCH_HOLD_DEFAULT; in iqs269_parse_prop()
1046 sys_reg->slider_select[1] = 0; in iqs269_parse_prop()
1049 sys_reg->event_mask = ~((u8)IQS269_EVENT_MASK_SYS); in iqs269_parse_prop()
1061 sys_reg->redo_ati = sys_reg->active; in iqs269_parse_prop()
1063 general = be16_to_cpu(sys_reg->general); in iqs269_parse_prop()
1140 sys_reg->timeout_tap = val / (16 / scale); in iqs269_parse_prop()
1152 sys_reg->timeout_swipe = val / (16 / scale); in iqs269_parse_prop()
1163 sys_reg->thresh_swipe = val; in iqs269_parse_prop()
1166 sys_reg->event_mask &= ~IQS269_EVENT_MASK_GESTURE; in iqs269_parse_prop()
1187 sys_reg->general = cpu_to_be16(general); in iqs269_parse_prop()
1223 &iqs269->sys_reg, sizeof(iqs269->sys_reg)); in iqs269_dev_init()
1417 state &= iqs269->sys_reg.slider_select[i]; in iqs269_report()
1529 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in hall_bin_show()
1625 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in rx_enable_show()
1635 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in rx_enable_store()
1909 u16 general = be16_to_cpu(iqs269->sys_reg.general); in iqs269_general_get()