Home
last modified time | relevance | path

Searched refs:GPIO_DATA (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/gma500/
H A Doaktrail_lvds_i2c.c61 #define GPIO_DATA 0x10 macro
86 val |= GPIO_DATA; in get_data()
89 val = (LPC_READ_REG(chan, RGLVL) & GPIO_DATA) ? 1 : 0; in get_data()
120 val |= GPIO_DATA; in set_data()
124 val &= ~GPIO_DATA; in set_data()
127 val &= ~GPIO_DATA; in set_data()
/linux/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_i2c.c20 #define GPIO_DATA 0x0802A0 macro
36 u32 tmp_data = readl(priv->mmio + GPIO_DATA); in hibmc_set_i2c_signal()
39 writel(tmp_data, priv->mmio + GPIO_DATA); in hibmc_set_i2c_signal()
57 return (readl(priv->mmio + GPIO_DATA) & mask) ? 1 : 0; in hibmc_get_i2c_signal()
/linux/drivers/staging/sm750fb/
H A Dddk750_swi2c.c70 static unsigned long sw_i2c_clk_gpio_data_reg = GPIO_DATA;
75 static unsigned long sw_i2c_data_gpio_data_reg = GPIO_DATA;
404 sw_i2c_clk_gpio_data_reg = GPIO_DATA; in sm750_sw_i2c_init()
412 sw_i2c_data_gpio_data_reg = GPIO_DATA; in sm750_sw_i2c_init()
H A Dddk750_reg.h436 #define GPIO_DATA 0x010000 macro
/linux/sound/pci/ctxfi/
H A Dcthw20k2.c1580 data = hw_read_20kx(hw, GPIO_DATA); in hw_dac_stop()
1582 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_stop()
1589 data = hw_read_20kx(hw, GPIO_DATA); in hw_dac_start()
1591 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_start()
1629 data = hw_read_20kx(hw, GPIO_DATA); in hw_dac_init()
1637 hw_write_20kx(hw, GPIO_DATA, data); in hw_dac_init()
1764 data = hw_read_20kx(hw, GPIO_DATA); in hw_is_adc_input_selected()
1810 data = hw_read_20kx(hw, GPIO_DATA); in hw_adc_input_select()
1814 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_input_select()
1819 hw_write_20kx(hw, GPIO_DATA, data); in hw_adc_input_select()
[all …]
H A Dct20k2reg.h53 #define GPIO_DATA 0x1B7020 macro
/linux/drivers/gpio/
H A Dgpio-loongson1.c16 #define GPIO_DATA 0x20 macro
62 ret = bgpio_init(&ls1x_gc->gc, dev, 4, ls1x_gc->reg_base + GPIO_DATA, in ls1x_gpio_probe()
/linux/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c369 nw_gpio_modify_io(GPIO_DATA | GPIO_IOCLK | GPIO_IOLOAD, 0); in nw_cpld_modify()
375 nw_gpio_modify_op(GPIO_DATA | GPIO_IOCLK, bit ? GPIO_DATA : 0); in nw_cpld_modify()
379 nw_gpio_modify_op(GPIO_IOCLK|GPIO_DATA, 0); in nw_cpld_modify()
/linux/arch/arm/mach-footbridge/include/mach/
H A Dhardware.h69 #define GPIO_DATA 0x020 macro
/linux/sound/pci/
H A Dmaestro3.c284 #define GPIO_DATA 0x60 macro
1990 outw(0, io + GPIO_DATA); in snd_m3_ac97_reset()
1995 outw(GPO_PRIMARY_AC97, io + GPIO_DATA); in snd_m3_ac97_reset()
2228 io + GPIO_DATA); in snd_m3_amp_enable()
2247 outw(0x0000, io + GPIO_DATA); in snd_m3_hv_init()
H A Des1968.c2497 #define GPIO_DATA 0x60 macro
2528 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2535 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2549 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
/linux/sound/pci/ice1712/
H A Dice1724.c201 outw(data, ICEREG1724(ice, GPIO_DATA)); in snd_vt1724_set_gpio_data()
204 inw(ICEREG1724(ice, GPIO_DATA)); /* dummy read for pci-posting */ in snd_vt1724_set_gpio_data()
214 data = (data << 16) | inw(ICEREG1724(ice, GPIO_DATA)); in snd_vt1724_get_gpio_data()