Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/gma500/
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-6.1.9/drivers/gpu/drm/hisilicon/hibmc/
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-6.1.9/drivers/staging/sm750fb/
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()
Dddk750_reg.h436 #define GPIO_DATA 0x010000 macro
/linux-6.1.9/drivers/char/
Dds1620.c58 nw_gpio_modify_op(GPIO_DATA, dat ? GPIO_DATA : 0); in netwinder_ds1620_set_data()
63 return nw_gpio_read() & GPIO_DATA; in netwinder_ds1620_get_data()
68 nw_gpio_modify_io(GPIO_DATA, dir ? GPIO_DATA : 0); in netwinder_ds1620_set_data_dir()
/linux-6.1.9/drivers/gpio/
Dgpio-loongson1.c19 #define GPIO_DATA 0x20 macro
60 ret = bgpio_init(gc, dev, 4, gpio_reg_base + GPIO_DATA, in ls1x_gpio_probe()
/linux-6.1.9/sound/pci/ctxfi/
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 …]
Dct20k2reg.h53 #define GPIO_DATA 0x1B7020 macro
/linux-6.1.9/arch/arm/mach-footbridge/
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-6.1.9/arch/arm/mach-footbridge/include/mach/
Dhardware.h69 #define GPIO_DATA 0x020 macro
/linux-6.1.9/sound/pci/
Dmaestro3.c284 #define GPIO_DATA 0x60 macro
1992 outw(0, io + GPIO_DATA); in snd_m3_ac97_reset()
1997 outw(GPO_PRIMARY_AC97, io + GPIO_DATA); in snd_m3_ac97_reset()
2237 io + GPIO_DATA); in snd_m3_amp_enable()
2256 outw(0x0000, io + GPIO_DATA); in snd_m3_hv_init()
Des1968.c2517 #define GPIO_DATA 0x60 macro
2548 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2555 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2569 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
/linux-6.1.9/sound/pci/ice1712/
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()