Searched defs:cable_type (Results 1 - 8 of 8) sorted by relevance

/drivers/extcon/
H A Dextcon-sm5502.c284 unsigned int cable_type = -1, adc, dev_type1; local
298 cable_type = adc & SM5502_REG_ADC_MASK;
299 if (cable_type == SM5502_MUIC_ADC_GROUND)
302 switch (cable_type) {
352 cable_type = SM5502_MUIC_ADC_OPEN_USB;
355 cable_type = SM5502_MUIC_ADC_OPEN_TA;
358 cable_type = SM5502_MUIC_ADC_OPEN_USB_OTG;
373 return cable_type;
381 unsigned int cable_type = SM5502_MUIC_ADC_GROUND; local
392 cable_type
[all...]
H A Dextcon-max14577.c284 int cable_type = 0; local
305 cable_type = info->prev_cable_type;
310 cable_type = info->prev_cable_type = adc;
325 cable_type = info->prev_chg_type;
335 cable_type = info->prev_chg_type = chg_type;
341 cable_type = -EINVAL;
345 return cable_type;
349 int cable_type, bool attached)
357 attached ? "attached" : "detached", cable_type);
359 switch (cable_type) {
348 max14577_muic_jig_handler(struct max14577_muic_info *info, int cable_type, bool attached) argument
392 int cable_type; local
[all...]
H A Dextcon-max77693.c343 int cable_type = 0; local
367 cable_type = info->prev_cable_type;
372 cable_type = info->prev_cable_type = adc;
391 cable_type = info->prev_cable_type_gnd;
412 cable_type = ((0x1 << 8)
418 info->prev_cable_type_gnd = cable_type;
433 cable_type = info->prev_chg_type;
443 cable_type = info->prev_chg_type = chg_type;
470 cable_type = vbvolt;
474 cable_type
481 max77693_muic_dock_handler(struct max77693_muic_info *info, int cable_type, bool attached) argument
645 max77693_muic_jig_handler(struct max77693_muic_info *info, int cable_type, bool attached) argument
689 int cable_type; local
799 int cable_type; local
[all...]
H A Dextcon-max8997.c272 int cable_type = 0; local
293 cable_type = info->prev_cable_type;
298 cable_type = info->prev_cable_type = adc;
312 cable_type = info->prev_chg_type;
322 cable_type = info->prev_chg_type = chg_type;
328 cable_type = -EINVAL;
332 return cable_type;
365 int cable_type, bool attached)
375 switch (cable_type) {
410 int cable_type; local
364 max8997_muic_handle_dock(struct max8997_muic_info *info, int cable_type, bool attached) argument
[all...]
H A Dextcon-rt8973a.c279 int ret, cable_type; local
287 cable_type = adc & RT8973A_REG_ADC_MASK;
299 cable_type = RT8973A_MUIC_ADC_USB;
301 cable_type = RT8973A_MUIC_ADC_TA;
303 cable_type = RT8973A_MUIC_ADC_OPEN;
309 return cable_type;
318 int ret, idx = 0, cable_type; local
326 cable_type = rt8973a_muic_get_cable_type(info);
330 cable_type = prev_cable_type;
338 cable_type
[all...]
/drivers/video/fbdev/
H A Dpvr2fb.c172 static int cable_type = CT_VGA; variable
370 cable_type = pvr2_init_cable();
371 if (cable_type == CT_VGA && video_output != VO_VGA)
655 if (cable_type < 0) {
658 cable_type = (fb_readw(PDTRA) >> 8) & 3;
664 if (cable_type == CT_COMPOSITE)
666 else if (cable_type == CT_RGB)
671 return cable_type;
828 (char *)pvr2_get_param(cables, NULL, cable_type, 3),
876 if (cable_type
[all...]
/drivers/net/wan/lmc/
H A Dlmc_var.h172 u32 cable_type; /* T1 */ member in struct:lmc___ctl
/drivers/net/ethernet/emulex/benet/
H A Dbe.h412 u8 cable_type; member in struct:phy_info

Completed in 138 milliseconds