Home
last modified time | relevance | path

Searched refs:cell_count (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/power/supply/
H A Dltc4162-l-charger.c121 u8 cell_count; /* Number of connected cells, 0 while unknown */ member
130 if (info->cell_count) in ltc4162l_get_cell_count()
131 return info->cell_count; in ltc4162l_get_cell_count()
143 info->cell_count = val; in ltc4162l_get_cell_count()
542 u8 cell_count) in ltc4162l_vcharge() argument
544 value /= cell_count; in ltc4162l_vcharge()
563 u8 cell_count; in ltc4162l_set_vcharge() local
568 cell_count = ltc4162l_get_cell_count(info); in ltc4162l_set_vcharge()
569 if (!cell_count) in ltc4162l_set_vcharge()
572 value = ltc4162l_vcharge(3812500, 12500, 31, value, cell_count); in ltc4162l_set_vcharge()
[all …]
/linux/include/linux/
H A Dof.h80 int cell_count; member
385 const char *list_name, const char *cells_name, int cell_count,
402 int cell_count);
784 int cell_count, in __of_parse_phandle_with_args() argument
822 int cell_count) in of_phandle_iterator_init() argument
1059 int cell_count = -1; in of_parse_phandle_with_args() local
1063 cell_count = 0; in of_parse_phandle_with_args()
1066 cell_count, index, out_args); in of_parse_phandle_with_args()
1101 int cell_count, in of_parse_phandle_with_fixed_args() argument
1105 return __of_parse_phandle_with_args(np, list_name, NULL, cell_count, in of_parse_phandle_with_fixed_args()
/linux/drivers/mailbox/
H A Darm_mhu_db.c249 u32 cell_count; in mhu_db_probe() local
262 err = of_property_read_u32(np, "#mbox-cells", &cell_count); in mhu_db_probe()
268 if (cell_count == 2) { in mhu_db_probe()
/linux/drivers/of/
H A Dbase.c1286 int cell_count) in of_phandle_iterator_init() argument
1297 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init()
1305 it->cell_count = cell_count; in of_phandle_iterator_init()
1354 if (it->cell_count >= 0) { in of_phandle_iterator_next()
1355 count = it->cell_count; in of_phandle_iterator_next()
1365 count = it->cell_count; in of_phandle_iterator_next()
1420 int cell_count, int index, in __of_parse_phandle_with_args() argument
1430 of_for_each_phandle(&it, rc, np, list_name, cells_name, cell_count) { in __of_parse_phandle_with_args()