Lines Matching refs:socket
109 static int o2micro_override(struct yenta_socket *socket) in o2micro_override() argument
121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override()
122 a = config_readb(socket, O2_RESERVED1); in o2micro_override()
123 b = config_readb(socket, O2_RESERVED2); in o2micro_override()
124 dev_dbg(&socket->dev->dev, "O2: 0x94/0xD4: %02x/%02x\n", a, b); in o2micro_override()
126 switch (socket->dev->device) { in o2micro_override()
151 dev_warn(&socket->dev->dev, in o2micro_override()
155 dev_info(&socket->dev->dev, in o2micro_override()
157 config_writeb(socket, O2_RESERVED1, in o2micro_override()
159 config_writeb(socket, O2_RESERVED2, in o2micro_override()
162 dev_info(&socket->dev->dev, in o2micro_override()
164 config_writeb(socket, O2_RESERVED1, in o2micro_override()
166 config_writeb(socket, O2_RESERVED2, in o2micro_override()
174 static void o2micro_restore_state(struct yenta_socket *socket) in o2micro_restore_state() argument
180 o2micro_override(socket); in o2micro_restore_state()