Searched refs:ep93xx_chip (Results 1 – 1 of 1) sorted by relevance
274 struct ep93xx_gpio_chip *ep93xx_chip = to_ep93xx_gpio_chip(chip); in ep93xx_gpio_direction_input() local279 v = __raw_readb(ep93xx_chip->data_dir_reg); in ep93xx_gpio_direction_input()281 __raw_writeb(v, ep93xx_chip->data_dir_reg); in ep93xx_gpio_direction_input()290 struct ep93xx_gpio_chip *ep93xx_chip = to_ep93xx_gpio_chip(chip); in ep93xx_gpio_direction_output() local298 v = __raw_readb(ep93xx_chip->data_reg); in ep93xx_gpio_direction_output()303 __raw_writeb(v, ep93xx_chip->data_reg); in ep93xx_gpio_direction_output()313 v = __raw_readb(ep93xx_chip->data_dir_reg); in ep93xx_gpio_direction_output()315 __raw_writeb(v, ep93xx_chip->data_dir_reg); in ep93xx_gpio_direction_output()324 struct ep93xx_gpio_chip *ep93xx_chip = to_ep93xx_gpio_chip(chip); in ep93xx_gpio_get() local326 return !!(__raw_readb(ep93xx_chip->data_reg) & (1 << offset)); in ep93xx_gpio_get()[all …]