Lines Matching refs:alert
285 * struct stm32f7_i2c_alert - SMBus alert specific data
327 * @alert: SMBus alert specific data
359 struct stm32f7_i2c_alert *alert;
1648 dev_dbg(dev, "<%s>: SMBus alert received\n", __func__);
1650 i2c_handle_smbus_alert(i2c_dev->alert->ara);
2048 struct stm32f7_i2c_alert *alert;
2053 alert = devm_kzalloc(dev, sizeof(*alert), GFP_KERNEL);
2054 if (!alert)
2057 alert->ara = i2c_new_smbus_alert_device(adap, &alert->setup);
2058 if (IS_ERR(alert->ara))
2059 return PTR_ERR(alert->ara);
2061 i2c_dev->alert = alert;
2071 struct stm32f7_i2c_alert *alert = i2c_dev->alert;
2074 if (alert) {
2078 i2c_unregister_device(alert->ara);
2265 if (of_property_read_bool(pdev->dev.of_node, "smbus-alert")) {
2269 "failed to enable SMBus alert protocol (%d)\n",