Home
last modified time | relevance | path

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

/drivers/hwmon/
Dpcf8591.c20 static int input_mode; variable
21 module_param(input_mode, int, 0);
22 MODULE_PARM_DESC(input_mode,
60 #define PCF8591_INIT_CONTROL ((input_mode << 4) | PCF8591_CONTROL_AOEF)
205 if (input_mode != 3) { in pcf8591_probe()
212 if (input_mode == 0) { in pcf8591_probe()
281 if ((channel == 2 && input_mode == 2) || in pcf8591_read_channel()
282 (channel != 3 && (input_mode == 1 || input_mode == 3))) in pcf8591_read_channel()
305 if (input_mode < 0 || input_mode > 3) { in pcf8591_init()
306 pr_warn("invalid input_mode (%d)\n", input_mode); in pcf8591_init()
[all …]
/drivers/media/dvb-frontends/
Dau8522_decoder.c300 static void au8522_setup_cvbs_mode(struct au8522_state *state, u8 input_mode) in au8522_setup_cvbs_mode() argument
312 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_cvbs_mode()
321 u8 input_mode) in au8522_setup_cvbs_tuner_mode() argument
338 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_cvbs_tuner_mode()
347 u8 input_mode) in au8522_setup_svideo_mode() argument
353 au8522_writereg(state, AU8522_INPUT_CONTROL_REG081H, input_mode); in au8522_setup_svideo_mode()
493 u8 input_mode; in au8522_video_set() local
499 input_mode = AU8522_INPUT_CONTROL_REG081H_CVBS_CH1; in au8522_video_set()
500 au8522_setup_cvbs_mode(state, input_mode); in au8522_video_set()
503 input_mode = AU8522_INPUT_CONTROL_REG081H_CVBS_CH2; in au8522_video_set()
[all …]
/drivers/media/pci/cx18/
Dcx18-av-core.c581 u8 input_mode; in set_input() local
592 input_mode = 0x0; in set_input()
615 input_mode = 0x6; in set_input()
640 input_mode = 0x2; in set_input()
678 cx18_av_and_or(cx, 0x401, ~0x6, input_mode); in set_input()
/drivers/media/usb/cx231xx/
Dcx231xx-avcore.c470 u8 input_mode = 0; in cx231xx_afe_adjust_ref_count() local
477 status = afe_read_byte(dev, ADC_INPUT_CH3, &input_mode); in cx231xx_afe_adjust_ref_count()
481 status = afe_read_byte(dev, ADC_INPUT_CH1, &input_mode); in cx231xx_afe_adjust_ref_count()
486 input_mode = (ntf_mode & 0x3) | ((input_mode & 0x6) << 1); in cx231xx_afe_adjust_ref_count()
488 switch (input_mode) { in cx231xx_afe_adjust_ref_count()