/kernel/linux/linux-6.6/drivers/power/supply/ |
H A 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() 233 /* cell_count × 192.4μV/LSB */ in ltc4162l_get_vbat() 351 * cell_count × (vcharge_setting × 12.5mV + 3.8125V) in ltc4162l_get_vcharge() 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 in ltc4162l_probe() [all...] |
/kernel/linux/linux-5.10/drivers/of/ |
H A D | base.c | 1244 int cell_count) in of_phandle_iterator_init() 1252 * one of cell_count or cells_name must be provided to determine the in of_phandle_iterator_init() 1255 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init() 1263 it->cell_count = cell_count; in of_phandle_iterator_init() 1308 * If both cell_count and cells_name is given, in of_phandle_iterator_next() 1309 * fall back to cell_count in absence in of_phandle_iterator_next() 1312 if (it->cell_count >= 0) { in of_phandle_iterator_next() 1313 count = it->cell_count; in of_phandle_iterator_next() 1323 count = it->cell_count; in of_phandle_iterator_next() 1240 of_phandle_iterator_init(struct of_phandle_iterator *it, const struct device_node *np, const char *list_name, const char *cells_name, int cell_count) of_phandle_iterator_init() argument 1375 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) __of_parse_phandle_with_args() argument 1489 int cell_count = -1; of_parse_phandle_with_args() local 1718 of_parse_phandle_with_fixed_args(const struct device_node *np, const char *list_name, int cell_count, int index, struct of_phandle_args *out_args) of_parse_phandle_with_fixed_args() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A 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() 769 int cell_count) in of_phandle_iterator_init() 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() 1007 * @cell_count: number of argument cells following the phandle 1035 int cell_count, in of_parse_phandle_with_fixed_args() 728 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) __of_parse_phandle_with_args() argument 765 of_phandle_iterator_init(struct of_phandle_iterator *it, const struct device_node *np, const char *list_name, const char *cells_name, int cell_count) of_phandle_iterator_init() argument 1033 of_parse_phandle_with_fixed_args(const struct device_node *np, const char *list_name, int cell_count, int index, struct of_phandle_args *out_args) of_parse_phandle_with_fixed_args() argument [all...] |
/kernel/linux/linux-5.10/drivers/mailbox/ |
H A D | arm_mhu_db.c | 250 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()
|
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | base.c | 1110 int cell_count) in of_phandle_iterator_init() 1118 * one of cell_count or cells_name must be provided to determine the in of_phandle_iterator_init() 1121 if (cell_count < 0 && !cells_name) in of_phandle_iterator_init() 1129 it->cell_count = cell_count; in of_phandle_iterator_init() 1174 * If both cell_count and cells_name is given, in of_phandle_iterator_next() 1175 * fall back to cell_count in absence in of_phandle_iterator_next() 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() 1106 of_phandle_iterator_init(struct of_phandle_iterator *it, const struct device_node *np, const char *list_name, const char *cells_name, int cell_count) of_phandle_iterator_init() argument 1241 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) __of_parse_phandle_with_args() argument [all...] |
/kernel/linux/linux-5.10/drivers/bus/ |
H A D | mvebu-mbus.c | 1205 int *cell_count, const __be32 **ranges_start, in mbus_parse_ranges() 1214 *addr_cells = *c_addr_cells = *c_size_cells = *cell_count = 0; in mbus_parse_ranges() 1228 *cell_count = *addr_cells + *c_addr_cells + *c_size_cells; in mbus_parse_ranges() 1229 tuple_len = (*cell_count) * sizeof(__be32); in mbus_parse_ranges() 1242 int i, ret, cell_count; in mbus_dt_setup() local 1246 &c_size_cells, &cell_count, in mbus_dt_setup() 1251 for (i = 0, r = ranges_start; r < ranges_end; r += cell_count, i++) { in mbus_dt_setup() 1203 mbus_parse_ranges(struct device_node *node, int *addr_cells, int *c_addr_cells, int *c_size_cells, int *cell_count, const __be32 **ranges_start, const __be32 **ranges_end) mbus_parse_ranges() argument
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | horizon.h | 300 HDW cell_count; // AAL5 rx bufs member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | of.h | 83 int cell_count; member 386 int cell_count); 753 int cell_count) in of_phandle_iterator_init() 749 of_phandle_iterator_init(struct of_phandle_iterator *it, const struct device_node *np, const char *list_name, const char *cells_name, int cell_count) of_phandle_iterator_init() argument
|