Lines Matching refs:grc_mode
3544 u32 grc_mode; in tg3_nvram_write_block() local
3554 grc_mode = tr32(GRC_MODE); in tg3_nvram_write_block()
3555 tw32(GRC_MODE, grc_mode | GRC_MODE_NVRAM_WR_ENABLE); in tg3_nvram_write_block()
3565 grc_mode = tr32(GRC_MODE); in tg3_nvram_write_block()
3566 tw32(GRC_MODE, grc_mode & ~GRC_MODE_NVRAM_WR_ENABLE); in tg3_nvram_write_block()
9255 tw32(GRC_MODE, tp->grc_mode); in tg3_chip_reset()
9936 u32 grc_mode = tr32(GRC_MODE); in tg3_reset_hw() local
9939 val = grc_mode & ~GRC_MODE_PCIE_PORT_MASK; in tg3_reset_hw()
9946 tw32(GRC_MODE, grc_mode); in tg3_reset_hw()
9951 u32 grc_mode = tr32(GRC_MODE); in tg3_reset_hw() local
9954 val = grc_mode & ~GRC_MODE_PCIE_PORT_MASK; in tg3_reset_hw()
9962 tw32(GRC_MODE, grc_mode); in tg3_reset_hw()
9966 u32 grc_mode; in tg3_reset_hw() local
9973 grc_mode = tr32(GRC_MODE); in tg3_reset_hw()
9976 val = grc_mode & ~GRC_MODE_PCIE_PORT_MASK; in tg3_reset_hw()
9985 tw32(GRC_MODE, grc_mode); in tg3_reset_hw()
10057 tp->grc_mode &= ~(GRC_MODE_HOST_SENDBDS | in tg3_reset_hw()
10061 tp->grc_mode |= GRC_MODE_HOST_SENDBDS; in tg3_reset_hw()
10069 tp->grc_mode |= GRC_MODE_NO_TX_PHDR_CSUM; in tg3_reset_hw()
10079 tw32(GRC_MODE, tp->grc_mode | val); in tg3_reset_hw()
16813 tp->grc_mode |= GRC_MODE_IRQ_ON_FLOW_ATTN; in tg3_get_invariants()
16836 tw32(GRC_MODE, val | tp->grc_mode); in tg3_get_invariants()
17698 tp->grc_mode = (GRC_MODE_WSWAP_DATA | GRC_MODE_BSWAP_DATA | in tg3_init_one()
17701 tp->grc_mode |= GRC_MODE_BSWAP_NONFRM_DATA; in tg3_init_one()