Home
last modified time | relevance | path

Searched refs:resource (Results 1 - 25 of 163) sorted by relevance

1234567

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Dresource.h2 * resource.h -- generic resource handling
11 * @file resource.h
12 * @brief Generic resource handling
69 unsigned int dirty:1; /**< set to 1 if resource has changed */
74 unsigned int is_unknown:1; /**< resource created for unknown handler */
88 coap_subscription_t *subscribers; /**< list of observers for this resource */
91 * Request URI Path for this resource. This field will point into static
93 * resource.
95 coap_str_const_t *uri_path; /**< the key used for hash lookup for this resource */
184 coap_resource_set_mode(coap_resource_t *resource, int mode) coap_resource_set_mode() argument
495 coap_resource_set_get_observable(coap_resource_t *resource, int mode) coap_resource_set_get_observable() argument
520 coap_resource_get_uri_path(coap_resource_t *resource) coap_resource_get_uri_path() argument
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/linuxkpi/include/linux/
H A Dplatform_device.h39 struct resource { struct
45 struct resource *parent, *sibling, *child;
57 struct resource *resource; member
171 extern struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int);
172 extern struct resource *platform_get_resource_byname(struct platform_device *, unsigned int, const char *);
175 extern VOID *platform_ioremap_resource(struct resource *res);
180 STATIC INLINE resource_size_t resource_size(const struct resource *res) in resource_size()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/
H A Darm.c124 static struct resource mali_gpu_resources_m450_mp6[] = {
128 static struct resource mali_gpu_resources_m470_mp4[] = {
132 static struct resource mali_gpu_resources_m470_mp3[] = {
136 static struct resource mali_gpu_resources_m470_mp2[] = {
140 static struct resource mali_gpu_resources_m470_mp1[] = {
145 static struct resource mali_gpu_resources_m450_mp8[] = {
149 static struct resource mali_gpu_resources_m450_mp6[] = {
153 static struct resource mali_gpu_resources_m450_mp4[] = {
157 static struct resource mali_gpu_resources_m470_mp4[] = {
164 static struct resource mali_gpu_resources_m30
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_mali.c46 * Define the max number of resource we could have.
51 * Define the max number of resource with interrupts, and they are
126 struct resource *res; in _mali_osk_resource_initialize()
179 /* If device is not mali-450 type, we have to remove related resource from resource bank. */ in _mali_osk_resource_initialize()
217 struct resource *reg_res = NULL; in _mali_osk_resource_base_address()
288 if (IORESOURCE_MEM == resource_type(&(mali_platform_device->resource[i])) && in _mali_osk_resource_find()
289 mali_platform_device->resource[i].start == phys_addr) { in _mali_osk_resource_find()
292 res->description = mali_platform_device->resource[i].name; in _mali_osk_resource_find()
294 /* Any (optional) IRQ resource belongin in _mali_osk_resource_find()
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkimg85 --second resource.img \
87 echo " Image: boot.img (with Image ${RAMDISK_IMG} resource.img) is ready";
91 --second resource.img \
93 echo " Image: zboot.img (with ${ZIMAGE} ${RAMDISK_IMG} resource.img) is ready"
101 --second resource.img \
108 --second resource.img \
127 rm -f ${OUT}/fdt ${OUT}/kernel ${OUT}/resource
179 [ -f ${OUT}/resource ] && cp -a resource.img ${OUT}/resource
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_hw_core.c17 mali_osk_errcode_t mali_hw_core_create(struct mali_hw_core *core, const _mali_osk_resource_t *resource, u32 reg_size) in mali_hw_core_create() argument
19 core->phys_addr = resource->base; in mali_hw_core_create()
20 core->phys_offset = resource->base - mali_osk_resource_base_address(); in mali_hw_core_create()
21 core->description = resource->description; in mali_hw_core_create()
H A Dmali_broadcast.c25 struct mali_bcast_unit *mali_bcast_unit_create(const _mali_osk_resource_t *resource) in mali_bcast_unit_create() argument
29 MALI_DEBUG_ASSERT_POINTER(resource); in mali_bcast_unit_create()
37 if (MALI_OSK_ERR_OK == mali_hw_core_create(&bcast_unit->hw_core, resource, MALI_BROADCAST_REGISTER_SIZE)) { in mali_bcast_unit_create()
H A Dmali_mmu.c101 struct mali_mmu_core *mali_mmu_create(_mali_osk_resource_t *resource, struct mali_group *group, mali_bool is_virtual) in mali_mmu_create() argument
105 MALI_DEBUG_ASSERT_POINTER(resource); in mali_mmu_create()
107 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali MMU: Creating Mali MMU: %s\n", resource->description)); in mali_mmu_create()
111 if (MALI_OSK_ERR_OK == mali_hw_core_create(&mmu->hw_core, resource, MALI_MMU_REGISTERS_SIZE)) { in mali_mmu_create()
121 _mali_osk_irq_init(resource->irq, mali_group_upper_half_mmu, group, mali_mmu_probe_trigger, in mali_mmu_create()
122 mali_mmu_probe_ack, mmu, resource->description); in mali_mmu_create()
H A Dmali_dlbu.c118 struct mali_dlbu_core *mali_dlbu_create(const _mali_osk_resource_t *resource) in mali_dlbu_create() argument
125 resource->description)); in mali_dlbu_create()
130 mali_hw_core_create(&core->hw_core, resource, MALI_DLBU_SIZE)) { in mali_dlbu_create()
H A Dmali_gp.c29 struct mali_gp_core *mali_gp_create(const _mali_osk_resource_t *resource, struct mali_group *group) in mali_gp_create() argument
34 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali GP: Creating Mali GP core: %s\n", resource->description)); in mali_gp_create()
38 if (MALI_OSK_ERR_OK == mali_hw_core_create(&core->hw_core, resource, MALIGP2_REGISTER_ADDRESS_SPACE_SIZE)) { in mali_gp_create()
47 _mali_osk_irq_init(resource->irq, mali_group_upper_half_gp, group, mali_gp_irq_probe_trigger, in mali_gp_create()
48 mali_gp_irq_probe_ack, core, resource->description); in mali_gp_create()
H A Dmali_pp.c36 struct mali_pp_core *mali_pp_create(const _mali_osk_resource_t *resource, struct mali_group *group, in mali_pp_create() argument
41 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali PP: Creating Mali PP core: %s\n", resource->description)); in mali_pp_create()
42 MALI_DEBUG_PRINT(MALI_KERNEL_LEVEL_INFORMATOIN, ("Mali PP: Base address of PP core: 0x%x\n", resource->base)); in mali_pp_create()
54 if (MALI_OSK_ERR_OK == mali_hw_core_create(&core->hw_core, resource, MALI200_REG_SIZEOF_REGISTER_BANK)) { in mali_pp_create()
67 MALI_DEBUG_ASSERT(!is_virtual || -1 != resource->irq); in mali_pp_create()
70 _mali_osk_irq_init(resource->irq, mali_group_upper_half_pp, group, mali_pp_irq_probe_trigger, in mali_pp_create()
71 mali_pp_irq_probe_ack, core, resource->description); in mali_pp_create()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_hw_core.c16 _mali_osk_errcode_t mali_hw_core_create(struct mali_hw_core *core, const _mali_osk_resource_t *resource, u32 reg_size) in mali_hw_core_create() argument
18 core->phys_addr = resource->base; in mali_hw_core_create()
19 core->phys_offset = resource->base - _mali_osk_resource_base_address(); in mali_hw_core_create()
20 core->description = resource->description; in mali_hw_core_create()
H A Dmali_broadcast.c24 struct mali_bcast_unit *mali_bcast_unit_create(const _mali_osk_resource_t *resource) in mali_bcast_unit_create() argument
28 MALI_DEBUG_ASSERT_POINTER(resource); in mali_bcast_unit_create()
30 resource->description)); in mali_bcast_unit_create()
39 resource, MALI_BROADCAST_REGISTER_SIZE)) { in mali_bcast_unit_create()
H A Dmali_mmu.c104 struct mali_mmu_core *mali_mmu_create(_mali_osk_resource_t *resource, struct mali_group *group, mali_bool is_virtual) in mali_mmu_create() argument
108 MALI_DEBUG_ASSERT_POINTER(resource); in mali_mmu_create()
110 MALI_DEBUG_PRINT(2, ("Mali MMU: Creating Mali MMU: %s\n", resource->description)); in mali_mmu_create()
114 if (_MALI_OSK_ERR_OK == mali_hw_core_create(&mmu->hw_core, resource, MALI_MMU_REGISTERS_SIZE)) { in mali_mmu_create()
123 mmu->irq = _mali_osk_irq_init(resource->irq, in mali_mmu_create()
129 resource->description); in mali_mmu_create()
H A Dmali_dlbu.c107 struct mali_dlbu_core *mali_dlbu_create(const _mali_osk_resource_t *resource) in mali_dlbu_create() argument
111 MALI_DEBUG_PRINT(2, ("Mali DLBU: Creating Mali dynamic load balancing unit: %s\n", resource->description)); in mali_dlbu_create()
115 if (_MALI_OSK_ERR_OK == mali_hw_core_create(&core->hw_core, resource, MALI_DLBU_SIZE)) { in mali_dlbu_create()
H A Dmali_gp.c28 struct mali_gp_core *mali_gp_create(const _mali_osk_resource_t *resource, struct mali_group *group) in mali_gp_create() argument
33 MALI_DEBUG_PRINT(2, ("Mali GP: Creating Mali GP core: %s\n", resource->description)); in mali_gp_create()
37 if (_MALI_OSK_ERR_OK == mali_hw_core_create(&core->hw_core, resource, MALIGP2_REGISTER_ADDRESS_SPACE_SIZE)) { in mali_gp_create()
46 core->irq = _mali_osk_irq_init(resource->irq, in mali_gp_create()
52 resource->description); in mali_gp_create()
H A Dmali_pp.c35 struct mali_pp_core *mali_pp_create(const _mali_osk_resource_t *resource, struct mali_group *group, mali_bool is_virtual, u32 bcast_id) in mali_pp_create() argument
39 MALI_DEBUG_PRINT(2, ("Mali PP: Creating Mali PP core: %s\n", resource->description)); in mali_pp_create()
40 MALI_DEBUG_PRINT(2, ("Mali PP: Base address of PP core: 0x%x\n", resource->base)); in mali_pp_create()
52 if (_MALI_OSK_ERR_OK == mali_hw_core_create(&core->hw_core, resource, MALI200_REG_SIZEOF_REGISTER_BANK)) { in mali_pp_create()
65 MALI_DEBUG_ASSERT(!is_virtual || -1 != resource->irq); in mali_pp_create()
67 core->irq = _mali_osk_irq_init(resource->irq, in mali_pp_create()
73 resource->description); in mali_pp_create()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_mali.c45 * Define the max number of resource we could have.
50 * Define the max number of resource with interrupts, and they are
220 struct resource *res; in mali_osk_resource_initialize()
273 /* If device is not mali-450 type, we have to remove related resource from resource bank. */ in mali_osk_resource_initialize()
312 struct resource *reg_res = NULL; in mali_osk_resource_base_address()
384 if (IORESOURCE_MEM == resource_type(&(mali_platform_device->resource[i])) && in mali_osk_resource_find()
385 mali_platform_device->resource[i].start == phys_addr) { in mali_osk_resource_find()
388 res->description = mali_platform_device->resource[i].name; in mali_osk_resource_find()
390 /* Any (optional) IRQ resource belongin in mali_osk_resource_find()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_platdev.c75 extern struct resource dhd_wlan_resources;
83 struct resource dhd_wlan_resources = {0};
336 struct resource *resource; in wifi_plat_dev_drv_probe() local
354 resource = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "bcmdhd_wlan_irq"); in wifi_plat_dev_drv_probe()
355 if (resource == NULL) in wifi_plat_dev_drv_probe()
356 resource = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "bcm4329_wlan_irq"); in wifi_plat_dev_drv_probe()
357 if (resource) { in wifi_plat_dev_drv_probe()
358 adapter->irq_num = resource->start; in wifi_plat_dev_drv_probe()
359 adapter->intr_flags = resource in wifi_plat_dev_drv_probe()
566 struct resource *resource; wifi_ctrlfunc_register_drv() local
[all...]
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dmkimg86 --second resource.img \
88 echo " Image: boot.img (with Image ${RAMDISK_IMG} resource.img) is ready";
92 --second resource.img \
94 echo " Image: zboot.img (with ${ZIMAGE} ${RAMDISK_IMG} resource.img) is ready"
102 --second resource.img \
109 --second resource.img \
128 rm -f ${OUT}/fdt ${OUT}/kernel ${OUT}/resource
180 [ -f ${OUT}/resource ] && cp -a resource.img ${OUT}/resource
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_platform_fake.c43 * Function converts data in struct kbase_io_resources struct to an array of Linux resource structures. Note that
47 * @param[in] io_resource Input IO resource data
48 * @param[out] linux_resources Pointer to output array of Linux resource structures
51 struct resource *const linux_resources) in kbasep_config_parse_io_resources()
58 memset(linux_resources, 0, PLATFORM_CONFIG_RESOURCE_COUNT * sizeof(struct resource)); in kbasep_config_parse_io_resources()
82 struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT]; in kbase_platform_fake_register()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_platform_fake.c43 * Function converts data in struct kbase_io_resources struct to an array of Linux resource structures. Note that function
47 * @param[in] io_resource Input IO resource data
48 * @param[out] linux_resources Pointer to output array of Linux resource structures
50 static void kbasep_config_parse_io_resources(const struct kbase_io_resources *io_resources, struct resource *const linux_resources) in kbasep_config_parse_io_resources()
57 memset(linux_resources, 0, PLATFORM_CONFIG_RESOURCE_COUNT * sizeof(struct resource)); in kbasep_config_parse_io_resources()
81 struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT]; in kbase_platform_fake_register()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_platform_fake.c48 * Function converts data in struct kbase_io_resources struct to an array of Linux resource structures. Note that
52 * @param[in] io_resource Input IO resource data
53 * @param[out] linux_resources Pointer to output array of Linux resource structures
56 struct resource *const linux_resources) in kbasep_config_parse_io_resources()
63 memset(linux_resources, 0, PLATFORM_CONFIG_RESOURCE_COUNT * sizeof(struct resource)); in kbasep_config_parse_io_resources()
87 struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT]; in kbase_platform_register()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_platform_fake.c43 * @io_resources: Input IO resource data
44 * @linux_resources: Pointer to output array of Linux resource structures
46 * Function converts data in struct kbase_io_resources struct to an array of Linux resource structures. Note that function
50 static void kbasep_config_parse_io_resources(const struct kbase_io_resources *io_resources, struct resource *const linux_resources) in kbasep_config_parse_io_resources()
57 memset(linux_resources, 0, PLATFORM_CONFIG_RESOURCE_COUNT * sizeof(struct resource)); in kbasep_config_parse_io_resources()
81 struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT]; in kbase_platform_register()
/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h36 PCI_MMAP_SYSFS, /* mmap on /sys/bus/pci/devices/<BDF>/resource<N> */
281 struct resource *res, unsigned int reg);
523 unsigned long pci_cardbus_resource_alignment(struct resource *);
526 struct resource *res) in pci_resource_alignment()
529 int resno = res - dev->resource; in pci_resource_alignment()
612 struct resource *res);
615 u16 segment, struct resource *res) in acpi_get_rc_resources()
632 int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
644 of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range()

Completed in 13 milliseconds

1234567