Lines Matching refs:sys_reg

288 	struct iqs269_sys_reg sys_reg;  member
301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set()
328 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_get()
347 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_set()
392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_get()
427 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_set()
454 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_get()
518 iqs269->sys_reg.active |= BIT(reg); in iqs269_parse_chan()
520 iqs269->sys_reg.reseed |= BIT(reg); in iqs269_parse_chan()
523 iqs269->sys_reg.blocking |= BIT(reg); in iqs269_parse_chan()
526 iqs269->sys_reg.slider_select[0] |= BIT(reg); in iqs269_parse_chan()
529 iqs269->sys_reg.slider_select[1] |= BIT(reg); in iqs269_parse_chan()
531 ch_reg = &iqs269->sys_reg.ch_reg[reg]; in iqs269_parse_chan()
745 iqs269->sys_reg.event_mask &= ~iqs269_events[i].mask; in iqs269_parse_chan()
753 struct iqs269_sys_reg *sys_reg = &iqs269->sys_reg; in iqs269_parse_prop() local
763 error = regmap_raw_read(iqs269->regmap, IQS269_SYS_SETTINGS, sys_reg, in iqs269_parse_prop()
764 sizeof(*sys_reg)); in iqs269_parse_prop()
776 sys_reg->filter &= ~IQS269_FILT_STR_LP_LTA_MASK; in iqs269_parse_prop()
777 sys_reg->filter |= (val << IQS269_FILT_STR_LP_LTA_SHIFT); in iqs269_parse_prop()
788 sys_reg->filter &= ~IQS269_FILT_STR_LP_CNT_MASK; in iqs269_parse_prop()
789 sys_reg->filter |= (val << IQS269_FILT_STR_LP_CNT_SHIFT); in iqs269_parse_prop()
800 sys_reg->filter &= ~IQS269_FILT_STR_NP_LTA_MASK; in iqs269_parse_prop()
801 sys_reg->filter |= (val << IQS269_FILT_STR_NP_LTA_SHIFT); in iqs269_parse_prop()
812 sys_reg->filter &= ~IQS269_FILT_STR_NP_CNT_MASK; in iqs269_parse_prop()
813 sys_reg->filter |= val; in iqs269_parse_prop()
823 sys_reg->rate_np = val; in iqs269_parse_prop()
833 sys_reg->rate_lp = val; in iqs269_parse_prop()
843 sys_reg->rate_ulp = val / 16; in iqs269_parse_prop()
853 sys_reg->timeout_pwr = val / 512; in iqs269_parse_prop()
863 sys_reg->timeout_lta = val / 512; in iqs269_parse_prop()
866 misc_a = be16_to_cpu(sys_reg->misc_a); in iqs269_parse_prop()
867 misc_b = be16_to_cpu(sys_reg->misc_b); in iqs269_parse_prop()
944 sys_reg->misc_a = cpu_to_be16(misc_a); in iqs269_parse_prop()
945 sys_reg->misc_b = cpu_to_be16(misc_b); in iqs269_parse_prop()
947 sys_reg->active = 0; in iqs269_parse_prop()
948 sys_reg->reseed = 0; in iqs269_parse_prop()
950 sys_reg->blocking = 0; in iqs269_parse_prop()
952 sys_reg->slider_select[0] = 0; in iqs269_parse_prop()
953 sys_reg->slider_select[1] = 0; in iqs269_parse_prop()
955 sys_reg->event_mask = ~((u8)IQS269_EVENT_MASK_SYS); in iqs269_parse_prop()
969 sys_reg->redo_ati = sys_reg->active; in iqs269_parse_prop()
971 general = be16_to_cpu(sys_reg->general); in iqs269_parse_prop()
1018 if (sys_reg->slider_select[0] || sys_reg->slider_select[1]) in iqs269_parse_prop()
1024 sys_reg->general = cpu_to_be16(general); in iqs269_parse_prop()
1042 &iqs269->sys_reg, sizeof(iqs269->sys_reg)); in iqs269_dev_init()
1109 if (!iqs269->sys_reg.slider_select[i]) in iqs269_input_init()
1179 if (!iqs269->sys_reg.slider_select[i]) in iqs269_report()
1187 iqs269->sys_reg.slider_select[i]) { in iqs269_report()
1296 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in hall_bin_show()
1392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in rx_enable_show()
1403 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in rx_enable_store()
1683 u16 general = be16_to_cpu(iqs269->sys_reg.general); in iqs269_general_get()