Searched refs:datareg (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/parisc/ |
H A D | lasi.c | 112 unsigned long datareg; lasi_led_init() local 123 datareg = lasi_hpa + 0x0000C000; lasi_led_init() 124 gsc_writeb(0, datareg); lasi_led_init() 133 datareg = lasi_hpa - 0x00020000; lasi_led_init() 137 datareg = lasi_hpa + 0x0000C000; lasi_led_init() 141 register_led_driver(DISPLAY_MODEL_LASI, LED_CMD_REG_NONE, datareg); lasi_led_init() 157 unsigned long datareg; lasi_power_off() local 160 datareg = lasi_power_off_hpa + 0x0000C000; lasi_power_off() 163 gsc_writel(0x02, datareg); lasi_power_off()
|
/linux-4.4.14/drivers/net/wan/ |
H A D | cosa.c | 147 unsigned int datareg, statusreg; /* I/O ports */ member in struct:cosa_data 260 #define is_8bit(cosa) (!(cosa->datareg & 0x08)) 264 #define cosa_getdata16(cosa) (cosa_inw(cosa->datareg)) 265 #define cosa_getdata8(cosa) (cosa_inb(cosa->datareg)) 266 #define cosa_putdata16(cosa, dt) (cosa_outw(dt, cosa->datareg)) 267 #define cosa_putdata8(cosa, dt) (cosa_outb(dt, cosa->datareg)) 426 release_region(cosa->datareg, is_8bit(cosa) ? 2 : 4); cosa_exit() 474 cosa->datareg = base; cosa_probe() 529 irq, cosa->datareg); cosa_probe() 535 cosa->datareg); cosa_probe() 589 chan->netdev->base_addr = chan->cosa->datareg; cosa_probe() 603 cosa->datareg, cosa->irq, cosa->dma, cosa->nchannels); cosa_probe() 620 release_region(cosa->datareg,is_8bit(cosa)?2:4); cosa_probe()
|
Completed in 135 milliseconds