Home
last modified time | relevance | path

Searched refs:rst_rsn (Results 1 – 1 of 1) sorted by relevance

/linux-6.3-rc2/drivers/watchdog/
A Dmenf21bmc_wdt.c40 int rst_rsn; in menf21bmc_wdt_set_bootstatus() local
42 rst_rsn = i2c_smbus_read_byte_data(data->i2c_client, BMC_CMD_RST_RSN); in menf21bmc_wdt_set_bootstatus()
43 if (rst_rsn < 0) in menf21bmc_wdt_set_bootstatus()
44 return rst_rsn; in menf21bmc_wdt_set_bootstatus()
46 if (rst_rsn == 0x02) in menf21bmc_wdt_set_bootstatus()
48 else if (rst_rsn == 0x05) in menf21bmc_wdt_set_bootstatus()
50 else if (rst_rsn == 0x06) in menf21bmc_wdt_set_bootstatus()
52 else if (rst_rsn == 0x0A) in menf21bmc_wdt_set_bootstatus()

Completed in 3 milliseconds