Home
last modified time | relevance | path

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

/linux/drivers/misc/eeprom/
H A Dee1004.c49 static struct ee1004_bus_data { struct
54 } ee1004_bus_data[EE1004_MAX_BUSSES]; argument
64 static struct ee1004_bus_data *ee1004_get_bus_data(struct i2c_adapter *adap) in ee1004_get_bus_data()
69 if (ee1004_bus_data[i].adap == adap) in ee1004_get_bus_data()
70 return ee1004_bus_data + i; in ee1004_get_bus_data()
74 if (!ee1004_bus_data[i].adap) { in ee1004_get_bus_data()
75 ee1004_bus_data[i].adap = adap; in ee1004_get_bus_data()
76 return ee1004_bus_data + i; in ee1004_get_bus_data()
82 static int ee1004_get_current_page(struct ee1004_bus_data *bd) in ee1004_get_current_page()
102 struct ee1004_bus_data *bd = i2c_get_clientdata(client); in ee1004_set_current_page()
[all …]