gpreg 8420 drivers/scsi/ncr53c8xx.c cpu_to_scr(SCR_REG_REG(gpreg, SCR_OR, 0x01)); gpreg 8422 drivers/scsi/ncr53c8xx.c cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe)); gpreg 8424 drivers/scsi/ncr53c8xx.c cpu_to_scr(SCR_REG_REG(gpreg, SCR_AND, 0xfe)); gpreg 1136 drivers/scsi/ncr53c8xx.h (SCR_REG_SFBR (gpreg, SCR_LOAD, data)) gpreg 619 drivers/scsi/sym53c8xx_2/sym_defs.h (SCR_REG_SFBR (gpreg, SCR_LOAD, data)) gpreg 214 drivers/scsi/sym53c8xx_2/sym_fw1.h SCR_REG_REG (gpreg, SCR_AND, 0xfe), gpreg 839 drivers/scsi/sym53c8xx_2/sym_fw1.h SCR_REG_REG (gpreg, SCR_OR, 0x01), gpreg 885 drivers/scsi/sym53c8xx_2/sym_fw1.h SCR_REG_REG (gpreg, SCR_AND, 0xfe), gpreg 207 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_REG_REG (gpreg, SCR_AND, 0xfe), gpreg 802 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_REG_REG (gpreg, SCR_OR, 0x01), gpreg 847 drivers/scsi/sym53c8xx_2/sym_fw2.h SCR_REG_REG (gpreg, SCR_AND, 0xfe), gpreg 243 drivers/scsi/sym53c8xx_2/sym_nvram.c static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, gpreg 249 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg |= write_bit; gpreg 252 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg &= 0xfe; gpreg 255 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg |= 0x02; gpreg 258 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg &= 0xfd; gpreg 262 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, *gpreg); gpreg 270 drivers/scsi/sym53c8xx_2/sym_nvram.c static void S24C16_start(struct sym_device *np, u_char *gpreg) gpreg 272 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 1, gpreg, SET_BIT); gpreg 273 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, SET_CLK); gpreg 274 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, CLR_BIT); gpreg 275 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, CLR_CLK); gpreg 281 drivers/scsi/sym53c8xx_2/sym_nvram.c static void S24C16_stop(struct sym_device *np, u_char *gpreg) gpreg 283 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, SET_CLK); gpreg 284 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 1, gpreg, SET_BIT); gpreg 292 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char *gpreg) gpreg 294 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, write_bit, gpreg, SET_BIT); gpreg 295 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, SET_CLK); gpreg 298 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, CLR_CLK); gpreg 299 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, gpreg, CLR_BIT); gpreg 306 drivers/scsi/sym53c8xx_2/sym_nvram.c static void S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, gpreg 310 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_do_bit(np, NULL, write_bit, gpreg); gpreg 318 drivers/scsi/sym53c8xx_2/sym_nvram.c static void S24C16_read_ack(struct sym_device *np, u_char *read_bit, u_char *gpreg, gpreg 322 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_do_bit(np, read_bit, 1, gpreg); gpreg 331 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char *gpreg, u_char *gpcntl) gpreg 336 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_do_bit(np, NULL, (write_data >> (7 - x)) & 0x01, gpreg); gpreg 338 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_read_ack(np, ack_data, gpreg, gpcntl); gpreg 346 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char *gpreg, u_char *gpcntl) gpreg 353 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_do_bit(np, &read_bit, 1, gpreg); gpreg 357 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_write_ack(np, ack_data, gpreg, gpcntl); gpreg 367 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char gpcntl, gpreg; gpreg 382 drivers/scsi/sym53c8xx_2/sym_nvram.c gpreg = old_gpreg; gpreg 383 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, &gpreg, CLR_CLK); gpreg 384 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, &gpreg, CLR_BIT); gpreg 387 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_stop(np, &gpreg); gpreg 392 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_start(np, &gpreg); gpreg 395 drivers/scsi/sym53c8xx_2/sym_nvram.c &gpreg, &gpcntl); gpreg 399 drivers/scsi/sym53c8xx_2/sym_nvram.c &gpreg, &gpcntl); gpreg 403 drivers/scsi/sym53c8xx_2/sym_nvram.c &gpreg, &gpcntl); gpreg 404 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_stop(np, &gpreg); gpreg 420 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char gpcntl, gpreg; gpreg 436 drivers/scsi/sym53c8xx_2/sym_nvram.c gpreg = old_gpreg; gpreg 437 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, &gpreg, CLR_CLK); gpreg 438 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_set_bit(np, 0, &gpreg, CLR_BIT); gpreg 441 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_stop(np, &gpreg); gpreg 444 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_start(np, &gpreg); gpreg 448 drivers/scsi/sym53c8xx_2/sym_nvram.c 0xa0 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); gpreg 454 drivers/scsi/sym53c8xx_2/sym_nvram.c offset & 0xff, &gpreg, &gpcntl); gpreg 459 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_start(np, &gpreg); gpreg 463 drivers/scsi/sym53c8xx_2/sym_nvram.c 0xa1 | ((offset >> 7) & 0x0e), &gpreg, &gpcntl); gpreg 473 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_read_byte(np, &data[x], (x == (len-1)), &gpreg, &gpcntl); gpreg 478 drivers/scsi/sym53c8xx_2/sym_nvram.c S24C16_stop(np, &gpreg); gpreg 538 drivers/scsi/sym53c8xx_2/sym_nvram.c static void T93C46_Clk(struct sym_device *np, u_char *gpreg) gpreg 540 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, *gpreg | 0x04); gpreg 543 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, *gpreg); gpreg 549 drivers/scsi/sym53c8xx_2/sym_nvram.c static void T93C46_Read_Bit(struct sym_device *np, u_char *read_bit, u_char *gpreg) gpreg 552 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Clk(np, gpreg); gpreg 559 drivers/scsi/sym53c8xx_2/sym_nvram.c static void T93C46_Write_Bit(struct sym_device *np, u_char write_bit, u_char *gpreg) gpreg 562 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg |= 0x02; gpreg 564 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg &= 0xfd; gpreg 566 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg |= 0x10; gpreg 568 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, *gpreg); gpreg 572 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Clk(np, gpreg); gpreg 578 drivers/scsi/sym53c8xx_2/sym_nvram.c static void T93C46_Stop(struct sym_device *np, u_char *gpreg) gpreg 580 drivers/scsi/sym53c8xx_2/sym_nvram.c *gpreg &= 0xef; gpreg 581 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, *gpreg); gpreg 585 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Clk(np, gpreg); gpreg 592 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char *read_bit, u_char *gpreg) gpreg 598 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Write_Bit(np, (u_char) (write_data >> (8 - x)), gpreg); gpreg 607 drivers/scsi/sym53c8xx_2/sym_nvram.c unsigned short *nvram_data, unsigned char *gpreg) gpreg 614 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Read_Bit(np, &read_bit, gpreg); gpreg 627 drivers/scsi/sym53c8xx_2/sym_nvram.c int len, unsigned char *gpreg) gpreg 634 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Send_Command(np, 0x180 | x, &read_bit, gpreg); gpreg 637 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Read_Word(np, &data[x], gpreg); gpreg 638 drivers/scsi/sym53c8xx_2/sym_nvram.c T93C46_Stop(np, gpreg); gpreg 649 drivers/scsi/sym53c8xx_2/sym_nvram.c u_char gpcntl, gpreg; gpreg 659 drivers/scsi/sym53c8xx_2/sym_nvram.c gpreg = old_gpreg & 0xe9; gpreg 660 drivers/scsi/sym53c8xx_2/sym_nvram.c OUTB(np, nc_gpreg, gpreg); gpreg 666 drivers/scsi/sym53c8xx_2/sym_nvram.c sizeof(*nvram) / sizeof(short), &gpreg);