Home
last modified time | relevance | path

Searched refs:DATA_PORT (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/arm/mach-footbridge/
Dcats-hw.c26 #define DATA_PORT (CFG_PORT + 1) macro
37 outb(0x03, DATA_PORT); in cats_hw_init()
42 outb(0x03, DATA_PORT); in cats_hw_init()
45 outb(0x0f, DATA_PORT); in cats_hw_init()
48 outb(0x07, DATA_PORT); in cats_hw_init()
52 outb(0x04, DATA_PORT); in cats_hw_init()
56 outb(0x02, DATA_PORT); in cats_hw_init()
60 outb(0x05, DATA_PORT); in cats_hw_init()
64 outb(0x02, DATA_PORT); in cats_hw_init()
/linux-6.1.9/drivers/misc/c2port/
Dc2port-duramar2150.c18 #define DATA_PORT 0x325 macro
66 return inb(DATA_PORT) & C2D; in duramar2150_c2port_c2d_get()
75 v = inb(DATA_PORT); in duramar2150_c2port_c2d_set()
78 outb(v | C2D, DATA_PORT); in duramar2150_c2port_c2d_set()
80 outb(v & ~C2D, DATA_PORT); in duramar2150_c2port_c2d_set()
91 v = inb(DATA_PORT); in duramar2150_c2port_c2ck_set()
94 outb(v | C2CK, DATA_PORT); in duramar2150_c2port_c2ck_set()
96 outb(v & ~C2CK, DATA_PORT); in duramar2150_c2port_c2ck_set()
/linux-6.1.9/drivers/watchdog/
Dsbc_fitpc2_wdt.c38 #define DATA_PORT 0x48 macro
47 outb(data, DATA_PORT); in wdt_send_data()
217 if (!request_region(DATA_PORT, 1, WATCHDOG_NAME)) { in fitpc2_wdt_init()
218 pr_err("I/O address 0x%04x already in use\n", DATA_PORT); in fitpc2_wdt_init()
240 release_region(DATA_PORT, 1); in fitpc2_wdt_init()
250 release_region(DATA_PORT, 1); in fitpc2_wdt_exit()
/linux-6.1.9/drivers/net/ethernet/cirrus/
Dmac89x0.c129 return swab16(nubus_readw(dev->base_addr + DATA_PORT)); in readreg_io()
136 nubus_writew(swab16(value), dev->base_addr + DATA_PORT); in writereg_io()
194 hwreg_present((void *)ioaddr + DATA_PORT)); in mac89x0_device_probe()
200 sig = nubus_readw(ioaddr + DATA_PORT); in mac89x0_device_probe()
Dcs89x0.c229 return ioread16(lp->virt_addr + DATA_PORT); in readreg()
238 iowrite16(value, lp->virt_addr + DATA_PORT); in writereg()
1285 iowrite8(dev->irq, lp->virt_addr + DATA_PORT); in reset_chip()
1286 iowrite8(0, lp->virt_addr + DATA_PORT + 1); in reset_chip()
1290 lp->virt_addr + DATA_PORT); in reset_chip()
1292 lp->virt_addr + DATA_PORT + 1); in reset_chip()
1340 tmp = ioread16(ioaddr + DATA_PORT); in cs89x0_probe1()
1344 dev->name, ioaddr, DATA_PORT, tmp); in cs89x0_probe1()
Dcs89x0.h336 #define DATA_PORT 0x000C macro
/linux-6.1.9/drivers/tty/serial/8250/
D8250_fintek.c16 #define DATA_PORT 1 macro
105 return inb(pdata->base_port + DATA_PORT); in sio_read_reg()
111 outb(data, pdata->base_port + DATA_PORT); in sio_write_reg()
/linux-6.1.9/arch/sh/include/asm/
Dsmc37c93x.h38 #define DATA_PORT 0x3f1 macro
/linux-6.1.9/arch/sh/boards/mach-se/770x/
Dsetup.c26 outb_p(data, DATA_PORT); in smsc_config()