| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | qe_io.c | 32 in_be32(&par_io->ioport[port].dir2) : in qe_config_iopin() 33 in_be32(&par_io->ioport[port].dir1); in qe_config_iopin() 36 out_be32(&par_io->ioport[port].dir2, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 37 out_be32(&par_io->ioport[port].dir2, pin_2bit_dir | tmp_val); in qe_config_iopin() 39 out_be32(&par_io->ioport[port].dir1, ~pin_2bit_mask & tmp_val); in qe_config_iopin() 40 out_be32(&par_io->ioport[port].dir1, pin_2bit_dir | tmp_val); in qe_config_iopin() 47 tmp_val = in_be32(&par_io->ioport[port].podr); in qe_config_iopin() 49 out_be32(&par_io->ioport[port].podr, pin_1bit_mask | tmp_val); in qe_config_iopin() 51 out_be32(&par_io->ioport[port].podr, ~pin_1bit_mask & tmp_val); in qe_config_iopin() 56 in_be32(&par_io->ioport[port].ppar2): in qe_config_iopin() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/int10/ |
| H A D | xf86int10.c | 87 unsigned int ioport; in int42_handler() local 104 ioport = 0x03D4; in int42_handler() 108 ioport = 0x03B4; in int42_handler() 163 MEM_WW(pInt, 0x0463, ioport); in int42_handler() 176 pci_io_write8(pInt->io, ioport + 4, cgamode & 0x37); /* Turn off screen */ in int42_handler() 179 pci_io_write8(pInt->io, ioport, i); in int42_handler() 180 pci_io_write8(pInt->io, ioport + 1, tmp); in int42_handler() 182 pci_io_write8(pInt->io, ioport + 5, cgacolour); /* Select colour mode */ in int42_handler() 183 pci_io_write8(pInt->io, ioport + 4, cgamode); /* Turn on screen */ in int42_handler() 194 unsigned int ioport = MEM_RW(pInt, 0x0463); in int42_handler() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | FlashPoint.c | 182 #define RD_HARPOON(ioport) inb((u32)ioport) argument 183 #define RDW_HARPOON(ioport) inw((u32)ioport) argument 184 #define RD_HARP32(ioport,offset,data) (data = inl((u32)(ioport + offset))) argument 185 #define WR_HARPOON(ioport,val) outb((u8) val, (u32)ioport) argument 186 #define WRW_HARPOON(ioport,val) outw((u16)val, (u32)ioport) argument 187 #define WR_HARP32(ioport,offset,data) outl(data, (u32)(ioport + offset)) argument 252 u32 ioPort; member 808 static unsigned char FPT_ChkIfChipInitialized(u32 ioPort); 944 u32 ioport; in FlashPoint_ProbeHostAdapter() local 947 ioport = pCardInfo->si_baseaddr; in FlashPoint_ProbeHostAdapter() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | sata_sil3114.c | 31 static void sata_port (struct sata_ioports *ioport); 354 static void sata_port (struct sata_ioports *ioport) in sata_port() argument 356 ioport->data_addr = ioport->cmd_addr + ATA_REG_DATA; in sata_port() 357 ioport->error_addr = ioport->cmd_addr + ATA_REG_ERR; in sata_port() 358 ioport->feature_addr = ioport->cmd_addr + ATA_REG_FEATURE; in sata_port() 359 ioport->nsect_addr = ioport->cmd_addr + ATA_REG_NSECT; in sata_port() 360 ioport->lbal_addr = ioport->cmd_addr + ATA_REG_LBAL; in sata_port() 361 ioport->lbam_addr = ioport->cmd_addr + ATA_REG_LBAM; in sata_port() 362 ioport->lbah_addr = ioport->cmd_addr + ATA_REG_LBAH; in sata_port() 363 ioport->device_addr = ioport->cmd_addr + ATA_REG_DEVICE; in sata_port() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | smsc37b787_wdt.c | 51 #include <linux/ioport.h> 72 #define IOPORT 0x3F0 macro 92 outb(0x55, IOPORT); in open_io_config() 94 outb(0x55, IOPORT); in open_io_config() 100 outb(0xAA, IOPORT); in close_io_config() 106 outb(0x07, IOPORT); in select_io_device() 107 outb(devno, IOPORT+1); in select_io_device() 113 outb(reg, IOPORT); in write_io_cr() 114 outb(data, IOPORT+1); in write_io_cr() 120 outb(reg, IOPORT); in read_io_cr() [all …]
|
| H A D | mixcomwd.c | 46 #include <linux/ioport.h> 69 int ioport; member 263 for (i = 0; !found && mixcomwd_io_info[i].ioport != 0; i++) { in mixcomwd_init() 264 if (checkcard(mixcomwd_io_info[i].ioport, in mixcomwd_init() 267 watchdog_port = mixcomwd_io_info[i].ioport; in mixcomwd_init()
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/ |
| H A D | radiotrack.rst | 53 CONTROLLING THE CARD WITH IOPORT 56 The RadioTrack (base) ioport is configurable for 0x30c or 0x20c. Only one 57 ioport seems to be involved. The ioport decoding circuitry must be pretty 58 simple, as individual ioport bits are directly matched to specific functions 60 parallel with one write to the ioport. The only feedback available through 63 The bits of the ioport are arranged as follows: 91 Results available by reading ioport >60 msec after last port write. 151 x <-- BASE (read ioport)
|
| /OK3568_Linux_fs/kernel/Documentation/scsi/ |
| H A D | aha152x.rst | 26 IOPORT base io address (0x340/0x140) 48 - DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 51 - DSETUP1="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 66 …aha152x=<IOPORT>[,<IRQ>[,<SCSI-ID>[,<RECONNECT>[,<PARITY>[,<SYNCHRONOUS>[,<DELAY> [,<EXT_TRANS]]]]… 82 aha152x=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 88 aha152x1=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 95 IOPORT for first and second controller
|
| /OK3568_Linux_fs/kernel/drivers/acpi/apei/ |
| H A D | apei-base.c | 292 .ioport = LIST_HEAD_INIT(apei_resources_all.ioport), 386 apei_res_clean(&resources->ioport); in apei_resources_fini() 402 list_for_each_entry(res, &resources2->ioport, list) { in apei_resources_merge() 403 rc = apei_res_add(&resources1->ioport, res->start, in apei_resources_merge() 419 return apei_res_add(&resources->ioport, start, size); in apei_resources_add() 436 return apei_res_sub(&resources1->ioport, &resources2->ioport); in apei_resources_sub() 513 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request() 534 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request() 562 list_for_each_entry(res, &resources->ioport, list) in apei_resources_release() 736 return apei_res_add(&resources->ioport, paddr, in collect_res_callback()
|
| /OK3568_Linux_fs/kernel/drivers/input/gameport/ |
| H A D | ns558.c | 17 #include <linux/ioport.h> 183 int ioport, iolen; in ns558_pnp_probe() local 192 ioport = pnp_port_start(dev, 0); in ns558_pnp_probe() 195 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe() 207 ns558->io = ioport; in ns558_pnp_probe() 215 port->io = ioport; in ns558_pnp_probe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bochs/ |
| H A D | bochs_hw.c | 14 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument 16 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) in bochs_vga_writeb() 20 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_writeb() 23 outb(val, ioport); in bochs_vga_writeb()
|
| /OK3568_Linux_fs/buildroot/package/linknx/ |
| H A D | 0002-src-Makefile.am-fix-linking-with-log4cpp.patch | 10 …way.o emailgateway.o knxconnection.o services.o suncalc.o luacondition.o ioport.o ../ticpp/libticp… 37 …ioport.cpp ruleserver.h objectcontroller.h threads.h timermanager.h persistentstorage.h xmlserver.…
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-bq4802.c | 22 unsigned long ioport; member 32 return inb(p->ioport + off); in bq4802_read_io() 37 outb(val, p->ioport + off); in bq4802_write_io() 160 p->ioport = p->r->start; in bq4802_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_sdio.c | 70 pmadapter->ioport = 0; in wlan_sdio_init_ioport() 72 pmadapter->ioport = MEM_PORT; in wlan_sdio_init_ioport() 74 PRINTM(MINFO, "SDIO FUNC1 IO port: 0x%x\n", pmadapter->ioport); in wlan_sdio_init_ioport() 404 * @param ioport the SDIO ioport 410 t_u32 npayload, t_u32 ioport) in wlan_sdio_card_to_host() argument 425 ioport, 0); in wlan_sdio_card_to_host() 429 "wlan: cmd53 read failed: %d ioport=0x%x retry=%d\n", in wlan_sdio_card_to_host() 430 ret, ioport, i); in wlan_sdio_card_to_host() 622 pmadapter->ioport, 0); in wlan_prog_fw_w_helper() 844 pmadapter->ioport + in wlan_receive_single_packet() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/include/asm/ |
| H A D | jensen.h | 307 #define IOPORT(OS, NS) \ macro 323 IOPORT(b, 8) 324 IOPORT(w, 16) 325 IOPORT(l, 32) 327 #undef IOPORT
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | n411.c | 196 module_param_hw(dio_addr, ulong, ioport, 0); 198 module_param_hw(cio_addr, ulong, ioport, 0); 200 module_param_hw(c2io_addr, ulong, ioport, 0);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sdio.c | 688 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_write_data_sync() local 698 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync() 717 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_read_data_sync() local 722 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync() 1001 adapter->ioport = MEM_PORT; in mwifiex_init_sdio_new_mode() 1041 adapter->ioport = 0; in mwifiex_init_sdio_ioport() 1051 adapter->ioport |= (reg & 0xff); in mwifiex_init_sdio_ioport() 1056 adapter->ioport |= ((reg & 0xff) << 8); in mwifiex_init_sdio_ioport() 1061 adapter->ioport |= ((reg & 0xff) << 16); in mwifiex_init_sdio_ioport() 1066 "info: SDIO FUNC1 IO port: %#x\n", adapter->ioport); in mwifiex_init_sdio_ioport() [all …]
|
| /OK3568_Linux_fs/kernel/include/pcmcia/ |
| H A D | ss.h | 231 * - pccard_static_ops iomem and ioport areas are assigned statically 232 * - pccard_iodyn_ops iomem areas is assigned statically, ioport 236 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically.
|
| /OK3568_Linux_fs/kernel/Documentation/pcmcia/ |
| H A D | driver-changes.rst | 17 - CONF_AUTO_SET_IO : set ioport resources (->resource[0,1]) 28 `struct pcmcia_device *p_dev->resource[2,3,4,5]` for up to four ioport 35 `struct pcmcia_device *p_dev->resource[0,1]` for up to two ioport
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_sdio.c | 388 pmadapter->pcard_sd->ioport = MEM_PORT; in wlan_sdio_init_ioport() 394 pmadapter->pcard_sd->ioport |= (reg & 0xff); in wlan_sdio_init_ioport() 403 pmadapter->pcard_sd->ioport |= ((reg & 0xff) << 8); in wlan_sdio_init_ioport() 412 pmadapter->pcard_sd->ioport |= ((reg & 0xff) << 16); in wlan_sdio_init_ioport() 419 pmadapter->pcard_sd->ioport); in wlan_sdio_init_ioport() 902 * @param ioport the SDIO ioport 907 t_u32 npayload, t_u32 ioport) in wlan_sdio_card_to_host() argument 922 ioport, 0); in wlan_sdio_card_to_host() 926 "wlan: cmd53 read failed: %d ioport=0x%x retry=%d\n", in wlan_sdio_card_to_host() 927 ret, ioport, i); in wlan_sdio_card_to_host() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/ |
| H A D | if_sdio.c | 114 unsigned long ioport; member 344 ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk); in if_sdio_card_to_host() 419 ret = sdio_writesb(card->func, card->ioport, in if_sdio_host_to_card_worker() 480 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_helper() 491 ret = sdio_writesb(card->func, card->ioport, chunk_buffer, 64); in if_sdio_prog_helper() 618 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_real() 860 card->ioport = sdio_readb(func, IF_SDIO_IOPORT, &ret); in if_sdio_power_on() 864 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 1, &ret) << 8; in if_sdio_power_on() 868 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 2, &ret) << 16; in if_sdio_power_on() 1203 "device = 0x%X, model = 0x%X, ioport = 0x%X\n", in if_sdio_probe() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/Documentation/ |
| H A D | perf-kvm.txt | 54 of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only) 108 ioport (x86 only). (default: vmexit) 143 mmio (x86 only), ioport (x86 only).
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | qemu_fw_cfg.c | 13 * [qemu_fw_cfg.]ioport=<size>@<base>[:<ctrl_off>:<data_off>[:<dma_off>]] 18 * <size> := size of ioport or mmio range 19 * <base> := physical base address of ioport or mmio range 25 * qemu_fw_cfg.ioport=12@0x510:0:1:4 (the default on x86) 36 #include <linux/ioport.h> 865 * line, or if the parameter name (ioport/mmio) doesn't match in fw_cfg_cmdline_get() 904 device_param_cb(ioport, &fw_cfg_cmdline_param_ops, NULL, S_IRUSR);
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/ |
| H A D | vehicle_dev.c | 28 #include <linux/ioport.h> 38 #include <linux/ioport.h>
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | sis7019.c | 101 unsigned long ioport; member 300 unsigned long io = sis->ioport; in sis_interrupt() 571 unsigned long io = sis->ioport; in sis_pcm_trigger() 893 unsigned long io = sis->ioport; in sis_ac97_rw() 1023 outl(SIS_GCR_SOFTWARE_RESET, sis->ioport + SIS_GCR); in sis_chip_free() 1025 outl(0, sis->ioport + SIS_GCR); in sis_chip_free() 1026 outl(0, sis->ioport + SIS_GIER); in sis_chip_free() 1048 unsigned long io = sis->ioport; in sis_chip_init() 1305 sis->ioport = pci_resource_start(pci, 0); in sis_chip_create() 1415 sis->ioport, sis->irq); in snd_sis7019_probe()
|