Home
last modified time | relevance | path

Searched refs:ohms (Results 1 – 10 of 10) sorted by relevance

/drivers/rtc/
A Drtc-ds1390.c90 u32 ohms = 0; in ds1390_trickle_of_init() local
94 &ohms)) in ds1390_trickle_of_init()
105 switch (ohms) { in ds1390_trickle_of_init()
117 "Unsupported ohm value %02ux in dt\n", ohms); in ds1390_trickle_of_init()
A Drtc-bq32k.c147 u32 ohms = 0; in trickle_charger_of_init() local
149 if (of_property_read_u32(node, "trickle-resistor-ohms" , &ohms)) in trickle_charger_of_init()
152 switch (ohms) { in trickle_charger_of_init()
177 dev_err(dev, "invalid resistor value (%d)\n", ohms); in trickle_charger_of_init()
A Drtc-sunplus.c183 u32 ohms, rsel; in sp_rtc_set_trickle_charger() local
186 if (of_property_read_u32(dev.of_node, "trickle-resistor-ohms", &ohms) || in sp_rtc_set_trickle_charger()
192 switch (ohms) { in sp_rtc_set_trickle_charger()
206 dev_err(&dev, "invalid charger resistor value (%d)\n", ohms); in sp_rtc_set_trickle_charger()
A Drtc-ab-eoz9.c300 u32 ohms = 0; in abeoz9_trickle_parse_dt() local
302 if (of_property_read_u32(node, "trickle-resistor-ohms", &ohms)) in abeoz9_trickle_parse_dt()
305 switch (ohms) { in abeoz9_trickle_parse_dt()
A Drtc-ds1307.c536 static u8 do_trickle_setup_ds1339(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_ds1339() argument
543 switch (ohms) { in do_trickle_setup_ds1339()
555 "Unsupported ohm value %u in dt\n", ohms); in do_trickle_setup_ds1339()
561 static u8 do_trickle_setup_rx8130(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_rx8130() argument
1298 u32 ohms, chargeable; in ds1307_trickle_init() local
1305 &ohms) && chip->requires_trickle_resistor) in ds1307_trickle_init()
1330 return chip->do_trickle_setup(ds1307, ohms, diode); in ds1307_trickle_init()
A Drtc-max31335.c446 u32 ohms, chargeable; in max31335_trickle_charger_setup() local
454 if (device_property_read_u32(dev, "trickle-resistor-ohms", &ohms)) in max31335_trickle_charger_setup()
469 if (ohms == max31335_trickle_resistors[i]) in max31335_trickle_charger_setup()
A Drtc-rv3029c2.c550 u32 ohms; in rv3029_trickle_config() local
557 err = of_property_read_u32(of_node, "trickle-resistor-ohms", &ohms); in rv3029_trickle_config()
565 if (elem->r >= ohms) in rv3029_trickle_config()
A Drtc-rv3028.c869 u32 ohms, chargeable; in rv3028_set_trickle_charger() local
881 &ohms)) { in rv3028_set_trickle_charger()
885 if (ohms == rv3028_trickle_resistors[i]) in rv3028_set_trickle_charger()
A Drtc-rv3032.c579 u32 val, ohms, voltage; in rv3032_trickle_charger_setup() local
592 if (device_property_read_u32(dev, "trickle-resistor-ohms", &ohms)) in rv3032_trickle_charger_setup()
596 if (ohms == rv3032_trickle_resistors[i]) in rv3032_trickle_charger_setup()
/drivers/i3c/master/
A Dast2600-i3c-master.c53 static int ast2600_i3c_pullup_to_reg(unsigned int ohms, u32 *regp) in ast2600_i3c_pullup_to_reg() argument
57 switch (ohms) { in ast2600_i3c_pullup_to_reg()

Completed in 31 milliseconds