Searched refs:check_fault_period (Results 1 – 2 of 2) sorted by relevance
84 long check_fault_period; member482 if (sma1303->check_fault_period > 0) in sma1303_startup()485 sma1303->check_fault_period * HZ); in sma1303_startup()1547 if (sma1303->check_fault_period > 0) in sma1303_check_fault_worker()1550 sma1303->check_fault_period * HZ); in sma1303_check_fault_worker()1613 return sysfs_emit(buf, "%ld\n", sma1303->check_fault_period); in check_fault_period_show()1622 ret = kstrtol(buf, 10, &sma1303->check_fault_period); in check_fault_period_store()1630 static DEVICE_ATTR_RW(check_fault_period);1652 if (sma1303->check_fault_period > 0) in check_fault_status_store()1655 sma1303->check_fault_period * HZ); in check_fault_status_store()[all …]
62 int check_fault_period; member489 ucontrol->value.integer.value[0] = sma1307->check_fault_period; in sma1307_check_fault_period_get()507 if (sma1307->check_fault_period == val) { in sma1307_check_fault_period_put()511 sma1307->check_fault_period = val; in sma1307_check_fault_period_put()570 if (sma1307->check_fault_period > 0) in sma1307_startup()573 sma1307->check_fault_period * HZ); in sma1307_startup()1694 if (sma1307->check_fault_period > 0) in sma1307_check_fault_worker()1697 sma1307->check_fault_period * HZ); in sma1307_check_fault_worker()1975 sma1307->check_fault_period = CHECK_PERIOD_TIME; in sma1307_i2c_probe()