Home
last modified time | relevance | path

Searched refs:cable_type (Results 1 – 5 of 5) sorted by relevance

/drivers/extcon/
Dextcon-max77693.c336 int cable_type = 0; in max77693_muic_get_cable_type() local
360 cable_type = info->prev_cable_type; in max77693_muic_get_cable_type()
365 cable_type = info->prev_cable_type = adc; in max77693_muic_get_cable_type()
384 cable_type = info->prev_cable_type_gnd; in max77693_muic_get_cable_type()
405 cable_type = ((0x1 << 8) in max77693_muic_get_cable_type()
411 info->prev_cable_type_gnd = cable_type; in max77693_muic_get_cable_type()
426 cable_type = info->prev_chg_type; in max77693_muic_get_cable_type()
436 cable_type = info->prev_chg_type = chg_type; in max77693_muic_get_cable_type()
463 cable_type = vbvolt; in max77693_muic_get_cable_type()
467 cable_type = -EINVAL; in max77693_muic_get_cable_type()
[all …]
Dextcon-max8997.c272 int cable_type = 0; in max8997_muic_get_cable_type() local
293 cable_type = info->prev_cable_type; in max8997_muic_get_cable_type()
298 cable_type = info->prev_cable_type = adc; in max8997_muic_get_cable_type()
312 cable_type = info->prev_chg_type; in max8997_muic_get_cable_type()
322 cable_type = info->prev_chg_type = chg_type; in max8997_muic_get_cable_type()
328 cable_type = -EINVAL; in max8997_muic_get_cable_type()
332 return cable_type; in max8997_muic_get_cable_type()
365 int cable_type, bool attached) in max8997_muic_handle_dock() argument
375 switch (cable_type) { in max8997_muic_handle_dock()
410 int cable_type; in max8997_muic_adc_handler() local
[all …]
/drivers/video/
Dpvr2fb.c172 static int cable_type = CT_VGA; variable
370 cable_type = pvr2_init_cable(); in pvr2fb_set_par()
371 if (cable_type == CT_VGA && video_output != VO_VGA) in pvr2fb_set_par()
655 if (cable_type < 0) { in pvr2_init_cable()
658 cable_type = (fb_readw(PDTRA) >> 8) & 3; in pvr2_init_cable()
664 if (cable_type == CT_COMPOSITE) in pvr2_init_cable()
666 else if (cable_type == CT_RGB) in pvr2_init_cable()
671 return cable_type; in pvr2_init_cable()
827 (char *)pvr2_get_param(cables, NULL, cable_type, 3), in pvr2fb_common_init()
875 if (cable_type == CT_VGA) { in pvr2fb_dc_init()
[all …]
/drivers/net/wan/lmc/
Dlmc_var.h172 u32 cable_type; /* T1 */ member
Dlmc_media.c549 sc->ictl.cable_type = cable; in lmc_ssi_init()