Searched refs:cells (Results 1 – 7 of 7) sorted by relevance
| /components/drivers/ofw/ |
| A D | raw.c | 86 int cells = -1; in fdt_io_addr_cells() local 95 cells = fdt32_to_cpu(*cells_tmp); in fdt_io_addr_cells() 99 if (cells < 0) in fdt_io_addr_cells() 101 cells = fdt_address_cells(fdt, nodeoffset); in fdt_io_addr_cells() 104 return cells; in fdt_io_addr_cells() 109 int cells = -1; in fdt_io_size_cells() local 118 cells = fdt32_to_cpu(*cells_tmp); in fdt_io_size_cells() 122 if (cells < 0) in fdt_io_size_cells() 124 cells = fdt_size_cells(fdt, nodeoffset); in fdt_io_size_cells() 127 return cells; in fdt_io_size_cells()
|
| A D | io.c | 31 for (rt_uint32_t cells; np; np = np->parent) in ofw_bus_addr_cells() local 33 if (!rt_ofw_prop_read_u32(np, "#address-cells", &cells)) in ofw_bus_addr_cells() 35 res = cells; in ofw_bus_addr_cells() 47 for (rt_uint32_t cells; np; np = np->parent) in ofw_bus_size_cells() local 49 if (!rt_ofw_prop_read_u32(np, "#size-cells", &cells)) in ofw_bus_size_cells() 51 res = cells; in ofw_bus_size_cells()
|
| /components/drivers/thermal/ |
| A D | thermal.c | 171 map->cells = rt_calloc(sizeof(*map->cells), map->cells_nr); in thermal_ofw_setup() 173 if (!map->cells) in thermal_ofw_setup() 194 struct rt_thermal_cooling_cell *cell = &map->cells[c]; in thermal_ofw_setup() 318 cdev = map->cells[i].cooling_devices; in rt_thermal_zone_device_unregister() 326 rt_free(map->cells); in rt_thermal_zone_device_unregister() 729 cell = &map->cells[c]; in rt_thermal_cooling_device_kick() 886 cell = &map->cells[c]; in list_thermal()
|
| /components/legacy/fdt/src/ |
| A D | dtb_set.c | 106 size_t dtb_node_set_dtb_property(void *fdt, char *pathname, char *property_name, uint32_t *cells, s… in dtb_node_set_dtb_property() argument 119 fdt_setprop(fdt, node_off, property_name, cells, cells_size); in dtb_node_set_dtb_property()
|
| /components/legacy/fdt/docs/ |
| A D | api.md | 55 rt_size_t fdt_set_dtb_property(void *fdt, char *pathname, char *property_name, rt_uint32_t *cells, … 63 |cells | 属性值地址 |
|
| /components/drivers/include/drivers/ |
| A D | thermal.h | 69 struct rt_thermal_cooling_cell *cells; member
|
| /components/legacy/fdt/inc/ |
| A D | dtb_node.h | 142 size_t dtb_node_set_dtb_property(void *fdt, char *pathname, char *property_name, uint32_t *cells, s…
|
Completed in 9 milliseconds