Home
last modified time | relevance | path

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

/drivers/video/fbdev/via/
Dvia_i2c.c26 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()
51 struct via_port_cfg *adap_data = data; in via_i2c_getscl() local
56 if (adap_data->type == VIA_PORT_GPIO) in via_i2c_getscl()
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()
67 struct via_port_cfg *adap_data = data; in via_i2c_getsda() local
72 if (adap_data->type == VIA_PORT_GPIO) in via_i2c_getsda()
[all …]