Lines Matching refs:gpcntl
320 u_char *gpcntl) in S24C16_write_ack() argument
322 OUTB(np, nc_gpcntl, *gpcntl & 0xfe); in S24C16_write_ack()
324 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_write_ack()
332 u_char *gpcntl) in S24C16_read_ack() argument
334 OUTB(np, nc_gpcntl, *gpcntl | 0x01); in S24C16_read_ack()
336 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_read_ack()
344 u_char *gpreg, u_char *gpcntl) in S24C16_write_byte() argument
351 S24C16_read_ack(np, ack_data, gpreg, gpcntl); in S24C16_write_byte()
359 u_char *gpreg, u_char *gpcntl) in S24C16_read_byte() argument
370 S24C16_write_ack(np, ack_data, gpreg, gpcntl); in S24C16_read_byte()
380 u_char gpcntl, gpreg; in sym_write_S24C16_nvram() local
388 gpcntl = old_gpcntl & 0x1c; in sym_write_S24C16_nvram()
392 OUTB(np, nc_gpcntl, gpcntl); in sym_write_S24C16_nvram()
408 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
412 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
416 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
433 u_char gpcntl, gpreg; in sym_read_S24C16_nvram() local
442 gpcntl = old_gpcntl & 0x1c; in sym_read_S24C16_nvram()
446 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
461 0xa0 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
467 offset & 0xff, &gpreg, &gpcntl); in sym_read_S24C16_nvram()
476 0xa1 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
481 gpcntl |= 0x01; in sym_read_S24C16_nvram()
482 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
486 S24C16_read_byte(np, &data[x], (x == (len-1)), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
489 gpcntl &= 0xfe; in sym_read_S24C16_nvram()
490 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
662 u_char gpcntl, gpreg; in sym_read_T93C46_nvram() local
674 gpcntl = (old_gpcntl & 0xe9) | 0x09; in sym_read_T93C46_nvram()
675 OUTB(np, nc_gpcntl, gpcntl); in sym_read_T93C46_nvram()