The 49ers entered the regular season feeling as confident in quarterback Brian Hoyer as anyone on the offensive side of the ball.

But Hoyer has struggled through the worst back-to-back games of his 33-start NFL career. And the 49ers need him to get going, beginning Thursday night against the Los Angeles Rams, coach Kyle Shanahan said.

"I want him to get his edge back. I want him to get his confidence,” Shanahan said Wednesday on the KNBR Morning Show.

“We need Brian to step up, and we need everyone around him to step up.”

In the first two games of the season, Hoyer has completed 62.9 percent of his 62 pass attempts but for just 292 yards with no touchdowns and two interceptions. His passer rating is a lowly 60.7.

The 49ers have scored only four field goals and no touchdowns on their 21 offensive possessions in losses to Carolina and Seattle. Moreover, the 49ers have converted just four of 23 (17.4 percent) of their third-down attempts.

The quick turnaround on Thursday at Levi’s Stadium is something Hoyer said he welcomes this week -- of all weeks.