ARLINGTON Texas -- Texas Rangers right-hander Yu Darvish struck out a season-high 12 batters as the Rangers wrapped up home-field advantage throughout the postseason with a 3-1 victory over the Tampa Bay Rays.

Darvish became just the third pitcher in club history to strike out at least 12 in six innings joining Nolan Ryan and Matt Perisho.

Darvish (7-5) allowed just three hits and one run while walking one.

Texas gave Darvish early support with Adrian Beltre's RBI single off Matt Andriese (8-8) in the first inning. The Rangers doubled the lead when Carlos Beltran lined a homer to right in the third inning.

Tampa Bay got to Darvish for a run in the sixth as Evan Longoria trimmed the lead to 2-1 with an RBI double to left-center. But with Longoria representing the tying run at second Darvish struck out the next three batters.

The Rangers got that run back in the bottom of the sixth when Rougned Odor blasted his team-high 33rd homer to right.

Andriese was touched for seven hits and three runs in his 5 1/3 innings. He struck out six and walked one.

Texas got three scoreless innings from its bullpen which stretched its scoreless streak to a club-record 29 2/3 innings. Sam Dyson closed out Tampa Bay for his 38th save.

Beltre and Odor each had two hits for Texas. Longoria had two doubles accounting for half the four Tampa Bay hits.

Darvish was in command at the start He allowed just two hits through the first five innings and struck out nine.

Texas gave Darvish a first-inning run to work with on an RBI single by Beltre. The Rangers made it 2-0 in the third when Beltran lined a solo homer to right.

NOTES: The Rangers activated OF Shin-Soo Choo from the 15-day disabled list. Choo had been on the disabled list since Aug. 16 after sustaining a fracture in his left forearm after getting hit by a pitch. ... This series marks the first time in Texas history the Rangers haven't played an American League West team to end the regular-season schedule. ... With 32 homers Texas 2B Rougned Odor has a chance to be just the second second baseman to lead the Rangers in homers for a season (Ian Kinsler 2011). ... If Tampa Bay 3B Evan Longoria is in the lineup both Saturday and Sunday he'll become just fourth active player to play in at least 160 games in four-straight seasons. Prince Fielder Adrian Gonzalez and Ichiro Suzuki are the other three.