Searched refs:datareg (Results 1 – 4 of 4) sorted by relevance
/drivers/parisc/ |
D | lasi.c | 108 unsigned long datareg; in lasi_led_init() local 119 datareg = lasi_hpa + 0x0000C000; in lasi_led_init() 120 gsc_writeb(0, datareg); in lasi_led_init() 129 datareg = lasi_hpa - 0x00020000; in lasi_led_init() 133 datareg = lasi_hpa + 0x0000C000; in lasi_led_init() 137 register_led_driver(DISPLAY_MODEL_LASI, LED_CMD_REG_NONE, datareg); in lasi_led_init() 153 unsigned long datareg; in lasi_power_off() local 156 datareg = lasi_power_off_hpa + 0x0000C000; in lasi_power_off() 159 gsc_writel(0x02, datareg); in lasi_power_off()
|
/drivers/gpio/ |
D | gpio-winbond.c | 247 u8 datareg; member 260 .datareg = WB_SIO_GPIO12_REG_DATA1, 277 .datareg = WB_SIO_GPIO12_REG_DATA2 288 .datareg = WB_SIO_GPIO34_REG_DATA3, 305 .datareg = WB_SIO_GPIO34_REG_DATA4, 322 .datareg = WB_SIO_WDGPIO56_REG_DATA5, 339 .datareg = WB_SIO_WDGPIO56_REG_DATA6, 397 val = winbond_sio_reg_btest(*base, info->datareg, offset); in winbond_gpio_get() 451 winbond_sio_reg_bset(*base, info->datareg, offset); in winbond_gpio_direction_out() 453 winbond_sio_reg_bclear(*base, info->datareg, offset); in winbond_gpio_direction_out() [all …]
|
/drivers/net/wan/ |
D | cosa.c | 134 unsigned int datareg, statusreg; /* I/O ports */ member 247 #define is_8bit(cosa) (!(cosa->datareg & 0x08)) 251 #define cosa_getdata16(cosa) (cosa_inw(cosa->datareg)) 252 #define cosa_getdata8(cosa) (cosa_inb(cosa->datareg)) 253 #define cosa_putdata16(cosa, dt) (cosa_outw(dt, cosa->datareg)) 254 #define cosa_putdata8(cosa, dt) (cosa_outb(dt, cosa->datareg)) 413 release_region(cosa->datareg, is_8bit(cosa) ? 2 : 4); in cosa_exit() 460 cosa->datareg = base; in cosa_probe() 515 irq, cosa->datareg); in cosa_probe() 521 cosa->datareg); in cosa_probe() [all …]
|
/drivers/iio/adc/ |
D | rcar-gyroadc.c | 185 unsigned int datareg = RCAR_GYROADC_REALTIME_DATA(chan->channel); in rcar_gyroadc_read_raw() local 217 *val = readl(priv->regs + datareg); in rcar_gyroadc_read_raw()
|