• Home
  • Raw
  • Download

Lines Matching refs:grc_local_ctrl

543 				       tp->grc_local_ctrl|GRC_LCLCTRL_CLEARINT);  in tg3_write_indirect_mbox()
1030 tw32(GRC_LOCAL_CTRL, tp->grc_local_ctrl | GRC_LCLCTRL_SETINT); in tg3_enable_ints()
2827 tw32_wait_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl, in tg3_pwrsrc_switch_to_vmain()
2832 tw32_wait_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl, in tg3_pwrsrc_switch_to_vmain()
2841 u32 grc_local_ctrl; in tg3_pwrsrc_die_with_vmain() local
2848 grc_local_ctrl = tp->grc_local_ctrl | GRC_LCLCTRL_GPIO_OE1; in tg3_pwrsrc_die_with_vmain()
2851 grc_local_ctrl | GRC_LCLCTRL_GPIO_OUTPUT1, in tg3_pwrsrc_die_with_vmain()
2855 grc_local_ctrl, in tg3_pwrsrc_die_with_vmain()
2859 grc_local_ctrl | GRC_LCLCTRL_GPIO_OUTPUT1, in tg3_pwrsrc_die_with_vmain()
2870 tw32_wait_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl | in tg3_pwrsrc_switch_to_vaux()
2880 u32 grc_local_ctrl = GRC_LCLCTRL_GPIO_OE0 | in tg3_pwrsrc_switch_to_vaux() local
2885 tp->grc_local_ctrl; in tg3_pwrsrc_switch_to_vaux()
2886 tw32_wait_f(GRC_LOCAL_CTRL, grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2889 grc_local_ctrl |= GRC_LCLCTRL_GPIO_OUTPUT2; in tg3_pwrsrc_switch_to_vaux()
2890 tw32_wait_f(GRC_LOCAL_CTRL, grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2893 grc_local_ctrl &= ~GRC_LCLCTRL_GPIO_OUTPUT0; in tg3_pwrsrc_switch_to_vaux()
2894 tw32_wait_f(GRC_LOCAL_CTRL, grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2898 u32 grc_local_ctrl = 0; in tg3_pwrsrc_switch_to_vaux() local
2902 grc_local_ctrl |= GRC_LCLCTRL_GPIO_OE3; in tg3_pwrsrc_switch_to_vaux()
2903 tw32_wait_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl | in tg3_pwrsrc_switch_to_vaux()
2904 grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2912 grc_local_ctrl |= GRC_LCLCTRL_GPIO_OE0 | in tg3_pwrsrc_switch_to_vaux()
2918 grc_local_ctrl &= ~(GRC_LCLCTRL_GPIO_OE2 | in tg3_pwrsrc_switch_to_vaux()
2922 tp->grc_local_ctrl | grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2925 grc_local_ctrl |= GRC_LCLCTRL_GPIO_OUTPUT0; in tg3_pwrsrc_switch_to_vaux()
2928 tp->grc_local_ctrl | grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
2932 grc_local_ctrl &= ~GRC_LCLCTRL_GPIO_OUTPUT2; in tg3_pwrsrc_switch_to_vaux()
2934 tp->grc_local_ctrl | grc_local_ctrl, in tg3_pwrsrc_switch_to_vaux()
3537 tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl & in tg3_nvram_write_block()
3574 tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl); in tg3_nvram_write_block()
10475 tp->grc_local_ctrl &= ~gpio_mask; in tg3_reset_hw()
10476 tp->grc_local_ctrl |= tr32(GRC_LOCAL_CTRL) & gpio_mask; in tg3_reset_hw()
10480 tp->grc_local_ctrl |= (GRC_LCLCTRL_GPIO_OE1 | in tg3_reset_hw()
10483 tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl); in tg3_reset_hw()
10698 tp->grc_local_ctrl &= ~GRC_LCLCTRL_USE_EXT_SIG_DETECT; in tg3_reset_hw()
10699 tp->grc_local_ctrl |= GRC_LCLCTRL_USE_SIG_DETECT; in tg3_reset_hw()
10700 tw32(GRC_LOCAL_CTRL, tp->grc_local_ctrl); in tg3_reset_hw()
11025 tp->grc_local_ctrl | GRC_LCLCTRL_SETINT); in tg3_timer()
16745 tp->grc_local_ctrl = GRC_LCLCTRL_INT_ON_ATTN | GRC_LCLCTRL_AUTO_SEEPROM; in tg3_get_invariants()
16748 tp->grc_local_ctrl |= (GRC_LCLCTRL_GPIO_OE1 | in tg3_get_invariants()
16754 tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_OE3; in tg3_get_invariants()
16759 tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_UART_SEL; in tg3_get_invariants()
16764 tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_UART_SEL; in tg3_get_invariants()
16767 tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_OE0 | in tg3_get_invariants()
16772 tp->grc_local_ctrl |= in tg3_get_invariants()