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.c84 u8 cell_count; /* Number of connected cells, 0 while unknown */ member
93 if (info->cell_count) in ltc4162l_get_cell_count()
94 return info->cell_count; in ltc4162l_get_cell_count()
106 info->cell_count = val; in ltc4162l_get_cell_count()
365 u8 cell_count = ltc4162l_get_cell_count(info); in ltc4162l_set_vcharge() local
367 if (!cell_count) in ltc4162l_set_vcharge()
370 value /= cell_count; in ltc4162l_set_vcharge()
867 info->cell_count = value; in ltc4162l_probe()
/linux/include/linux/
H A Dof.h80 int cell_count; member
376 const char *list_name, const char *cells_name, int cell_count,
393 int cell_count);
742 int cell_count, in __of_parse_phandle_with_args() argument
780 int cell_count) in of_phandle_iterator_init() argument
1012 int cell_count = -1; in of_parse_phandle_with_args() local
1016 cell_count = 0; in of_parse_phandle_with_args()
1019 cell_count, index, out_args); in of_parse_phandle_with_args()
1054 int cell_count, in of_parse_phandle_with_fixed_args() argument
1058 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.c1216 int cell_count) in of_phandle_iterator_init() argument
1227 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init()
1235 it->cell_count = cell_count; in of_phandle_iterator_init()
1284 if (it->cell_count >= 0) { in of_phandle_iterator_next()
1285 count = it->cell_count; in of_phandle_iterator_next()
1295 count = it->cell_count; in of_phandle_iterator_next()
1350 int cell_count, int index, in __of_parse_phandle_with_args() argument
1360 of_for_each_phandle(&it, rc, np, list_name, cells_name, cell_count) { in __of_parse_phandle_with_args()