Searched refs:adapter_parm (Results 1 – 1 of 1) sorted by relevance
39 struct adapter_parm { struct48 static const struct adapter_parm adapter_parm[] = { argument217 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()275 if (type >= ARRAY_SIZE(adapter_parm)) { in i2c_parport_attach()315 if (!adapter_parm[type].getscl.val) { in i2c_parport_attach()333 if (adapter_parm[type].init.val) { in i2c_parport_attach()334 line_set(port, 1, &adapter_parm[type].init); in i2c_parport_attach()[all …]