Searched refs:via_read_reg (Results 1 – 4 of 4) sorted by relevance
30 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0; in via_i2c_setscl()59 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08) in via_i2c_getscl()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 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_set()137 reg = via_read_reg(VIASR, gpio->vg_port_index); in via_gpio_get()
17 #define viafb_read_reg(p, i) via_read_reg(p, i)
188 static inline u8 via_read_reg(u16 port, u8 index) in via_read_reg() function