Searched refs:switch_reset (Results 1 – 2 of 2) sorted by relevance
1041 struct reset_control *switch_reset; in lan966x_reset_switch() local1045 switch_reset = devm_reset_control_get_optional_shared(lan966x->dev, in lan966x_reset_switch()1047 if (IS_ERR(switch_reset)) in lan966x_reset_switch()1048 return dev_err_probe(lan966x->dev, PTR_ERR(switch_reset), in lan966x_reset_switch()1051 reset_control_reset(switch_reset); in lan966x_reset_switch()
200 u32 switch_reset = BIT(20); in sja1110_reset_cmd() local207 return sja1105_xfer_u32(priv, SPI_WRITE, regs->rgu, &switch_reset, NULL); in sja1110_reset_cmd()