Lines Matching refs:alert
359 struct stm32f7_i2c_alert *alert; member
1647 i2c_handle_smbus_alert(i2c_dev->alert->ara); in stm32f7_i2c_isr_error()
2045 struct stm32f7_i2c_alert *alert; in stm32f7_i2c_enable_smbus_alert() local
2050 alert = devm_kzalloc(dev, sizeof(*alert), GFP_KERNEL); in stm32f7_i2c_enable_smbus_alert()
2051 if (!alert) in stm32f7_i2c_enable_smbus_alert()
2054 alert->ara = i2c_new_smbus_alert_device(adap, &alert->setup); in stm32f7_i2c_enable_smbus_alert()
2055 if (IS_ERR(alert->ara)) in stm32f7_i2c_enable_smbus_alert()
2056 return PTR_ERR(alert->ara); in stm32f7_i2c_enable_smbus_alert()
2058 i2c_dev->alert = alert; in stm32f7_i2c_enable_smbus_alert()
2068 struct stm32f7_i2c_alert *alert = i2c_dev->alert; in stm32f7_i2c_disable_smbus_alert() local
2071 if (alert) { in stm32f7_i2c_disable_smbus_alert()
2075 i2c_unregister_device(alert->ara); in stm32f7_i2c_disable_smbus_alert()