Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/power/supply/
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-6.3-rc2/include/linux/
A Dof.h83 int cell_count; member
379 const char *list_name, const char *cells_name, int cell_count,
392 int cell_count);
721 int cell_count, in __of_parse_phandle_with_args() argument
748 int cell_count) in of_phandle_iterator_init() argument
972 int cell_count = -1; in of_parse_phandle_with_args() local
976 cell_count = 0; in of_parse_phandle_with_args()
979 cell_count, index, out_args); in of_parse_phandle_with_args()
1014 int cell_count, in of_parse_phandle_with_fixed_args() argument
1018 return __of_parse_phandle_with_args(np, list_name, NULL, cell_count, in of_parse_phandle_with_fixed_args()
/linux-6.3-rc2/drivers/mailbox/
A Darm_mhu_db.c250 u32 cell_count; in mhu_db_probe() local
263 err = of_property_read_u32(np, "#mbox-cells", &cell_count); in mhu_db_probe()
269 if (cell_count == 2) { in mhu_db_probe()
/linux-6.3-rc2/drivers/of/
A Dbase.c1292 int cell_count) in of_phandle_iterator_init() argument
1303 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init()
1311 it->cell_count = cell_count; in of_phandle_iterator_init()
1360 if (it->cell_count >= 0) { in of_phandle_iterator_next()
1361 count = it->cell_count; in of_phandle_iterator_next()
1371 count = it->cell_count; in of_phandle_iterator_next()
1426 int cell_count, int index, in __of_parse_phandle_with_args() argument
1436 of_for_each_phandle(&it, rc, np, list_name, cells_name, cell_count) { in __of_parse_phandle_with_args()
/linux-6.3-rc2/drivers/bus/
A Dmvebu-mbus.c1185 int *cell_count, const __be32 **ranges_start, in mbus_parse_ranges() argument
1194 *addr_cells = *c_addr_cells = *c_size_cells = *cell_count = 0; in mbus_parse_ranges()
1208 *cell_count = *addr_cells + *c_addr_cells + *c_size_cells; in mbus_parse_ranges()
1209 tuple_len = (*cell_count) * sizeof(__be32); in mbus_parse_ranges()
1222 int i, ret, cell_count; in mbus_dt_setup() local
1226 &c_size_cells, &cell_count, in mbus_dt_setup()
1231 for (i = 0, r = ranges_start; r < ranges_end; r += cell_count, i++) { in mbus_dt_setup()

Completed in 25 milliseconds