Let ϕ be a positive definite and continuous function on R, and let µ be the corresponding Bochner measure. For fixed ε, τ ∈ R, ε = 0, we consider a linear operator Aε,τ generated by the function ϕ:Let J be a convex and nondecreasing function on [0, +∞). In this paper, we prove the inequalitiesand f ∈ C(T) and obtain criteria of extremal function. We study in more detail the case in which ε = 1/n, n ∈ N, τ = 1, and ϕ(x) ≡ e iβx ψ(x), where β ∈ R and the function ψ is 2-periodic and positive definite. In turn, we consider in more detail the case where the 2-periodic function ψ is constructed by means of a finite positive definite function g. As a particular case, we obtain the Bernstein-Szegő inequality for the derivative in the Weyl-Nagy sense of trigonometric polynomials. In one of our results, we consider the case of the family of functions g 1/n,h (x) := hg(x) + (1 − 1/n − h)g(nx), where n ∈ N, n ≥ 2, −1/n ≤ h ≤ 1 − 1/n, and the function g ∈ C(R) is even, nonnegative, decreasing, and convex on (0, +∞) with supp g ⊂ [−1, 1]. This case is related to the positive definiteness of piecewise linear functions. We also obtain some general interpolation formulas for periodic functions and trigonometric polynomials which include the known interpolation formulas of M. Riesz, of G. Szegő, and of A.I. Kozko for trigonometric polynomials.