Searched refs:adap_data (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | via_i2c.c | 26 struct via_port_cfg *adap_data = data; in via_i2c_setscl() local 30 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setscl() 35 switch (adap_data->type) { in via_i2c_setscl() 45 via_write_reg(adap_data->io_port, adap_data->ioport_index, val); in via_i2c_setscl() 57 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index, in via_i2c_getscl() 59 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl() 73 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index, in via_i2c_getsda() 75 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04) in via_i2c_getsda() 88 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setsda() 93 switch (adap_data->type) { in via_i2c_setsda() [all …]
|