Searched refs:cable_type (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.10/drivers/extcon/ |
| D | extcon-max77693.c | 311 int cable_type = 0; in max77693_muic_get_cable_type() local 335 cable_type = info->prev_cable_type; in max77693_muic_get_cable_type() 340 cable_type = info->prev_cable_type = adc; in max77693_muic_get_cable_type() 359 cable_type = info->prev_cable_type_gnd; in max77693_muic_get_cable_type() 380 cable_type = ((0x1 << 8) in max77693_muic_get_cable_type() 386 info->prev_cable_type_gnd = cable_type; in max77693_muic_get_cable_type() 401 cable_type = info->prev_chg_type; in max77693_muic_get_cable_type() 411 cable_type = info->prev_chg_type = chg_type; in max77693_muic_get_cable_type() 438 cable_type = vbvolt; in max77693_muic_get_cable_type() 442 cable_type = -EINVAL; in max77693_muic_get_cable_type() [all …]
|
| D | extcon-max77843.c | 264 int adc, chg_type, cable_type, gnd_type; in max77843_muic_get_cable_type() local 274 cable_type = info->prev_cable_type; in max77843_muic_get_cable_type() 278 cable_type = info->prev_cable_type = adc; in max77843_muic_get_cable_type() 294 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 303 cable_type = MAX77843_MUIC_CHG_GND; in max77843_muic_get_cable_type() 312 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 316 cable_type = MAX77843_MUIC_CHG_DOCK; in max77843_muic_get_cable_type() 324 cable_type = info->prev_chg_type; in max77843_muic_get_cable_type() 328 cable_type = info->prev_chg_type = chg_type; in max77843_muic_get_cable_type() 334 cable_type = info->prev_gnd_type; in max77843_muic_get_cable_type() [all …]
|
| D | extcon-max14577.c | 256 int cable_type = 0; in max14577_muic_get_cable_type() local 277 cable_type = info->prev_cable_type; in max14577_muic_get_cable_type() 282 cable_type = info->prev_cable_type = adc; in max14577_muic_get_cable_type() 297 cable_type = info->prev_chg_type; in max14577_muic_get_cable_type() 307 cable_type = info->prev_chg_type = chg_type; in max14577_muic_get_cable_type() 313 cable_type = -EINVAL; in max14577_muic_get_cable_type() 317 return cable_type; in max14577_muic_get_cable_type() 321 int cable_type, bool attached) in max14577_muic_jig_handler() argument 328 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler() 330 switch (cable_type) { in max14577_muic_jig_handler() [all …]
|
| D | extcon-max8997.c | 246 int cable_type = 0; in max8997_muic_get_cable_type() local 267 cable_type = info->prev_cable_type; in max8997_muic_get_cable_type() 272 cable_type = info->prev_cable_type = adc; in max8997_muic_get_cable_type() 286 cable_type = info->prev_chg_type; in max8997_muic_get_cable_type() 296 cable_type = info->prev_chg_type = chg_type; in max8997_muic_get_cable_type() 302 cable_type = -EINVAL; in max8997_muic_get_cable_type() 306 return cable_type; in max8997_muic_get_cable_type() 339 int cable_type, bool attached) in max8997_muic_handle_dock() argument 349 switch (cable_type) { in max8997_muic_handle_dock() 382 int cable_type; in max8997_muic_adc_handler() local [all …]
|
| D | extcon-rt8973a.c | 263 int ret, cable_type; in rt8973a_muic_get_cable_type() local 271 cable_type = adc & RT8973A_REG_ADC_MASK; in rt8973a_muic_get_cable_type() 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 307 cable_type = rt8973a_muic_get_cable_type(info); in rt8973a_muic_cable_handler() 311 cable_type = prev_cable_type; in rt8973a_muic_cable_handler() 319 cable_type = prev_cable_type; in rt8973a_muic_cable_handler() [all …]
|
| D | extcon-sm5502.c | 279 unsigned int cable_type, adc, dev_type1; in sm5502_muic_get_cable_type() local 293 cable_type = adc & SM5502_REG_ADC_MASK; in sm5502_muic_get_cable_type() 294 if (cable_type == SM5502_MUIC_ADC_GROUND) in sm5502_muic_get_cable_type() 297 switch (cable_type) { in sm5502_muic_get_cable_type() 347 cable_type = SM5502_MUIC_ADC_OPEN_USB; in sm5502_muic_get_cable_type() 350 cable_type = SM5502_MUIC_ADC_OPEN_TA; in sm5502_muic_get_cable_type() 353 cable_type = SM5502_MUIC_ADC_OPEN_USB_OTG; in sm5502_muic_get_cable_type() 368 return cable_type; in sm5502_muic_get_cable_type() 375 unsigned int cable_type = SM5502_MUIC_ADC_GROUND; in sm5502_muic_cable_handler() local 383 cable_type = sm5502_muic_get_cable_type(info); in sm5502_muic_cable_handler() [all …]
|
| /Linux-v5.10/drivers/video/fbdev/ |
| D | pvr2fb.c | 173 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-v5.10/drivers/net/wan/lmc/ |
| D | lmc_var.h | 170 u32 cable_type; /* T1 */ member
|
| D | lmc_media.c | 548 sc->ictl.cable_type = cable; in lmc_ssi_init()
|
| /Linux-v5.10/drivers/net/ethernet/emulex/benet/ |
| D | be_ethtool.c | 494 if (adapter->phy.cable_type & SFP_PLUS_COPPER_CABLE) in be_get_port_type() 500 if (adapter->phy.cable_type & QSFP_PLUS_CR4_CABLE) in be_get_port_type() 562 switch (adapter->phy.cable_type) { in convert_to_et_setting()
|
| D | be.h | 398 u8 cable_type; member
|
| D | be_cmds.c | 2420 adapter->phy.cable_type = in be_cmd_query_cable_type() 2424 adapter->phy.cable_type = in be_cmd_query_cable_type() 2428 adapter->phy.cable_type = 0; in be_cmd_query_cable_type()
|