Home
last modified time | relevance | path

Searched refs:input_mode (Results 1 – 4 of 4) sorted by relevance

/drivers/hwmon/
Dpcf8591.c33 static int input_mode; variable
34 module_param(input_mode, int, 0);
35 MODULE_PARM_DESC(input_mode,
73 #define PCF8591_INIT_CONTROL ((input_mode << 4) | PCF8591_CONTROL_AOEF)
220 if (input_mode != 3) { in pcf8591_probe()
227 if (input_mode == 0) { in pcf8591_probe()
296 if ((channel == 2 && input_mode == 2) || in pcf8591_read_channel()
297 (channel != 3 && (input_mode == 1 || input_mode == 3))) in pcf8591_read_channel()
320 if (input_mode < 0 || input_mode > 3) { in pcf8591_init()
321 pr_warn("invalid input_mode (%d)\n", input_mode); in pcf8591_init()
[all …]
/drivers/media/dvb-frontends/
Dau8522_decoder.c355 static void au8522_setup_cvbs_mode(struct au8522_state *state, u8 input_mode) in au8522_setup_cvbs_mode() argument
367 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_cvbs_mode()
376 u8 input_mode) in au8522_setup_cvbs_tuner_mode() argument
393 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_cvbs_tuner_mode()
402 u8 input_mode) in au8522_setup_svideo_mode() argument
408 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_svideo_mode()
549 u8 input_mode; in au8522_video_set() local
555 input_mode = AU8522_INPUT_CONTROL_REG081H_CVBS_CH1; in au8522_video_set()
556 au8522_setup_cvbs_mode(state, input_mode); in au8522_video_set()
559 input_mode = AU8522_INPUT_CONTROL_REG081H_CVBS_CH2; in au8522_video_set()
[all …]
/drivers/media/pci/cx18/
Dcx18-av-core.c597 u8 input_mode; in set_input() local
608 input_mode = 0x0; in set_input()
631 input_mode = 0x6; in set_input()
656 input_mode = 0x2; in set_input()
694 cx18_av_and_or(cx, 0x401, ~0x6, input_mode); in set_input()
/drivers/media/usb/cx231xx/
Dcx231xx-avcore.c480 u8 input_mode = 0; in cx231xx_afe_adjust_ref_count() local
487 status = afe_read_byte(dev, ADC_INPUT_CH3, &input_mode); in cx231xx_afe_adjust_ref_count()
491 status = afe_read_byte(dev, ADC_INPUT_CH1, &input_mode); in cx231xx_afe_adjust_ref_count()
496 input_mode = (ntf_mode & 0x3) | ((input_mode & 0x6) << 1); in cx231xx_afe_adjust_ref_count()
498 switch (input_mode) { in cx231xx_afe_adjust_ref_count()