Searched refs:ctlr_ptr (Results 1 – 1 of 1) sorted by relevance
150 static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void *WPGBbar, u8 index) in i2c_ctrl_read() argument165 if (ctlr_ptr->ctlr_type == 0x02) { in i2c_ctrl_read()168 ultemp = (ulong) ctlr_ptr->u.wpeg_ctlr.i2c_addr; in i2c_ctrl_read()174 } else if (ctlr_ptr->ctlr_type == 0x04) { in i2c_ctrl_read()258 static u8 i2c_ctrl_write (struct controller *ctlr_ptr, void *WPGBbar, u8 index, u8 cmd) in i2c_ctrl_write() argument276 if (ctlr_ptr->ctlr_type == 0x02) { in i2c_ctrl_write()279 ultemp = (ulong) ctlr_ptr->u.wpeg_ctlr.i2c_addr; in i2c_ctrl_write()285 } else if (ctlr_ptr->ctlr_type == 0x04) { in i2c_ctrl_write()357 static u8 isa_ctrl_read (struct controller *ctlr_ptr, u8 offset) in isa_ctrl_read() argument363 start_address = ctlr_ptr->u.isa_ctlr.io_start; in isa_ctrl_read()[all …]