/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-reg.c | 13 struct gpio_reg { struct 23 #define to_gpio_reg(x) container_of(x, struct gpio_reg, gc) argument 27 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_get_direction() 36 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_output() 47 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_direction_input() 54 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_set() 71 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_get() 90 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_set_multiple() 101 struct gpio_reg *r = to_gpio_reg(gc); in gpio_reg_to_irq() 135 struct gpio_reg *r; in gpio_reg_init() [all …]
|
D | gpio-merrifield.c | 86 static void __iomem *gpio_reg(struct gpio_chip *chip, unsigned int offset, in gpio_reg() function 97 void __iomem *gplr = gpio_reg(chip, offset, GPLR); in mrfld_gpio_get() 112 gpsr = gpio_reg(chip, offset, GPSR); in mrfld_gpio_set() 115 gpcr = gpio_reg(chip, offset, GPCR); in mrfld_gpio_set() 126 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_input() 145 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_direction_output() 163 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in mrfld_gpio_get_direction() 175 void __iomem *gfbr = gpio_reg(chip, offset, GFBR); in mrfld_gpio_set_debounce() 208 void __iomem *gisr = gpio_reg(&priv->chip, gpio, GISR); in mrfld_irq_ack() 222 void __iomem *gimr = gpio_reg(&priv->chip, gpio, GIMR); in mrfld_irq_unmask_mask() [all …]
|
D | gpio-intel-mid.c | 67 static void __iomem *gpio_reg(struct gpio_chip *chip, unsigned offset, in gpio_reg() function 102 void __iomem *gplr = gpio_reg(chip, offset, GPLR); in intel_gpio_get() 112 gpsr = gpio_reg(chip, offset, GPSR); in intel_gpio_set() 115 gpcr = gpio_reg(chip, offset, GPCR); in intel_gpio_set() 123 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in intel_gpio_direction_input() 146 void __iomem *gpdr = gpio_reg(chip, offset, GPDR); in intel_gpio_direction_output() 173 void __iomem *grer = gpio_reg(&priv->chip, gpio, GRER); in intel_mid_irq_type() 174 void __iomem *gfer = gpio_reg(&priv->chip, gpio, GFER); in intel_mid_irq_type() 282 gedr = gpio_reg(&priv->chip, base, GEDR); in intel_mid_irq_handler() 304 reg = gpio_reg(&priv->chip, base, GRER); in intel_mid_irq_init_hw() [all …]
|
D | gpio-amd-fch.c | 44 return priv->base + priv->pdata->gpio_reg[gpio]*sizeof(u32); in amd_fch_gpio_addr()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
D | cx25821-gpio.c | 46 u32 gpio_reg = GPIO_LO; in cx25821_set_gpiopin_logicvalue() local 58 gpio_reg = GPIO_HI; in cx25821_set_gpiopin_logicvalue() 61 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue() 68 cx_write(gpio_reg, value); in cx25821_set_gpiopin_logicvalue()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_gmbus.c | 197 reserved = intel_uncore_read_notrace(uncore, bus->gpio_reg) & in get_reserved() 211 bus->gpio_reg, in get_clock() 213 intel_uncore_write_notrace(uncore, bus->gpio_reg, reserved); in get_clock() 215 return (intel_uncore_read_notrace(uncore, bus->gpio_reg) & in get_clock() 226 bus->gpio_reg, in get_data() 228 intel_uncore_write_notrace(uncore, bus->gpio_reg, reserved); in get_data() 230 return (intel_uncore_read_notrace(uncore, bus->gpio_reg) & in get_data() 248 bus->gpio_reg, in set_clock() 250 intel_uncore_posting_read(uncore, bus->gpio_reg); in set_clock() 266 intel_uncore_write_notrace(uncore, bus->gpio_reg, reserved | data_bits); in set_data() [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | ltc4245.c | 80 u8 gpio_curr, gpio_next, gpio_reg; in ltc4245_update_gpios() local 119 gpio_reg = (data->cregs[LTC4245_GPIO] & 0x3f) | ((gpio_next + 1) << 6); in ltc4245_update_gpios() 122 i2c_smbus_write_byte_data(client, LTC4245_GPIO, gpio_reg); in ltc4245_update_gpios() 125 data->cregs[LTC4245_GPIO] = gpio_reg; in ltc4245_update_gpios()
|
/kernel/linux/linux-5.10/include/linux/platform_data/gpio/ |
D | gpio-amd-fch.h | 42 int *gpio_reg; member
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | pcengines-apuv2.c | 71 .gpio_reg = apu2_gpio_regs,
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | via-pmu.c | 160 static unsigned char __iomem *gpio_reg; variable 347 gpio_reg = ioremap(gaddr, 0x10); in find_via_pmu() 350 if (gpio_reg == NULL) { in find_via_pmu() 379 iounmap(gpio_reg); in find_via_pmu() 380 gpio_reg = NULL; in find_via_pmu() 1706 if ((in_8(gpio_reg + 0x9) & 0x02) == 0) { in gpio1_interrupt()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 1300 u8 gpio_reg, gpio_ports[2]; in xgbe_phy_sfp_signals() local 1304 gpio_reg = 0; in xgbe_phy_sfp_signals() 1306 &gpio_reg, sizeof(gpio_reg), in xgbe_phy_sfp_signals() 2733 u8 gpio_reg, gpio_ports[2], gpio_data[3]; in xgbe_phy_i2c_mdio_reset() local 2737 gpio_reg = 2; in xgbe_phy_i2c_mdio_reset() 2739 &gpio_reg, sizeof(gpio_reg), in xgbe_phy_i2c_mdio_reset()
|
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 170 u16 gpio_reg; in netup_unidvb_dev_enable() local 177 gpio_reg = in netup_unidvb_dev_enable() 181 writeb(gpio_reg, ndev->bmmio0 + GPIO_REG_IO); in netup_unidvb_dev_enable()
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
D | em28xx-cards.c | 588 .gpio_reg = EM2874_R80_GPIO_P0_CTRL, 594 .gpio_reg = EM2874_R80_GPIO_P0_CTRL, 604 .gpio_reg = EM2874_R80_GPIO_P0_CTRL, 614 .gpio_reg = EM2874_R80_GPIO_P0_CTRL, 624 .gpio_reg = EM2820_R08_GPIO_CTRL, 634 .gpio_reg = EM2874_R80_GPIO_P0_CTRL, 640 .gpio_reg = EM2874_R80_GPIO_P0_CTRL,
|
D | em28xx.h | 461 u8 gpio_reg; member
|
D | em28xx-input.c | 568 led->gpio_reg, in em28xx_query_buttons()
|
D | em28xx-core.c | 705 em28xx_write_reg_bits(dev, led->gpio_reg, in em28xx_capture_start()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 2089 u32 gpio_reg; in bnx2x_get_gpio() local 2098 gpio_reg = REG_RD(bp, MISC_REG_GPIO); in bnx2x_get_gpio() 2101 if ((gpio_reg & gpio_mask) == gpio_mask) in bnx2x_get_gpio() 2117 u32 gpio_reg; in bnx2x_set_gpio() local 2126 gpio_reg = (REG_RD(bp, MISC_REG_GPIO) & MISC_REGISTERS_GPIO_FLOAT); in bnx2x_set_gpio() 2134 gpio_reg &= ~(gpio_mask << MISC_REGISTERS_GPIO_FLOAT_POS); in bnx2x_set_gpio() 2135 gpio_reg |= (gpio_mask << MISC_REGISTERS_GPIO_CLR_POS); in bnx2x_set_gpio() 2143 gpio_reg &= ~(gpio_mask << MISC_REGISTERS_GPIO_FLOAT_POS); in bnx2x_set_gpio() 2144 gpio_reg |= (gpio_mask << MISC_REGISTERS_GPIO_SET_POS); in bnx2x_set_gpio() 2152 gpio_reg |= (gpio_mask << MISC_REGISTERS_GPIO_FLOAT_POS); in bnx2x_set_gpio() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_drv.h | 530 i915_reg_t gpio_reg; member
|