Lines Matching refs:check_fault_period
84 long check_fault_period; member
482 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()
1740 sma1303->check_fault_period = CHECK_PERIOD_TIME; in sma1303_i2c_probe()