Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpio/
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-v6.6/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-v6.6/arch/arm/mach-footbridge/include/mach/
Dhardware.h69 #define GPIO_DATA 0x020 macro
/Linux-v6.6/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()
2230 io + GPIO_DATA); in snd_m3_amp_enable()
2249 outw(0x0000, io + GPIO_DATA); in snd_m3_hv_init()
Des1968.c2510 #define GPIO_DATA 0x60 macro
2541 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2548 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2562 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
/Linux-v6.6/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()