Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/i2c/
Di2c-smbus.c31 struct i2c_client *ara; /* Alert response address */ member
77 struct i2c_client *ara; in smbus_alert() local
81 ara = alert->ara; in smbus_alert()
95 status = i2c_smbus_read_byte(ara); in smbus_alert()
103 dev_warn(&ara->dev, "Duplicate SMBALERT# from dev " in smbus_alert()
107 dev_dbg(&ara->dev, "SMBALERT# from dev 0x%02x, flag %d\n", in smbus_alert()
111 device_for_each_child(&ara->adapter->dev, &data, in smbus_alert()
134 static int smbalert_probe(struct i2c_client *ara, in smbalert_probe() argument
137 struct i2c_smbus_alert_setup *setup = dev_get_platdata(&ara->dev); in smbalert_probe()
139 struct i2c_adapter *adapter = ara->adapter; in smbalert_probe()
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-parport.c43 struct i2c_client *ara; member
153 struct i2c_client *ara = adapter->ara; in i2c_parport_irq() local
155 if (ara) { in i2c_parport_irq()
156 dev_dbg(&ara->dev, "SMBus alert received\n"); in i2c_parport_irq()
157 i2c_handle_smbus_alert(ara); in i2c_parport_irq()
220 adapter->ara = i2c_setup_smbus_alert(&adapter->adapter, in i2c_parport_attach()
222 if (adapter->ara) in i2c_parport_attach()
250 if (adapter->ara) { in i2c_parport_detach()
252 i2c_unregister_device(adapter->ara); in i2c_parport_detach()
Di2c-parport-light.c128 static struct i2c_client *ara; variable
158 ara = i2c_setup_smbus_alert(&parport_adapter, &alert_data); in i2c_parport_probe()
159 if (ara) in i2c_parport_probe()
170 if (ara) { in i2c_parport_remove()
172 i2c_unregister_device(ara); in i2c_parport_remove()
173 ara = NULL; in i2c_parport_remove()
/linux-4.1.27/include/linux/
Di2c-smbus.h49 int i2c_handle_smbus_alert(struct i2c_client *ara);