Lines Matching refs:vm
986 struct v4l2_modulator vm; in si4713_setup() local
995 vm.index = 0; in si4713_setup()
997 vm.txsubchans = V4L2_TUNER_SUB_STEREO; in si4713_setup()
999 vm.txsubchans = V4L2_TUNER_SUB_MONO; in si4713_setup()
1001 vm.txsubchans |= V4L2_TUNER_SUB_RDS; in si4713_setup()
1002 si4713_s_modulator(&sdev->sd, &vm); in si4713_setup()
1176 static int si4713_g_modulator(struct v4l2_subdev *sd, struct v4l2_modulator *vm) in si4713_g_modulator() argument
1184 if (vm->index > 0) in si4713_g_modulator()
1187 strncpy(vm->name, "FM Modulator", 32); in si4713_g_modulator()
1188 vm->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_LOW | in si4713_g_modulator()
1192 vm->rangelow = si4713_to_v4l2(FREQ_RANGE_LOW); in si4713_g_modulator()
1193 vm->rangehigh = si4713_to_v4l2(FREQ_RANGE_HIGH); in si4713_g_modulator()
1208 vm->txsubchans = V4L2_TUNER_SUB_STEREO; in si4713_g_modulator()
1210 vm->txsubchans = V4L2_TUNER_SUB_MONO; in si4713_g_modulator()
1214 vm->txsubchans |= V4L2_TUNER_SUB_RDS; in si4713_g_modulator()
1216 vm->txsubchans &= ~V4L2_TUNER_SUB_RDS; in si4713_g_modulator()
1222 static int si4713_s_modulator(struct v4l2_subdev *sd, const struct v4l2_modulator *vm) in si4713_s_modulator() argument
1232 if (vm->index > 0) in si4713_s_modulator()
1236 if (vm->txsubchans & V4L2_TUNER_SUB_STEREO) in si4713_s_modulator()
1238 else if (vm->txsubchans & V4L2_TUNER_SUB_MONO) in si4713_s_modulator()
1243 rds = !!(vm->txsubchans & V4L2_TUNER_SUB_RDS); in si4713_s_modulator()