Home
last modified time | relevance | path

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

/linux/drivers/extcon/
A Dextcon-max77693.c312 int cable_type = 0; in max77693_muic_get_cable_type() local
439 cable_type = vbvolt; in max77693_muic_get_cable_type()
443 cable_type = -EINVAL; in max77693_muic_get_cable_type()
447 return cable_type; in max77693_muic_get_cable_type()
462 switch (cable_type) { in max77693_muic_dock_handler()
628 switch (cable_type) { in max77693_muic_jig_handler()
656 int cable_type; in max77693_muic_adc_handler() local
670 switch (cable_type) { in max77693_muic_adc_handler()
766 int cable_type; in max77693_muic_chg_handler() local
814 switch (cable_type) { in max77693_muic_chg_handler()
[all …]
A Dextcon-max77843.c294 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type()
312 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type()
324 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type()
334 cable_type = info->prev_gnd_type; in max77843_muic_get_cable_type()
362 cable_type = -EINVAL; in max77843_muic_get_cable_type()
366 return cable_type; in max77843_muic_get_cable_type()
411 int cable_type, bool attached) in max77843_muic_jig_handler() argument
419 switch (cable_type) { in max77843_muic_jig_handler()
462 int ret, cable_type; in max77843_muic_adc_handler() local
473 switch (cable_type) { in max77843_muic_adc_handler()
[all …]
A Dextcon-max14577.c257 int cable_type = 0; in max14577_muic_get_cable_type() local
278 cable_type = info->prev_cable_type; in max14577_muic_get_cable_type()
283 cable_type = info->prev_cable_type = adc; in max14577_muic_get_cable_type()
298 cable_type = info->prev_chg_type; in max14577_muic_get_cable_type()
314 cable_type = -EINVAL; in max14577_muic_get_cable_type()
318 return cable_type; in max14577_muic_get_cable_type()
322 int cable_type, bool attached) in max14577_muic_jig_handler() argument
331 switch (cable_type) { in max14577_muic_jig_handler()
358 int cable_type; in max14577_muic_adc_handler() local
371 switch (cable_type) { in max14577_muic_adc_handler()
[all …]
A Dextcon-max8997.c249 int cable_type = 0; in max8997_muic_get_cable_type() local
270 cable_type = info->prev_cable_type; in max8997_muic_get_cable_type()
275 cable_type = info->prev_cable_type = adc; in max8997_muic_get_cable_type()
289 cable_type = info->prev_chg_type; in max8997_muic_get_cable_type()
305 cable_type = -EINVAL; in max8997_muic_get_cable_type()
309 return cable_type; in max8997_muic_get_cable_type()
342 int cable_type, bool attached) in max8997_muic_handle_dock() argument
352 switch (cable_type) { in max8997_muic_handle_dock()
385 int cable_type; in max8997_muic_adc_handler() local
393 switch (cable_type) { in max8997_muic_adc_handler()
[all …]
A Dextcon-rt8973a.c263 int ret, cable_type; in rt8973a_muic_get_cable_type() local
283 cable_type = RT8973A_MUIC_ADC_USB; in rt8973a_muic_get_cable_type()
285 cable_type = RT8973A_MUIC_ADC_TA; in rt8973a_muic_get_cable_type()
287 cable_type = RT8973A_MUIC_ADC_OPEN; in rt8973a_muic_get_cable_type()
293 return cable_type; in rt8973a_muic_get_cable_type()
301 int ret, cable_type; in rt8973a_muic_cable_handler() local
311 cable_type = prev_cable_type; in rt8973a_muic_cable_handler()
319 cable_type = prev_cable_type; in rt8973a_muic_cable_handler()
327 prev_cable_type = cable_type; in rt8973a_muic_cable_handler()
329 switch (cable_type) { in rt8973a_muic_cable_handler()
[all …]
A Dextcon-sm5502.c363 unsigned int cable_type, adc, dev_type1; in sm5502_muic_get_cable_type() local
377 cable_type = adc & SM5502_REG_ADC_MASK; in sm5502_muic_get_cable_type()
379 switch (cable_type) { in sm5502_muic_get_cable_type()
389 cable_type = SM5502_MUIC_ADC_GROUND_USB_OTG; in sm5502_muic_get_cable_type()
444 cable_type = SM5502_MUIC_ADC_OPEN_USB_OTG; in sm5502_muic_get_cable_type()
450 cable_type = SM5502_MUIC_ADC_OPEN_USB; in sm5502_muic_get_cable_type()
453 cable_type = SM5502_MUIC_ADC_OPEN_TA; in sm5502_muic_get_cable_type()
468 return cable_type; in sm5502_muic_get_cable_type()
485 cable_type = prev_cable_type; in sm5502_muic_cable_handler()
486 prev_cable_type = cable_type; in sm5502_muic_cable_handler()
[all …]
/linux/drivers/video/fbdev/
A Dpvr2fb.c173 static int cable_type = CT_VGA; variable
335 if (cable_type < 0) { in pvr2_init_cable()
338 cable_type = (fb_readw(PDTRA) >> 8) & 3; in pvr2_init_cable()
344 if (cable_type == CT_COMPOSITE) in pvr2_init_cable()
346 else if (cable_type == CT_RGB) in pvr2_init_cable()
351 return cable_type; in pvr2_init_cable()
368 cable_type = pvr2_init_cable(); in pvr2fb_set_par()
369 if (cable_type == CT_VGA && video_output != VO_VGA) in pvr2fb_set_par()
842 pvr2_get_param_name(cables, cable_type, 3), in pvr2fb_common_init()
890 if (cable_type == CT_VGA) { in pvr2fb_dc_init()
[all …]
/linux/drivers/net/wan/lmc/
A Dlmc_var.h170 u32 cable_type; /* T1 */ member
A Dlmc_media.c548 sc->ictl.cable_type = cable; in lmc_ssi_init()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_ethtool.c498 if (adapter->phy.cable_type & SFP_PLUS_COPPER_CABLE) in be_get_port_type()
504 if (adapter->phy.cable_type & QSFP_PLUS_CR4_CABLE) in be_get_port_type()
566 switch (adapter->phy.cable_type) { in convert_to_et_setting()
A Dbe.h398 u8 cable_type; member
A Dbe_cmds.c2422 adapter->phy.cable_type = in be_cmd_query_cable_type()
2426 adapter->phy.cable_type = in be_cmd_query_cable_type()
2430 adapter->phy.cable_type = 0; in be_cmd_query_cable_type()

Completed in 48 milliseconds