Home
last modified time | relevance | path

Searched refs:ireg (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/boot/
Dvideo-vga.c41 struct biosregs ireg, oreg; in vga_set_basic_mode() local
44 initregs(&ireg); in vga_set_basic_mode()
47 ireg.ax = 0x0f00; in vga_set_basic_mode()
48 intcall(0x10, &ireg, &oreg); in vga_set_basic_mode()
55 ireg.ax = mode; /* AH=0: set mode */ in vga_set_basic_mode()
56 intcall(0x10, &ireg, NULL); in vga_set_basic_mode()
64 struct biosregs ireg; in vga_set_8font() local
66 initregs(&ireg); in vga_set_8font()
69 ireg.ax = 0x1112; in vga_set_8font()
71 intcall(0x10, &ireg, NULL); in vga_set_8font()
[all …]
Dvideo-vesa.c33 struct biosregs ireg, oreg; in vesa_probe() local
41 initregs(&ireg); in vesa_probe()
42 ireg.ax = 0x4f00; in vesa_probe()
43 ireg.di = (size_t)&vginfo; in vesa_probe()
44 intcall(0x10, &ireg, &oreg); in vesa_probe()
65 ireg.ax = 0x4f01; in vesa_probe()
66 ireg.cx = mode; in vesa_probe()
67 ireg.di = (size_t)&vminfo; in vesa_probe()
68 intcall(0x10, &ireg, &oreg); in vesa_probe()
106 struct biosregs ireg, oreg; in vesa_set_mode() local
[all …]
Dtty.c40 struct biosregs ireg; in bios_putchar() local
42 initregs(&ireg); in bios_putchar()
43 ireg.bx = 0x0007; in bios_putchar()
44 ireg.cx = 0x0001; in bios_putchar()
45 ireg.ah = 0x0e; in bios_putchar()
46 ireg.al = ch; in bios_putchar()
47 intcall(0x10, &ireg, NULL); in bios_putchar()
74 struct biosregs ireg, oreg; in gettime() local
76 initregs(&ireg); in gettime()
77 ireg.ah = 0x02; in gettime()
[all …]
Dmemory.c21 struct biosregs ireg, oreg; in detect_memory_e820() local
25 initregs(&ireg); in detect_memory_e820()
26 ireg.ax = 0xe820; in detect_memory_e820()
27 ireg.cx = sizeof(buf); in detect_memory_e820()
28 ireg.edx = SMAP; in detect_memory_e820()
29 ireg.di = (size_t)&buf; in detect_memory_e820()
46 intcall(0x15, &ireg, &oreg); in detect_memory_e820()
47 ireg.ebx = oreg.ebx; /* for next iteration... */ in detect_memory_e820()
67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table)); in detect_memory_e820()
74 struct biosregs ireg, oreg; in detect_memory_e801() local
[all …]
Dmain.c66 struct biosregs ireg, oreg; in keyboard_init() local
67 initregs(&ireg); in keyboard_init()
69 ireg.ah = 0x02; /* Get keyboard status */ in keyboard_init()
70 intcall(0x16, &ireg, &oreg); in keyboard_init()
73 ireg.ax = 0x0305; /* Set keyboard repeat rate */ in keyboard_init()
74 intcall(0x16, &ireg, NULL); in keyboard_init()
82 struct biosregs ireg, oreg; in query_ist() local
89 initregs(&ireg); in query_ist()
90 ireg.ax = 0xe980; /* IST Support */ in query_ist()
91 ireg.edx = 0x47534943; /* Request value */ in query_ist()
[all …]
Dedd.c25 struct biosregs ireg, oreg; in read_mbr() local
27 initregs(&ireg); in read_mbr()
28 ireg.ax = 0x0201; /* Legacy Read, one sector */ in read_mbr()
29 ireg.cx = 0x0001; /* Sector 0-0-1 */ in read_mbr()
30 ireg.dl = devno; in read_mbr()
31 ireg.bx = (size_t)buf; in read_mbr()
33 intcall(0x13, &ireg, &oreg); in read_mbr()
75 struct biosregs ireg, oreg; in get_edd_info() local
81 initregs(&ireg); in get_edd_info()
82 ireg.ah = 0x41; in get_edd_info()
[all …]
Dapm.c21 struct biosregs ireg, oreg; in query_apm_bios() local
24 initregs(&ireg); in query_apm_bios()
25 ireg.ah = 0x53; in query_apm_bios()
26 intcall(0x15, &ireg, &oreg); in query_apm_bios()
38 ireg.al = 0x04; in query_apm_bios()
39 intcall(0x15, &ireg, NULL); in query_apm_bios()
42 ireg.al = 0x03; in query_apm_bios()
43 intcall(0x15, &ireg, &oreg); in query_apm_bios()
59 ireg.al = 0x00; in query_apm_bios()
60 intcall(0x15, &ireg, &oreg); in query_apm_bios()
[all …]
Dvideo-bios.c31 struct biosregs ireg, oreg; in set_bios_mode() local
34 initregs(&ireg); in set_bios_mode()
35 ireg.al = mode; /* AH=0x00 Set Video Mode */ in set_bios_mode()
36 intcall(0x10, &ireg, NULL); in set_bios_mode()
38 ireg.ah = 0x0f; /* Get Current Video Mode */ in set_bios_mode()
39 intcall(0x10, &ireg, &oreg); in set_bios_mode()
54 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode()
55 intcall(0x10, &ireg, NULL); in set_bios_mode()
Dvideo.c24 struct biosregs ireg, oreg; in store_cursor_position() local
26 initregs(&ireg); in store_cursor_position()
27 ireg.ah = 0x03; in store_cursor_position()
28 intcall(0x10, &ireg, &oreg); in store_cursor_position()
42 struct biosregs ireg, oreg; in store_video_mode() local
46 initregs(&ireg); in store_video_mode()
47 ireg.ah = 0x0f; in store_video_mode()
48 intcall(0x10, &ireg, &oreg); in store_video_mode()
264 struct biosregs ireg; in restore_screen() local
308 initregs(&ireg); in restore_screen()
[all …]
Da20.c91 struct biosregs ireg; in enable_a20_bios() local
93 initregs(&ireg); in enable_a20_bios()
94 ireg.ax = 0x2401; in enable_a20_bios()
95 intcall(0x15, &ireg, NULL); in enable_a20_bios()
Dboot.h267 void intcall(u8 int_no, const struct biosregs *ireg, struct biosregs *oreg);
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/
Dicp-native.c259 const __be32 *ireg; in icp_native_init_one_node() local
269 ireg = of_get_property(np, "ibm,interrupt-server-ranges", &ilen); in icp_native_init_one_node()
274 WARN_ON((ireg == NULL) || (ilen != 2*sizeof(u32))); in icp_native_init_one_node()
276 if (ireg) { in icp_native_init_one_node()
277 *indx = of_read_number(ireg, 1); in icp_native_init_one_node()
279 num_servers = of_read_number(ireg + 1, 1); in icp_native_init_one_node()
282 ireg = of_get_property(np, "reg", &ilen); in icp_native_init_one_node()
283 if (!ireg) { in icp_native_init_one_node()
Dxics-common.c48 const __be32 *ireg; in xics_update_irq_servers() local
60 ireg = of_get_property(np, "ibm,ppc-interrupt-gserver#s", &ilen); in xics_update_irq_servers()
61 if (!ireg) { in xics_update_irq_servers()
74 if (be32_to_cpu(ireg[j]) == hcpuid) { in xics_update_irq_servers()
75 xics_default_distrib_server = be32_to_cpu(ireg[j+1]); in xics_update_irq_servers()
/kernel/linux/linux-5.10/drivers/sbus/char/
Ddisplay7seg.c108 u8 ireg = 0; in d7s_ioctl() local
119 if (get_user(ireg, (int __user *) arg)) { in d7s_ioctl()
125 ireg |= D7S_FLIP; in d7s_ioctl()
127 ireg &= ~D7S_FLIP; in d7s_ioctl()
129 writeb(ireg, p->regs); in d7s_ioctl()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtmio_mmc_core.c585 int ireg, int status) in __tmio_mmc_card_detect_irq() argument
590 if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) { in __tmio_mmc_card_detect_irq()
593 if ((((ireg & TMIO_STAT_CARD_REMOVE) && mmc->card) || in __tmio_mmc_card_detect_irq()
594 ((ireg & TMIO_STAT_CARD_INSERT) && !mmc->card)) && in __tmio_mmc_card_detect_irq()
603 static bool __tmio_mmc_sdcard_irq(struct tmio_mmc_host *host, int ireg, in __tmio_mmc_sdcard_irq() argument
607 if (ireg & (TMIO_STAT_CMDRESPEND | TMIO_STAT_CMDTIMEOUT)) { in __tmio_mmc_sdcard_irq()
615 if (ireg & (TMIO_STAT_RXRDY | TMIO_STAT_TXRQ)) { in __tmio_mmc_sdcard_irq()
622 if (ireg & TMIO_STAT_DATAEND) { in __tmio_mmc_sdcard_irq()
635 unsigned int ireg, status; in __tmio_mmc_sdio_irq() local
642 ireg = status & TMIO_SDIO_MASK_ALL & ~host->sdio_irq_mask; in __tmio_mmc_sdio_irq()
[all …]
Dpxamci.c377 unsigned int ireg; in pxamci_irq() local
380 ireg = readl(host->base + MMC_I_REG) & ~readl(host->base + MMC_I_MASK); in pxamci_irq()
382 if (ireg) { in pxamci_irq()
385 pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); in pxamci_irq()
387 if (ireg & END_CMD_RES) in pxamci_irq()
389 if (ireg & DATA_TRAN_DONE) in pxamci_irq()
391 if (ireg & SDIO_INT) { in pxamci_irq()
/kernel/linux/linux-5.10/drivers/scsi/
Desp_scsi.c125 p->ireg = esp->ireg; in esp_log_fill_regs()
195 p->sreg2, p->ireg, p->select_state, p->event); in esp_dump_cmd_log()
1018 if (esp->ireg & ESP_INTR_SR) in esp_check_spur_intr()
1079 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag()
1082 i, esp->ireg, esp->sreg); in esp_reconnect_with_tag()
1084 if (esp->ireg & ESP_INTR_DC) { in esp_reconnect_with_tag()
1108 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag()
1109 if (esp->ireg & ESP_INTR_FDONE) in esp_reconnect_with_tag()
1122 i, esp->ireg, esp->sreg, in esp_reconnect_with_tag()
1180 u8 ireg = esp_read8(ESP_INTRPT); in esp_reconnect() local
[all …]
Desp_scsi.h358 u8 ireg; member
450 u8 ireg; member
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtmrvl_sdio.c840 u8 ireg; in btmrvl_sdio_process_int_status() local
844 ireg = sdio_ireg; in btmrvl_sdio_process_int_status()
849 if (ireg & DN_LD_HOST_INT_STATUS) { in btmrvl_sdio_process_int_status()
852 " int_status=0x%x", ireg); in btmrvl_sdio_process_int_status()
857 if (ireg & UP_LD_HOST_INT_STATUS) in btmrvl_sdio_process_int_status()
865 static int btmrvl_sdio_read_to_clear(struct btmrvl_sdio_card *card, u8 *ireg) in btmrvl_sdio_read_to_clear() argument
876 *ireg = adapter->hw_regs[card->reg->host_intstatus]; in btmrvl_sdio_read_to_clear()
877 BT_DBG("hw_regs[%#x]=%#x", card->reg->host_intstatus, *ireg); in btmrvl_sdio_read_to_clear()
882 static int btmrvl_sdio_write_to_clear(struct btmrvl_sdio_card *card, u8 *ireg) in btmrvl_sdio_write_to_clear() argument
886 *ireg = sdio_readb(card->func, card->reg->host_intstatus, &ret); in btmrvl_sdio_write_to_clear()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dultra45_env.c68 static u8 env_read(struct env *p, u8 ireg) in env_read() argument
73 writeb(ireg, p->regs + REG_ADDR); in env_read()
80 static void env_write(struct env *p, u8 ireg, u8 val) in env_write() argument
83 writeb(ireg, p->regs + REG_ADDR); in env_write()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup-common.c519 const __be32 *ireg; in smp_setup_cpu_maps() local
524 ireg = of_get_property(dn, "ibm,lrdr-capacity", NULL); in smp_setup_cpu_maps()
526 if (!ireg) in smp_setup_cpu_maps()
529 maxcpus = be32_to_cpup(ireg + num_addr_cell + num_size_cell); in smp_setup_cpu_maps()
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/
DMISC90 ireg.s : 2.6
140 ireg.s : 2.6
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmsix.c184 rcd->ireg = (IS_RCVAVAIL_START + rcd->ctxt) / 64; in msix_request_rcd_irq_common()
Dhfi.h247 u8 ireg; /* clear interrupt register */ member
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dunwind.c287 struct unw_ireg *ireg; in unw_access_gr() local
304 ireg = &info->r4 + (regnum - 4); in unw_access_gr()
305 addr = ireg->loc; in unw_access_gr()
307 nat_addr = addr + ireg->nat.off; in unw_access_gr()
308 switch (ireg->nat.type) { in unw_access_gr()

12