Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/i2c/
Di2c-smbus.c30 struct i2c_client *ara; /* Alert response address */ member
77 struct i2c_client *ara; in smbus_alert() local
80 ara = alert->ara; in smbus_alert()
94 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()
130 static int smbalert_probe(struct i2c_client *ara, in smbalert_probe() argument
133 struct i2c_smbus_alert_setup *setup = dev_get_platdata(&ara->dev); in smbalert_probe()
135 struct i2c_adapter *adapter = ara->adapter; in smbalert_probe()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-parport.c45 struct i2c_client *ara; member
158 struct i2c_client *ara = adapter->ara; in i2c_parport_irq() local
160 if (ara) { in i2c_parport_irq()
161 dev_dbg(&ara->dev, "SMBus alert received\n"); in i2c_parport_irq()
162 i2c_handle_smbus_alert(ara); in i2c_parport_irq()
240 adapter->ara = i2c_setup_smbus_alert(&adapter->adapter, in i2c_parport_attach()
242 if (adapter->ara) in i2c_parport_attach()
270 if (adapter->ara) { in i2c_parport_detach()
272 i2c_unregister_device(adapter->ara); in i2c_parport_detach()
Di2c-parport-light.c127 static struct i2c_client *ara; variable
157 ara = i2c_setup_smbus_alert(&parport_adapter, &alert_data); in i2c_parport_probe()
158 if (ara) in i2c_parport_probe()
169 if (ara) { in i2c_parport_remove()
171 i2c_unregister_device(ara); in i2c_parport_remove()
172 ara = NULL; in i2c_parport_remove()
Di2c-thunderx-pcidrv.c128 i2c->ara = i2c_setup_smbus_alert(&i2c->adap, &i2c->alert_data); in thunder_i2c_smbus_setup_of()
129 if (!i2c->ara) in thunder_i2c_smbus_setup_of()
146 i2c_unregister_device(i2c->ara); in thunder_i2c_smbus_remove()
Di2c-xlp9xx.c89 struct i2c_client *ara; member
497 priv->ara = i2c_setup_smbus_alert(&priv->adapter, &priv->alert_data); in xlp9xx_i2c_smbus_setup()
498 if (!priv->ara) in xlp9xx_i2c_smbus_setup()
Di2c-octeon-core.h122 struct i2c_client *ara; member
/Linux-v4.19/include/linux/
Di2c-smbus.h50 int i2c_handle_smbus_alert(struct i2c_client *ara);