Lines Matching refs:nvram_pagesize

3251 		addr = ((addr / tp->nvram_pagesize) <<  in tg3_nvram_phys_addr()
3253 (addr % tp->nvram_pagesize); in tg3_nvram_phys_addr()
3267 tp->nvram_pagesize) + in tg3_nvram_logical_addr()
3375 u32 pagesize = tp->nvram_pagesize; in tg3_nvram_write_block_unbuffered()
3482 page_off = offset % tp->nvram_pagesize; in tg3_nvram_write_block_buffered()
3490 if (page_off == (tp->nvram_pagesize - 4)) in tg3_nvram_write_block_buffered()
14361 tp->nvram_pagesize = ATMEL_AT45DB0X1B_PAGE_SIZE; in tg3_get_nvram_info()
14366 tp->nvram_pagesize = ATMEL_AT25F512_PAGE_SIZE; in tg3_get_nvram_info()
14370 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_nvram_info()
14375 tp->nvram_pagesize = ST_M45PEX0_PAGE_SIZE; in tg3_get_nvram_info()
14380 tp->nvram_pagesize = SAIFUN_SA25F0XX_PAGE_SIZE; in tg3_get_nvram_info()
14385 tp->nvram_pagesize = SST_25VF0X0_PAGE_SIZE; in tg3_get_nvram_info()
14390 tp->nvram_pagesize = ATMEL_AT45DB0X1B_PAGE_SIZE; in tg3_get_nvram_info()
14399 tp->nvram_pagesize = 256; in tg3_nvram_get_pagesize()
14402 tp->nvram_pagesize = 512; in tg3_nvram_get_pagesize()
14405 tp->nvram_pagesize = 1024; in tg3_nvram_get_pagesize()
14408 tp->nvram_pagesize = 2048; in tg3_nvram_get_pagesize()
14411 tp->nvram_pagesize = 4096; in tg3_nvram_get_pagesize()
14414 tp->nvram_pagesize = 264; in tg3_nvram_get_pagesize()
14417 tp->nvram_pagesize = 528; in tg3_nvram_get_pagesize()
14456 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_5752_nvram_info()
14484 tp->nvram_pagesize = 264; in tg3_get_5755_nvram_info()
14502 tp->nvram_pagesize = 256; in tg3_get_5755_nvram_info()
14532 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_5787_nvram_info()
14544 tp->nvram_pagesize = 264; in tg3_get_5787_nvram_info()
14552 tp->nvram_pagesize = 256; in tg3_get_5787_nvram_info()
14583 tp->nvram_pagesize = 256; in tg3_get_5761_nvram_info()
14596 tp->nvram_pagesize = 256; in tg3_get_5761_nvram_info()
14636 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_5906_nvram_info()
14650 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_57780_nvram_info()
14707 if (tp->nvram_pagesize != 264 && tp->nvram_pagesize != 528) in tg3_get_57780_nvram_info()
14723 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_5717_nvram_info()
14786 if (tp->nvram_pagesize != 264 && tp->nvram_pagesize != 528) in tg3_get_5717_nvram_info()
14809 tp->nvram_pagesize = 4096; in tg3_get_5720_nvram_info()
14845 tp->nvram_pagesize = ATMEL_AT24C512_CHIP_SIZE; in tg3_get_5720_nvram_info()
14847 tp->nvram_pagesize = ATMEL_AT24C02_CHIP_SIZE; in tg3_get_5720_nvram_info()
14939 if (tp->nvram_pagesize != 264 && tp->nvram_pagesize != 528) in tg3_get_5720_nvram_info()