Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/
Di2c-smbus.c21 struct i2c_client *ara; /* Alert response address */ member
68 struct i2c_client *ara; in smbus_alert() local
71 ara = alert->ara; in smbus_alert()
85 status = i2c_smbus_read_byte(ara); in smbus_alert()
94 dev_warn(&ara->dev, "Duplicate SMBALERT# from dev " in smbus_alert()
98 dev_dbg(&ara->dev, "SMBALERT# from dev 0x%02x, flag %d\n", in smbus_alert()
102 device_for_each_child(&ara->adapter->dev, &data, in smbus_alert()
121 static int smbalert_probe(struct i2c_client *ara, in smbalert_probe() argument
124 struct i2c_smbus_alert_setup *setup = dev_get_platdata(&ara->dev); in smbalert_probe()
126 struct i2c_adapter *adapter = ara->adapter; in smbalert_probe()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-parport.c37 struct i2c_client *ara; member
150 struct i2c_client *ara = adapter->ara; in i2c_parport_irq() local
152 if (ara) { in i2c_parport_irq()
153 dev_dbg(&ara->dev, "SMBus alert received\n"); in i2c_parport_irq()
154 i2c_handle_smbus_alert(ara); in i2c_parport_irq()
232 adapter->ara = i2c_setup_smbus_alert(&adapter->adapter, in i2c_parport_attach()
234 if (adapter->ara) in i2c_parport_attach()
262 if (adapter->ara) { in i2c_parport_detach()
264 i2c_unregister_device(adapter->ara); in i2c_parport_detach()
Di2c-parport-light.c119 static struct i2c_client *ara; variable
149 ara = i2c_setup_smbus_alert(&parport_adapter, &alert_data); in i2c_parport_probe()
150 if (ara) in i2c_parport_probe()
161 if (ara) { in i2c_parport_remove()
163 i2c_unregister_device(ara); in i2c_parport_remove()
164 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-v5.4/include/linux/
Di2c-smbus.h36 int i2c_handle_smbus_alert(struct i2c_client *ara);