Lines Matching +full:spi +full:- +full:base

1 /* SPDX-License-Identifier: GPL-2.0+ */
16 /* Returns HDA config info if Azalia V1CTL enabled, -ENOENT if not */
27 * struct pch_ops - Operations for the Platform Controller Hub
29 * Consider using ioctl() to add rarely used or driver-specific operations.
33 * get_spi_base() - get the address of SPI base
36 * @sbasep: Returns address of SPI base if available, else 0
37 * @return 0 if OK, -ve on error (e.g. there is no SPI base)
42 * set_spi_protect() - set whether SPI flash is protected or not
47 * @return 0 on success, -ENOSYS if not implemented
52 * get_gpio_base() - get the address of GPIO base
55 * @gbasep: Returns address of GPIO base if available, else 0
56 * @return 0 if OK, -ve on error (e.g. there is no GPIO base)
61 * get_io_base() - get the address of IO base
64 * @iobasep: Returns address of IO base if available, else 0
65 * @return 0 if OK, -ve on error (e.g. there is no IO base)
70 * ioctl() - perform misc read/write operations
72 * This is a catch-all operation intended to avoid adding lots of
81 * @return size of output data on sucesss, -ve on error
87 #define pch_get_ops(dev) ((struct pch_ops *)(dev)->driver->ops)
90 * pch_get_spi_base() - get the address of SPI base
93 * @sbasep: Returns address of SPI base if available, else 0
94 * @return 0 if OK, -ve on error (e.g. there is no SPI base)
99 * set_spi_protect() - set whether SPI flash is protected or not
104 * @return 0 on success, -ENOSYS if not implemented
109 * pch_get_gpio_base() - get the address of GPIO base
112 * @gbasep: Returns address of GPIO base if available, else 0
113 * @return 0 if OK, -ve on error (e.g. there is no GPIO base)
118 * pch_get_io_base() - get the address of IO base
121 * @iobasep: Returns address of IO base if available, else 0
122 * @return 0 if OK, -ve on error (e.g. there is no IO base)
127 * pch_ioctl() - perform misc read/write operations
129 * This is a catch-all operation intended to avoid adding lots of
138 * @return size of output data on sucesss, -ve on error