Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/include/linux/
H A Dof.h80 int cell_count; member
379 const char *list_name, const char *cells_name, int cell_count,
396 int cell_count);
733 int cell_count, in __of_parse_phandle_with_args() argument
771 int cell_count) in of_phandle_iterator_init() argument
995 int cell_count = -1; in of_parse_phandle_with_args() local
999 cell_count = 0; in of_parse_phandle_with_args()
1002 cell_count, index, out_args); in of_parse_phandle_with_args()
1037 int cell_count, in of_parse_phandle_with_fixed_args() argument
1041 return __of_parse_phandle_with_args(np, list_name, NULL, cell_count, in of_parse_phandle_with_fixed_args()
/openbmc/u-boot/include/dm/
H A Dread.h318 const char *cells_name, int cell_count,
655 const char *list_name, const char *cells_name, int cell_count, in dev_read_phandle_with_args() argument
659 cells_name, cell_count, index, in dev_read_phandle_with_args()
H A Dofnode.h469 const char *cells_name, int cell_count,
/openbmc/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()
/openbmc/linux/drivers/of/
H A Dbase.c1110 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()
/openbmc/u-boot/drivers/core/
H A Dread.c161 const char *cells_name, int cell_count, in dev_read_phandle_with_args() argument
165 cells_name, cell_count, index, in dev_read_phandle_with_args()
H A Dof_access.c574 int cell_count, int index, in __of_parse_phandle_with_args() argument
627 count = cell_count; in __of_parse_phandle_with_args()
H A Dofnode.c359 const char *cells_name, int cell_count, in ofnode_parse_phandle_with_args() argument
380 cell_count, index, &args); in ofnode_parse_phandle_with_args()
/openbmc/qemu/chardev/
H A Dbaum.c344 uint8_t cell_count[] = { BAUM_RSP_CellCount, baum->x * baum->y }; in baum_cellCount_timer_cb() local
346 baum_write_packet(baum, cell_count, sizeof(cell_count)); in baum_cellCount_timer_cb()
/openbmc/u-boot/include/
H A Dfdtdec.h217 int cell_count, int index,
/openbmc/u-boot/lib/
H A Dfdtdec.c741 int cell_count, int index, in fdtdec_parse_phandle_with_args() argument
800 count = cell_count; in fdtdec_parse_phandle_with_args()