Searched refs:adap_data (Results 1 – 1 of 1) sorted by relevance
40 struct via_port_cfg *adap_data = data; in via_i2c_setscl() local44 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setscl()49 switch (adap_data->type) { in via_i2c_setscl()59 via_write_reg(adap_data->io_port, adap_data->ioport_index, val); in via_i2c_setscl()65 struct via_port_cfg *adap_data = data; in via_i2c_getscl() local70 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl()78 struct via_port_cfg *adap_data = data; in via_i2c_getsda() local83 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04) in via_i2c_getsda()92 struct via_port_cfg *adap_data = data; in via_i2c_setsda() local96 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setsda()[all …]