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
2047 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_card_start()
2048 set_field(&gctl, GCTL_UAA, 0); in hw_card_start()
2049 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_start()
2115 unsigned int gctl; in hw_card_init() local
2138 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_card_init()
2139 set_field(&gctl, GCTL_DBP, 1); in hw_card_init()
2140 set_field(&gctl, GCTL_TBP, 1); in hw_card_init()
2141 set_field(&gctl, GCTL_FBP, 1); in hw_card_init()
2142 set_field(&gctl, GCTL_DPC, 0); in hw_card_init()
2143 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_card_init()