/device/soc/hisilicon/common/platform/gpio/ |
H A D | gpio_hi35xx.c | 70 struct Pl061GpioGroup *groups; member 76 .groups = NULL, 436 struct Pl061GpioGroup *groups = NULL; in Pl061GpioInitGroups() local 442 groups = (struct Pl061GpioGroup *)OsalMemCalloc(sizeof(*groups) * pl061->groupNum); in Pl061GpioInitGroups() 443 if (groups == NULL) { in Pl061GpioInitGroups() 446 pl061->groups = groups; in Pl061GpioInitGroups() 449 groups[i].index = i; in Pl061GpioInitGroups() 450 groups[ in Pl061GpioInitGroups() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/pinctrl/ |
H A D | pinctrl-rk806.c | 29 const char *const *groups; member 68 const struct rk806_pin_group *groups; member 115 .groups = rk806_gpio_groups, 121 .groups = rk806_gpio_groups, 127 .groups = rk806_gpio_groups, 133 .groups = rk806_gpio_groups, 139 .groups = rk806_gpio_groups, 145 .groups = rk806_gpio_groups, 297 return pci->groups[group].name; in rk806_pinctrl_get_group_name() 307 *pins = pci->groups[grou in rk806_pinctrl_get_group_pins() 336 rk806_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned int function, const char *const **groups, unsigned int *const num_groups) rk806_pinctrl_get_func_groups() argument [all...] |
H A D | pinctrl-rockchip.h | 448 * @groups: one or more names of pin groups that provide this function. 449 * @ngroups: number of groups included in @groups. 453 const char **groups; member 466 struct rockchip_pin_group *groups; member
|
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/ |
H A D | pinctrl-rk805.c | 34 const char *const *groups;
member 72 const struct rk805_pin_group *groups;
member 103 .groups = rk805_gpio_groups,
156 .groups = rk816_gpio_groups,
162 .groups = rk816_gpio_groups,
205 .groups = rk817_gpio_groups,
211 .groups = rk817_gpio_groups,
217 .groups = rk817_gpio_groups,
223 .groups = rk817_gpio_groups,
389 return pci->groups[grou in rk805_pinctrl_get_group_name() 425 rk805_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned int function, const char *const **groups, unsigned int *const num_groups) rk805_pinctrl_get_func_groups() argument [all...] |
H A D | pinctrl-rockchip.h | 241 * @groups: one or more names of pin groups that provide this function. 242 * @num_groups: number of groups included in @groups. 246 const char **groups; member 259 struct rockchip_pin_group *groups; member
|
H A D | pinctrl-rockchip.c | 227 if (!strcmp(info->groups[i].name, name)) { in pinctrl_name_to_group() 228 return &info->groups[i]; in pinctrl_name_to_group() 279 return info->groups[selector].name; in rockchip_get_group_name() 291 *pins = info->groups[selector].pins; in rockchip_get_group_pins() 292 *npins = info->groups[selector].npins; in rockchip_get_group_pins() 2917 static int rockchip_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char *const **groups, in rockchip_pmx_get_groups() argument 2922 *groups = info->functions[selector].groups; in rockchip_pmx_get_groups() 2931 const unsigned int *pins = info->groups[group].pins; in rockchip_pmx_set() 2932 const struct rockchip_pin_config *data = info->groups[grou in rockchip_pmx_set() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_executor.h | 65 void mali_executor_group_power_up(struct mali_group *groups[], u32 num_groups); 66 void mali_executor_group_power_down(struct mali_group *groups[], u32 num_groups);
|
H A D | mali_executor.c | 43 EXEC_STATE_EMPTY, /* No child groups for virtual group (do not use) */ 69 /* List of physical PP groups which are disabled by some external source */ 73 /* List of groups which can be used, but activate first */ 77 /* List of groups which are active and ready to be used */ 81 /* List of groups which are executing a job */ 337 * _STAET_ACTIVATION_PENDING) groups, to make sure the variable in mali_executor_suspend() 635 /* Child groups should never handle PP interrupts */ in mali_executor_interrupt_pp() 665 /* Some child groups are still working, so nothing to do right now */ in mali_executor_interrupt_pp() 799 void mali_executor_group_power_up(struct mali_group *groups[], u32 num_groups) in mali_executor_group_power_up() argument 808 MALI_DEBUG_ASSERT_POINTER(groups); in mali_executor_group_power_up() 889 mali_executor_group_power_down(struct mali_group *groups[], u32 num_groups) mali_executor_group_power_down() argument [all...] |
H A D | mali_pm.h | 55 mali_bool mali_pm_get_domain_refs(struct mali_pm_domain **domains, struct mali_group **groups, u32 num_domains);
|
H A D | mali_pm.c | 203 mali_bool mali_pm_get_domain_refs(struct mali_pm_domain **domains, struct mali_group **groups, u32 num_domains) in mali_pm_get_domain_refs() argument 222 * set the power state of the corresponding groups to be on. in mali_pm_get_domain_refs() 224 if (groups[i] != NULL && MALI_FALSE == mali_group_power_is_on(groups[i])) { in mali_pm_get_domain_refs() 597 * Make a note of the L2s and/or groups to notify in mali_pm_domain_power_down() 696 * We get the groups and L2s to notify in return. in mali_pm_update_sync_internal() 700 /* Need to unlock PM state lock before notifying L2 + groups */ in mali_pm_update_sync_internal() 709 * Tell execution module about all the groups we have in mali_pm_update_sync_internal() 742 * We get the groups and L2s to notify in return. in mali_pm_update_sync_internal() 746 /* Need to unlock PM state lock before notifying L2 + groups */ in mali_pm_update_sync_internal() [all...] |
H A D | mali_group.c | 121 /* Remove all groups from virtual group */ in mali_group_delete() 250 struct mali_group *groups[MALI_MAX_NUM_DOMAIN_REFS]; in mali_group_activate() local 254 /* Deal with child groups first */ in mali_group_activate() 259 * let the child groups take the needed L2 cache ref in mali_group_activate() 279 groups[num_domains] = child; in mali_group_activate() 287 groups[num_domains] = NULL; in mali_group_activate() 292 /* Take L2 domain ref for physical groups. */ in mali_group_activate() 296 groups[num_domains] = NULL; in mali_group_activate() 307 groups[num_domains] = group; in mali_group_activate() 310 all_groups_on = mali_pm_get_domain_refs(domains, groups, num_domain in mali_group_activate() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_executor.h | 61 void mali_executor_group_power_up(struct mali_group *groups[], u32 num_groups); 62 void mali_executor_group_power_down(struct mali_group *groups[], u32 num_groups);
|
H A D | mali_executor.c | 45 EXEC_STATE_EMPTY, /* No child groups for virtual group (do not use) */ 71 /* List of physical PP groups which are disabled by some external source */ 75 /* List of groups which can be used, but activate first */ 79 /* List of groups which are active and ready to be used */ 83 /* List of groups which are executing a job */ 346 * _STAET_ACTIVATION_PENDING) groups, to make sure the variable in mali_executor_suspend() 665 /* Child groups should never handle PP interrupts */ in mali_executor_interrupt_pp() 696 /* Some child groups are still working, so nothing to do right now */ in mali_executor_interrupt_pp() 844 void mali_executor_group_power_up(struct mali_group *groups[], u32 num_groups) in mali_executor_group_power_up() argument 853 MALI_DEBUG_ASSERT_POINTER(groups); in mali_executor_group_power_up() 940 mali_executor_group_power_down(struct mali_group *groups[], u32 num_groups) mali_executor_group_power_down() argument [all...] |
H A D | mali_pm.h | 58 struct mali_group **groups,
|
H A D | mali_pm.c | 211 struct mali_group **groups, in mali_pm_get_domain_refs() 231 * set the power state of the corresponding groups to be on. in mali_pm_get_domain_refs() 233 if (NULL != groups[i] && in mali_pm_get_domain_refs() 234 MALI_FALSE == mali_group_power_is_on(groups[i])) { in mali_pm_get_domain_refs() 634 * Make a note of the L2s and/or groups to notify in mali_pm_domain_power_down() 742 * We get the groups and L2s to notify in return. in mali_pm_update_sync_internal() 748 /* Need to unlock PM state lock before notifying L2 + groups */ in mali_pm_update_sync_internal() 757 * Tell execution module about all the groups we have in mali_pm_update_sync_internal() 792 * We get the groups and L2s to notify in return. in mali_pm_update_sync_internal() 798 /* Need to unlock PM state lock before notifying L2 + groups */ in mali_pm_update_sync_internal() 210 mali_pm_get_domain_refs(struct mali_pm_domain **domains, struct mali_group **groups, u32 num_domains) mali_pm_get_domain_refs() argument [all...] |
H A D | mali_group.c | 118 /* Remove all groups from virtual group */ in mali_group_delete() 247 struct mali_group *groups[MALI_MAX_NUM_DOMAIN_REFS]; in mali_group_activate() local 251 /* Deal with child groups first */ in mali_group_activate() 256 * let the child groups take the needed L2 cache ref in mali_group_activate() 279 groups[num_domains] = child; in mali_group_activate() 289 groups[num_domains] = NULL; in mali_group_activate() 295 /* Take L2 domain ref for physical groups. */ in mali_group_activate() 301 groups[num_domains] = NULL; in mali_group_activate() 312 groups[num_domains] = group; in mali_group_activate() 315 all_groups_on = mali_pm_get_domain_refs(domains, groups, in mali_group_activate() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_firmware_no_mali.c | 168 if (iface->groups) { in free_global_iface() 172 kfree(iface->groups[gid].streams); in free_global_iface() 174 kfree(iface->groups); in free_global_iface() 175 iface->groups = NULL; in free_global_iface() 243 iface->groups = kcalloc(iface->group_num, sizeof(*iface->groups), GFP_KERNEL); in invent_capabilities() 244 if (iface->groups == NULL) { in invent_capabilities() 251 err = invent_cmd_stream_group_info(kbdev, &iface->groups[gid], in invent_capabilities() 464 * Report group fatal error to user space for all GPU command queue groups 1147 /* Validate there are no on-slot groups whe in kbase_csf_firmware_trigger_mcu_halt() [all...] |
H A D | mali_kbase_csf_firmware.c | 828 if (iface->groups) { in free_global_iface() 832 kfree(iface->groups[gid].streams); in free_global_iface() 834 kfree(iface->groups); in free_global_iface() 835 iface->groups = NULL; in free_global_iface() 1013 WARN_ON(iface->groups); in parse_capabilities() 1015 iface->groups = kcalloc(iface->group_num, sizeof(*iface->groups), in parse_capabilities() 1017 if (!iface->groups) in parse_capabilities() 1025 err = parse_cmd_stream_group_info(kbdev, &iface->groups[gid], in parse_capabilities() 1220 * Report group fatal error to user space for all GPU command queue groups [all...] |
H A D | mali_kbase_csf_csg_debugfs.c | 209 &kbdev->csf.global_iface.groups[queue->group->csg_nr]; in kbasep_csf_scheduler_dump_active_queue() 279 &kbdev->csf.global_iface.groups[group->csg_nr]; in update_active_group_status() 288 * status of all on-slot groups when MCU sleep request is sent to it. in update_active_group_status() 331 &kbdev->csf.global_iface.groups[group->csg_nr]; in kbasep_csf_scheduler_dump_active_group() 434 * GPU command queue groups 508 file = debugfs_create_file("groups", mode, in kbase_csf_queue_group_debugfs_init() 513 "Unable to create per context queue groups debugfs entry"); in kbase_csf_queue_group_debugfs_init()
|
H A D | mali_kbase_csf.c | 712 max_streams = kctx->kbdev->csf.global_iface.groups[0].stream_num; in kbase_csf_queue_bind() 759 dev_warn(kctx->kbdev->dev, "Incorrect mapping between queues & queue groups\n"); in get_bound_queue_group() 858 ginfo = &kbdev->csf.global_iface.groups[csg_nr]; in kbase_csf_ring_cs_kernel_doorbell() 1057 struct kbase_csf_cmd_stream_group_info *const groups = in iface_has_enough_streams() local 1058 kbdev->csf.global_iface.groups; in iface_has_enough_streams() 1063 if (groups[i].stream_num >= cs_min) in iface_has_enough_streams() 1086 PFN_UP(kctx->kbdev->csf.global_iface.groups[0].suspend_size); in create_normal_suspend_buffer() 1176 PFN_UP(kbdev->csf.global_iface.groups[0].suspend_size); in create_protected_suspend_buffer() 1435 PFN_UP(kctx->kbdev->csf.global_iface.groups[0].suspend_size); in term_normal_suspend_buffer() 1470 PFN_UP(kbdev->csf.global_iface.groups[ in term_protected_suspend_buffer() [all...] |
H A D | mali_kbase_csf_scheduler.c | 165 * wake up of MCU and suspension of on-slot groups. It is called at the time of 842 * idle groups, schedule an async tock. in update_idle_suspended_group_state() 968 ginfo = &global_iface->groups[group->csg_nr]; in halt_stream_sync() 1048 * This function handles stopping gpu queues for groups that are either not on 1052 * which is needed as groups that were suspended may need to resume all queues 1162 &global_iface->groups[slot]; in sched_halt_stream() 1358 ginfo = &kbdev->csf.global_iface.groups[group->csg_nr]; in program_cs() 1495 &kbdev->csf.global_iface.groups[slot]; in update_csg_slot_status() 1564 &kbdev->csf.global_iface.groups[slot]; in csg_slot_stopped_raw() 1612 &global_iface->groups[slo in halt_csg_slot() [all...] |
H A D | mali_kbase_csf_firmware.h | 267 * @groups: Address of an array of CSG capability structures. 279 struct kbase_csf_cmd_stream_group_info *groups; member 598 * @max_group_num: The maximum number of groups to be read. 617 * Return: Total number of CSs, summed across all groups.
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | topology.c | 44 struct sched_group *group = sd->groups; in sched_domain_debug_one() 57 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one() 74 printk(KERN_DEBUG "%*s groups:", level + 1, ""); in sched_domain_debug_one() 106 if (group == sd->groups && sd->child && !cpumask_equal(sched_domain_span(sd->child), sched_group_span(group))) { in sched_domain_debug_one() 107 printk(KERN_ERR "ERROR: domain->groups does not match domain->child\n"); in sched_domain_debug_one() 114 if (group != sd->groups) { in sched_domain_debug_one() 117 } while (group != sd->groups); in sched_domain_debug_one() 121 printk(KERN_ERR "ERROR: groups don't span domain->span\n"); in sched_domain_debug_one() 181 /* Following flags need at least 2 groups */ in sd_degenerate() 182 if ((sd->flags & SD_DEGENERATE_GROUPS_MASK) && (sd->groups ! in sd_degenerate() [all...] |
/device/soc/rockchip/rk3588/kernel/include/linux/ |
H A D | pinctrl-rockchip.h | 448 * @groups: one or more names of pin groups that provide this function. 449 * @ngroups: number of groups included in @groups. 453 const char **groups; member 466 struct rockchip_pin_group *groups; member
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_firmware.h | 74 /* GLB_GROUP_NUM: At least 3 command stream groups, but no more than 31 */ 260 * @group_num: Number of command stream groups supported. 264 * @groups: Address of an array of command stream group capability structures. 275 struct kbase_csf_cmd_stream_group_info *groups; member 519 * Return: Total number of command streams, summed across all groups. 524 * @max_group_num: The maximum number of groups to be read. 538 * @group_num: Where to store the number of command stream groups
|