Home
last modified time | relevance | path

Searched refs:mem_idx (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c36 u8 mem_idx) in get_mem_region() argument
40 if (mem_idx & OMAPFB_MEM_IDX_ENABLED) in get_mem_region()
41 mem_idx &= OMAPFB_MEM_IDX_MASK; in get_mem_region()
43 mem_idx = ofbi->id; in get_mem_region()
45 if (mem_idx >= fbdev->num_fbs) in get_mem_region()
48 return &fbdev->regions[mem_idx]; in get_mem_region()
71 new_rg = get_mem_region(ofbi, pi->mem_idx); in omapfb_setup_plane()
194 pi->mem_idx = get_mem_idx(ofbi); in omapfb_query_plane()
/Linux-v6.6/drivers/video/fbdev/
Dmetronomefb.c181 int mem_idx = 0; in load_waveform() local
281 metromem[mem_idx++] = v; in load_waveform()
291 metromem[mem_idx++] = v; in load_waveform()
303 par->frame_count = (mem_idx/64); in load_waveform()
/Linux-v6.6/include/uapi/linux/
Domapfb.h143 __u8 mem_idx; member
/Linux-v6.6/kernel/sched/
Dfair.c2841 int mem_idx, membuf_idx, cpu_idx, cpubuf_idx; in task_numa_placement() local
2848 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()
2854 diff = p->numa_faults[membuf_idx] - p->numa_faults[mem_idx] / 2; in task_numa_placement()
2871 p->numa_faults[mem_idx] += diff; in task_numa_placement()
2873 faults += p->numa_faults[mem_idx]; in task_numa_placement()
2883 ng->faults[mem_idx] += diff; in task_numa_placement()
2886 group_faults += ng->faults[mem_idx]; in task_numa_placement()