Lines Matching refs:gpcntl
307 u_char *gpcntl) in S24C16_write_ack() argument
309 OUTB(np, nc_gpcntl, *gpcntl & 0xfe); in S24C16_write_ack()
311 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_write_ack()
319 u_char *gpcntl) in S24C16_read_ack() argument
321 OUTB(np, nc_gpcntl, *gpcntl | 0x01); in S24C16_read_ack()
323 OUTB(np, nc_gpcntl, *gpcntl); in S24C16_read_ack()
331 u_char *gpreg, u_char *gpcntl) in S24C16_write_byte() argument
338 S24C16_read_ack(np, ack_data, gpreg, gpcntl); in S24C16_write_byte()
346 u_char *gpreg, u_char *gpcntl) in S24C16_read_byte() argument
357 S24C16_write_ack(np, ack_data, gpreg, gpcntl); in S24C16_read_byte()
367 u_char gpcntl, gpreg; in sym_write_S24C16_nvram() local
375 gpcntl = old_gpcntl & 0x1c; in sym_write_S24C16_nvram()
379 OUTB(np, nc_gpcntl, gpcntl); in sym_write_S24C16_nvram()
395 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
399 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
403 &gpreg, &gpcntl); in sym_write_S24C16_nvram()
420 u_char gpcntl, gpreg; in sym_read_S24C16_nvram() local
429 gpcntl = old_gpcntl & 0x1c; in sym_read_S24C16_nvram()
433 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
448 0xa0 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
454 offset & 0xff, &gpreg, &gpcntl); in sym_read_S24C16_nvram()
463 0xa1 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
468 gpcntl |= 0x01; in sym_read_S24C16_nvram()
469 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
473 S24C16_read_byte(np, &data[x], (x == (len-1)), &gpreg, &gpcntl); in sym_read_S24C16_nvram()
476 gpcntl &= 0xfe; in sym_read_S24C16_nvram()
477 OUTB(np, nc_gpcntl, gpcntl); in sym_read_S24C16_nvram()
649 u_char gpcntl, gpreg; in sym_read_T93C46_nvram() local
661 gpcntl = (old_gpcntl & 0xe9) | 0x09; in sym_read_T93C46_nvram()
662 OUTB(np, nc_gpcntl, gpcntl); in sym_read_T93C46_nvram()