Home
last modified time | relevance | path

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

/linux-2.6.39/arch/m68k/platform/coldfire/
Dgpio.c30 struct mcf_gpio_chip *mcf_chip = MCF_CHIP(chip); in mcf_gpio_direction_input() local
33 dir = mcfgpio_read(mcf_chip->pddr); in mcf_gpio_direction_input()
35 mcfgpio_write(dir, mcf_chip->pddr); in mcf_gpio_direction_input()
43 struct mcf_gpio_chip *mcf_chip = MCF_CHIP(chip); in mcf_gpio_get_value() local
45 return mcfgpio_read(mcf_chip->ppdr) & mcfgpio_bit(chip->base + offset); in mcf_gpio_get_value()
53 struct mcf_gpio_chip *mcf_chip = MCF_CHIP(chip); in mcf_gpio_direction_output() local
57 data = mcfgpio_read(mcf_chip->podr); in mcf_gpio_direction_output()
62 mcfgpio_write(data, mcf_chip->podr); in mcf_gpio_direction_output()
65 data = mcfgpio_read(mcf_chip->pddr); in mcf_gpio_direction_output()
67 mcfgpio_write(data, mcf_chip->pddr); in mcf_gpio_direction_output()
[all …]