• Home
  • Raw
  • Download

Lines Matching refs:gp

352 	u32 gp;  in idt77252_read_gp()  local
354 gp = readl(SAR_REG_GP); in idt77252_read_gp()
356 printk("RD: %s\n", gp & SAR_GP_EEDI ? "1" : "0"); in idt77252_read_gp()
358 return gp; in idt77252_read_gp()
382 u32 gp; in idt77252_eeprom_read_status() local
385 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO); in idt77252_eeprom_read_status()
388 idt77252_write_gp(card, gp | rdsrtab[i]); in idt77252_eeprom_read_status()
391 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_status()
398 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_status()
403 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_status()
406 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_status()
416 u32 gp; in idt77252_eeprom_read_byte() local
419 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO); in idt77252_eeprom_read_byte()
422 idt77252_write_gp(card, gp | rdtab[i]); in idt77252_eeprom_read_byte()
425 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_byte()
429 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_read_byte()
433 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_read_byte()
439 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_byte()
446 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_byte()
451 idt77252_write_gp(card, gp | clktab[j++]); in idt77252_eeprom_read_byte()
454 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_read_byte()
463 u32 gp; in idt77252_eeprom_write_byte() local
466 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO); in idt77252_eeprom_write_byte()
469 idt77252_write_gp(card, gp | wrentab[i]); in idt77252_eeprom_write_byte()
472 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_write_byte()
476 idt77252_write_gp(card, gp | wrtab[i]); in idt77252_eeprom_write_byte()
479 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_write_byte()
483 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_write_byte()
487 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_write_byte()
493 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_write_byte()
497 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_write_byte()
501 idt77252_write_gp(card, gp | clktab[j++] | in idt77252_eeprom_write_byte()
507 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_write_byte()
514 u32 gp; in idt77252_eeprom_init() local
516 gp = idt77252_read_gp(card) & ~(SAR_GP_EESCLK|SAR_GP_EECS|SAR_GP_EEDO); in idt77252_eeprom_init()
518 idt77252_write_gp(card, gp | SAR_GP_EECS | SAR_GP_EESCLK); in idt77252_eeprom_init()
520 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_init()
522 idt77252_write_gp(card, gp | SAR_GP_EECS | SAR_GP_EESCLK); in idt77252_eeprom_init()
524 idt77252_write_gp(card, gp | SAR_GP_EECS); in idt77252_eeprom_init()