| /components/drivers/pic/ |
| A D | pic-gicv3-its.c | 160 return map->device_id; in its_pirq_device_id() 772 if (!map) in gicv3_its_irq_alloc_msi() 776 if (!(map = rt_calloc(1, sizeof(*map)))) in gicv3_its_irq_alloc_msi() 787 if (!map->itt) in gicv3_its_irq_alloc_msi() 883 if (map->its) in gicv3_its_irq_alloc_msi() 891 map->its = its; in gicv3_its_irq_alloc_msi() 901 map->cpu_id = 0; in gicv3_its_irq_alloc_msi() 931 its = map->its; in its_map_release() 946 if (map->itt) in its_map_release() 950 if (map->lvl2_dte) in its_map_release() [all …]
|
| /components/drivers/pci/ |
| A D | ecam.c | 43 void *win = conf_win->win, *map; in pci_ecam_map() local 54 map = win + (bus_offset | devfn_offset | where); in pci_ecam_map() 58 map = win + PCIE_ECAM_OFFSET(busn, devfn, where); in pci_ecam_map() 61 return map; in pci_ecam_map() 68 .map = pci_ecam_map,
|
| A D | access.c | 67 if ((base = bus->ops->map(bus, devfn, reg))) in PCI_OPS() 93 if ((base = bus->ops->map(bus, devfn, reg))) in rt_pci_bus_write_config_uxx() 119 if ((base = bus->ops->map(bus, devfn, reg))) in rt_pci_bus_read_config_generic_u32() 139 if ((base = bus->ops->map(bus, devfn, reg & ~0x3))) in rt_pci_bus_write_config_generic_u32()
|
| /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() 180 map->trips = rt_ofw_data(trip_np); in thermal_ofw_setup() 183 if (!map->trips) in thermal_ofw_setup() 192 for (int c = 0; c < map->cells_nr; ++c) in thermal_ofw_setup() 316 for (int c = 0; c < map->cells_nr; ++c) in rt_thermal_zone_device_unregister() 326 rt_free(map->cells); in rt_thermal_zone_device_unregister() 727 for (int c = 0; c < map->cells_nr; ++c) in rt_thermal_cooling_device_kick() 729 cell = &map->cells[c]; in rt_thermal_cooling_device_kick() 885 trips = map->trips; in list_thermal() [all …]
|
| /components/drivers/pci/endpoint/ |
| A D | mem.c | 46 mem->map = rt_calloc(RT_BITMAP_LEN(mem->bits), sizeof(*mem->map)); in rt_pci_ep_mem_array_init() 48 if (!mem->map) in rt_pci_ep_mem_array_init() 60 rt_free(ep->mems[idx].map); in rt_pci_ep_mem_array_init() 97 rt_bitmap_for_each_clear_bit(mem->map, bit, max_bits) in bitmap_region_alloc() 103 if (rt_bitmap_test_bit(mem->map, next_bit)) in bitmap_region_alloc() 114 rt_bitmap_set_bit(mem->map, next_bit); in bitmap_region_alloc() 135 rt_bitmap_clear_bit(mem->map, bit); in bitmap_region_free()
|
| /components/drivers/ofw/ |
| A D | irq.c | 44 const fdt32_t *addr, *map, *map_mask; in ofw_parse_irq_map() local 247 if (addr[idx1] != map[idx2]) in ofw_parse_irq_map() 257 if (addr[idx1] != map[idx2]) in ofw_parse_irq_map() 265 map += map_mask_len; in ofw_parse_irq_map() 268 if (ic_phandle != fdt32_to_cpu(*map)) in ofw_parse_irq_map() 272 ic_phandle = fdt32_to_cpu(*map); in ofw_parse_irq_map() 307 ++map; in ofw_parse_irq_map() 312 if (addr[idx1] != map[idx2]) in ofw_parse_irq_map() 320 map += parent_address_cells; in ofw_parse_irq_map() 329 irq_args->args[i] = fdt32_to_cpu(*map++); in ofw_parse_irq_map() [all …]
|
| A D | base.c | 1226 const fdt32_t *map, rt_ssize_t map_len, struct rt_ofw_node **ref_np, rt_uint32_t *out_id) in ofw_map_id() argument 1241 for (; map_len > 0; map_len -= 4 * sizeof(*map), map += 4) in ofw_map_id() 1244 rt_uint32_t id_base = fdt32_to_cpu(*(map + 0)); in ofw_map_id() 1245 rt_uint32_t phandle = fdt32_to_cpu(*(map + 1)); in ofw_map_id() 1246 rt_uint32_t out_base = fdt32_to_cpu(*(map + 2)); in ofw_map_id() 1247 rt_uint32_t id_len = fdt32_to_cpu(*(map + 3)); in ofw_map_id() 1323 const fdt32_t *map = rt_ofw_prop_read_raw(np, map_name, &map_len); in rt_ofw_map_id() local 1325 if (!map) in rt_ofw_map_id() 1338 else if (!map_len || map_len % (4 * sizeof(*map))) in rt_ofw_map_id() 1346 err = ofw_map_id(np, id, map_name, map_mask_name, map, map_len, ref_np, out_id); in rt_ofw_map_id()
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_pcache.c | 958 struct dfs_mmap *map; in dfs_page_unmap() local 972 if (map) in dfs_page_unmap() 977 varea = rt_aspace_query(map->aspace, map->vaddr); in dfs_page_unmap() 983 rt_free(map); in dfs_page_unmap() 1829 if (map) in dfs_aspace_mmap() 1863 rt_free(map); in dfs_aspace_mmap() 1924 if (map && varea->aspace == map->aspace in dfs_aspace_unmap() 1925 && map->vaddr >= unmap_start && map->vaddr < unmap_end) in dfs_aspace_unmap() 1985 struct dfs_mmap *map; in dfs_aspace_page_unmap() local 1996 if (map && varea->aspace == map->aspace && vaddr == map->vaddr) in dfs_aspace_page_unmap() [all …]
|
| /components/drivers/pci/host/ |
| A D | pci-host-generic.c | 20 .map = pci_ecam_map, 42 .map = pci_dw_ecam_map_bus,
|
| /components/drivers/dma/ |
| A D | dma_pool.c | 274 rt_bitmap_for_each_clear_bit(pool->map, bit, max_bits) in dma_pool_alloc() 280 if (rt_bitmap_test_bit(pool->map, next_bit)) in dma_pool_alloc() 291 rt_bitmap_set_bit(pool->map, next_bit); in dma_pool_alloc() 311 rt_bitmap_clear_bit(pool->map, bit); in dma_pool_free() 539 pool->map = rt_calloc(RT_BITMAP_LEN(pool->bits), sizeof(*pool->map)); in dma_pool_install() 541 if (!pool->map) in dma_pool_install()
|
| /components/drivers/core/ |
| A D | dm.c | 70 id = rt_bitmap_next_clear_bit(ida->map, 0, RT_DM_IDA_NUM); in rt_dm_ida_alloc() 74 rt_bitmap_set_bit(ida->map, id); in rt_dm_ida_alloc() 103 if (!rt_bitmap_test_bit(ida->map, id)) in rt_dm_ida_take() 105 rt_bitmap_set_bit(ida->map, id); in rt_dm_ida_take() 131 rt_bitmap_clear_bit(ida->map, id); in rt_dm_ida_free()
|
| /components/drivers/usb/cherryusb/ |
| A D | .gitignore | 9 *.map
|
| /components/lwp/arch/arm/cortex-a/ |
| A D | lwp_arch.c | 103 void *map = lwp_map_user(lwp_self(), (void *)stack_addr, ARCH_PAGE_SIZE, 0); in arch_expand_user_stack() local 105 if (map || lwp_user_accessable(addr, 1)) in arch_expand_user_stack()
|
| /components/lwp/arch/aarch64/cortex-a/ |
| A D | lwp_arch.c | 88 void *map = in arch_expand_user_stack() local 91 if (map || lwp_user_accessable(addr, 1)) in arch_expand_user_stack()
|
| /components/lwp/arch/x86/i386/ |
| A D | lwp_arch.c | 42 void *map = lwp_map_user(lwp_self(), (void *)stack_addr, PAGE_SIZE, RT_FALSE); in arch_expand_user_stack() local 44 if (map || lwp_user_accessable(addr, 1)) in arch_expand_user_stack()
|
| /components/drivers/include/drivers/ |
| A D | pci_endpoint.h | 105 rt_bitmap_t *map; member
|
| A D | dma.h | 139 rt_bitmap_t *map; member
|
| A D | pci.h | 217 void *(*map)(struct rt_pci_bus *bus, rt_uint32_t devfn, int reg); member
|
| /components/drivers/include/drivers/core/ |
| A D | dm.h | 42 RT_BITMAP_DECLARE(map, RT_DM_IDA_NUM);
|
| /components/drivers/pci/host/dw/ |
| A D | pcie-dw_host.c | 508 .map = dw_pcie_other_conf_map, 528 .map = dw_pcie_own_conf_map,
|
| /components/mm/ |
| A D | mm_aspace.c | 205 void *map; in rt_varea_map_with_msg() local 214 map = rt_hw_mmu_map(aspace, v_addr, p_addr, store_sz, attr); in rt_varea_map_with_msg() 216 if (!map) in rt_varea_map_with_msg()
|
| /components/lwp/terminal/ |
| A D | bsd_porting.h | 694 typedef int fo_mmap_t(struct file *fp, vm_map_t map, vm_offset_t *addr,
|