Lines Matching refs:ops
16 struct pch_ops *ops = pch_get_ops(dev); in pch_get_spi_base() local
19 if (!ops->get_spi_base) in pch_get_spi_base()
22 return ops->get_spi_base(dev, sbasep); in pch_get_spi_base()
27 struct pch_ops *ops = pch_get_ops(dev); in pch_set_spi_protect() local
29 if (!ops->set_spi_protect) in pch_set_spi_protect()
32 return ops->set_spi_protect(dev, protect); in pch_set_spi_protect()
37 struct pch_ops *ops = pch_get_ops(dev); in pch_get_gpio_base() local
40 if (!ops->get_gpio_base) in pch_get_gpio_base()
43 return ops->get_gpio_base(dev, gbasep); in pch_get_gpio_base()
48 struct pch_ops *ops = pch_get_ops(dev); in pch_get_io_base() local
51 if (!ops->get_io_base) in pch_get_io_base()
54 return ops->get_io_base(dev, iobasep); in pch_get_io_base()