/drivers/scsi/ |
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 938 unsigned long ioport; in FlashPoint_ProbeHostAdapter() local 941 ioport = pCardInfo->si_baseaddr; in FlashPoint_ProbeHostAdapter() 943 if (RD_HARPOON(ioport + hp_vendor_id_0) != ORION_VEND_0) in FlashPoint_ProbeHostAdapter() 946 if ((RD_HARPOON(ioport + hp_vendor_id_1) != ORION_VEND_1)) in FlashPoint_ProbeHostAdapter() [all …]
|
D | atp870u.c | 64 tmport = dev->ioport[c] + 0x1f; in atp870u_intr_handle() 78 cmdp = inb(dev->ioport[c] + 0x10); in atp870u_intr_handle() 79 workport = dev->ioport[c]; in atp870u_intr_handle() 680 tmport = dev->ioport[c] + 0x1c; in atp870u_queuecommand_lck() 682 … = %x inb(tmport) = %x dev->in_int[%d] = %d dev->in_snd[%d] = %d\n",dev->ioport[c],inb(tmport),c,d… in atp870u_queuecommand_lck() 762 workport = dev->ioport[c]; in DEF_SCSI_QCMD() 1003 tmport = dev->ioport[0] + 0x1c; in fun_scam() 1058 tmport = dev->ioport[0] + 1; in tscam() 1061 tmport = dev->ioport[0] + 0x11; in tscam() 1075 tmport = dev->ioport[0] + 0x02; in tscam() [all …]
|
D | atp870u.h | 28 unsigned long ioport[2]; member
|
/drivers/isdn/sc/ |
D | init.c | 351 sc_adapter[cinst]->ioport[i] = io[b] + i * 0x400; in sc_init() 352 request_region(sc_adapter[cinst]->ioport[i], 1, in sc_init() 355 sc_adapter[cinst]->ioport[i]); in sc_init() 357 sc_adapter[cinst]->ioport[IRQ_SELECT] = io[b] + 0x2; in sc_init() 358 request_region(sc_adapter[cinst]->ioport[IRQ_SELECT], 1, in sc_init() 361 sc_adapter[cinst]->ioport[IRQ_SELECT]); in sc_init() 415 outb(0xFF, sc_adapter[i]->ioport[SFT_RESET]); in sc_exit() 421 release_region(sc_adapter[i]->ioport[j], 1); in sc_exit() 423 sc_adapter[i]->ioport[j]); in sc_exit() 425 release_region(sc_adapter[i]->ioport[IRQ_SELECT], 1); in sc_exit() [all …]
|
D | message.c | 44 if (inb(sc_adapter[card]->ioport[FIFO_STATUS]) & RF_HAS_DATA) { in receivemessage() 50 sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport]); in receivemessage() 55 inb(sc_adapter[card]->ioport[FIFO_READ]); in receivemessage() 137 while (!(inb(sc_adapter[card]->ioport[FIFO_STATUS]) & WF_NOT_FULL)) in sendmessage() 145 sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport]); in sendmessage() 149 outb(sndmsg.sequence_no, sc_adapter[card]->ioport[FIFO_WRITE]); in sendmessage()
|
D | timer.c | 30 outb((sc_adapter[card]->rambase >> 12), sc_adapter[card]->ioport[EXP_BASE]); in setup_ports() 34 sc_adapter[card]->ioport[IRQ_SELECT]); in setup_ports() 59 outb(sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport], in sc_check_reset()
|
D | shmem.c | 52 sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport]); in memcpy_toshmem() 93 sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport]); in memcpy_fromshmem() 131 sc_adapter[card]->ioport[sc_adapter[card]->shmem_pgport]);
|
D | command.c | 353 outb(0x1, sc_adapter[card]->ioport[SFT_RESET]); in reset() 361 while (inb(sc_adapter[card]->ioport[FIFO_STATUS]) & RF_HAS_DATA) in flushreadfifo() 362 inb(sc_adapter[card]->ioport[FIFO_READ]); in flushreadfifo()
|
/drivers/acpi/apei/ |
D | apei-base.c | 304 .ioport = LIST_HEAD_INIT(apei_resources_all.ioport), 398 apei_res_clean(&resources->ioport); in apei_resources_fini() 414 list_for_each_entry(res, &resources2->ioport, list) { in apei_resources_merge() 415 rc = apei_res_add(&resources1->ioport, res->start, in apei_resources_merge() 431 return apei_res_add(&resources->ioport, start, size); in apei_resources_add() 448 return apei_res_sub(&resources1->ioport, &resources2->ioport); in apei_resources_sub() 507 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request() 527 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request() 552 list_for_each_entry(res, &resources->ioport, list) in apei_resources_release() 719 return apei_res_add(&resources->ioport, paddr, in collect_res_callback()
|
D | apei-internal.h | 100 struct list_head ioport; member 106 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init()
|
/drivers/input/gameport/ |
D | ns558.c | 199 int ioport, iolen; in ns558_pnp_probe() local 208 ioport = pnp_port_start(dev, 0); in ns558_pnp_probe() 211 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe() 223 ns558->io = ioport; in ns558_pnp_probe() 231 port->io = ioport; in ns558_pnp_probe()
|
/drivers/watchdog/ |
D | mixcomwd.c | 74 int ioport; member 267 for (i = 0; !found && mixcomwd_io_info[i].ioport != 0; i++) { in mixcomwd_init() 268 if (checkcard(mixcomwd_io_info[i].ioport, in mixcomwd_init() 271 watchdog_port = mixcomwd_io_info[i].ioport; in mixcomwd_init()
|
/drivers/net/wireless/mwifiex/ |
D | sdio.c | 334 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_write_data_sync() local 344 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync() 364 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_read_data_sync() local 369 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync() 414 adapter->ioport = 0; in mwifiex_init_sdio_ioport() 418 adapter->ioport |= (reg & 0xff); in mwifiex_init_sdio_ioport() 423 adapter->ioport |= ((reg & 0xff) << 8); in mwifiex_init_sdio_ioport() 428 adapter->ioport |= ((reg & 0xff) << 16); in mwifiex_init_sdio_ioport() 432 pr_debug("info: SDIO FUNC1 IO port: %#x\n", adapter->ioport); in mwifiex_init_sdio_ioport() 649 u32 npayload, u32 ioport) in mwifiex_sdio_card_to_host() argument [all …]
|
/drivers/tty/serial/ |
D | crisv10.c | 238 .ioport = (unsigned char *)R_SERIAL0_CTRL, 291 .ioport = (unsigned char *)R_SERIAL1_CTRL, 346 .ioport = (unsigned char *)R_SERIAL2_CTRL, 399 .ioport = (unsigned char *)R_SERIAL3_CTRL, 937 #define E100_CTS_GET(info) ((info)->ioport[REG_STATUS] & E100_CTS_MASK) 1077 info->ioport[REG_REC_CTRL] = info->rx_ctrl; in e100_rts() 1127 info->ioport[REG_REC_CTRL] = in e100_disable_rx() 1137 info->ioport[REG_REC_CTRL] = in e100_enable_rx() 1475 *((unsigned long *)&info->ioport[REG_XOFF]) = xoff; in rs_stop() 1498 *((unsigned long *)&info->ioport[REG_XOFF]) = xoff; in rs_start() [all …]
|
D | crisv10.h | 41 volatile u8 *ioport; /* R_SERIALx_CTRL */ member
|
/drivers/rtc/ |
D | rtc-bq4802.c | 21 unsigned long ioport; member 31 return inb(p->ioport + off); in bq4802_read_io() 36 outb(val, p->ioport + off); in bq4802_write_io() 161 p->ioport = p->r->start; in bq4802_probe()
|
/drivers/ata/ |
D | pata_optidma.c | 364 int ioport = 0x22; in optiplus_with_udma() local 378 ioport |= (r << 8); in optiplus_with_udma() 379 outb(0x10, ioport); in optiplus_with_udma() 381 if ((inb(ioport + 2) & 1) == 0) in optiplus_with_udma()
|
D | sata_nv.c | 1286 struct ata_ioports *ioport = &ap->ioaddr; in nv_adma_setup_port() local 1292 ioport->cmd_addr = mmio; in nv_adma_setup_port() 1293 ioport->data_addr = mmio + (ATA_REG_DATA * 4); in nv_adma_setup_port() 1294 ioport->error_addr = in nv_adma_setup_port() 1295 ioport->feature_addr = mmio + (ATA_REG_ERR * 4); in nv_adma_setup_port() 1296 ioport->nsect_addr = mmio + (ATA_REG_NSECT * 4); in nv_adma_setup_port() 1297 ioport->lbal_addr = mmio + (ATA_REG_LBAL * 4); in nv_adma_setup_port() 1298 ioport->lbam_addr = mmio + (ATA_REG_LBAM * 4); in nv_adma_setup_port() 1299 ioport->lbah_addr = mmio + (ATA_REG_LBAH * 4); in nv_adma_setup_port() 1300 ioport->device_addr = mmio + (ATA_REG_DEVICE * 4); in nv_adma_setup_port() [all …]
|
/drivers/net/wireless/libertas/ |
D | if_sdio.c | 118 unsigned long ioport; member 364 ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk); in if_sdio_card_to_host() 443 ret = sdio_writesb(card->func, card->ioport, in if_sdio_host_to_card_worker() 508 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_helper() 519 ret = sdio_writesb(card->func, card->ioport, chunk_buffer, 64); in if_sdio_prog_helper() 649 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_real() 899 card->ioport = sdio_readb(func, IF_SDIO_IOPORT, &ret); in if_sdio_power_on() 903 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 1, &ret) << 8; in if_sdio_power_on() 907 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 2, &ret) << 16; in if_sdio_power_on() 1255 model, (unsigned)card->ioport); in if_sdio_probe()
|
/drivers/bluetooth/ |
D | btmrvl_sdio.c | 346 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper() 361 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper() 494 ret = sdio_writesb(card->func, card->ioport, fwbuf, in btmrvl_sdio_download_fw_w_helper() 569 ret = sdio_readsb(card->func, payload, card->ioport, in btmrvl_sdio_card_to_host() 761 card->ioport = reg; in btmrvl_sdio_register_dev() 769 card->ioport |= (reg << 8); in btmrvl_sdio_register_dev() 777 card->ioport |= (reg << 16); in btmrvl_sdio_register_dev() 779 BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport); in btmrvl_sdio_register_dev() 881 ret = sdio_writesb(card->func, card->ioport, buf, in btmrvl_sdio_host_to_card()
|
D | btmrvl_sdio.h | 85 u32 ioport; member
|
/drivers/scsi/aic7xxx/ |
D | aic7770_osm.c | 56 ahc->bsh.ioport = port; in aic7770_map_registers() 98 ahc->bsh.ioport = 0; in aic7770_probe()
|
/drivers/platform/x86/ |
D | sony-laptop.c | 3947 struct sony_pic_ioport *ioport = kzalloc(sizeof(*ioport), GFP_KERNEL); in sony_pic_read_possible_resource() local 3948 if (!ioport) in sony_pic_read_possible_resource() 3951 list_add(&ioport->list, &dev->ioports); in sony_pic_read_possible_resource() 3994 struct sony_pic_ioport *ioport = in sony_pic_read_possible_resource() local 4001 if (!ioport->io1.minimum) { in sony_pic_read_possible_resource() 4002 memcpy(&ioport->io1, io, sizeof(*io)); in sony_pic_read_possible_resource() 4003 dprintk("IO1 at 0x%.4x (0x%.2x)\n", ioport->io1.minimum, in sony_pic_read_possible_resource() 4004 ioport->io1.address_length); in sony_pic_read_possible_resource() 4006 else if (!ioport->io2.minimum) { in sony_pic_read_possible_resource() 4007 memcpy(&ioport->io2, io, sizeof(*io)); in sony_pic_read_possible_resource() [all …]
|
/drivers/usb/gadget/ |
D | u_serial.h | 41 struct gs_port *ioport; member
|
/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 1586 cs89x0_ioport_probe(struct net_device *dev, unsigned long ioport, int modular) in cs89x0_ioport_probe() argument 1595 dev->base_addr = ioport; in cs89x0_ioport_probe() 1597 if (!request_region(ioport, NETCARD_IO_EXTENT, DRV_NAME)) { in cs89x0_ioport_probe() 1602 io_mem = ioport_map(ioport & ~3, NETCARD_IO_EXTENT); in cs89x0_ioport_probe() 1613 if (ioport & 1) { in cs89x0_ioport_probe() 1614 cs89_dbg(1, info, "%s: odd ioaddr 0x%lx\n", dev->name, ioport); in cs89x0_ioport_probe() 1615 if ((ioport & 2) != 2) { in cs89x0_ioport_probe() 1632 release_region(ioport, NETCARD_IO_EXTENT); in cs89x0_ioport_probe()
|