• Home
  • Raw
  • Download

Lines Matching refs:general

253 	__be16 general;  member
756 u16 general, misc_a, misc_b; in iqs269_parse_prop() local
971 general = be16_to_cpu(sys_reg->general); in iqs269_parse_prop()
974 general |= IQS269_SYS_SETTINGS_CLK_DIV; in iqs269_parse_prop()
981 general &= ~IQS269_SYS_SETTINGS_ULP_AUTO; in iqs269_parse_prop()
982 general &= ~IQS269_SYS_SETTINGS_DIS_AUTO; in iqs269_parse_prop()
983 general &= ~IQS269_SYS_SETTINGS_PWR_MODE_MASK; in iqs269_parse_prop()
993 general |= (val << IQS269_SYS_SETTINGS_PWR_MODE_SHIFT); in iqs269_parse_prop()
1003 general &= ~IQS269_SYS_SETTINGS_ULP_UPDATE_MASK; in iqs269_parse_prop()
1004 general |= (val << IQS269_SYS_SETTINGS_ULP_UPDATE_SHIFT); in iqs269_parse_prop()
1007 general &= ~IQS269_SYS_SETTINGS_RESEED_OFFSET; in iqs269_parse_prop()
1009 general |= IQS269_SYS_SETTINGS_RESEED_OFFSET; in iqs269_parse_prop()
1011 general |= IQS269_SYS_SETTINGS_EVENT_MODE; in iqs269_parse_prop()
1019 general |= IQS269_SYS_SETTINGS_EVENT_MODE_LP; in iqs269_parse_prop()
1021 general |= IQS269_SYS_SETTINGS_REDO_ATI; in iqs269_parse_prop()
1022 general |= IQS269_SYS_SETTINGS_ACK_RESET; in iqs269_parse_prop()
1024 sys_reg->general = cpu_to_be16(general); in iqs269_parse_prop()
1683 u16 general = be16_to_cpu(iqs269->sys_reg.general); in iqs269_general_get() local
1685 general &= ~IQS269_SYS_SETTINGS_REDO_ATI; in iqs269_general_get()
1686 general &= ~IQS269_SYS_SETTINGS_ACK_RESET; in iqs269_general_get()
1688 return general | IQS269_SYS_SETTINGS_DIS_AUTO; in iqs269_general_get()
1696 u16 general = iqs269_general_get(iqs269); in iqs269_suspend() local
1698 if (!(general & IQS269_SYS_SETTINGS_PWR_MODE_MASK)) in iqs269_suspend()
1703 error = regmap_write(iqs269->regmap, IQS269_SYS_SETTINGS, general); in iqs269_suspend()
1716 u16 general = iqs269_general_get(iqs269); in iqs269_resume() local
1718 if (!(general & IQS269_SYS_SETTINGS_PWR_MODE_MASK)) in iqs269_resume()
1724 general & ~IQS269_SYS_SETTINGS_PWR_MODE_MASK); in iqs269_resume()
1727 general & ~IQS269_SYS_SETTINGS_DIS_AUTO); in iqs269_resume()