Searched refs:cell_count (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/power/supply/ |
D | ltc4162-l-charger.c | 84 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.6.21/include/linux/ |
D | of.h | 79 int cell_count; member 377 const char *list_name, const char *cells_name, int cell_count, 394 int cell_count); 731 int cell_count, in __of_parse_phandle_with_args() argument 769 int cell_count) in of_phandle_iterator_init() argument 993 int cell_count = -1; in of_parse_phandle_with_args() local 997 cell_count = 0; in of_parse_phandle_with_args() 1000 cell_count, index, out_args); in of_parse_phandle_with_args() 1035 int cell_count, in of_parse_phandle_with_fixed_args() argument 1039 return __of_parse_phandle_with_args(np, list_name, NULL, cell_count, in of_parse_phandle_with_fixed_args()
|
/linux-6.6.21/drivers/mailbox/ |
D | arm_mhu_db.c | 249 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-6.6.21/drivers/of/ |
D | base.c | 1110 int cell_count) in of_phandle_iterator_init() argument 1121 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init() 1129 it->cell_count = cell_count; in of_phandle_iterator_init() 1178 if (it->cell_count >= 0) { in of_phandle_iterator_next() 1179 count = it->cell_count; in of_phandle_iterator_next() 1189 count = it->cell_count; in of_phandle_iterator_next() 1244 int cell_count, int index, in __of_parse_phandle_with_args() argument 1254 of_for_each_phandle(&it, rc, np, list_name, cells_name, cell_count) { in __of_parse_phandle_with_args()
|