Lines Matching defs:temp
153 u16 temp[3];
155 temp[0] = pm3386_port_reg_read(port, 0x308, 0x100);
156 temp[1] = pm3386_port_reg_read(port, 0x309, 0x100);
157 temp[2] = pm3386_port_reg_read(port, 0x30a, 0x100);
158 pm3386_port_reg_write(port, 0x308, 0x100, swaph(temp[2]));
159 pm3386_port_reg_write(port, 0x309, 0x100, swaph(temp[1]));
160 pm3386_port_reg_write(port, 0x30a, 0x100, swaph(temp[0]));
246 u16 temp;
248 temp = pm3386_port_reg_read(port, 0x308, 0x100);
249 mac[0] = temp & 0xff;
250 mac[1] = (temp >> 8) & 0xff;
252 temp = pm3386_port_reg_read(port, 0x309, 0x100);
253 mac[2] = temp & 0xff;
254 mac[3] = (temp >> 8) & 0xff;
256 temp = pm3386_port_reg_read(port, 0x30a, 0x100);
257 mac[4] = temp & 0xff;
258 mac[5] = (temp >> 8) & 0xff;
303 u16 temp;
305 temp = pm3386_port_reg_read(port, 0x31a, 0x100);
306 temp = pm3386_port_reg_read(port, 0x31a, 0x100);
308 return !!(temp & 0x0002);
313 u16 temp;
315 temp = pm3386_port_reg_read(port, 0x303, 0x100);
316 temp |= 0x1000;
317 pm3386_port_reg_write(port, 0x303, 0x100, temp);
322 u16 temp;
324 temp = pm3386_port_reg_read(port, 0x303, 0x100);
325 temp &= 0xefff;
326 pm3386_port_reg_write(port, 0x303, 0x100, temp);
331 u16 temp;
333 temp = pm3386_port_reg_read(port, 0x303, 0x100);
334 temp |= 0x4000;
335 pm3386_port_reg_write(port, 0x303, 0x100, temp);
340 u16 temp;
342 temp = pm3386_port_reg_read(port, 0x303, 0x100);
343 temp &= 0xbfff;
344 pm3386_port_reg_write(port, 0x303, 0x100, temp);