Searched refs:cable_type (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/extcon/ |
D | extcon-max77693.c | 312 int cable_type = 0; in max77693_muic_get_cable_type() local 336 cable_type = info->prev_cable_type; in max77693_muic_get_cable_type() 341 cable_type = info->prev_cable_type = adc; in max77693_muic_get_cable_type() 360 cable_type = info->prev_cable_type_gnd; in max77693_muic_get_cable_type() 381 cable_type = ((0x1 << 8) in max77693_muic_get_cable_type() 387 info->prev_cable_type_gnd = cable_type; in max77693_muic_get_cable_type() 402 cable_type = info->prev_chg_type; in max77693_muic_get_cable_type() 412 cable_type = info->prev_chg_type = chg_type; in max77693_muic_get_cable_type() 439 cable_type = vbvolt; in max77693_muic_get_cable_type() 443 cable_type = -EINVAL; in max77693_muic_get_cable_type() [all …]
|
D | extcon-max77843.c | 263 int adc, chg_type, cable_type, gnd_type; in max77843_muic_get_cable_type() local 273 cable_type = info->prev_cable_type; in max77843_muic_get_cable_type() 277 cable_type = info->prev_cable_type = adc; in max77843_muic_get_cable_type() 293 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 302 cable_type = MAX77843_MUIC_CHG_GND; in max77843_muic_get_cable_type() 311 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 315 cable_type = MAX77843_MUIC_CHG_DOCK; in max77843_muic_get_cable_type() 323 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 327 cable_type = info->prev_chg_type = chg_type; in max77843_muic_get_cable_type() 333 cable_type = info->prev_gnd_type; in max77843_muic_get_cable_type() [all …]
|
D | extcon-max14577.c | 257 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() 308 cable_type = info->prev_chg_type = 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 329 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler() 331 switch (cable_type) { in max14577_muic_jig_handler() [all …]
|
D | extcon-max8997.c | 249 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() 299 cable_type = info->prev_chg_type = 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 [all …]
|
D | extcon-rt8973a.c | 262 int ret, cable_type; in rt8973a_muic_get_cable_type() local 270 cable_type = adc & RT8973A_REG_ADC_MASK; in rt8973a_muic_get_cable_type() 282 cable_type = RT8973A_MUIC_ADC_USB; in rt8973a_muic_get_cable_type() 284 cable_type = RT8973A_MUIC_ADC_TA; in rt8973a_muic_get_cable_type() 286 cable_type = RT8973A_MUIC_ADC_OPEN; in rt8973a_muic_get_cable_type() 292 return cable_type; in rt8973a_muic_get_cable_type() 300 int ret, cable_type; in rt8973a_muic_cable_handler() local 306 cable_type = rt8973a_muic_get_cable_type(info); in rt8973a_muic_cable_handler() 310 cable_type = prev_cable_type; in rt8973a_muic_cable_handler() 318 cable_type = prev_cable_type; in rt8973a_muic_cable_handler() [all …]
|
D | extcon-sm5502.c | 361 unsigned int cable_type, adc, dev_type1; in sm5502_muic_get_cable_type() local 375 cable_type = adc & SM5502_REG_ADC_MASK; in sm5502_muic_get_cable_type() 377 switch (cable_type) { in sm5502_muic_get_cable_type() 387 cable_type = SM5502_MUIC_ADC_GROUND_USB_OTG; in sm5502_muic_get_cable_type() 442 cable_type = SM5502_MUIC_ADC_OPEN_USB_OTG; in sm5502_muic_get_cable_type() 448 cable_type = SM5502_MUIC_ADC_OPEN_USB; in sm5502_muic_get_cable_type() 451 cable_type = SM5502_MUIC_ADC_OPEN_TA; in sm5502_muic_get_cable_type() 466 return cable_type; in sm5502_muic_get_cable_type() 473 unsigned int cable_type = SM5502_MUIC_ADC_GROUND; in sm5502_muic_cable_handler() local 481 cable_type = sm5502_muic_get_cable_type(info); in sm5502_muic_cable_handler() [all …]
|
/linux-6.12.1/drivers/video/fbdev/ |
D | pvr2fb.c | 174 static int cable_type = CT_VGA; variable 336 if (cable_type < 0) { in pvr2_init_cable() 339 cable_type = (fb_readw(PDTRA) >> 8) & 3; in pvr2_init_cable() 345 if (cable_type == CT_COMPOSITE) in pvr2_init_cable() 347 else if (cable_type == CT_RGB) in pvr2_init_cable() 352 return cable_type; in pvr2_init_cable() 369 cable_type = pvr2_init_cable(); in pvr2fb_set_par() 370 if (cable_type == CT_VGA && video_output != VO_VGA) in pvr2fb_set_par() 848 pvr2_get_param_name(cables, cable_type, 3), in pvr2fb_common_init() 896 if (cable_type == CT_VGA) { in pvr2fb_dc_init() [all …]
|
/linux-6.12.1/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 305 u8 cable_type = (data->conf & DP_CONF_CABLE_TYPE_MASK) >> in pmc_usb_mux_dp() local 310 if (cable_type == DP_CONF_CABLE_TYPE_OPTICAL) in pmc_usb_mux_dp() 312 else if (cable_type == DP_CONF_CABLE_TYPE_RE_TIMER) in pmc_usb_mux_dp() 315 else if (cable_type == DP_CONF_CABLE_TYPE_RE_DRIVER) in pmc_usb_mux_dp()
|
/linux-6.12.1/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 498 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()
|
D | be.h | 397 u8 cable_type; member
|
D | be_cmds.c | 2423 adapter->phy.cable_type = in be_cmd_query_cable_type() 2427 adapter->phy.cable_type = in be_cmd_query_cable_type() 2431 adapter->phy.cable_type = 0; in be_cmd_query_cable_type()
|