Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-ep93xx/
Dgpio.c274 struct ep93xx_gpio_chip *ep93xx_chip = to_ep93xx_gpio_chip(chip); in ep93xx_gpio_direction_input() local
279 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() local
298 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() local
326 return !!(__raw_readb(ep93xx_chip->data_reg) & (1 << offset)); in ep93xx_gpio_get()
[all …]