Lines Matching defs:ara
35 struct i2c_client *ara; /* Alert response address */
79 struct i2c_client *ara;
83 ara = alert->ara;
97 status = i2c_smbus_read_byte(ara);
105 dev_warn(&ara->dev, "Duplicate SMBALERT# from dev "
109 dev_dbg(&ara->dev, "SMBALERT# from dev 0x%02x, flag %d\n",
113 device_for_each_child(&ara->adapter->dev, &data,
136 static int smbalert_probe(struct i2c_client *ara,
139 struct i2c_smbus_alert_setup *setup = ara->dev.platform_data;
141 struct i2c_adapter *adapter = ara->adapter;
151 alert->ara = ara;
154 res = devm_request_irq(&ara->dev, setup->irq, smbalert_irq,
162 i2c_set_clientdata(ara, alert);
170 static int smbalert_remove(struct i2c_client *ara)
172 struct i2c_smbus_alert *alert = i2c_get_clientdata(ara);
211 * This returns the ara client, which should be saved for later use with
229 * @ara: the ARA client on the relevant adapter
236 * It is assumed that ara is a valid i2c client previously returned by
239 int i2c_handle_smbus_alert(struct i2c_client *ara)
241 struct i2c_smbus_alert *alert = i2c_get_clientdata(ara);