The scalar d is a damping parameter. If d > 0, the solution is "regularized" in the sense that a unique solution always exists, and ||x|| is bounded.
The method is based on the Golub-Kahan bidiagonalization process. It is algebraically equivalent to applying the symmetric conjugate gradient (CG) method to the normal equations, (A'A + d2 I) x = A'b, but has better numerical properties, especially if A is ill-conditioned.
If A is symmetric, it should be more efficient to use SYMMLQ.