Lines Matching full:ppi
37 * @ppi: Programmable Peripheral Interface groups
42 struct i8255 __iomem *ppi; member
61 i8255_direction_input(gpiommgpio->ppi, gpiommgpio->ppi_state, offset); in gpiomm_gpio_direction_input()
71 i8255_direction_output(gpiommgpio->ppi, gpiommgpio->ppi_state, offset, in gpiomm_gpio_direction_output()
81 return i8255_get(gpiommgpio->ppi, offset); in gpiomm_gpio_get()
89 i8255_get_multiple(gpiommgpio->ppi, mask, bits, chip->ngpio); in gpiomm_gpio_get_multiple()
99 i8255_set(gpiommgpio->ppi, gpiommgpio->ppi_state, offset, value); in gpiomm_gpio_set()
107 i8255_set_multiple(gpiommgpio->ppi, gpiommgpio->ppi_state, mask, bits, in gpiomm_gpio_set_multiple()
123 static void gpiomm_init_dio(struct i8255 __iomem *const ppi, in gpiomm_init_dio() argument
133 i8255_mode0_output(&ppi[i]); in gpiomm_init_dio()
134 i8255_set_multiple(&ppi[i], &ppi_state[i], &mask, &bits, ngpio); in gpiomm_init_dio()
154 gpiommgpio->ppi = devm_ioport_map(dev, base[id], GPIOMM_EXTENT); in gpiomm_probe()
155 if (!gpiommgpio->ppi) in gpiomm_probe()
173 gpiomm_init_dio(gpiommgpio->ppi, gpiommgpio->ppi_state); in gpiomm_probe()