Lines Matching refs:gctl
1356 unsigned int gctl; in hw_auto_init() local
1359 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1360 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1361 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1362 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1363 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1366 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1367 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1370 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2021 unsigned int gctl; in hw_card_start() local
2051 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_card_start()
2052 set_field(&gctl, GCTL_UAA, 0); in hw_card_start()
2053 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_start()
2119 unsigned int gctl; in hw_card_init() local
2142 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_card_init()
2143 set_field(&gctl, GCTL_DBP, 1); in hw_card_init()
2144 set_field(&gctl, GCTL_TBP, 1); in hw_card_init()
2145 set_field(&gctl, GCTL_FBP, 1); in hw_card_init()
2146 set_field(&gctl, GCTL_DPC, 0); in hw_card_init()
2147 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_init()