Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-parport.c39 struct adapter_parm { struct
48 static const struct adapter_parm adapter_parm[] = { argument
217 line_set((struct parport *) data, state, &adapter_parm[type].setscl); in parport_setscl()
222 line_set((struct parport *) data, state, &adapter_parm[type].setsda); in parport_setsda()
227 return line_get((struct parport *) data, &adapter_parm[type].getscl); in parport_getscl()
232 return line_get((struct parport *) data, &adapter_parm[type].getsda); in parport_getsda()
305 if (!adapter_parm[type].getscl.val) { in i2c_parport_attach()
323 if (adapter_parm[type].init.val) { in i2c_parport_attach()
324 line_set(port, 1, &adapter_parm[type].init); in i2c_parport_attach()
335 if (adapter_parm[type].smbus_alert) { in i2c_parport_attach()
[all …]