Home
last modified time | relevance | path

Searched refs:cpumask (Results 1 - 25 of 38) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/input/
H A Drockchip_pwm_remotectl.c564 struct cpumask cpumask; in rk_pwm_probe() local
689 cpumask_clear(&cpumask); in rk_pwm_probe()
690 cpumask_set_cpu(cpu_id, &cpumask); in rk_pwm_probe()
691 irq_set_affinity_hint(irq, &cpumask); in rk_pwm_probe()
737 struct cpumask cpumask; in remotectl_suspend() local
746 cpumask_clear(&cpumask); in remotectl_suspend()
747 cpumask_set_cpu(cpu, &cpumask); in remotectl_suspend()
748 irq_set_affinity_hint(ddata->irq, &cpumask); in remotectl_suspend()
754 struct cpumask cpumask; remotectl_resume() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/
H A Drockchip_pwm_remotectl.c581 struct cpumask cpumask; in rk_pwm_probe() local
707 cpumask_clear(&cpumask); in rk_pwm_probe()
708 cpumask_set_cpu(cpu_id, &cpumask); in rk_pwm_probe()
709 irq_set_affinity_hint(irq, &cpumask); in rk_pwm_probe()
755 struct cpumask cpumask; in remotectl_suspend() local
764 cpumask_clear(&cpumask); in remotectl_suspend()
765 cpumask_set_cpu(cpu, &cpumask); in remotectl_suspend()
766 irq_set_affinity_hint(ddata->irq, &cpumask); in remotectl_suspend()
773 struct cpumask cpumask; remotectl_resume() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dtopology.c42 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, struct cpumask *groupmask) in sched_domain_debug_one()
293 static void perf_domain_debug(const struct cpumask *cpu_map, struct perf_domain *pd) in perf_domain_debug()
359 static bool build_perf_domains(const struct cpumask *cpu_map) in build_perf_domains()
666 * the cpumask of the domain), this allows us to quickly tell if
897 static void build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mask) in build_balance_mask()
899 const struct cpumask *sg_span = sched_group_span(sg); in build_balance_mask()
938 struct cpumask *sg_span; in build_group_from_child_sched_domain()
958 struct cpumask *mask = sched_domains_tmpmask2; in init_overlap_sched_group()
960 struct cpumask *sg_span; in init_overlap_sched_group()
1009 const struct cpumask *spa in build_overlap_sched_groups()
[all...]
H A Dsched.h116 struct cpumask cpus;
411 extern int dl_task_can_attach(struct task_struct *p, const struct cpumask *cs_cpus_allowed);
412 extern int dl_cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial);
918 extern int sched_init_domains(const struct cpumask *cpu_map);
1104 struct cpumask freq_domain_cpumask;
1450 extern int sched_numa_find_closest(const struct cpumask *cpus, int cpu);
1461 static inline int sched_numa_find_closest(const struct cpumask *cpus, int cpu) in sched_numa_find_closest()
1568 unsigned long cpumask[]; /* Balance mask */ member
1586 unsigned long cpumask[]; member
[all...]
H A Drt.c614 static inline const struct cpumask *sched_rt_period_mask(void) in sched_rt_period_mask()
619 static inline const struct cpumask *sched_rt_period_mask(void) in sched_rt_period_mask()
680 static inline const struct cpumask *sched_rt_period_mask(void) in sched_rt_period_mask()
896 const struct cpumask *span; in do_sched_rt_period_timer()
1810 static int find_cas_cpu(struct sched_domain *sd, struct task_struct *task, struct cpumask *lowest_mask) in find_cas_cpu()
1816 struct cpumask search_cpu, backup_search_cpu; in find_cas_cpu()
1826 struct cpumask *rtg_target = NULL; in find_cas_cpu()
1979 struct cpumask *lowest_mask = this_cpu_cpumask_var_ptr(local_cpu_mask); in find_lowest_rq()
2779 struct cpumask *rtg_target = NULL; in check_for_migration_rt()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dgic_v3.h14 struct cpumask;
19 TP_PROTO(struct irq_data *d, const struct cpumask *mask_val,
H A Dtopology.h12 #include <linux/cpumask.h>
15 TP_PROTO(const struct cpumask *cpus, unsigned long freq,
H A Dsched.h44 TP_PROTO(struct task_struct *p, struct cpumask *local_cpu_mask,
98 struct cpumask *env_cpus, struct rq **busiest,
109 TP_PROTO(struct cpumask *cpus, int *err),
125 TP_PROTO(struct task_struct *p, const struct cpumask *in_mask, int *retval),
130 const struct cpumask *new_mask, int *ret),
315 TP_PROTO(struct task_struct *p, const struct cpumask *new_mask),
319 TP_PROTO(struct task_struct *p, const struct cpumask *new_mask, int *retval),
378 TP_PROTO(struct cpumask *nohz_idle_cpus_mask, int *ilb),
/device/soc/rockchip/common/sdk_linux/drivers/opp/
H A Dof.c1060 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1061 * @cpumask: cpumask for which OPP table needs to be removed
1063 * This removes the OPP tables for CPUs present in the @cpumask.
1066 void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask) in dev_pm_opp_of_cpumask_remove_table() argument
1068 _dev_pm_opp_cpumask_remove_table(cpumask, -1); in dev_pm_opp_of_cpumask_remove_table()
1073 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1074 * @cpumask: cpumask fo
1078 dev_pm_opp_of_cpumask_add_table(const struct cpumask *cpumask) dev_pm_opp_of_cpumask_add_table() argument
1135 dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) dev_pm_opp_of_get_sharing_cpus() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dcpuset.h15 #include <linux/cpumask.h>
61 extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask);
204 static inline void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask) in cpuset_cpus_allowed()
H A Dsched.h1808 extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial);
1809 extern int task_can_attach(struct task_struct *p, const struct cpumask *cs_cpus_allowed);
1811 extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask);
1812 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);
1814 static inline void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) in do_set_cpus_allowed()
1817 static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) in set_cpus_allowed_ptr()
2111 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
2112 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
2248 const struct cpumask *sched_trace_rd_spa
[all...]
H A Denergy_model.h4 #include <linux/cpumask.h>
114 * i.e. if the EM is a CPU type and has cpumask allocated. It is called from
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c575 struct cpumask cpumask; in fiq_debugger_take_affinity() local
577 cpumask_clear(&cpumask); in fiq_debugger_take_affinity()
578 cpumask_set_cpu(get_cpu(), &cpumask); in fiq_debugger_take_affinity() local
581 irq_set_affinity(state->uart_irq, &cpumask); in fiq_debugger_take_affinity()
609 struct cpumask cpumask; in fiq_debugger_switch_cpu()
611 cpumask_clear(&cpumask); in fiq_debugger_switch_cpu()
612 cpumask_set_cpu(cpu, &cpumask); in fiq_debugger_switch_cpu()
614 irq_set_affinity(state->fiq, &cpumask); in fiq_debugger_switch_cpu()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger.c575 struct cpumask cpumask; in fiq_debugger_take_affinity() local
577 cpumask_clear(&cpumask); in fiq_debugger_take_affinity()
578 cpumask_set_cpu(cpu, &cpumask); in fiq_debugger_take_affinity()
579 irq_set_affinity(state->uart_irq, &cpumask); in fiq_debugger_take_affinity()
609 struct cpumask cpumask; in fiq_debugger_switch_cpu()
611 cpumask_clear(&cpumask); in fiq_debugger_switch_cpu()
612 cpumask_set_cpu(cpu, &cpumask); in fiq_debugger_switch_cpu()
614 irq_set_affinity(state->fiq, &cpumask); in fiq_debugger_switch_cpu()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Dopp.h225 void _dev_pm_opp_cpumask_remove_table(const struct cpumask *cpumask, int last_cpu);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_priv.h429 void dhd_irq_set_affinity(dhd_pub_t *dhdp, const struct cpumask *cpumask);
H A Ddhd_linux_lb.c1175 DHD_INFO(("%s : curr_cpu : %d, cpumask : 0x%lx\n", __FUNCTION__, in dhd_lb_rx_napi_dispatch()
1179 DHD_INFO(("%s : schedule to curr_cpu : %d, cpumask : 0x%lx\n", in dhd_lb_rx_napi_dispatch()
1205 dhd_irq_set_affinity(dhd_pub_t *dhdp, const struct cpumask *cpumask) in dhd_irq_set_affinity() argument
1221 __FUNCTION__, *cpumask_bits(cpumask))); in dhd_irq_set_affinity()
1224 err = irq_set_affinity(irq, cpumask); in dhd_irq_set_affinity()
1227 __FUNCTION__, *cpumask_bits(cpumask))); in dhd_irq_set_affinity()
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dcpuset.c26 #include <linux/cpumask.h>
384 static void guarantee_online_cpus(struct task_struct *tsk, struct cpumask *pmask) in guarantee_online_cpus()
386 const struct cpumask *possible_mask = task_cpu_possible_mask(tsk); in guarantee_online_cpus()
774 int nslot; /* next empty doms[] struct cpumask slot */ in generate_sched_domains()
892 struct cpumask *dp; in generate_sched_domains()
1083 static int update_cpus_allowed(struct cpuset *cs, struct task_struct *p, const struct cpumask *new_mask) in update_cpus_allowed()
1109 * compute_effective_cpumask - Compute the effective cpumask of the cpuset
1119 static void compute_effective_cpumask(struct cpumask *new_cpus, struct cpuset *cs, struct cpuset *parent) in compute_effective_cpumask()
1143 * @newmask: Optional new cpumask for partcmd_update
1155 * parent's subparts_cpus will be taken away from that cpumask an
[all...]
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
H A Drockchip_system_monitor.h121 struct cpumask allowed_cpus;
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
H A Drockchip_system_monitor.h121 struct cpumask allowed_cpus;
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c915 * then clears a corresponding bit in mm's cpumask. While this all sounds
2576 struct cpumask __cpu_possible_mask __read_mostly = {CPU_BITS_ALL};
2578 struct cpumask __cpu_possible_mask __read_mostly;
2582 struct cpumask __cpu_online_mask __read_mostly;
2585 struct cpumask __cpu_present_mask __read_mostly;
2588 struct cpumask __cpu_active_mask __read_mostly;
2592 struct cpumask __cpu_isolated_mask __read_mostly;
2599 void init_cpu_present(const struct cpumask *src) in init_cpu_present()
2604 void init_cpu_possible(const struct cpumask *src) in init_cpu_possible()
2609 void init_cpu_online(const struct cpumask *sr
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_task.c91 struct cpumask cpumask_set; in osal_kthread_set_affinity()
H A Dosal_interrupt.c123 struct cpumask cpumask_set = {0}; in osal_irq_set_affinity()
/device/soc/rockchip/common/sdk_linux/include/trace/events/
H A Dcpuhp.h50 TRACE_EVENT(cpuhp_pause, TP_PROTO(struct cpumask *cpus, u64 start_time, unsigned char pause),
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip_system_monitor.c63 struct cpumask video_4k_offline_cpus;
64 struct cpumask status_offline_cpus;
65 struct cpumask temp_offline_cpus;
66 struct cpumask offline_cpus;
1342 struct cpumask online_cpus, offline_cpus; in rockchip_system_monitor_cpu_on_off()
1478 struct cpumask offline_cpus; in rockchip_system_status_cpu_on_off()

Completed in 34 milliseconds

12