arch/parisc/video/video-sti.c
16
struct sti_struct *sti;
arch/parisc/video/video-sti.c
18
sti = sti_get_rom(0);
arch/parisc/video/video-sti.c
21
if (!sti)
arch/parisc/video/video-sti.c
25
return (sti->dev == dev);
arch/x86/include/asm/ptrace.h
73
sti : 1,
drivers/video/console/sticon.c
119
struct sti_struct *sti = sticon_sti;
drivers/video/console/sticon.c
128
sti_bmove(sti, t + count, 0, t, 0, b - t - count, conp->vc_cols,
drivers/video/console/sticon.c
130
sti_clear(sti, b - count, 0, count, conp->vc_cols,
drivers/video/console/sticon.c
135
sti_bmove(sti, t, 0, t + count, 0, b - t - count, conp->vc_cols,
drivers/video/console/sticon.c
137
sti_clear(sti, t, 0, count, conp->vc_cols,
drivers/video/console/sticon.c
159
struct sti_struct *sti = sticon_sti;
drivers/video/console/sticon.c
208
sti_font_convert_bytemode(sti, cooked_font);
drivers/video/console/sticon.c
238
vc_cols = sti_onscreen_x(sti) / cooked_font->width;
drivers/video/console/sticon.c
239
vc_rows = sti_onscreen_y(sti) / cooked_font->height;
drivers/video/console/sticon.c
265
struct sti_struct *sti = sticon_sti;
drivers/video/console/sticon.c
268
sti_set(sti, 0, 0, sti_onscreen_y(sti), sti_onscreen_x(sti), 0);
drivers/video/console/sticon.c
269
vc_cols = sti_onscreen_x(sti) / sti->font->width;
drivers/video/console/sticon.c
270
vc_rows = sti_onscreen_y(sti) / sti->font->height;
drivers/video/fbdev/stifb.c
109
struct sti_struct *sti;
drivers/video/fbdev/stifb.c
1185
static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
drivers/video/fbdev/stifb.c
1196
info = framebuffer_alloc(sizeof(*fb), sti->dev);
drivers/video/fbdev/stifb.c
1206
fb->sti = sti;
drivers/video/fbdev/stifb.c
1207
dev_name = sti->sti_data->inq_outptr.dev_name;
drivers/video/fbdev/stifb.c
1209
fb->id = fb->sti->graphics_id[0];
drivers/video/fbdev/stifb.c
1243
xres = sti_onscreen_x(fb->sti);
drivers/video/fbdev/stifb.c
1244
yres = sti_onscreen_y(fb->sti);
drivers/video/fbdev/stifb.c
1280
if ((fb->sti->regions_phys[0] & 0xfc000000) ==
drivers/video/fbdev/stifb.c
1281
(fb->sti->regions_phys[2] & 0xfc000000))
drivers/video/fbdev/stifb.c
1282
sti_rom_address = F_EXTEND(fb->sti->regions_phys[0]);
drivers/video/fbdev/stifb.c
1284
sti_rom_address = F_EXTEND(fb->sti->regions_phys[1]);
drivers/video/fbdev/stifb.c
1319
fix->smem_start = F_EXTEND(fb->sti->regions_phys[1]);
drivers/video/fbdev/stifb.c
1320
fix->smem_len = fb->sti->regions[1].region_desc.length * 4096;
drivers/video/fbdev/stifb.c
1322
fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8;
drivers/video/fbdev/stifb.c
1404
dev_set_drvdata(sti->dev, info);
drivers/video/fbdev/stifb.c
1429
struct sti_struct *sti;
drivers/video/fbdev/stifb.c
1448
sti = sti_get_rom(i);
drivers/video/fbdev/stifb.c
1449
if (!sti)
drivers/video/fbdev/stifb.c
1451
if (sti == def_sti) {
drivers/video/fbdev/stifb.c
1452
stifb_init_fb(sti, stifb_bpp_pref[i - 1]);
drivers/video/fbdev/stifb.c
1459
sti = sti_get_rom(i);
drivers/video/fbdev/stifb.c
1460
if (!sti)
drivers/video/fbdev/stifb.c
1462
if (sti == def_sti)
drivers/video/fbdev/stifb.c
1464
stifb_init_fb(sti, stifb_bpp_pref[i - 1]);
drivers/video/fbdev/stifb.c
1476
struct sti_struct *sti;
drivers/video/fbdev/stifb.c
1480
sti = sti_get_rom(i);
drivers/video/fbdev/stifb.c
1481
if (!sti)
drivers/video/fbdev/stifb.c
1483
if (sti->dev) {
drivers/video/fbdev/stifb.c
1484
struct fb_info *info = dev_get_drvdata(sti->dev);
drivers/video/fbdev/stifb.c
1495
dev_set_drvdata(sti->dev, NULL);
drivers/video/fbdev/stifb.c
76
F_EXTEND(fb_info->sti->regions_phys[index])
drivers/video/fbdev/stifb.c
835
pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION];
drivers/video/sticore.c
100
struct sti_init_inptr_ext *inptr_ext = &sti->sti_data->init_inptr_ext;
drivers/video/sticore.c
1000
sti_dump_globcfg(sti);
drivers/video/sticore.c
1001
sti_dump_outptr(sti);
drivers/video/sticore.c
1004
sti->sti_data->inq_outptr.dev_name);
drivers/video/sticore.c
1006
sti_roms[num_sti_roms] = sti;
drivers/video/sticore.c
1009
return sti;
drivers/video/sticore.c
101
struct sti_init_outptr *outptr = &sti->sti_data->init_outptr;
drivers/video/sticore.c
1012
kfree(sti);
drivers/video/sticore.c
1016
static void sticore_check_for_default_sti(struct sti_struct *sti, char *path)
drivers/video/sticore.c
1018
pr_info(" located at [%s]\n", sti->pa_path);
drivers/video/sticore.c
1020
default_sti = sti;
drivers/video/sticore.c
1030
struct sti_struct *sti = NULL;
drivers/video/sticore.c
1034
sti = sti_try_rom_generic(dev->addr[0], hpa, NULL);
drivers/video/sticore.c
1035
if (!sti)
drivers/video/sticore.c
1036
sti = sti_try_rom_generic(hpa, hpa, NULL);
drivers/video/sticore.c
1037
if (!sti)
drivers/video/sticore.c
1038
sti = sti_try_rom_generic(PAGE0->proc_sti, hpa, NULL);
drivers/video/sticore.c
1039
if (!sti)
drivers/video/sticore.c
1042
print_pa_hwpath(dev, sti->pa_path);
drivers/video/sticore.c
1043
sticore_check_for_default_sti(sti, sti->pa_path);
drivers/video/sticore.c
1045
sti->dev = &dev->dev;
drivers/video/sticore.c
105
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
1057
struct sti_struct *sti;
drivers/video/sticore.c
1080
sti = sti_try_rom_generic(rom_base, fb_base, pd);
drivers/video/sticore.c
1081
if (sti) {
drivers/video/sticore.c
1082
print_pci_hwpath(pd, sti->pa_path);
drivers/video/sticore.c
1083
sticore_check_for_default_sti(sti, sti->pa_path);
drivers/video/sticore.c
1086
if (!sti) {
drivers/video/sticore.c
1091
sti->dev = &pd->dev;
drivers/video/sticore.c
110
store_sti_ptr(sti, &inptr->ext_ptr, inptr_ext);
drivers/video/sticore.c
113
ret = sti_call(sti, sti->init_graph, &default_init_flags, inptr,
drivers/video/sticore.c
114
outptr, sti->glob_cfg);
drivers/video/sticore.c
117
sti->text_planes = outptr->text_planes;
drivers/video/sticore.c
1181
int sti_call(const struct sti_struct *sti, unsigned long func,
drivers/video/sticore.c
1192
if (WARN_ONCE(IS_ENABLED(CONFIG_64BIT) && !sti->do_call64 &&
drivers/video/sticore.c
1199
sti->do_call64);
drivers/video/sticore.c
120
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
134
static void sti_inq_conf(struct sti_struct *sti)
drivers/video/sticore.c
136
struct sti_conf_inptr *inptr = &sti->sti_data->inq_inptr;
drivers/video/sticore.c
137
struct sti_conf_outptr *outptr = &sti->sti_data->inq_outptr;
drivers/video/sticore.c
141
store_sti_ptr(sti, &outptr->ext_ptr, &sti->sti_data->inq_outptr_ext);
drivers/video/sticore.c
144
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
146
ret = sti_call(sti, sti->inq_conf, &default_conf_flags,
drivers/video/sticore.c
147
inptr, outptr, sti->glob_cfg);
drivers/video/sticore.c
148
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
158
sti_putc(struct sti_struct *sti, int c, int y, int x,
drivers/video/sticore.c
164
.index = c_index(sti, c),
drivers/video/sticore.c
165
.fg_color = c_fg(sti, c),
drivers/video/sticore.c
166
.bg_color = c_bg(sti, c),
drivers/video/sticore.c
170
struct sti_font_outptr *outptr = &sti->sti_data->font_outptr;
drivers/video/sticore.c
175
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
177
if (IS_ENABLED(CONFIG_64BIT) && !sti->do_call64) {
drivers/video/sticore.c
179
inptr = &sti->sti_data->font_inptr;
drivers/video/sticore.c
184
ret = sti_call(sti, sti->font_unpmv, &default_font_flags,
drivers/video/sticore.c
185
inptr, outptr, sti->glob_cfg);
drivers/video/sticore.c
186
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
197
sti_set(struct sti_struct *sti, int src_y, int src_x,
drivers/video/sticore.c
211
struct sti_blkmv_outptr *outptr = &sti->sti_data->blkmv_outptr;
drivers/video/sticore.c
216
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
218
if (IS_ENABLED(CONFIG_64BIT) && !sti->do_call64) {
drivers/video/sticore.c
220
inptr = &sti->sti_data->blkmv_inptr;
drivers/video/sticore.c
223
ret = sti_call(sti, sti->block_move, &clear_blkmv_flags,
drivers/video/sticore.c
224
inptr, outptr, sti->glob_cfg);
drivers/video/sticore.c
225
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
230
sti_clear(struct sti_struct *sti, int src_y, int src_x,
drivers/video/sticore.c
235
.fg_color = c_fg(sti, c),
drivers/video/sticore.c
236
.bg_color = c_bg(sti, c),
drivers/video/sticore.c
244
struct sti_blkmv_outptr *outptr = &sti->sti_data->blkmv_outptr;
drivers/video/sticore.c
249
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
251
if (IS_ENABLED(CONFIG_64BIT) && !sti->do_call64) {
drivers/video/sticore.c
253
inptr = &sti->sti_data->blkmv_inptr;
drivers/video/sticore.c
256
ret = sti_call(sti, sti->block_move, &clear_blkmv_flags,
drivers/video/sticore.c
257
inptr, outptr, sti->glob_cfg);
drivers/video/sticore.c
258
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
267
sti_bmove(struct sti_struct *sti, int src_y, int src_x,
drivers/video/sticore.c
280
struct sti_blkmv_outptr *outptr = &sti->sti_data->blkmv_outptr;
drivers/video/sticore.c
285
spin_lock_irqsave(&sti->lock, flags);
drivers/video/sticore.c
287
if (IS_ENABLED(CONFIG_64BIT) && !sti->do_call64) {
drivers/video/sticore.c
289
inptr = &sti->sti_data->blkmv_inptr;
drivers/video/sticore.c
292
ret = sti_call(sti, sti->block_move, &default_blkmv_flags,
drivers/video/sticore.c
293
inptr, outptr, sti->glob_cfg);
drivers/video/sticore.c
294
spin_unlock_irqrestore(&sti->lock, flags);
drivers/video/sticore.c
404
static void sti_dump_globcfg(struct sti_struct *sti)
drivers/video/sticore.c
406
struct sti_glob_cfg *glob_cfg = sti->glob_cfg;
drivers/video/sticore.c
407
struct sti_glob_cfg_ext *cfg = &sti->sti_data->glob_cfg_ext;
drivers/video/sticore.c
428
cfg->sti_mem_addr, sti->sti_mem_request);
drivers/video/sticore.c
431
static void sti_dump_outptr(struct sti_struct *sti)
drivers/video/sticore.c
437
sti->sti_data->inq_outptr.bits_per_pixel,
drivers/video/sticore.c
438
sti->sti_data->inq_outptr.bits_used,
drivers/video/sticore.c
439
sti->sti_data->inq_outptr.planes,
drivers/video/sticore.c
44
static void *store_sti_val(struct sti_struct *sti, void *ptr, unsigned long val)
drivers/video/sticore.c
440
sti->sti_data->inq_outptr.attributes);
drivers/video/sticore.c
443
static int sti_init_glob_cfg(struct sti_struct *sti, unsigned long rom_address,
drivers/video/sticore.c
452
if (sti->sti_mem_request < 256)
drivers/video/sticore.c
453
sti->sti_mem_request = 256; /* STI default */
drivers/video/sticore.c
455
size = sizeof(struct sti_all_data) + sti->sti_mem_request - 256;
drivers/video/sticore.c
457
sti->sti_data = kzalloc(size, STI_LOWMEM);
drivers/video/sticore.c
458
if (!sti->sti_data)
drivers/video/sticore.c
461
glob_cfg = &sti->sti_data->glob_cfg;
drivers/video/sticore.c
462
glob_cfg_ext = &sti->sti_data->glob_cfg_ext;
drivers/video/sticore.c
463
save_addr = &sti->sti_data->save_addr;
drivers/video/sticore.c
464
sti_mem_addr = &sti->sti_data->sti_mem_addr;
drivers/video/sticore.c
469
if (sti->pd) {
drivers/video/sticore.c
470
unsigned char offs = sti->rm_entry[i];
drivers/video/sticore.c
478
i,sti->rm_entry[i]);
drivers/video/sticore.c
48
if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) {
drivers/video/sticore.c
481
newhpa = pci_resource_start (sti->pd, (offs - PCI_BASE_ADDRESS_0) / 4);
drivers/video/sticore.c
485
sti->regions_phys[i] =
drivers/video/sticore.c
486
REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa);
drivers/video/sticore.c
488
len = sti->regions[i].region_desc.length * 4096;
drivers/video/sticore.c
492
i, sti->regions_phys[i], len / 1024,
drivers/video/sticore.c
493
sti->regions[i].region_desc.btlb,
drivers/video/sticore.c
494
sti->regions[i].region_desc.sys_only,
drivers/video/sticore.c
495
sti->regions[i].region_desc.cache,
drivers/video/sticore.c
496
sti->regions[i].region_desc.last);
drivers/video/sticore.c
499
if (sti->regions[i].region_desc.last)
drivers/video/sticore.c
505
ptr = store_sti_val(sti, ptr, sti->regions_phys[i]);
drivers/video/sticore.c
509
ptr = store_sti_ptr(sti, ptr, save_addr);
drivers/video/sticore.c
510
ptr = store_sti_ptr(sti, ptr, glob_cfg_ext);
drivers/video/sticore.c
512
store_sti_ptr(sti, &glob_cfg_ext->sti_mem_addr, sti_mem_addr);
drivers/video/sticore.c
514
sti->glob_cfg = glob_cfg;
drivers/video/sticore.c
62
#define store_sti_ptr(sti, dest, ptr) \
drivers/video/sticore.c
63
store_sti_val(sti, dest, STI_PTR(ptr))
drivers/video/sticore.c
643
static void sti_dump_rom(struct sti_struct *sti)
drivers/video/sticore.c
645
struct sti_rom *rom = sti->rom->raw;
drivers/video/sticore.c
662
font_start = sti->rom->font_start;
drivers/video/sticore.c
711
void sti_font_convert_bytemode(struct sti_struct *sti, struct sti_cooked_font *f)
drivers/video/sticore.c
717
if (sti->wordmode)
drivers/video/sticore.c
802
static int sti_read_rom(int wordmode, struct sti_struct *sti,
drivers/video/sticore.c
827
memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions));
drivers/video/sticore.c
83
#define c_fg(sti, c) col_trans[((c>> 8) & 7)]
drivers/video/sticore.c
838
sti->do_call64 = 1;
drivers/video/sticore.c
839
sti->font_unpmv = address + (raw->font_unp_addr & 0x03ffffff);
drivers/video/sticore.c
84
#define c_bg(sti, c) col_trans[((c>>11) & 7)]
drivers/video/sticore.c
840
sti->block_move = address + (raw->block_move_addr & 0x03ffffff);
drivers/video/sticore.c
841
sti->init_graph = address + (raw->init_graph_addr & 0x03ffffff);
drivers/video/sticore.c
842
sti->inq_conf = address + (raw->inq_conf_addr & 0x03ffffff);
drivers/video/sticore.c
844
sti->font_unpmv = address + (raw->font_unpmv & 0x03ffffff);
drivers/video/sticore.c
845
sti->block_move = address + (raw->block_move & 0x03ffffff);
drivers/video/sticore.c
846
sti->init_graph = address + (raw->init_graph & 0x03ffffff);
drivers/video/sticore.c
847
sti->inq_conf = address + (raw->inq_conf & 0x03ffffff);
drivers/video/sticore.c
85
#define c_index(sti, c) ((c) & 0xff)
drivers/video/sticore.c
850
sti->rom = cooked;
drivers/video/sticore.c
851
sti->rom->raw = raw;
drivers/video/sticore.c
852
sti_dump_rom(sti);
drivers/video/sticore.c
854
sti->wordmode = wordmode;
drivers/video/sticore.c
855
sti->font = sti_select_font(sti->rom);
drivers/video/sticore.c
856
sti->font->width = sti->font->raw->width;
drivers/video/sticore.c
857
sti->font->height = sti->font->raw->height;
drivers/video/sticore.c
858
sti_font_convert_bytemode(sti, sti->font);
drivers/video/sticore.c
859
sti_dump_font(sti->font);
drivers/video/sticore.c
862
(IS_ENABLED(CONFIG_64BIT) && sti->do_call64) ? 64 : 32);
drivers/video/sticore.c
864
sti->sti_mem_request = raw->sti_mem_req;
drivers/video/sticore.c
866
sti->sti_mem_request, raw->reentsize);
drivers/video/sticore.c
868
sti->graphics_id[0] = raw->graphics_id[0];
drivers/video/sticore.c
869
sti->graphics_id[1] = raw->graphics_id[1];
drivers/video/sticore.c
872
if (wordmode || sti->graphics_id[1] != 0x09A02587)
drivers/video/sticore.c
877
switch (sti->graphics_id[0]) {
drivers/video/sticore.c
909
struct sti_struct *sti;
drivers/video/sticore.c
918
sti = kzalloc_obj(*sti);
drivers/video/sticore.c
919
if (!sti)
drivers/video/sticore.c
922
spin_lock_init(&sti->lock);
drivers/video/sticore.c
946
sti->pd = pd;
drivers/video/sticore.c
954
rm = (u32*) &sti->rm_entry;
drivers/video/sticore.c
97
static int sti_init_graph(struct sti_struct *sti)
drivers/video/sticore.c
971
ok = sti_read_rom(0, sti, address);
drivers/video/sticore.c
977
ok = sti_read_rom(1, sti, address);
drivers/video/sticore.c
983
if (sti_init_glob_cfg(sti, address, hpa))
drivers/video/sticore.c
989
if (sti->pd) {
drivers/video/sticore.c
99
struct sti_init_inptr *inptr = &sti->sti_data->init_inptr;
drivers/video/sticore.c
991
rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE);
drivers/video/sticore.c
992
pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE);
drivers/video/sticore.c
996
if (sti_init_graph(sti))
drivers/video/sticore.c
999
sti_inq_conf(sti);
include/video/sticore.h
384
void sti_font_convert_bytemode(struct sti_struct *sti, struct sti_cooked_font *f);
include/video/sticore.h
389
int sti_call(const struct sti_struct *sti, unsigned long func,
include/video/sticore.h
396
void sti_putc(struct sti_struct *sti, int c, int y, int x,
include/video/sticore.h
398
void sti_set(struct sti_struct *sti, int src_y, int src_x,
include/video/sticore.h
400
void sti_clear(struct sti_struct *sti, int src_y, int src_x,
include/video/sticore.h
402
void sti_bmove(struct sti_struct *sti, int src_y, int src_x,
include/video/sticore.h
43
#define sti_onscreen_x(sti) (sti->glob_cfg->onscreen_x)
include/video/sticore.h
44
#define sti_onscreen_y(sti) (sti->glob_cfg->onscreen_y)
include/video/sticore.h
47
#define sti_font_x(sti) (PTR_STI(sti->font)->width)
include/video/sticore.h
48
#define sti_font_y(sti) (PTR_STI(sti->font)->height)
kernel/sched/ext.c
4362
struct scx_task_iter sti;
kernel/sched/ext.c
4420
scx_task_iter_start(&sti);
kernel/sched/ext.c
4421
while ((p = scx_task_iter_next_locked(&sti))) {
kernel/sched/ext.c
4437
scx_task_iter_stop(&sti);
kernel/sched/ext.c
5072
struct scx_task_iter sti;
kernel/sched/ext.c
5213
scx_task_iter_start(&sti);
kernel/sched/ext.c
5214
while ((p = scx_task_iter_next_locked(&sti))) {
kernel/sched/ext.c
5223
scx_task_iter_unlock(&sti);
kernel/sched/ext.c
5228
scx_task_iter_stop(&sti);
kernel/sched/ext.c
5238
scx_task_iter_stop(&sti);
kernel/sched/ext.c
5255
scx_task_iter_start(&sti);
kernel/sched/ext.c
5256
while ((p = scx_task_iter_next_locked(&sti))) {
kernel/sched/ext.c
5272
scx_task_iter_stop(&sti);
tools/testing/selftests/kvm/x86/ucna_injection_test.c
89
sti();
tools/testing/selftests/kvm/x86/xapic_tpr_test.c
133
sti();