Home
last modified time | relevance | path

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

/drivers/rtc/
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()
Drtc-bq32k.c146 u32 ohms = 0; in trickle_charger_of_init() local
148 if (of_property_read_u32(node, "trickle-resistor-ohms" , &ohms)) in trickle_charger_of_init()
151 switch (ohms) { in trickle_charger_of_init()
176 dev_err(dev, "invalid resistor value (%d)\n", ohms); in trickle_charger_of_init()
Drtc-ab-eoz9.c191 u32 ohms = 0; in abeoz9_trickle_parse_dt() local
193 if (of_property_read_u32(node, "trickle-resistor-ohms", &ohms)) in abeoz9_trickle_parse_dt()
196 switch (ohms) { in abeoz9_trickle_parse_dt()
Drtc-ds1307.c530 static u8 do_trickle_setup_ds1339(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_ds1339() argument
537 switch (ohms) { in do_trickle_setup_ds1339()
549 "Unsupported ohm value %u in dt\n", ohms); in do_trickle_setup_ds1339()
555 static u8 do_trickle_setup_rx8130(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_rx8130() argument
1339 u32 ohms, chargeable; in ds1307_trickle_init() local
1346 &ohms) && chip->requires_trickle_resistor) in ds1307_trickle_init()
1371 return chip->do_trickle_setup(ds1307, ohms, diode); in ds1307_trickle_init()
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()
Drtc-rv3028.c791 u32 ohms; in rv3028_probe() local
865 &ohms)) { in rv3028_probe()
869 if (ohms == rv3028_trickle_resistors[i]) in rv3028_probe()
Drtc-rv3032.c518 u32 val, ohms, voltage; in rv3032_trickle_charger_setup() local
531 if (device_property_read_u32(dev, "trickle-resistor-ohms", &ohms)) in rv3032_trickle_charger_setup()
535 if (ohms == rv3032_trickle_resistors[i]) in rv3032_trickle_charger_setup()